diff options
author | bbaren <bbaren@google.com> | 2018-08-15 13:58:00 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-08-15 13:59:26 -0700 |
commit | c5442570ecba9a540a552825c8aed7ac9c62c321 (patch) | |
tree | c5d3eb1b56ab2b8faa444d130361149c2537ac92 /src/test/java/com/google/devtools/build/lib/packages/util/MOCK_OSX_CROSSTOOL | |
parent | e2f61b197a1375b04222aa99a6bbcb290a19e36c (diff) |
When setting the standard Xcode version feature (see
commit eb952d08f76afa907bb34eaf7e1a69899102c523), always use exactly two
components for the version number. Grouping all point releases together
simplifies writing CROSSTOOLs.
Also fix a bug in MockObjcSupport that prevented Xcode version selection
in tests from working properly.
RELNOTES:
The standard `xcode_VERSION` feature now always uses exactly two
components in the version, even if you specify `--xcode_version` with
more or fewer than two.
PiperOrigin-RevId: 208877588
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 | 360 |
1 files changed, 360 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 0986112da4..9bd8202eb5 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 @@ -648,6 +648,21 @@ toolchain { } } feature { + name: "xcode_5.0" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_5.0" + } + } + } + feature { name: "xcode_5.8" flag_set { action: "preprocess-assemble" @@ -663,6 +678,21 @@ toolchain { } } feature { + name: "xcode_7.3" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_7.3" + } + } + } + feature { name: "framework_paths" flag_set { action: "objc-compile" @@ -2389,6 +2419,21 @@ toolchain { } } feature { + name: "xcode_5.0" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_5.0" + } + } + } + feature { name: "xcode_5.8" flag_set { action: "preprocess-assemble" @@ -2404,6 +2449,21 @@ toolchain { } } feature { + name: "xcode_7.3" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_7.3" + } + } + } + feature { name: "framework_paths" flag_set { action: "objc-compile" @@ -4125,6 +4185,21 @@ toolchain { } } feature { + name: "xcode_5.0" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_5.0" + } + } + } + feature { name: "xcode_5.8" flag_set { action: "preprocess-assemble" @@ -4140,6 +4215,21 @@ toolchain { } } feature { + name: "xcode_7.3" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_7.3" + } + } + } + feature { name: "framework_paths" flag_set { action: "objc-compile" @@ -5861,6 +5951,21 @@ toolchain { } } feature { + name: "xcode_5.0" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_5.0" + } + } + } + feature { name: "xcode_5.8" flag_set { action: "preprocess-assemble" @@ -5876,6 +5981,21 @@ toolchain { } } feature { + name: "xcode_7.3" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_7.3" + } + } + } + feature { name: "framework_paths" flag_set { action: "objc-compile" @@ -7601,6 +7721,21 @@ toolchain { } } feature { + name: "xcode_5.0" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_5.0" + } + } + } + feature { name: "xcode_5.8" flag_set { action: "preprocess-assemble" @@ -7616,6 +7751,21 @@ toolchain { } } feature { + name: "xcode_7.3" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_7.3" + } + } + } + feature { name: "framework_paths" flag_set { action: "objc-compile" @@ -9347,6 +9497,21 @@ toolchain { } } feature { + name: "xcode_5.0" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_5.0" + } + } + } + feature { name: "xcode_5.8" flag_set { action: "preprocess-assemble" @@ -9362,6 +9527,21 @@ toolchain { } } feature { + name: "xcode_7.3" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_7.3" + } + } + } + feature { name: "framework_paths" flag_set { action: "objc-compile" @@ -11096,6 +11276,21 @@ toolchain { } } feature { + name: "xcode_5.0" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_5.0" + } + } + } + feature { name: "xcode_5.8" flag_set { action: "preprocess-assemble" @@ -11111,6 +11306,21 @@ toolchain { } } feature { + name: "xcode_7.3" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_7.3" + } + } + } + feature { name: "framework_paths" flag_set { action: "objc-compile" @@ -12872,6 +13082,21 @@ toolchain { } } feature { + name: "xcode_5.0" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_5.0" + } + } + } + feature { name: "xcode_5.8" flag_set { action: "preprocess-assemble" @@ -12887,6 +13112,21 @@ toolchain { } } feature { + name: "xcode_7.3" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_7.3" + } + } + } + feature { name: "framework_paths" flag_set { action: "objc-compile" @@ -14618,6 +14858,21 @@ toolchain { } } feature { + name: "xcode_5.0" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_5.0" + } + } + } + feature { name: "xcode_5.8" flag_set { action: "preprocess-assemble" @@ -14633,6 +14888,21 @@ toolchain { } } feature { + name: "xcode_7.3" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_7.3" + } + } + } + feature { name: "framework_paths" flag_set { action: "objc-compile" @@ -16384,6 +16654,21 @@ toolchain { } } feature { + name: "xcode_5.0" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_5.0" + } + } + } + feature { name: "xcode_5.8" flag_set { action: "preprocess-assemble" @@ -16399,6 +16684,21 @@ toolchain { } } feature { + name: "xcode_7.3" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_7.3" + } + } + } + feature { name: "framework_paths" flag_set { action: "objc-compile" @@ -18153,6 +18453,21 @@ toolchain { } } feature { + name: "xcode_5.0" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_5.0" + } + } + } + feature { name: "xcode_5.8" flag_set { action: "preprocess-assemble" @@ -18168,6 +18483,21 @@ toolchain { } } feature { + name: "xcode_7.3" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_7.3" + } + } + } + feature { name: "framework_paths" flag_set { action: "objc-compile" @@ -19949,6 +20279,21 @@ toolchain { } } feature { + name: "xcode_5.0" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_5.0" + } + } + } + feature { name: "xcode_5.8" flag_set { action: "preprocess-assemble" @@ -19964,6 +20309,21 @@ toolchain { } } feature { + name: "xcode_7.3" + flag_set { + action: "preprocess-assemble" + action: "c-compile" + action: "c++-compile" + action: "c++-header-parsing" + action: "c++-header-preprocessing" + action: "objc-compile" + action: "objc++-compile" + flag_group { + flag: "-DXCODE_FEATURE_FOR_TESTING=xcode_7.3" + } + } + } + feature { name: "framework_paths" flag_set { action: "objc-compile" |