diff options
author | 2015-07-20 09:24:12 +0000 | |
---|---|---|
committer | 2015-07-20 13:25:32 +0000 | |
commit | 841cf455e280c2e4cbe6778e55388cd59588f1d2 (patch) | |
tree | 8c5dc797d50724c46dfaeec7a1ef21608505d554 /src/main/java/com/google/devtools/build/lib/rules/objc | |
parent | 99389fdf85c77f5d9b2eed4223b8a8b55f759b7e (diff) |
Make --android_crosstool_top default to the android_ndk_repository specified in the WORKSPACE file.
The error reporting if an android_ndk_repository rule is present is not very user-friendly (it just uses the non-Android toolchain, resulting in compile errors) but given that --android_crosstool_top is an interim solution until we get reasonable multi-platform support, I suppose it's fine.
As a side effect, instead of prefixing fat APK output directories with "fat-apk-", we prefix Android output directories with "android-".
This makes it possible to build Android apps with zero command line options. Rejoice!
--
MOS_MIGRATED_REVID=98624120
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java index 0a927afb15..9f405e7b53 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java @@ -151,7 +151,7 @@ public class ObjcCommandLineOptions extends FragmentOptions { // transitions for this purpose. // TODO(bazel-team): Remove this once we have dynamic configurations but make sure that different // configurations (e.g. by min os version) always use different output paths. - @Option(name = "DO_NOT_USE_configuration_distinguisher", + @Option(name = "iOS configuration distinguisher", defaultValue = "UNKNOWN", converter = ConfigurationDistinguisherConverter.class, category = "undocumented") @@ -189,7 +189,7 @@ public class ObjcCommandLineOptions extends FragmentOptions { public static final class ConfigurationDistinguisherConverter extends EnumConverter<ConfigurationDistinguisher> { public ConfigurationDistinguisherConverter() { - super(ConfigurationDistinguisher.class, "configuration distinguisher"); + super(ConfigurationDistinguisher.class, "Objective C configuration distinguisher"); } } } |