aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Remove rust, jsonnet, scala and closure from the Bazel repositoryGravatar Damien Martin-Guillerez2016-05-09
| | | | | | | | Those rules were moved to, respectively, https://github.com/bazelbuild/rules_rust, https://github.com/bazelbuild/rules_jsonnet, https://github.com/bazelbuild/rules_scala, and https://github.com/bazelbuild/rules_closure. -- MOS_MIGRATED_REVID=121834063
* 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
* Add turbine to embedded toolsGravatar Liam Miller-Cushon2016-05-06
| | | | | | | | This allows --experimental_java_header_compilation=true to be used with Bazel. It is still off by default. -- MOS_MIGRATED_REVID=121623213
* 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
* Attempt 3 at deduping libtool inputs with the same basename. Libtool wrapper ↵Gravatar Chris Parsons2016-05-06
| | | | | | | overrides old previous symlinks it created. -- MOS_MIGRATED_REVID=121609372
* 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
* Adds support for stamping 280dpi into the density filtered manifest.Gravatar Googler2016-05-05
| | | | | -- MOS_MIGRATED_REVID=121598015
* 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
* 4.99 of 5: Cleanup.Gravatar Googler2016-05-05
| | | | | | | Cleans up a few warts from the last few changes. -- MOS_MIGRATED_REVID=121588557
* 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
* Make processRequest public.Gravatar Googler2016-05-05
| | | | | -- MOS_MIGRATED_REVID=121520005
* 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
* 4.95 of 5: Merger changesGravatar Googler2016-05-05
| | | | | | | | | * Merge conflicts are now bright red warnings, as the previous merger was simultaneously stricter and looser than expected. * Legacy resource rules are now detected and cause bright red warnings. * Merge conflicts will test for equality either of file contents or parsed xml -- MOS_MIGRATED_REVID=121510152
* 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
* 4.8 of 5: Xml Fixes for Merger IntegrationGravatar Googler2016-05-04
| | | | | | | | | | | | | | * SimpleXmlResourceValue records all attributes except name. (I'd like to toss description, just as soon as I know I can -- bloats the serialized form.) * Added handling for <item> to SimpleXmlResourceValue: this can be used as placeholders, or (apparently) mostly unvalidated value definitions. * drawable can be used to put in colored backgrounds in a values.xml * Strings, Plurals, need to read sub tags such as xliff as string * <eat-comment/> and <skip/> need to be handled: we ignore them as all comments are eaten right now; and skip appears to be for localization diffs * xml parser must be resilient to random characters in resources defined in values. * Handles the <resource> not <resources> coding mistake gracefully. * Supports a <public> declaration. This feature is more wildly used than the nonexistant documentation suggests. -- MOS_MIGRATED_REVID=121490019
* Rollback of commit c9f2881f2540a7aa7c5f6d76f4bdad5d35d1c3b6.Gravatar Googler2016-05-04
| | | | | | | | | | | | | *** Reason for rollback *** Seems to have broken exoblaze builds. https://paste.googleplex.com/5185376662585344 happens when rebuilding after a trivial change (removed a single method). *** Original change description *** Rollforward of "Workaround for duplicate input basename bug in apple's libtool", with regex fix -- MOS_MIGRATED_REVID=121483994
* 4.9 of 5: Writer fixes for integration.Gravatar Googler2016-05-04
| | | | | | | | | | * Uses the png cruncher for crunching pngs. * Respects qualifiers when generating the values/values.xml. * Improvements to testability. * Standardizes on throwing merging exceptions instead of random IOExceptions. -- MOS_MIGRATED_REVID=121483439
* 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
* Resolve ibtoolwrapper at the right pathGravatar Kristina Chodorow2016-05-04
| | | | | | | | | | | | | | | | | | | | | | | Previously, bazel_tools would be under whatever.runfiles/workspace-name/external/bazel_tools. However, we allowed "" as the workspace name (and Bazel's workspace name was "") so a lot of scripts started assuming that bazel_tools would be at whatever.runfiles/external/bazel_tools. Going forward, the runfiles tree looks like: whatever.runfiles/ __main__/ ... bazel_tools/ tools/ objc/ ... some_other_repo/ ... So all of the repos are on the same "level" of the directory tree. This lets you refer to runfiles the same way (x.runfiles/repo/path/to/your/thing) whether you're running locally or importing it as an external repository (see https://github.com/bazelbuild/bazel/wiki/Updating-the-runfiles-tree-structure for more detail than you probably care about). Fixes #1227. -- MOS_MIGRATED_REVID=121435276
* 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
* 4.85 of 5: DataKey fixes for integrationGravatar Googler2016-05-04
| | | | | | | | | * values directories now respect qualifiers (whoops.) * qualifiers must deal with 3-4 letter region codes * qualifiers must add api version for normalization -- MOS_MIGRATED_REVID=121417370