Merge pull request #2852 from gnoliyil/fuchsia

build: Make action targets hermetic
This commit is contained in:
Greg Fischer 2022-01-13 14:36:29 -07:00 committed by GitHub
commit 6624e13673
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,15 @@ action("glslang_extension_headers") {
out_file = "${target_gen_dir}/include/glslang/glsl_intrinsic_header.h" out_file = "${target_gen_dir}/include/glslang/glsl_intrinsic_header.h"
# Fuchsia GN build rules require all GN actions to be hermetic and they
# should correctly and fully state their inputs and outpus (see
# https://fuchsia.dev/fuchsia-src/development/build/hermetic_actions
# for details). All input files of the script should be added to the
# |sources| list.
sources = [
"glslang/ExtensionHeaders/GL_EXT_shader_realtime_clock.glsl",
]
inputs = [ inputs = [
script script
] ]