aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build
Commit message (Collapse)AuthorAge
* Adds dSYMs from embedded extensions to the outputs of ios_application.Gravatar Dmitry Shevchenko2016-05-11
| | | | | -- MOS_MIGRATED_REVID=121987056
* Make RegexFilterExpression publicGravatar Chris Parsons2016-05-11
| | | | | -- MOS_MIGRATED_REVID=121982887
* Add support for custom "no match" errors in select()s.Gravatar Greg Estren2016-05-11
| | | | | | | | | | | | | | | | | | | | From: https://github.com/bazelbuild/bazel/issues/1225 Example: cc_binary( name = "hello_custom_no_match_error", srcs = select( { "//conditions:a": ["not_chosen.cc"] }, no_match_error = "You always have to choose condition a!" ) ) Fixes #1225 -- MOS_MIGRATED_REVID=121978888
* Allow Skyframe tests to use the NotifyingGraph and DeterministicGraph ↵Gravatar Janak Ramakrishnan2016-05-11
| | | | | | | helpers to enforce concurrency synchronization points and determinism even if they are not using an InMemoryGraph-backed evaluator. -- MOS_MIGRATED_REVID=121977783
* Move methods getRunfilesSuppliers, inputsKnown and discoversInputs fromGravatar Rumou Duan2016-05-11
| | | | | | | | | | ActionAnalysisMetadata to ActionExecutionMetadata. They are not called in analysis phase. RELNOTES:None. -- MOS_MIGRATED_REVID=121976260
* Remove LABEL_LIST_DICT type. This was only used for abi_deps,Gravatar Greg Estren2016-05-11
| | | | | | | which was removed in c231574. -- MOS_MIGRATED_REVID=121974686
* Use SplitTransitionProvider to provide apple_binary's split transitionsGravatar Chris Parsons2016-05-11
| | | | | -- MOS_MIGRATED_REVID=121974561
* Fix name for $java_import_base rule documentation.Gravatar David Chen2016-05-11
| | | | | | | | | | | The name for JavaImportBaseRule in the rule documentation was written as java_import, which caused conflicts with the actual java_import rule (BazelJavaImportRule) in the BE docgen, causing the $java_import_base rule documentation to be displayed rather than that of java_import in the instance of the bazel.io site brought up using scripts/serve-docs.sh. -- MOS_MIGRATED_REVID=121970456
* Add --host_java_launcherGravatar Liam Miller-Cushon2016-05-11
| | | | | -- MOS_MIGRATED_REVID=121963995
* Print coverage.dat location always.Gravatar Googler2016-05-11
| | | | | -- MOS_MIGRATED_REVID=121960458
* RELNOTES: Use singular form when appropriate in blaze's test result summary ↵Gravatar Googler2016-05-10
| | | | | | | | | message. This fixes the output "Executed 1 out of 1 tests". -- MOS_MIGRATED_REVID=121949576
* Remove unnecessary sorting from CppCompileAction.computeKey().Gravatar Googler2016-05-10
| | | | | | | This showed up as a hotspot (3% of CPU time) in profiles of large C++ builds. -- MOS_MIGRATED_REVID=121943041
* 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