diff options
author | hlopko <hlopko@google.com> | 2017-08-03 14:14:48 +0200 |
---|---|---|
committer | Dmitry Lomov <dslomov@google.com> | 2017-08-03 15:43:16 +0200 |
commit | b3be32e7135895737b64e3ad8ddb09176bfc8dd5 (patch) | |
tree | 98cb5d34f25a4be1c22accfb7f0ada15abff3a10 /src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL | |
parent | ca9290380880ecc0370cea53a26e647cd527c29f (diff) |
Use feature configuration to construct command line for 'strip' action
This cl introduces new action_config named 'strip' for the strip action. While
at it, it fixes support for executionRequirements.
Fixed #209
RELNOTES: 'strip' action is now configured via feature configuration
PiperOrigin-RevId: 164110478
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL | 370 |
1 files changed, 370 insertions, 0 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL b/src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL index 0a87b1c73c..fb072bda32 100644 --- a/src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL +++ b/src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL @@ -1189,6 +1189,43 @@ toolchain { } } action_config { + config_name: "strip" + action_name: "strip" + tool { + tool_path: "mac/strip" + } + flag_set { + flag_group { + flag: "-S" + flag: "-o" + flag: "%{output_file}" + flag: "-R" + flag: ".gnu.switches.text.quote_paths" + flag: "-R" + flag: ".gnu.switches.text.bracket_paths" + flag: "-R" + flag: ".gnu.switches.text.system_paths" + flag: "-R" + flag: ".gnu.switches.text.cpp_defines" + flag: "-R" + flag: ".gnu.switches.text.cpp_includes" + flag: "-R" + flag: ".gnu.switches.text.cl_args" + flag: "-R" + flag: ".gnu.switches.text.lipo_info" + flag: "-R" + flag: ".gnu.switches.text.annotation" + } + flag_group { + flag: "%{stripopts}" + iterate_over: "stripopts" + } + flag_group { + flag: "%{input_file}" + } + } + } + action_config { config_name: "c-compile" action_name: "c-compile" tool { @@ -2773,6 +2810,43 @@ toolchain { } } action_config { + config_name: "strip" + action_name: "strip" + tool { + tool_path: "mac/strip" + } + flag_set { + flag_group { + flag: "-S" + flag: "-o" + flag: "%{output_file}" + flag: "-R" + flag: ".gnu.switches.text.quote_paths" + flag: "-R" + flag: ".gnu.switches.text.bracket_paths" + flag: "-R" + flag: ".gnu.switches.text.system_paths" + flag: "-R" + flag: ".gnu.switches.text.cpp_defines" + flag: "-R" + flag: ".gnu.switches.text.cpp_includes" + flag: "-R" + flag: ".gnu.switches.text.cl_args" + flag: "-R" + flag: ".gnu.switches.text.lipo_info" + flag: "-R" + flag: ".gnu.switches.text.annotation" + } + flag_group { + flag: "%{stripopts}" + iterate_over: "stripopts" + } + flag_group { + flag: "%{input_file}" + } + } + } + action_config { config_name: "c-compile" action_name: "c-compile" tool { @@ -4365,6 +4439,43 @@ toolchain { } } action_config { + config_name: "strip" + action_name: "strip" + tool { + tool_path: "iossim/strip" + } + flag_set { + flag_group { + flag: "-S" + flag: "-o" + flag: "%{output_file}" + flag: "-R" + flag: ".gnu.switches.text.quote_paths" + flag: "-R" + flag: ".gnu.switches.text.bracket_paths" + flag: "-R" + flag: ".gnu.switches.text.system_paths" + flag: "-R" + flag: ".gnu.switches.text.cpp_defines" + flag: "-R" + flag: ".gnu.switches.text.cpp_includes" + flag: "-R" + flag: ".gnu.switches.text.cl_args" + flag: "-R" + flag: ".gnu.switches.text.lipo_info" + flag: "-R" + flag: ".gnu.switches.text.annotation" + } + flag_group { + flag: "%{stripopts}" + iterate_over: "stripopts" + } + flag_group { + flag: "%{input_file}" + } + } + } + action_config { config_name: "c-compile" action_name: "c-compile" tool { @@ -5961,6 +6072,43 @@ toolchain { } } action_config { + config_name: "strip" + action_name: "strip" + tool { + tool_path: "watchsim/strip" + } + flag_set { + flag_group { + flag: "-S" + flag: "-o" + flag: "%{output_file}" + flag: "-R" + flag: ".gnu.switches.text.quote_paths" + flag: "-R" + flag: ".gnu.switches.text.bracket_paths" + flag: "-R" + flag: ".gnu.switches.text.system_paths" + flag: "-R" + flag: ".gnu.switches.text.cpp_defines" + flag: "-R" + flag: ".gnu.switches.text.cpp_includes" + flag: "-R" + flag: ".gnu.switches.text.cl_args" + flag: "-R" + flag: ".gnu.switches.text.lipo_info" + flag: "-R" + flag: ".gnu.switches.text.annotation" + } + flag_group { + flag: "%{stripopts}" + iterate_over: "stripopts" + } + flag_group { + flag: "%{input_file}" + } + } + } + action_config { config_name: "c-compile" action_name: "c-compile" tool { @@ -7585,6 +7733,43 @@ toolchain { } } action_config { + config_name: "strip" + action_name: "strip" + tool { + tool_path: "tvsim/strip" + } + flag_set { + flag_group { + flag: "-S" + flag: "-o" + flag: "%{output_file}" + flag: "-R" + flag: ".gnu.switches.text.quote_paths" + flag: "-R" + flag: ".gnu.switches.text.bracket_paths" + flag: "-R" + flag: ".gnu.switches.text.system_paths" + flag: "-R" + flag: ".gnu.switches.text.cpp_defines" + flag: "-R" + flag: ".gnu.switches.text.cpp_includes" + flag: "-R" + flag: ".gnu.switches.text.cl_args" + flag: "-R" + flag: ".gnu.switches.text.lipo_info" + flag: "-R" + flag: ".gnu.switches.text.annotation" + } + flag_group { + flag: "%{stripopts}" + iterate_over: "stripopts" + } + flag_group { + flag: "%{input_file}" + } + } + } + action_config { config_name: "c-compile" action_name: "c-compile" tool { @@ -9186,6 +9371,43 @@ toolchain { } } action_config { + config_name: "strip" + action_name: "strip" + tool { + tool_path: "iossim/strip" + } + flag_set { + flag_group { + flag: "-S" + flag: "-o" + flag: "%{output_file}" + flag: "-R" + flag: ".gnu.switches.text.quote_paths" + flag: "-R" + flag: ".gnu.switches.text.bracket_paths" + flag: "-R" + flag: ".gnu.switches.text.system_paths" + flag: "-R" + flag: ".gnu.switches.text.cpp_defines" + flag: "-R" + flag: ".gnu.switches.text.cpp_includes" + flag: "-R" + flag: ".gnu.switches.text.cl_args" + flag: "-R" + flag: ".gnu.switches.text.lipo_info" + flag: "-R" + flag: ".gnu.switches.text.annotation" + } + flag_group { + flag: "%{stripopts}" + iterate_over: "stripopts" + } + flag_group { + flag: "%{input_file}" + } + } + } + action_config { config_name: "c-compile" action_name: "c-compile" tool { @@ -10805,6 +11027,43 @@ toolchain { } } action_config { + config_name: "strip" + action_name: "strip" + tool { + tool_path: "ios/strip" + } + flag_set { + flag_group { + flag: "-S" + flag: "-o" + flag: "%{output_file}" + flag: "-R" + flag: ".gnu.switches.text.quote_paths" + flag: "-R" + flag: ".gnu.switches.text.bracket_paths" + flag: "-R" + flag: ".gnu.switches.text.system_paths" + flag: "-R" + flag: ".gnu.switches.text.cpp_defines" + flag: "-R" + flag: ".gnu.switches.text.cpp_includes" + flag: "-R" + flag: ".gnu.switches.text.cl_args" + flag: "-R" + flag: ".gnu.switches.text.lipo_info" + flag: "-R" + flag: ".gnu.switches.text.annotation" + } + flag_group { + flag: "%{stripopts}" + iterate_over: "stripopts" + } + flag_group { + flag: "%{input_file}" + } + } + } + action_config { config_name: "c-compile" action_name: "c-compile" tool { @@ -12424,6 +12683,43 @@ toolchain { } } action_config { + config_name: "strip" + action_name: "strip" + tool { + tool_path: "watchos/strip" + } + flag_set { + flag_group { + flag: "-S" + flag: "-o" + flag: "%{output_file}" + flag: "-R" + flag: ".gnu.switches.text.quote_paths" + flag: "-R" + flag: ".gnu.switches.text.bracket_paths" + flag: "-R" + flag: ".gnu.switches.text.system_paths" + flag: "-R" + flag: ".gnu.switches.text.cpp_defines" + flag: "-R" + flag: ".gnu.switches.text.cpp_includes" + flag: "-R" + flag: ".gnu.switches.text.cl_args" + flag: "-R" + flag: ".gnu.switches.text.lipo_info" + flag: "-R" + flag: ".gnu.switches.text.annotation" + } + flag_group { + flag: "%{stripopts}" + iterate_over: "stripopts" + } + flag_group { + flag: "%{input_file}" + } + } + } + action_config { config_name: "c-compile" action_name: "c-compile" tool { @@ -14071,6 +14367,43 @@ toolchain { } } action_config { + config_name: "strip" + action_name: "strip" + tool { + tool_path: "tvos/strip" + } + flag_set { + flag_group { + flag: "-S" + flag: "-o" + flag: "%{output_file}" + flag: "-R" + flag: ".gnu.switches.text.quote_paths" + flag: "-R" + flag: ".gnu.switches.text.bracket_paths" + flag: "-R" + flag: ".gnu.switches.text.system_paths" + flag: "-R" + flag: ".gnu.switches.text.cpp_defines" + flag: "-R" + flag: ".gnu.switches.text.cpp_includes" + flag: "-R" + flag: ".gnu.switches.text.cl_args" + flag: "-R" + flag: ".gnu.switches.text.lipo_info" + flag: "-R" + flag: ".gnu.switches.text.annotation" + } + flag_group { + flag: "%{stripopts}" + iterate_over: "stripopts" + } + flag_group { + flag: "%{input_file}" + } + } + } + action_config { config_name: "c-compile" action_name: "c-compile" tool { @@ -15695,6 +16028,43 @@ toolchain { } } action_config { + config_name: "strip" + action_name: "strip" + tool { + tool_path: "ios/strip" + } + flag_set { + flag_group { + flag: "-S" + flag: "-o" + flag: "%{output_file}" + flag: "-R" + flag: ".gnu.switches.text.quote_paths" + flag: "-R" + flag: ".gnu.switches.text.bracket_paths" + flag: "-R" + flag: ".gnu.switches.text.system_paths" + flag: "-R" + flag: ".gnu.switches.text.cpp_defines" + flag: "-R" + flag: ".gnu.switches.text.cpp_includes" + flag: "-R" + flag: ".gnu.switches.text.cl_args" + flag: "-R" + flag: ".gnu.switches.text.lipo_info" + flag: "-R" + flag: ".gnu.switches.text.annotation" + } + flag_group { + flag: "%{stripopts}" + iterate_over: "stripopts" + } + flag_group { + flag: "%{input_file}" + } + } + } + action_config { config_name: "c-compile" action_name: "c-compile" tool { |