aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
Commit message (Collapse)AuthorAge
* Add an "alias" rule.Gravatar Lukacs Berki2016-05-10
| | | | | | | This will be used to replace RedirectChaser so that we don't need to load packages during configuration creation anymore. -- MOS_MIGRATED_REVID=121935989
* Avoid generating an ap_ file for android_libraryGravatar Googler2016-05-10
| | | | | | | | Saves roughly 200ms per aapt invocation, when aapt is only used for validation of resources. -- MOS_MIGRATED_REVID=121863470
* Fix OptionsParserImpl.clearValue (and invocation policy by extension) to workGravatar Alex Humesky2016-05-10
| | | | | | | correctly with flags that have expansion flags or implicit requirements. -- MOS_MIGRATED_REVID=121862297
* Adds the option to invocation policy SetValue operation to append to repeatedGravatar Alex Humesky2016-05-10
| | | | | | | flags, instead of always replacing all the values. -- MOS_MIGRATED_REVID=121858949
* Persist manifest changes made in AndroidResourceProcessingAction back to ↵Gravatar Andrew Pellegrini2016-05-10
| | | | | | | android_manifest rules to allow use in further processing steps. -- MOS_MIGRATED_REVID=121852819
* experimental_ui: when analyzing analyzing one target, show itGravatar Klaus Aehlig2016-05-09
| | | | | | | | | | | | In the progress bar of the experimental state tracker, when reporting that precisely one target is being analyzed, show that target. While there, also consistently switch to American spelling. -- Change-Id: Ib9027145aed69e757a7caf7076abdeb1c5ebeb30 Reviewed-on: https://bazel-review.googlesource.com/#/c/3583 MOS_MIGRATED_REVID=121833343
* Alter ios_framework documentation to remark that the rule is barely ↵Gravatar Chris Parsons2016-05-09
| | | | | | | functional and highly experimental. -- MOS_MIGRATED_REVID=121831987
* Make gen_buildencyclopedia visible from testsGravatar Klaus Aehlig2016-05-09
| | | | | | | | | | Make //src/main/java/com/google/devtools/build/lib:gen_buildencyclopedia visible from tests as, e.g., //src/test/shell/bazel:bazel_docgen_test depends on it. -- Change-Id: I647d9275fc48327f646904040148eca3649b71eb Reviewed-on: https://bazel-review.googlesource.com/#/c/3581 MOS_MIGRATED_REVID=121830045
* Support case-insensitive comparision in Path.java with WindowsFileSystemGravatar Yun Peng2016-05-09
| | | | | | | | Since file path is case-insensitive on Windows, we need to support this. Also fixed .d file inclusions check in CppCompileAction.java on Windows -- MOS_MIGRATED_REVID=121823250
* Do not hard-code Blaze as product nameGravatar Klaus Aehlig2016-05-09
| | | | | | | | | ...use Constants.PRODUCT_NAME instead. Fixes #1244. -- Change-Id: Icdf07c5e0cdadc0e459708f13dae78f70b5ef026 Reviewed-on: https://bazel-review.googlesource.com/#/c/3580 MOS_MIGRATED_REVID=121819053
* Add generated docs to Jekyll tree build target. Add script for bringing upGravatar David Chen2016-05-09
| | | | | | | | | | | | | | | | | | | | local instance of bazel.io site. * Add a new genrule rule that runs the new jekyll-tree.sh to do the following: * Combine the generated docs for the Build Encyclopedia and Skylark Library with the static site docs * Combine the README.md files for the Docker and Packaging rules with the Jekyll tree * Process the generated docs, replaces instances of "blaze" with "bazel", etc. * Add scripts/serve-docs.sh script that can be used to bring up a local instance of the bazel.io website. As of this patch, it is possible to construct the full Bazel.io site tree from the master branch. -- MOS_MIGRATED_REVID=121813688
* Import cc_library dependencies in generated Xcode project.Gravatar Googler2016-05-09
| | | | | | | | | | | This means you can now build an Objective-C binary target with Blaze, open the generated xcodeproj, and start working on it immediately in Xcode. Xcode will use the libraries built by Blaze for cc_library targets. Previously, this required workarounds using _fully_linked.a and objc_import. Those workarounds were brittle and hard to get right. If you had multiple libraries, each of them using its own fully_linked/objc_import hack for cc_library dependencies, you could get linking conflicts, especially when alwayslink is involved. RELNOTES: Import cc_library dependencies in generated Xcode project. -- MOS_MIGRATED_REVID=121720130
* Distinguish between the build tools version and the build tools directory in ↵Gravatar Alex Humesky2016-05-09
| | | | | | | | | android_sdk_repository so that preview sdks can be correctly handled. For example, the name in the build-tools directory might be "24.0.0-preview", but its version is actually "24 rc3" from build-tools/24.0.0-preview/source.properties. Fixes https://github.com/bazelbuild/bazel/issues/1240 -- MOS_MIGRATED_REVID=121719519
* Support alwayslink cc_library dependencies in objc binaries.Gravatar Googler2016-05-09
| | | | | | | RELNOTES: Support alwayslink cc_library dependencies in objc binaries. -- MOS_MIGRATED_REVID=121717739
* Expose parameterized aspects to Skylark.Gravatar Googler2016-05-09
| | | | | | | | | | | | | | | There are no syntactic changes within Skylark; the only difference is that aspects may have non-implicit attributes, so long as they have type 'string' and use the 'values' restriction. Such aspects may only be requested by rules which have attributes with types and names matching the non-implicit, non-defaulted attributes of the aspect. This is not yet a complete match for native AspectParameters functionality since implicit attributes cannot yet be affected by attribute values, but that will be added later. Implicit aspects are still required to have default values. Non-implicit aspect attributes are considered "required" unless they have a default value. An error will occur if they are applied to a rule that does not "cover" all required attributes by having attributes of matching name and type. While non-implicit aspect attributes with a default are not required, they will still take on the value of a rule attribute with the same name and type if it is present. Aspects with non-implicit, non-defaulted ("required") attributes cannot be requested on the command line, only by a rule. RELNOTES: Expose parameterized aspects to Skylark. -- MOS_MIGRATED_REVID=121711715
* Remove abi and abi_deps attributes.Gravatar Greg Estren2016-05-09
| | | | | | | | | select() is the new abi_deps. RELNOTES[INC]: Removed cc_* attributes: abi / abi_deps. Use select() instead. -- MOS_MIGRATED_REVID=121704422
* Fixes .aar being created with manifest placeholders ${applicationId} and ↵Gravatar Andrew Pellegrini2016-05-09
| | | | | | | ${packageName} replaced for android_library targets. -- MOS_MIGRATED_REVID=121691343
* Clean up javadoc links.Gravatar Shreya Bhattarai2016-05-09
| | | | | -- MOS_MIGRATED_REVID=121680610
* Rollback of commit 178a3dfda8bf72abf22758597a90a4afb8eed181.Gravatar Damien Martin-Guillerez2016-05-06
| | | | | | | | | | | | | | | *** Reason for rollback *** Broke ci.bazel.io. See #1234. *** Original change description *** Allow modules to inject a custom AttributeContainer. -- MOS_MIGRATED_REVID=121658474
* java_binary.create_executable=0 should disable the launcherGravatar Liam Miller-Cushon2016-05-06
| | | | | -- MOS_MIGRATED_REVID=121633873
* apple_binary builds without implicit requirement of cc-relevant flags.Gravatar Chris Parsons2016-05-06
| | | | | | | | | Notable changes: - Obtain J2Objc providers from deps attribute of the current rule, even if "deps" is not Mode.TARGET. It is up to the rule implementation to correctly obtain and propagate these providers. - "srcs" on apple_binary no longer has a split transition. These are files, not labels. -- MOS_MIGRATED_REVID=121625691
* Stream output of rbuildfiles operator to a callback. This function was ↵Gravatar Janak Ramakrishnan2016-05-06
| | | | | | | missed when we transformed to callbacks. -- MOS_MIGRATED_REVID=121619124
* Add test size attribute to IntelliJ IDE info.Gravatar Googler2016-05-06
| | | | | -- MOS_MIGRATED_REVID=121612007
* With incremental dexing copy java resources from deploy jar into APKs ↵Gravatar Googler2016-05-06
| | | | | | | (instead of jar generated by shuffle_jar tool). This helps with bazel mobile-install performance -- MOS_MIGRATED_REVID=121611634
* Expose ObjcProvider.INCLUDE to Skylark (read-only).Gravatar Dmitry Shevchenko2016-05-06
| | | | | | | RELNOTES: Skylark targets can now read include directories from ObjcProvider. -- MOS_MIGRATED_REVID=121608039
* Catch package lookup exceptions during AST lookupGravatar Kristina Chodorow2016-05-06
| | | | | | | | | Noticed this while debugging #1228. Referencing a non-existent (BuildFileNotFoundException) package would print "Loading failed; build aborted" with no error message about what had actually gone wrong. -- MOS_MIGRATED_REVID=121602225
* Remove unused variable.Gravatar Dmitry Shevchenko2016-05-05
| | | | | -- MOS_MIGRATED_REVID=121597097
* Check for lower-case versions of HTTP(S)_PROXYGravatar Kristina Chodorow2016-05-05
| | | | | | | | | | wget accepts http_proxy and https_proxy. RELNOTES: Proxy settings can now be specified in http_proxy and https_proxy environment variables (not just HTTP_PROXY and HTTPS_PROXY). -- MOS_MIGRATED_REVID=121594117
* Notice interrupts while downloadingGravatar Kristina Chodorow2016-05-05
| | | | | | | | | | Fixes #1226. RELNOTES: Ctrl-C will now interrupt a download, instead of waiting for it to finish. -- MOS_MIGRATED_REVID=121585417
* Permit cc->objc deps. This will only work properly if a CROSSTOOL is supplied.Gravatar Cal Peyser2016-05-05
| | | | | -- MOS_MIGRATED_REVID=121573429
* Empty objcprovider keys are exposed to skylark as empty sets, instead of ↵Gravatar Cal Peyser2016-05-05
| | | | | | | throwing an error on access. -- MOS_MIGRATED_REVID=121571746
* [Android] Support aapt-generated main dex specs.Gravatar Googler2016-05-05
| | | | | | | | Add bazel support for using the "aapt -D" command to generate a proguard specification for components which need to be in the main dex. -- MOS_MIGRATED_REVID=121531584
* Rename setHasServices() to the more appropriate allowServices().Gravatar Carmi Grushko2016-05-05
| | | | | -- MOS_MIGRATED_REVID=121524513
* Provide .pcm files as input to LIPO builds.Gravatar Googler2016-05-05
| | | | | | | | | | | | | | | Previously, bazel would be internally inconsistent regarding whether it thought module files were in use for LIPO builds. The merged CppCompilationContext would not list .pcm files as inputs, because its useHeaderModules flag was forced to false, but the CppModel would expand %module_file to a list of .pcm files, because it thought that modules were in use. This results in LIPO build failures due to missing files. RELNOTES: Fix interaction between LIPO builds and C++ header modules. -- MOS_MIGRATED_REVID=121513092
* Fix wrong Skylark documentation for environment_group.Gravatar Greg Estren2016-05-05
| | | | | -- MOS_MIGRATED_REVID=121502983
* Allow modules to inject a custom AttributeContainer.Gravatar Janak Ramakrishnan2016-05-04
| | | | | -- MOS_MIGRATED_REVID=121497233
* cpp: fix documentation wording for data members in GlobalVariablesGravatar Thiago Farina2016-05-04
| | | | | | | | | | | | Some had incorrect words, or were missing a word and the end period. Make it match with the descriptions in CommonCommandOptions.java. Add a short documentation comment to |restart_reason| field. -- Change-Id: Iac802eb3ed4f72dfd402e85d2098a5616b40a9de Reviewed-on: https://bazel-review.googlesource.com/3530 MOS_MIGRATED_REVID=121478703
* Switch to using ../repo-name syntax for runfilesGravatar Kristina Chodorow2016-05-04
| | | | | -- MOS_MIGRATED_REVID=121475668
* Remove the fields of CppCompileAction relating to "extra system include ↵Gravatar Lukacs Berki2016-05-04
| | | | | | | | | prefixes" and compiler plugins. They were dead code. -- MOS_MIGRATED_REVID=121473393
* Remove the apparently unused LibraryToLink#isSolibSymlink() method.Gravatar Lukacs Berki2016-05-04
| | | | | -- MOS_MIGRATED_REVID=121472172
* Make the Blaze server kill the previous instance if the start time file ↵Gravatar Lukacs Berki2016-05-04
| | | | | | | | | doesn't exist. It may be an old version that doesn't know how to write them yet. -- MOS_MIGRATED_REVID=121462577
* Fix manifest_values.applicationId not being picked up by ↵Gravatar Andrew Pellegrini2016-05-04
| | | | | | | ApplicationManifest#getOverridePackage for building split and stub manifests. -- MOS_MIGRATED_REVID=121426669
* Adds the compiler to the key for selecting the cc_toolchain label inGravatar Alex Humesky2016-05-04
| | | | | | | | | | | cc_toolchain_suite. This will allow selecting the correct toolchain based on --compiler / --android_compiler. RELNOTES: The key for the map to cc_toolchain_suite.toolchains is now a string of the form "cpu|compiler" (previously, it was just "cpu"). -- MOS_MIGRATED_REVID=121418076
* Skip building JackAspect when the base rule already provides Jack libraries.Gravatar Michael Staib2016-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | Context: AndroidLibrary provides JavaSourceInfoProvider, which JackAspect wants. But it doesn't advertise it, so it will never have JackAspect applied. This is good, because they both have an :android_sdk attribute and want to provide JackLibraryProvider. Rules in the external repository created with bind() don't have their real advertisements, but instead are considered to advertise everything. So, when an android_library depends on another android_library through a bind() alias... Boom. This avoids the boom by making JackAspect bail out immediately if its current target looks like an Android rule. It wouldn't be doing anything useful anyway if the base rule already provides Jack libraries. Fixes #1222. -- MOS_MIGRATED_REVID=121401981
* List Closure Rules in docs as JavaScriptGravatar Justine Tunney2016-05-03
| | | | | -- MOS_MIGRATED_REVID=121397798
* Add attribute validation of mandatory native providersGravatar Liam Miller-Cushon2016-05-03
| | | | | | | and use it to validate that :java_toolchain has a JavaToolchainProvider. -- MOS_MIGRATED_REVID=121396726
* When creating the exec root symlink forest, take account of the empty ↵Gravatar Janak Ramakrishnan2016-05-03
| | | | | | | | | package's package root when creating top-level directories. Otherwise, if the empty package references files in those top-level directories, they would be hidden. Fixes #1221 -- MOS_MIGRATED_REVID=121392128
* Introduces a registry of native providers to the BuildConfiguration, which ↵Gravatar Cal Peyser2016-05-03
| | | | | | | can be added to by fragments. Uses the registry to enable native access to TranstiveProviderInstances from Skylark. In particular, makes ObjcProvider accessible to skylark rule implementations. -- MOS_MIGRATED_REVID=121390911
* Add a //file target to external jar repositoriesGravatar Colin Marc2016-05-03
| | | | | | | | | | | | | | Fixes https://github.com/bazelbuild/bazel/issues/990. It's sometimes useful to be able to access the file pulled down with maven_jar; for example, scala macro jars don't work with ijar, so it's necessary to pull them into the compile-time classpath unharmed. -- Change-Id: I1d9e1cb30ea6fa56c18cbfcc68ee9b203524dfd4 Reviewed-on: https://bazel-review.googlesource.com/#/c/3550 MOS_MIGRATED_REVID=121379551
* Redesign InfoItem to use classes instead of the InfoKey enum. This way the ↵Gravatar Luis Fernando Pino Duque2016-05-03
| | | | | | | | | InfoItems can now take parameters. -- MOS_MIGRATED_REVID=121379097