aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Typo fixes in markdown and javadoc as suggested by intellij typo inspection.Gravatar Googler2016-07-27
| | | | | -- MOS_MIGRATED_REVID=128476121
* Moves exports_manifest attribute to AndroidLibraryBaseRule instead ofGravatar Googler2016-07-27
| | | | | | | | | | AndroidResourceSupportRule. This removes the exports_manifest attribute from AndroidBinaryBaseRule and its children. RELNOTES: Removes exports_manifest attribute from android_binary rule. -- MOS_MIGRATED_REVID=128472120
* Refactor CppLinkAction to construct its command line using the crosstool ↵Gravatar Cal Peyser2016-07-27
| | | | | | | instead of a hardcoded switch. Add action configs to CppConfiguration for each link type. -- MOS_MIGRATED_REVID=128470872
* Improve resource DataKey serialization perf a bitGravatar Googler2016-07-27
| | | | | | | | | | | | | | | | Address the TODO about using toString in the TreeMap comparator by using DataKey#compareTo. Also, use the entrySet to iterate K-V pairs instead of calling get(key). Synthetic benchmark w/ 10000 random keys: Before: 260ms to serialize After: 33ms to serialize Less of a difference when there are few keys. -- MOS_MIGRATED_REVID=128469407
* Rewrite the extra action info files if the data within them changes.Gravatar Lukacs Berki2016-07-27
| | | | | -- MOS_MIGRATED_REVID=128468615
* Added deploying Bazel debian source package into release processGravatar Yun Peng2016-07-27
| | | | | | | -- Change-Id: I4926b820dbab3c218ad6ead8bc6eb7b781dedd00 Reviewed-on: https://bazel-review.googlesource.com/#/c/4162 MOS_MIGRATED_REVID=128465857
* Build Bazel debian source package using BazelGravatar Yun Peng2016-07-27
| | | | | | | -- Change-Id: I8c0b6adf08a4ca64ad41e0454cb30842c133fa22 Reviewed-on: https://bazel-review.googlesource.com/#/c/4161 MOS_MIGRATED_REVID=128465441
* Make 3-arg form of getattr() work when third arg is NoneGravatar Jon Brandvein2016-07-27
| | | | | -- MOS_MIGRATED_REVID=128463789
* Restructured installation instructions.Gravatar Dmitry Lomov2016-07-27
| | | | | | | The structure is now: Platform, installation method. -- MOS_MIGRATED_REVID=128461668
* Add Skylark definitions of {new_,}git_repository.Gravatar Nelson Elhage2016-07-27
| | | | | | | -- Change-Id: I2c5f09b10430963a1668ec7c842992bc89bfd7b4 Reviewed-on: https://bazel-review.googlesource.com/#/c/3982 MOS_MIGRATED_REVID=128453417
* cpp: fix documentation of return value of GetNullaryOption() functionGravatar Thiago Farina2016-07-26
| | | | | | | | | | GetNullaryOption() is a function whose return type is bool, which can only return two possible values, true or false, and thus can not return NULL. -- Change-Id: If9fc622d7132b15268bdcc76aed8d04fe5b92bc7 Reviewed-on: https://bazel-review.googlesource.com/#/c/4140/2 MOS_MIGRATED_REVID=128448779
* Add the method to set zip64 extension attribute. Eliminate useless test caseGravatar Sasha Smundak2016-07-26
| | | | | | | class in zip_headers_test. -- MOS_MIGRATED_REVID=128444529
* Enable the Java launcher by defaultGravatar Liam Miller-Cushon2016-07-26
| | | | | -- MOS_MIGRATED_REVID=128421303
* Re-arrange --{host_,}java_launcherGravatar Liam Miller-Cushon2016-07-26
| | | | | -- MOS_MIGRATED_REVID=128405574
* Add SVG as an analyzed file type to ResourceShrinker.javaGravatar Andrew Pellegrini2016-07-26
| | | | | -- MOS_MIGRATED_REVID=128401550
* Slim down RuleClass#createUncheckedGravatar Michajlo Matijkiw2016-07-26
| | | | | -- MOS_MIGRATED_REVID=128391351
* Remove a few unused methods from {Dep,Unvalidated}AndroidDataGravatar Googler2016-07-26
| | | | | | | | | | | The new merger doesn't use addToResourceSet(), modify(), etc. Also, since modify() is unused, remove the DirectoryModifier objects and reduce BUILD deps. -- MOS_MIGRATED_REVID=128387448
* Computed default "is_executable" doesn't need to declareGravatar Greg Estren2016-07-26
| | | | | | | its deps on "outs" and "executable" because they're not configurable. -- MOS_MIGRATED_REVID=128385721
* Store genquery's scope of accessible labels as a Label->Target map.Gravatar Googler2016-07-26
| | | | | | | | | | | Resolving them shows up as a hotspot in genquery-heavy builds. Also fix a bug where we would throw a RuntimeException rather than a checked exception if the query tried to access something outside this scope. -- MOS_MIGRATED_REVID=128379113
* Placate the compiler.Gravatar Sasha Smundak2016-07-26
| | | | | | | | | | | | Address the following warnings from the compiler: * "control reaches end of non-void function [-Wreturn-type]" * "dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]" * "ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]" * "ignoring return value of 'int ftruncate(int, __off_t)', declared with attribute warn_unused_result [-Wunused-result]" * "ignoring return value of 'int dup(int)', declared with attribute warn_unused_result [-Wunused-result]" -- MOS_MIGRATED_REVID=128375065
* Rename TreeFileArtifact-related functions to make them more self-explanatory ↵Gravatar Rumou Duan2016-07-26
| | | | | | | and some minor clean-ups. -- MOS_MIGRATED_REVID=128371398
* Fix crash when updating collections while iterating over them in comprehensionsGravatar Jon Brandvein2016-07-26
| | | | | | | This makes For clauses have the same semantics as For loops. -- MOS_MIGRATED_REVID=128368124
* Call precomputed() on static CharMatcher instances.Gravatar Googler2016-07-26
| | | | | | | Removes a noticeable hotspot from LabelValidator.validateTargetName(). -- MOS_MIGRATED_REVID=128359980
* Allow lists to be modified while a For loop is iterating over them.Gravatar Jon Brandvein2016-07-26
| | | | | | | | This does not affect the loop's iteration. Similar work is needed for comprehension For clauses. -- MOS_MIGRATED_REVID=128357769
* Optimize Rule.getLabels(void) to avoid ImmutableSortedSet.construct().Gravatar Googler2016-07-26
| | | | | | | | | This is called only from Package$Builder.checkForInputOutputConflicts() which just wants the name of each input label; there's no need to sort or deduplicate. -- MOS_MIGRATED_REVID=128355375
* Rollback of commit b669406789dd452161875d407d0ce6a3502de5f6.Gravatar Damien Martin-Guillerez2016-07-25
| | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks TensorFlow and rules_go on ci.bazel.io Fixes #1562. Fixes #1558. *** Original change description *** Refactor CppLinkAction to construct its command line using the crosstool instead of a hardcoded switch. Add action configs to CppConfiguration for each link type. -- MOS_MIGRATED_REVID=128352435
* Bump the test size of //src/test/shell/bazel:bazel_apple_testGravatar Damien Martin-Guillerez2016-07-25
| | | | | | | | | Fixes #1561. -- Change-Id: I0527edaca9d429157e0db45e4406288ade12e369 Reviewed-on: https://bazel-review.googlesource.com/#/c/4157 MOS_MIGRATED_REVID=128351878
* --Gravatar Luis Fernando Pino Duque2016-07-25
| | | | MOS_MIGRATED_REVID=128348972
* Bump the size of //src/test/shell/bazel:execroot_testGravatar Damien Martin-Guillerez2016-07-25
| | | | | | | | | | | It was timeout flaky on ci.bazel.io Fixes #1559. -- Change-Id: Ie116fd70cf167ac152782f766b9ae541cc041ab4 Reviewed-on: https://bazel-review.googlesource.com/#/c/4156 MOS_MIGRATED_REVID=128347912
* Fixed PackageParserTest on WindowsGravatar Yun Peng2016-07-25
| | | | | | | | | fixes #1557 -- Change-Id: Iad9eddc754a9bd29671a1699c3ca88e6ecb95fb9 Reviewed-on: https://bazel-review.googlesource.com/#/c/4155 MOS_MIGRATED_REVID=128347449
* Start work to be able to invoke Skylark externallyGravatar Miguel Alcon Pinto2016-07-25
| | | | | | | This still is not a public API. No project should depend on this. -- MOS_MIGRATED_REVID=128342521
* Set ↵Gravatar Damien Martin-Guillerez2016-07-25
| | | | | | | | | | | | | //src/tools/singlejar:{transient_bytes_test,input_jar_scan_{zip,jar}tool_test} to manual Those test are timing out on ci.bazel.io. See #1555 -- Change-Id: I7599b2c264a57ce2c327e457e3dadc767b3d1aea Reviewed-on: https://bazel-review.googlesource.com/#/c/4153/ MOS_MIGRATED_REVID=128342041
* Fixed the README after error prone update to 2.0.11Gravatar Liam Miller-Cushon2016-07-25
| | | | | | | -- Change-Id: I90d8d3f05d7aecf254d48db086cce0c7fa74706c Reviewed-on: https://bazel-review.googlesource.com/#/c/4121 MOS_MIGRATED_REVID=128338791
* Fixup newly added cookbook exampleGravatar Brian Silverman2016-07-25
| | | | | | | | | | | | I think `cc_binary = cc_binary` was a typo because I don't see what it was referring to, and prohibiting anybody else from depending on an internal rule that's effectively an implementation detail seems like a good practice. -- Change-Id: I9f51e6844bede6564c980699996b22c3d0978981 Reviewed-on: https://bazel-review.googlesource.com/#/c/3740/ MOS_MIGRATED_REVID=128336843
* Add missing public visibility to ↵Gravatar Damien Martin-Guillerez2016-07-25
| | | | | | | | | | | | | src/main/java/com/google/devtools/build/lib/cmdline:srcs Tested with bazel build --nobuild //tools/cpp/test:test_cc_configure-ubuntu-15.10-dbg Fixes #1554 -- Change-Id: Ib15a08780f98ed410ae6601645b4c7d87b1c8871 Reviewed-on: https://bazel-review.googlesource.com/#/c/4152/ MOS_MIGRATED_REVID=128336692
* Fix extra_fields handling in zip_header.h, add several missing methods and ↵Gravatar Sasha Smundak2016-07-25
| | | | | | | add zip_headers_test. -- MOS_MIGRATED_REVID=128331080
* Fixed ConvertersTest on WindowsGravatar Yun Peng2016-07-25
| | | | | | | | | | Recently, a new java test is added into Bazel, but failing on Windows because using the wrong path separator. This change fixs it. -- Change-Id: Ib73abac9c22b1d21180f76c13358a1173fde863c Reviewed-on: https://bazel-review.googlesource.com/#/c/4131 MOS_MIGRATED_REVID=128331068
* Refactor CppLinkAction to construct its command line using the crosstool ↵Gravatar Cal Peyser2016-07-25
| | | | | | | instead of a hardcoded switch. Add action configs to CppConfiguration for each link type. -- MOS_MIGRATED_REVID=128298069
* Description redacted.Gravatar Googler2016-07-25
| | | | | -- MOS_MIGRATED_REVID=128258430
* Remove unneeded implicit dependency on proto runtimes in Java proto library ↵Gravatar Carmi Grushko2016-07-25
| | | | | | | | | rules. They're only needed for the compilation, which happens in the aspects, not the rules themselves. -- MOS_MIGRATED_REVID=128244113
* Rollback of commit ee36dd3f5db8e7ad129b2782a24eb97a0478fc42.Gravatar Sergio Campama2016-07-25
| | | | | | | | | | | | | *** Reason for rollback *** Prevent [] from burning up *** Original change description *** Make the proto bundling behavior the default when using the new library. -- MOS_MIGRATED_REVID=128226570
* Global cleanup change.Gravatar Googler2016-07-25
| | | | | -- MOS_MIGRATED_REVID=128209793
* Bump grpc-java lib to version 0.15.0 non-binariesGravatar dapengzhang02016-07-25
| | | | | | | -- Change-Id: I2da9049019b3965975fab9b7f606d099d6eab2ff Reviewed-on: https://bazel-review.googlesource.com/#/c/4040/ MOS_MIGRATED_REVID=128208129
* Be less naive with CcLibraryHelper precompiled library collision detection.Gravatar Michael Staib2016-07-25
| | | | | | | | | | The naive algorithm was O(n*m) where n = number of precompiled libraries and m = number of libraries linked during this rule. Ugly! This one provides hopefully much more reasonable performance. -- MOS_MIGRATED_REVID=128206057
* Remove gRPC-java v0.14.1 libraryGravatar dapengzhang02016-07-25
| | | | Change-Id: Iaebecdb172943e42f361139486b90b25caff18eb
* Update Error Prone to 2.0.11Gravatar Liam Miller-Cushon2016-07-25
| | | | | | | | http://repo1.maven.org/maven2/com/google/errorprone/error_prone_core/2.0.11/error_prone_core-2.0.11.jar http://repo1.maven.org/maven2/com/google/errorprone/error_prone_annotations/2.0.11/error_prone_annotations-2.0.11.jar http://repo1.maven.org/maven2/com/google/errorprone/error_prone_annotation/2.0.11/error_prone_annotation-2.0.11.jar Change-Id: I90d8d3f05d7aecf254d48db086cce0c7fa74706c
* Turn down deprecation warning.Gravatar Googler2016-07-22
| | | | | -- MOS_MIGRATED_REVID=128202272
* Description redacted.Gravatar Googler2016-07-22
| | | | | -- MOS_MIGRATED_REVID=128199284
* Add missing inlcudeGravatar Kristina Chodorow2016-07-22
| | | | | -- MOS_MIGRATED_REVID=128195657
* Bring PackageSpecification docs up-to-date, clean up its interfaceGravatar Mark Schaller2016-07-22
| | | | | | | | Focuses on documenting the Strings that PackageSpecifications can be translated from and to. -- MOS_MIGRATED_REVID=128195540