aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules
Commit message (Collapse)AuthorAge
...
* Updates android_binary.multidex docs.Gravatar Alex Humesky2016-06-16
| | | | | -- MOS_MIGRATED_REVID=124968182
* Adds a warning to users of objc_proto_library to enable the ↵Gravatar Sergio Campama2016-06-16
| | | | | | | use_objc_header_names attribute. -- MOS_MIGRATED_REVID=124955824
* Fix entitlements substitution documentation.Gravatar Peter Schmitt2016-06-16
| | | | | -- MOS_MIGRATED_REVID=124951254
* When building ObjectiveC++, pass the flag -std=c++11 in addition to ↵Gravatar Googler2016-06-15
| | | | | | | | | -stdlib=libc++. RELNOTES: When building ObjectiveC++, pass the flag -std=c++11 in addition to -stdlib=libc++. -- MOS_MIGRATED_REVID=124867581
* Improves flag handling.Gravatar Sergio Campama2016-06-15
| | | | | -- MOS_MIGRATED_REVID=124848977
* Adds deprecation warning for users of output_cpp attribute.Gravatar Sergio Campama2016-06-15
| | | | | -- MOS_MIGRATED_REVID=124843113
* CppCompileAction learns its tool from an action_config, if present. OSX ↵Gravatar Cal Peyser2016-06-15
| | | | | | | crosstool now points at appropriate clang in its action_configs. -- MOS_MIGRATED_REVID=124830389
* Use only one list of parameters for SkylarkSignatureGravatar Damien Martin-Guillerez2016-06-14
| | | | | | | | | | | | | Optional and named parameters are now specified using `defaultValue` and `named` (and `positional`). The new structure allow for parameters that are both named and positional (which was forbidden before). This new structure will be used to give the @SkylarkCallable annotation the possibility to provide named and default arguments. It should be a functional no-op for Bazel users. -- MOS_MIGRATED_REVID=124821455
* Minor refactoring of C++ compilation.Gravatar Lukacs Berki2016-06-14
| | | | | -- MOS_MIGRATED_REVID=124815043
* Allow a config_setting() to match against the default grte_top.Gravatar Googler2016-06-14
| | | | | -- MOS_MIGRATED_REVID=124792198
* Rollback of commit bbab724f9c3600952a65a90febf50e1118568a96.Gravatar Peter Schmitt2016-06-14
| | | | | | | | | | | | | | *** Reason for rollback *** Breaks linking for all objc targets. *** Original change description *** Wrap inputs to ObjcLink (via clang) invocations in an objlist, and pass the args as a -filelist arg. This prevents certain many-arg actions from making clang unhappy. -- MOS_MIGRATED_REVID=124781451
* --Gravatar Carmi Grushko2016-06-14
| | | | MOS_MIGRATED_REVID=124763523
* Add --[no]instrument_test_targets option to BlazeGravatar Googler2016-06-14
| | | | | | | | | | | | | | | When true (the default), test rules included by --instrumentation_filter are instrumented. When false, test rules are excluded from instrumentation (whether or not their names would be matched by --instrumentation_filter). This option provides a superior way to exclude test rules from instrumentation, compared to setting --instrumentation_filter exclusions based on test rule naming conventions. Naming conventions vary from language to language and are not always followed. Blaze already has enforced semantics for test targets (test rule build function names _must_ end in "_test", see TargetUtils.isTestRule). In general, when either option is available, it's better to rely on enforced semantics than unenforced conventions. Note that this default preserves present behavior. In the future, I think it would make sense to: * Change the default value of --instrument_test_targets to false. * Change the default value of --instrumentation_filter to an empty string (match everything). RELNOTES: Add --instrument_test_targets option. -- MOS_MIGRATED_REVID=124732226
* fix crash that can happen when using incremental dexing *and* ↵Gravatar Googler2016-06-13
| | | | | | | --android_crosstool_top due to a busted checkArgument condition -- MOS_MIGRATED_REVID=124616411
* Always use android_compiler if android_crosstool_top is set.Gravatar Googler2016-06-13
| | | | | | | | | | | Previously, android_compiler would only be used if fat_apk_cpu and android_crosstool_top were both set. This led to confusing errors about invalid toolchains. If --android_crosstool_top is set but --fat_apk_cpu is not, then --cpu will become --android_cpu during the transition. (android_cpu defaults to armeabi if it is not set.) RELNOTES: If --android_crosstool_top is set, native code compiled for android will always use --android_compiler and not --compiler in choosing the crosstool toolchain, and will use --android_cpu if --fat_apk_cpu is not set. -- MOS_MIGRATED_REVID=124611770
* Adds a step before creating the resource apk (ap_) to swap out the applicationGravatar Alex Humesky2016-06-13
| | | | | | | tag's name attribute to the Instant Run application class. -- MOS_MIGRATED_REVID=124606107
* Add addMainDexListActionArguments to AndroidSemantics.Gravatar Googler2016-06-13
| | | | | -- MOS_MIGRATED_REVID=124602618
* Have SkylarkAttr expose whether a skylark rule class attribute type is ↵Gravatar Nathan Harmata2016-06-10
| | | | | | | configurable or not. -- MOS_MIGRATED_REVID=124565334
* Rollback of commit b19d632b5ad832ec829980a8bf71b18bbf277143.Gravatar Yun Peng2016-06-10
| | | | | | | *** Reason for rollback *** -- MOS_MIGRATED_REVID=124556360
* Use the cc_toolchain rule instead of an event bus-based hack to signal an ↵Gravatar Lukacs Berki2016-06-10
| | | | | | | | | error when the LIPO context is not a cc_binary. RELNOTES[NEW]: LIPO context (--lipo_context) can now also be a cc_test (in addition to cc_binary) -- MOS_MIGRATED_REVID=124555465
* Rollback of commit 0150e7fa5963fa569d9795c02fd3afe3c52ff30c.Gravatar Yun Peng2016-06-10
| | | | | | | *** Reason for rollback *** -- MOS_MIGRATED_REVID=124553522
* Rollback of commit 828a9e2f167db8c4debca6e00ee37dd030849c2f.Gravatar Yun Peng2016-06-10
| | | | | | | *** Reason for rollback *** -- MOS_MIGRATED_REVID=124549894
* Rollback of commit cc993c26047f8d459711ed211338570ce7c1576c.Gravatar Yun Peng2016-06-10
| | | | | | | *** Reason for rollback *** -- MOS_MIGRATED_REVID=124548575
* Adds the path to the debug keystore to the apk_manifest.Gravatar Alex Humesky2016-06-10
| | | | | -- MOS_MIGRATED_REVID=124510100
* Reverts the protobuf lib dependency being loaded from tools/objc, and ↵Gravatar Sergio Campama2016-06-10
| | | | | | | instead load it from //external. -- MOS_MIGRATED_REVID=124480945
* Extract the @Param annotation from @SkylarkSignatureGravatar Damien Martin-Guillerez2016-06-10
| | | | | | | | The @SkylarkCallable annotation is very limited and to extend it it is best to share a similar API than the @SkylarkSignature annotation. -- MOS_MIGRATED_REVID=124473056
* Fix typos and grammar.Gravatar Julio Merino2016-06-09
| | | | | -- MOS_MIGRATED_REVID=124448791
* Add missing actions to dependency_file featureGravatar Yun Peng2016-06-09
| | | | | | | | This fixes the breakage caused by commit 828a9e2f167db8c4debca6e00ee37dd030849c2f Also modified test to check options for generating dependency file. -- MOS_MIGRATED_REVID=124441471
* Always register module map actions.Gravatar Dmitry Shevchenko2016-06-09
| | | | | | | | | | | | | * Makes it so module map generation action will be registered for all targets that should provide module maps. This allows other rules to depend directly on modulemap artifacts without turning on --experimental_objc_enable_module_maps for all builds. * Disabled module maps for apple_binary because of a bug. * objc_proto_library targets will register module map generation even with experimental union flag so that its modules can be imported by the dependent targets (even though the compilation is happening much later in the linking target). RELNOTES: -- MOS_MIGRATED_REVID=124386048
* Remove --java_launcher_javatest_migrationGravatar Liam Miller-Cushon2016-06-09
| | | | | -- MOS_MIGRATED_REVID=124381114
* More refactor work on single-/multi- architecture accessor methods of ↵Gravatar Chris Parsons2016-06-09
| | | | | | | | | | | | | | | | | | | | | | AppleConfiguration. Additionally, tweak single-architecture ios-platform logic such that ios_multi_cpus is checked before ios_cpu. There are two contexts to note: 1. Single-architecture logic, (generally post-split), unaware of its own platform type aside from configuration. This retrieves platform type from the --apple_platform_type configuration value. a. getSingleArchPlatform() for Platform retrieval b. getSingleArchitecture() for architecture retrieval 2. Multi-architecture logic, which should be aware of its own platform type, and passes it into configuration accessors. a. getMultiArchPlatform(PlatformType) b. getMultiArchitectures(PlatformType) All callers are migrated to these methods, though some still pass IOS platform type even though they may need to be refactored to support additional platform types later. -- MOS_MIGRATED_REVID=124370652
* Wrap inputs to ObjcLink (via clang) invocations in an objlist, and pass the ↵Gravatar Chris Parsons2016-06-09
| | | | | | | | | args as a -filelist arg. This prevents certain many-arg actions from making clang unhappy. -- MOS_MIGRATED_REVID=124367172
* Return a JavaCompilationArgs instead of JavaCompilationArtifacts from ↵Gravatar Carmi Grushko2016-06-08
| | | | | | | JavaLibraryHelper. -- MOS_MIGRATED_REVID=124356892
* Move -MD and -MF(for dotd file generation) into featureGravatar Yun Peng2016-06-08
| | | | | -- MOS_MIGRATED_REVID=124355936
* Move -c and -o options into action_configGravatar Yun Peng2016-06-08
| | | | | | | | | Also moved -S and -E options into the same action_config. Since whoever consume CppCompileInfo add -c and -o options by themselves, to keep compatible with this, the original code is still kept and used, until the corresponding flag sets are added into CROSSTOOL. -- MOS_MIGRATED_REVID=124350905
* Replaced arrays by single value for extra{Positionnals,Named} in ↵Gravatar Damien Martin-Guillerez2016-06-08
| | | | | | | | | | SkylarkSignature Those arrays were checked to never have more than one value so use an empty name instead of the empty array. This simplify comprehension of the API. -- MOS_MIGRATED_REVID=124330918
* Allow flags to be applied to an action using an action_config. A flag set onGravatar Cal Peyser2016-06-07
| | | | | | | | an action_config specifies no action, and is automatically applied to the action being configured. -- MOS_MIGRATED_REVID=124240929
* Add module map support to ExperimentalObjcLibrary, which contains ↵Gravatar Cal Peyser2016-06-07
| | | | | | | | | | | | | | experimental support for building objc code using the c++ crosstool. This will eventually replace the current module support in blaze. Note: This required injecting a CppModuleMap into the cc logic. The reason that objc cannot rely on standard CppModuleMap creation logic is that there is different naming semantics for module maps between cpp and objc. In particular: - In cc, module maps can be inputs to a compilation action. Thus, the module maps are given labels. - In objc, if interoping with swift, module maps are explicitly referenced in swift code. Thus, their names cannot contain illegal characters for swift source. Those, some name mangling occurs to get rid of "//" and ":". To enforce that this does not cause problems with compilation actions, the CPP_MODULE_COMPILE action has been disabled for the objc CcLibraryHelper.SourceCategory -- MOS_MIGRATED_REVID=124177067
* Separates the proto compilation action from the other linking sources, to ↵Gravatar Sergio Campama2016-06-06
| | | | | | | isolate them from the linking target's defines and copts flags. Refactors CompilationAttributes into its own class with the Builder pattern. -- MOS_MIGRATED_REVID=124137672
* Rollback of commit bda8ae9212621da50d6b18f185f99450fb6d6da9.Gravatar Lukacs Berki2016-06-06
| | | | | | | | | | | | | | | *** Reason for rollback *** Cannot be built with currently released Bazel. *** Original change description *** Remove redirect chasing from AndroidConfiguration.Loader. With aliases, it's not necessary anymore. -- MOS_MIGRATED_REVID=124123904
* Remove redirect chasing from AndroidConfiguration.Loader.Gravatar Lukacs Berki2016-06-06
| | | | | | | With aliases, it's not necessary anymore. -- MOS_MIGRATED_REVID=124112085
* Inline JavaLibraryHelper.Info.Gravatar Carmi Grushko2016-06-06
| | | | | | | Only getCompilationArtifacts() is used, which simply passes through a field, so this CL inlines it. -- MOS_MIGRATED_REVID=124043284
* Remove emitProviders and simplify JavaLibraryHelper to take ↵Gravatar Carmi Grushko2016-06-06
| | | | | | | | | | | JavaCompilationArgsProvider instead of general deps. In the current users of JavaLibraryHelper, emitProviders was always set to false using noProviders. RELNOTES: -- MOS_MIGRATED_REVID=124004929
* Add @loader_path to -rpath for xctest targets.Gravatar Dmitry Shevchenko2016-06-06
| | | | | | | This fixes test timeouts when the app tested is using Swift. In theory this also prevents similar problems with any code that uses dynamic libs packaged in the IPA. -- MOS_MIGRATED_REVID=123976581
* Delete the legacy global function 'provider'.Gravatar Laurent Le Brun2016-06-03
| | | | | | | | | RELNOTES: global function 'provider' is removed from .bzl files. Providers can only be accessed through fields in a 'target' object. -- MOS_MIGRATED_REVID=123956571
* Add resource_jar to android_studio_info.proto.Gravatar Googler2016-06-03
| | | | | | | | | The IDE currently extracts these from the output jars by a fragile string comparison. This will allow the IDE to do so more robustly (eg. in case the resource jar output is renamed). -- MOS_MIGRATED_REVID=123939803
* --Gravatar Googler2016-06-03
| | | | MOS_MIGRATED_REVID=123909592
* Update j2objc targets referenced by Bazel rules.Gravatar Googler2016-06-02
| | | | | -- MOS_MIGRATED_REVID=123868341
* Add java_toolchain to IDE aspect output.Gravatar Googler2016-06-02
| | | | | -- MOS_MIGRATED_REVID=123858617
* Rollback of commit 4ab4f05a8cbbaa4b7d938d1d305961fe95a5416c.Gravatar Tobias Werth2016-06-02
| | | | | -- MOS_MIGRATED_REVID=123851529