aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL
diff options
context:
space:
mode:
authorGravatar twerth <twerth@google.com>2017-10-24 13:12:13 +0200
committerGravatar Dmitry Lomov <dslomov@google.com>2017-10-24 14:59:32 +0200
commit5f5e2b471cef3fdb5e4998c7947cbd657305a48f (patch)
tree0e304834a08c9d9ae997d77cc9ee9a4d3574f9ba /src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL
parent7414b873105a2e0435267d5b863caa7df0d57e38 (diff)
Automated rollback of commit e9b10399f6a148a3d20442f2c5020b05fa891873.
*** Reason for rollback *** Breaks ~2k ios targets, see b/68179560 *** Original change description *** Move hard-coded compilation-mode-specific flags in ObjcConfiguration. PiperOrigin-RevId: 173239463
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_CROSSTOOL300
1 files changed, 0 insertions, 300 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 ed166f260e..8287985c6f 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
@@ -131,19 +131,11 @@ toolchain {
mode: OPT
compiler_flag: "-Os"
compiler_flag: "-DNDEBUG"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
- compiler_flag: "-Wno-unused-variable"
- compiler_flag: "-Winit-self"
- compiler_flag: "-Wno-extra"
}
compilation_mode_flags {
mode: DBG
compiler_flag: "-g"
compiler_flag: "-DDEBUG"
- compiler_flag: "-O0"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
}
make_variable {
name: "STACK_FRAME_UNLIMITED"
@@ -195,23 +187,6 @@ toolchain {
implies: "opt_only_flag"
}
feature {
- name: "use_glibcxx_dbg_opts"
- flag_set {
- action: "c-compile"
- action: "c++-compile"
- action: "objc-compile"
- action: "objc++-compile"
- flag_group {
- flag: "-D_GLIBCXX_DEBUG"
- flag: "-D_GLIBCXX_DEBUG_PEDANTIC"
- flag: "-D_GLIBCPP_CONCEPT_CHECKS"
- }
- }
- requires {
- feature: "dbg"
- }
- }
- feature {
name: "dbg"
implies: "dbg_only_flag"
}
@@ -1924,19 +1899,11 @@ toolchain {
mode: OPT
compiler_flag: "-Os"
compiler_flag: "-DNDEBUG"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
- compiler_flag: "-Wno-unused-variable"
- compiler_flag: "-Winit-self"
- compiler_flag: "-Wno-extra"
}
compilation_mode_flags {
mode: DBG
compiler_flag: "-g"
compiler_flag: "-DDEBUG"
- compiler_flag: "-O0"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
}
linking_mode_flags {
mode: DYNAMIC
@@ -1993,23 +1960,6 @@ toolchain {
implies: "opt_only_flag"
}
feature {
- name: "use_glibcxx_dbg_opts"
- flag_set {
- action: "c-compile"
- action: "c++-compile"
- action: "objc-compile"
- action: "objc++-compile"
- flag_group {
- flag: "-D_GLIBCXX_DEBUG"
- flag: "-D_GLIBCXX_DEBUG_PEDANTIC"
- flag: "-D_GLIBCPP_CONCEPT_CHECKS"
- }
- }
- requires {
- feature: "dbg"
- }
- }
- feature {
name: "dbg"
implies: "dbg_only_flag"
}
@@ -3722,19 +3672,11 @@ toolchain {
mode: OPT
compiler_flag: "-Os"
compiler_flag: "-DNDEBUG"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
- compiler_flag: "-Wno-unused-variable"
- compiler_flag: "-Winit-self"
- compiler_flag: "-Wno-extra"
}
compilation_mode_flags {
mode: DBG
compiler_flag: "-g"
compiler_flag: "-DDEBUG"
- compiler_flag: "-O0"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
}
make_variable {
name: "STACK_FRAME_UNLIMITED"
@@ -3786,23 +3728,6 @@ toolchain {
implies: "opt_only_flag"
}
feature {
- name: "use_glibcxx_dbg_opts"
- flag_set {
- action: "c-compile"
- action: "c++-compile"
- action: "objc-compile"
- action: "objc++-compile"
- flag_group {
- flag: "-D_GLIBCXX_DEBUG"
- flag: "-D_GLIBCXX_DEBUG_PEDANTIC"
- flag: "-D_GLIBCPP_CONCEPT_CHECKS"
- }
- }
- requires {
- feature: "dbg"
- }
- }
- feature {
name: "dbg"
implies: "dbg_only_flag"
}
@@ -5515,19 +5440,11 @@ toolchain {
mode: OPT
compiler_flag: "-Os"
compiler_flag: "-DNDEBUG"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
- compiler_flag: "-Wno-unused-variable"
- compiler_flag: "-Winit-self"
- compiler_flag: "-Wno-extra"
}
compilation_mode_flags {
mode: DBG
compiler_flag: "-g"
compiler_flag: "-DDEBUG"
- compiler_flag: "-O0"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
}
make_variable {
name: "STACK_FRAME_UNLIMITED"
@@ -5579,23 +5496,6 @@ toolchain {
implies: "opt_only_flag"
}
feature {
- name: "use_glibcxx_dbg_opts"
- flag_set {
- action: "c-compile"
- action: "c++-compile"
- action: "objc-compile"
- action: "objc++-compile"
- flag_group {
- flag: "-D_GLIBCXX_DEBUG"
- flag: "-D_GLIBCXX_DEBUG_PEDANTIC"
- flag: "-D_GLIBCPP_CONCEPT_CHECKS"
- }
- }
- requires {
- feature: "dbg"
- }
- }
- feature {
name: "dbg"
implies: "dbg_only_flag"
}
@@ -7310,19 +7210,11 @@ toolchain {
mode: OPT
compiler_flag: "-Os"
compiler_flag: "-DNDEBUG"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
- compiler_flag: "-Wno-unused-variable"
- compiler_flag: "-Winit-self"
- compiler_flag: "-Wno-extra"
}
compilation_mode_flags {
mode: DBG
compiler_flag: "-g"
compiler_flag: "-DDEBUG"
- compiler_flag: "-O0"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
}
make_variable {
name: "STACK_FRAME_UNLIMITED"
@@ -7376,23 +7268,6 @@ toolchain {
implies: "opt_only_flag"
}
feature {
- name: "use_glibcxx_dbg_opts"
- flag_set {
- action: "c-compile"
- action: "c++-compile"
- action: "objc-compile"
- action: "objc++-compile"
- flag_group {
- flag: "-D_GLIBCXX_DEBUG"
- flag: "-D_GLIBCXX_DEBUG_PEDANTIC"
- flag: "-D_GLIBCPP_CONCEPT_CHECKS"
- }
- }
- requires {
- feature: "dbg"
- }
- }
- feature {
name: "dbg"
implies: "dbg_only_flag"
}
@@ -9113,19 +8988,11 @@ toolchain {
mode: OPT
compiler_flag: "-Os"
compiler_flag: "-DNDEBUG"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
- compiler_flag: "-Wno-unused-variable"
- compiler_flag: "-Winit-self"
- compiler_flag: "-Wno-extra"
}
compilation_mode_flags {
mode: DBG
compiler_flag: "-g"
compiler_flag: "-DDEBUG"
- compiler_flag: "-O0"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
}
make_variable {
name: "STACK_FRAME_UNLIMITED"
@@ -9179,23 +9046,6 @@ toolchain {
implies: "opt_only_flag"
}
feature {
- name: "use_glibcxx_dbg_opts"
- flag_set {
- action: "c-compile"
- action: "c++-compile"
- action: "objc-compile"
- action: "objc++-compile"
- flag_group {
- flag: "-D_GLIBCXX_DEBUG"
- flag: "-D_GLIBCXX_DEBUG_PEDANTIC"
- flag: "-D_GLIBCPP_CONCEPT_CHECKS"
- }
- }
- requires {
- feature: "dbg"
- }
- }
- feature {
name: "dbg"
implies: "dbg_only_flag"
}
@@ -10918,20 +10768,12 @@ toolchain {
mode: OPT
compiler_flag: "-Os"
compiler_flag: "-DNDEBUG"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
- compiler_flag: "-Wno-unused-variable"
- compiler_flag: "-Winit-self"
- compiler_flag: "-Wno-extra"
compiler_flag: "-DNS_BLOCK_ASSERTIONS=1"
}
compilation_mode_flags {
mode: DBG
compiler_flag: "-g"
compiler_flag: "-DDEBUG"
- compiler_flag: "-O0"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
}
make_variable {
name: "STACK_FRAME_UNLIMITED"
@@ -10985,23 +10827,6 @@ toolchain {
implies: "opt_only_flag"
}
feature {
- name: "use_glibcxx_dbg_opts"
- flag_set {
- action: "c-compile"
- action: "c++-compile"
- action: "objc-compile"
- action: "objc++-compile"
- flag_group {
- flag: "-D_GLIBCXX_DEBUG"
- flag: "-D_GLIBCXX_DEBUG_PEDANTIC"
- flag: "-D_GLIBCPP_CONCEPT_CHECKS"
- }
- }
- requires {
- feature: "dbg"
- }
- }
- feature {
name: "dbg"
implies: "dbg_only_flag"
}
@@ -12753,19 +12578,11 @@ toolchain {
mode: OPT
compiler_flag: "-Os"
compiler_flag: "-DNDEBUG"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
- compiler_flag: "-Wno-unused-variable"
- compiler_flag: "-Winit-self"
- compiler_flag: "-Wno-extra"
}
compilation_mode_flags {
mode: DBG
compiler_flag: "-g"
compiler_flag: "-DDEBUG"
- compiler_flag: "-O0"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
}
make_variable {
name: "STACK_FRAME_UNLIMITED"
@@ -12819,23 +12636,6 @@ toolchain {
implies: "opt_only_flag"
}
feature {
- name: "use_glibcxx_dbg_opts"
- flag_set {
- action: "c-compile"
- action: "c++-compile"
- action: "objc-compile"
- action: "objc++-compile"
- flag_group {
- flag: "-D_GLIBCXX_DEBUG"
- flag: "-D_GLIBCXX_DEBUG_PEDANTIC"
- flag: "-D_GLIBCPP_CONCEPT_CHECKS"
- }
- }
- requires {
- feature: "dbg"
- }
- }
- feature {
name: "dbg"
implies: "dbg_only_flag"
}
@@ -14556,19 +14356,11 @@ toolchain {
mode: OPT
compiler_flag: "-Os"
compiler_flag: "-DNDEBUG"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
- compiler_flag: "-Wno-unused-variable"
- compiler_flag: "-Winit-self"
- compiler_flag: "-Wno-extra"
}
compilation_mode_flags {
mode: DBG
compiler_flag: "-g"
compiler_flag: "-DDEBUG"
- compiler_flag: "-O0"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
}
make_variable {
name: "STACK_FRAME_UNLIMITED"
@@ -14622,23 +14414,6 @@ toolchain {
implies: "opt_only_flag"
}
feature {
- name: "use_glibcxx_dbg_opts"
- flag_set {
- action: "c-compile"
- action: "c++-compile"
- action: "objc-compile"
- action: "objc++-compile"
- flag_group {
- flag: "-D_GLIBCXX_DEBUG"
- flag: "-D_GLIBCXX_DEBUG_PEDANTIC"
- flag: "-D_GLIBCPP_CONCEPT_CHECKS"
- }
- }
- requires {
- feature: "dbg"
- }
- }
- feature {
name: "dbg"
implies: "dbg_only_flag"
}
@@ -16379,19 +16154,11 @@ toolchain {
mode: OPT
compiler_flag: "-Os"
compiler_flag: "-DNDEBUG"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
- compiler_flag: "-Wno-unused-variable"
- compiler_flag: "-Winit-self"
- compiler_flag: "-Wno-extra"
}
compilation_mode_flags {
mode: DBG
compiler_flag: "-g"
compiler_flag: "-DDEBUG"
- compiler_flag: "-O0"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
}
make_variable {
name: "STACK_FRAME_UNLIMITED"
@@ -16445,23 +16212,6 @@ toolchain {
implies: "opt_only_flag"
}
feature {
- name: "use_glibcxx_dbg_opts"
- flag_set {
- action: "c-compile"
- action: "c++-compile"
- action: "objc-compile"
- action: "objc++-compile"
- flag_group {
- flag: "-D_GLIBCXX_DEBUG"
- flag: "-D_GLIBCXX_DEBUG_PEDANTIC"
- flag: "-D_GLIBCPP_CONCEPT_CHECKS"
- }
- }
- requires {
- feature: "dbg"
- }
- }
- feature {
name: "dbg"
implies: "dbg_only_flag"
}
@@ -18204,20 +17954,12 @@ toolchain {
mode: OPT
compiler_flag: "-Os"
compiler_flag: "-DNDEBUG"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
- compiler_flag: "-Wno-unused-variable"
- compiler_flag: "-Winit-self"
- compiler_flag: "-Wno-extra"
compiler_flag: "-DNS_BLOCK_ASSERTIONS=1"
}
compilation_mode_flags {
mode: DBG
compiler_flag: "-g"
compiler_flag: "-DDEBUG"
- compiler_flag: "-O0"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
}
make_variable {
name: "STACK_FRAME_UNLIMITED"
@@ -18271,23 +18013,6 @@ toolchain {
implies: "opt_only_flag"
}
feature {
- name: "use_glibcxx_dbg_opts"
- flag_set {
- action: "c-compile"
- action: "c++-compile"
- action: "objc-compile"
- action: "objc++-compile"
- flag_group {
- flag: "-D_GLIBCXX_DEBUG"
- flag: "-D_GLIBCXX_DEBUG_PEDANTIC"
- flag: "-D_GLIBCPP_CONCEPT_CHECKS"
- }
- }
- requires {
- feature: "dbg"
- }
- }
- feature {
name: "dbg"
implies: "dbg_only_flag"
}
@@ -20059,19 +19784,11 @@ toolchain {
mode: OPT
compiler_flag: "-Os"
compiler_flag: "-DNDEBUG"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
- compiler_flag: "-Wno-unused-variable"
- compiler_flag: "-Winit-self"
- compiler_flag: "-Wno-extra"
}
compilation_mode_flags {
mode: DBG
compiler_flag: "-g"
compiler_flag: "-DDEBUG"
- compiler_flag: "-O0"
- compiler_flag: "-fstack-protector"
- compiler_flag: "-fstack-protector-all"
}
make_variable {
name: "STACK_FRAME_UNLIMITED"
@@ -20125,23 +19842,6 @@ toolchain {
implies: "opt_only_flag"
}
feature {
- name: "use_glibcxx_dbg_opts"
- flag_set {
- action: "c-compile"
- action: "c++-compile"
- action: "objc-compile"
- action: "objc++-compile"
- flag_group {
- flag: "-D_GLIBCXX_DEBUG"
- flag: "-D_GLIBCXX_DEBUG_PEDANTIC"
- flag: "-D_GLIBCPP_CONCEPT_CHECKS"
- }
- }
- requires {
- feature: "dbg"
- }
- }
- feature {
name: "dbg"
implies: "dbg_only_flag"
}