aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com
diff options
context:
space:
mode:
authorGravatar hlopko <hlopko@google.com>2018-05-16 22:45:06 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-05-16 22:46:49 -0700
commit2661abb96b1fe51fb726a63eb08698564a82eb20 (patch)
tree7f7c5ae9a53e1c3c6d3726a2bd71302165a62817 /src/test/java/com
parentcc0f41dccc55bb1380b10cc65281632676192a8d (diff)
Split user_link_flags from legacy_link_flags
The difference between them is that user_link_flags will stay after we remove legacy fields from the crosstool. RELNOTES: None. PiperOrigin-RevId: 196940832
Diffstat (limited to 'src/test/java/com')
-rw-r--r--src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL252
1 files changed, 192 insertions, 60 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 f283dce3fe..abedb0cb24 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
@@ -216,7 +216,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -749,6 +748,22 @@ toolchain {
}
}
feature {
+ name: "user_link_flags"
+ flag_set {
+ action: "c++-link-executable"
+ action: "c++-link-dynamic-library"
+ action: "c++-link-nodeps-dynamic-library"
+ action: "objc-executable"
+ action: "objc++-executable"
+ flag_group {
+ flag: "%{user_link_flags}"
+ iterate_over: "user_link_flags"
+ }
+ expand_if_all_available: "user_link_flags"
+ }
+ enabled: true
+ }
+ feature {
name: "legacy_link_flags"
flag_set {
action: "c++-link-executable"
@@ -866,7 +881,6 @@ toolchain {
action: "c++-module-codegen"
action: "assemble"
action: "preprocess-assemble"
- action: "lto-backend"
flag_group {
flag: "-gsplit-dwarf"
}
@@ -1131,7 +1145,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -1156,7 +1169,6 @@ toolchain {
action: "c++-link-executable"
action: "c++-link-dynamic-library"
action: "c++-link-nodeps-dynamic-library"
- action: "lto-backend"
action: "clif-match"
flag_group {
flag: "--sysroot=%{sysroot}"
@@ -1175,7 +1187,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -1954,7 +1965,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -2487,6 +2497,22 @@ toolchain {
}
}
feature {
+ name: "user_link_flags"
+ flag_set {
+ action: "c++-link-executable"
+ action: "c++-link-dynamic-library"
+ action: "c++-link-nodeps-dynamic-library"
+ action: "objc-executable"
+ action: "objc++-executable"
+ flag_group {
+ flag: "%{user_link_flags}"
+ iterate_over: "user_link_flags"
+ }
+ expand_if_all_available: "user_link_flags"
+ }
+ enabled: true
+ }
+ feature {
name: "legacy_link_flags"
flag_set {
action: "c++-link-executable"
@@ -2604,7 +2630,6 @@ toolchain {
action: "c++-module-codegen"
action: "assemble"
action: "preprocess-assemble"
- action: "lto-backend"
flag_group {
flag: "-gsplit-dwarf"
}
@@ -2869,7 +2894,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -2894,7 +2918,6 @@ toolchain {
action: "c++-link-executable"
action: "c++-link-dynamic-library"
action: "c++-link-nodeps-dynamic-library"
- action: "lto-backend"
action: "clif-match"
flag_group {
flag: "--sysroot=%{sysroot}"
@@ -2913,7 +2936,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -3687,7 +3709,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -4220,6 +4241,22 @@ toolchain {
}
}
feature {
+ name: "user_link_flags"
+ flag_set {
+ action: "c++-link-executable"
+ action: "c++-link-dynamic-library"
+ action: "c++-link-nodeps-dynamic-library"
+ action: "objc-executable"
+ action: "objc++-executable"
+ flag_group {
+ flag: "%{user_link_flags}"
+ iterate_over: "user_link_flags"
+ }
+ expand_if_all_available: "user_link_flags"
+ }
+ enabled: true
+ }
+ feature {
name: "legacy_link_flags"
flag_set {
action: "c++-link-executable"
@@ -4337,7 +4374,6 @@ toolchain {
action: "c++-module-codegen"
action: "assemble"
action: "preprocess-assemble"
- action: "lto-backend"
flag_group {
flag: "-gsplit-dwarf"
}
@@ -4602,7 +4638,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -4627,7 +4662,6 @@ toolchain {
action: "c++-link-executable"
action: "c++-link-dynamic-library"
action: "c++-link-nodeps-dynamic-library"
- action: "lto-backend"
action: "clif-match"
flag_group {
flag: "--sysroot=%{sysroot}"
@@ -4646,7 +4680,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -5420,7 +5453,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -5953,6 +5985,22 @@ toolchain {
}
}
feature {
+ name: "user_link_flags"
+ flag_set {
+ action: "c++-link-executable"
+ action: "c++-link-dynamic-library"
+ action: "c++-link-nodeps-dynamic-library"
+ action: "objc-executable"
+ action: "objc++-executable"
+ flag_group {
+ flag: "%{user_link_flags}"
+ iterate_over: "user_link_flags"
+ }
+ expand_if_all_available: "user_link_flags"
+ }
+ enabled: true
+ }
+ feature {
name: "legacy_link_flags"
flag_set {
action: "c++-link-executable"
@@ -6070,7 +6118,6 @@ toolchain {
action: "c++-module-codegen"
action: "assemble"
action: "preprocess-assemble"
- action: "lto-backend"
flag_group {
flag: "-gsplit-dwarf"
}
@@ -6335,7 +6382,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -6360,7 +6406,6 @@ toolchain {
action: "c++-link-executable"
action: "c++-link-dynamic-library"
action: "c++-link-nodeps-dynamic-library"
- action: "lto-backend"
action: "clif-match"
flag_group {
flag: "--sysroot=%{sysroot}"
@@ -6379,7 +6424,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -7157,7 +7201,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -7690,6 +7733,22 @@ toolchain {
}
}
feature {
+ name: "user_link_flags"
+ flag_set {
+ action: "c++-link-executable"
+ action: "c++-link-dynamic-library"
+ action: "c++-link-nodeps-dynamic-library"
+ action: "objc-executable"
+ action: "objc++-executable"
+ flag_group {
+ flag: "%{user_link_flags}"
+ iterate_over: "user_link_flags"
+ }
+ expand_if_all_available: "user_link_flags"
+ }
+ enabled: true
+ }
+ feature {
name: "legacy_link_flags"
flag_set {
action: "c++-link-executable"
@@ -7807,7 +7866,6 @@ toolchain {
action: "c++-module-codegen"
action: "assemble"
action: "preprocess-assemble"
- action: "lto-backend"
flag_group {
flag: "-gsplit-dwarf"
}
@@ -8076,7 +8134,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -8101,7 +8158,6 @@ toolchain {
action: "c++-link-executable"
action: "c++-link-dynamic-library"
action: "c++-link-nodeps-dynamic-library"
- action: "lto-backend"
action: "clif-match"
flag_group {
flag: "--sysroot=%{sysroot}"
@@ -8120,7 +8176,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -8900,7 +8955,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -9435,6 +9489,22 @@ toolchain {
}
}
feature {
+ name: "user_link_flags"
+ flag_set {
+ action: "c++-link-executable"
+ action: "c++-link-dynamic-library"
+ action: "c++-link-nodeps-dynamic-library"
+ action: "objc-executable"
+ action: "objc++-executable"
+ flag_group {
+ flag: "%{user_link_flags}"
+ iterate_over: "user_link_flags"
+ }
+ expand_if_all_available: "user_link_flags"
+ }
+ enabled: true
+ }
+ feature {
name: "legacy_link_flags"
flag_set {
action: "c++-link-executable"
@@ -9552,7 +9622,6 @@ toolchain {
action: "c++-module-codegen"
action: "assemble"
action: "preprocess-assemble"
- action: "lto-backend"
flag_group {
flag: "-gsplit-dwarf"
}
@@ -9821,7 +9890,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -9846,7 +9914,6 @@ toolchain {
action: "c++-link-executable"
action: "c++-link-dynamic-library"
action: "c++-link-nodeps-dynamic-library"
- action: "lto-backend"
action: "clif-match"
flag_group {
flag: "--sysroot=%{sysroot}"
@@ -9865,7 +9932,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -10646,7 +10712,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -11179,6 +11244,22 @@ toolchain {
}
}
feature {
+ name: "user_link_flags"
+ flag_set {
+ action: "c++-link-executable"
+ action: "c++-link-dynamic-library"
+ action: "c++-link-nodeps-dynamic-library"
+ action: "objc-executable"
+ action: "objc++-executable"
+ flag_group {
+ flag: "%{user_link_flags}"
+ iterate_over: "user_link_flags"
+ }
+ expand_if_all_available: "user_link_flags"
+ }
+ enabled: true
+ }
+ feature {
name: "legacy_link_flags"
flag_set {
action: "c++-link-executable"
@@ -11296,7 +11377,6 @@ toolchain {
action: "c++-module-codegen"
action: "assemble"
action: "preprocess-assemble"
- action: "lto-backend"
flag_group {
flag: "-gsplit-dwarf"
}
@@ -11589,7 +11669,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -11614,7 +11693,6 @@ toolchain {
action: "c++-link-executable"
action: "c++-link-dynamic-library"
action: "c++-link-nodeps-dynamic-library"
- action: "lto-backend"
action: "clif-match"
flag_group {
flag: "--sysroot=%{sysroot}"
@@ -11633,7 +11711,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -12420,7 +12497,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -12953,6 +13029,22 @@ toolchain {
}
}
feature {
+ name: "user_link_flags"
+ flag_set {
+ action: "c++-link-executable"
+ action: "c++-link-dynamic-library"
+ action: "c++-link-nodeps-dynamic-library"
+ action: "objc-executable"
+ action: "objc++-executable"
+ flag_group {
+ flag: "%{user_link_flags}"
+ iterate_over: "user_link_flags"
+ }
+ expand_if_all_available: "user_link_flags"
+ }
+ enabled: true
+ }
+ feature {
name: "legacy_link_flags"
flag_set {
action: "c++-link-executable"
@@ -13070,7 +13162,6 @@ toolchain {
action: "c++-module-codegen"
action: "assemble"
action: "preprocess-assemble"
- action: "lto-backend"
flag_group {
flag: "-gsplit-dwarf"
}
@@ -13339,7 +13430,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -13364,7 +13454,6 @@ toolchain {
action: "c++-link-executable"
action: "c++-link-dynamic-library"
action: "c++-link-nodeps-dynamic-library"
- action: "lto-backend"
action: "clif-match"
flag_group {
flag: "--sysroot=%{sysroot}"
@@ -13383,7 +13472,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -14163,7 +14251,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -14696,6 +14783,22 @@ toolchain {
}
}
feature {
+ name: "user_link_flags"
+ flag_set {
+ action: "c++-link-executable"
+ action: "c++-link-dynamic-library"
+ action: "c++-link-nodeps-dynamic-library"
+ action: "objc-executable"
+ action: "objc++-executable"
+ flag_group {
+ flag: "%{user_link_flags}"
+ iterate_over: "user_link_flags"
+ }
+ expand_if_all_available: "user_link_flags"
+ }
+ enabled: true
+ }
+ feature {
name: "legacy_link_flags"
flag_set {
action: "c++-link-executable"
@@ -14813,7 +14916,6 @@ toolchain {
action: "c++-module-codegen"
action: "assemble"
action: "preprocess-assemble"
- action: "lto-backend"
flag_group {
flag: "-gsplit-dwarf"
}
@@ -15104,7 +15206,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -15129,7 +15230,6 @@ toolchain {
action: "c++-link-executable"
action: "c++-link-dynamic-library"
action: "c++-link-nodeps-dynamic-library"
- action: "lto-backend"
action: "clif-match"
flag_group {
flag: "--sysroot=%{sysroot}"
@@ -15148,7 +15248,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -15926,7 +16025,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -16461,6 +16559,22 @@ toolchain {
}
}
feature {
+ name: "user_link_flags"
+ flag_set {
+ action: "c++-link-executable"
+ action: "c++-link-dynamic-library"
+ action: "c++-link-nodeps-dynamic-library"
+ action: "objc-executable"
+ action: "objc++-executable"
+ flag_group {
+ flag: "%{user_link_flags}"
+ iterate_over: "user_link_flags"
+ }
+ expand_if_all_available: "user_link_flags"
+ }
+ enabled: true
+ }
+ feature {
name: "legacy_link_flags"
flag_set {
action: "c++-link-executable"
@@ -16578,7 +16692,6 @@ toolchain {
action: "c++-module-codegen"
action: "assemble"
action: "preprocess-assemble"
- action: "lto-backend"
flag_group {
flag: "-gsplit-dwarf"
}
@@ -16869,7 +16982,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -16894,7 +17006,6 @@ toolchain {
action: "c++-link-executable"
action: "c++-link-dynamic-library"
action: "c++-link-nodeps-dynamic-library"
- action: "lto-backend"
action: "clif-match"
flag_group {
flag: "--sysroot=%{sysroot}"
@@ -16913,7 +17024,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -17692,7 +17802,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -18225,6 +18334,22 @@ toolchain {
}
}
feature {
+ name: "user_link_flags"
+ flag_set {
+ action: "c++-link-executable"
+ action: "c++-link-dynamic-library"
+ action: "c++-link-nodeps-dynamic-library"
+ action: "objc-executable"
+ action: "objc++-executable"
+ flag_group {
+ flag: "%{user_link_flags}"
+ iterate_over: "user_link_flags"
+ }
+ expand_if_all_available: "user_link_flags"
+ }
+ enabled: true
+ }
+ feature {
name: "legacy_link_flags"
flag_set {
action: "c++-link-executable"
@@ -18342,7 +18467,6 @@ toolchain {
action: "c++-module-codegen"
action: "assemble"
action: "preprocess-assemble"
- action: "lto-backend"
flag_group {
flag: "-gsplit-dwarf"
}
@@ -18657,7 +18781,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -18682,7 +18805,6 @@ toolchain {
action: "c++-link-executable"
action: "c++-link-dynamic-library"
action: "c++-link-nodeps-dynamic-library"
- action: "lto-backend"
action: "clif-match"
flag_group {
flag: "--sysroot=%{sysroot}"
@@ -18701,7 +18823,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -19486,7 +19607,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -20019,6 +20139,22 @@ toolchain {
}
}
feature {
+ name: "user_link_flags"
+ flag_set {
+ action: "c++-link-executable"
+ action: "c++-link-dynamic-library"
+ action: "c++-link-nodeps-dynamic-library"
+ action: "objc-executable"
+ action: "objc++-executable"
+ flag_group {
+ flag: "%{user_link_flags}"
+ iterate_over: "user_link_flags"
+ }
+ expand_if_all_available: "user_link_flags"
+ }
+ enabled: true
+ }
+ feature {
name: "legacy_link_flags"
flag_set {
action: "c++-link-executable"
@@ -20136,7 +20272,6 @@ toolchain {
action: "c++-module-codegen"
action: "assemble"
action: "preprocess-assemble"
- action: "lto-backend"
flag_group {
flag: "-gsplit-dwarf"
}
@@ -20427,7 +20562,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {
@@ -20452,7 +20586,6 @@ toolchain {
action: "c++-link-executable"
action: "c++-link-dynamic-library"
action: "c++-link-nodeps-dynamic-library"
- action: "lto-backend"
action: "clif-match"
flag_group {
flag: "--sysroot=%{sysroot}"
@@ -20471,7 +20604,6 @@ toolchain {
action: "c++-header-preprocessing"
action: "c++-module-compile"
action: "c++-module-codegen"
- action: "lto-backend"
action: "objc-compile"
action: "objc++-compile"
flag_group {