aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools
Commit message (Collapse)AuthorAge
* --experimental_android_use_singlejar_for_multidex compresses classes*.dexGravatar Adam Michael2016-11-30
| | | | | | | Currently, setting this flag on a native multidex build results in classes*.dex being stored in the APK uncompressed which is certainly not good. -- MOS_MIGRATED_REVID=140561305
* Default behavior of proto_library's strict-proto-deps is now determined by ↵Gravatar Carmi Grushko2016-11-30
| | | | | | | | | the value of a flag. Used to be hardcoded to "yes, check for strict proto deps" because the value of the "strict_proto_deps" attributes was "true". -- MOS_MIGRATED_REVID=140538461
* Remove private headers from modulemaps generated by objc_ targetsGravatar Dmitry Shevchenko2016-11-29
| | | | | -- MOS_MIGRATED_REVID=140498934
* Support multiple mirror URLs for external reposGravatar Justine Tunney2016-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change improves upon 4c67807964e37cfd55bbcda4c6374fcc480bcecc. - A urls attribute has been added to the native workspace rules, with the exception of maven_jar and git_repository. The Skylark repository API also supports multiple URLs now. - The earlier mirrors in the list are preferred. Failover will happen automatically in parallel. - The first 32kB of data is checked before choosing a mirror in order to evade captive portals. - If one's Internet goes down or a download times out, then the download will resume automatically where it left off, provided the server supports RFC7233 for that particular file. Please note that GitHub does not support this for archive snapshots. Files should always be mirrored to a CDN, e.g. GCS, because they support this. - A semaphore is now used on downloads so only 8 can happen at once. Fixes #1814 Fixes #2131 Fixes #2008 Fixes #1968 Fixes #1717 Fixes #943 Wont fix #1194 Fixes tensorflow/tensorflow#5933 Fixes tensorflow/tensorflow#5924 Fixes tensorflow/tensorflow#5924 Fixes tensorflow/tensorflow#5432 See #1607 See #821 See tensorflow/tensorflow#5080 See tensorflow/tensorflow#5029 See tensorflow/tensorflow#4583 See tensorflow/tensorflow#4058 RELNOTES: A urls attribute has been added to repository rules to support multiple mirror URLs for reliably downloading files. -- MOS_MIGRATED_REVID=140495736
* Rename android_studio_ide_info proto and members.Gravatar Googler2016-11-29
| | | | | | | | | android_studio_ide_info -> intellij_ide_info RuleIdeInfo -> TargetIdeInfo Drop "rule" from all sub-ide infos (eg. JavaRuleIdeInfo -> JavaIdeInfo) -- MOS_MIGRATED_REVID=140438983
* Make it easier to use protos in Bazel out of the box.Gravatar Carmi Grushko2016-11-29
| | | | | | | | | java_xxx_proto_library rules now look for toolchains in the external repo @com_google_protobuf_xxx//:xxx_toolchain This still requires getting protobuf's GitHub repository to build with Bazel. -- MOS_MIGRATED_REVID=140420903
* Update ParallelSkyQueryUtils to use QuiescingExecutor instead of ForkJoinPoolGravatar Googler2016-11-29
| | | | | | | | | | | for concurrent visitations. During BFS visitation of rdeps and rbuildfiles, it uses a centralized pool (backed by a LinkedBlockingQueue) to store all pending visits, and a periodically running scheduler to schedule tasks for each pending visit. -- MOS_MIGRATED_REVID=140398162
* Remove isSkylark and eval from Environment.Gravatar Laurent Le Brun2016-11-29
| | | | | -- MOS_MIGRATED_REVID=140371603
* Default flag --experimental_j2objc_annotation_processing to true.Gravatar Rumou Duan2016-11-29
| | | | | -- MOS_MIGRATED_REVID=140369825
* Makes the --test_env command line options available in skylark's rule context.Gravatar Sergio Campama2016-11-29
| | | | | -- MOS_MIGRATED_REVID=140369679
* Minor fix to SpawnAction.BuilderGravatar Jon Brandvein2016-11-29
| | | | | | | useDefaultShellEnvironment is exclusive with clientEnvironmentVariables. -- MOS_MIGRATED_REVID=140366745
* Provide AspectDescriptor to ConfiguredAspect.Gravatar Dmitry Lomov2016-11-29
| | | | | | | | Also clean up the setting of aspect name in ConfiguredAspect and AspectDefintion - it is now obtained from the AspectClass. -- MOS_MIGRATED_REVID=140357052
* Enable run_memleaks ObjcConfiguration in Skylark.Gravatar Sergio Campama2016-11-29
| | | | | -- MOS_MIGRATED_REVID=140356545
* SkylarkCallbackFunction no longer cares about the obsolete 'cfg' parameter.Gravatar Florian Weikert2016-11-29
| | | | | | | | | Depot cleanup is in unknown commit. RELNOTES[INC]: Callback functions in Skylark no longer support the cfg parameter. This is a cleanup and only affects the signatures of callbacks, since the parameter hasn't been set since September 2016. -- MOS_MIGRATED_REVID=140356006
* Rollback of commit eb06c40d10652af258bee1a0277916007eccc69a.Gravatar Adam Michael2016-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** This change was misidentified as the culprit of a user-error bug. *** Original change description *** Automated [] rollback of commit 2eaa31fade12242b7075c2bbac945aeeedf985e8. *** Reason for rollback *** breaks a couple of iPhone targets in nightly, see [] *** Original change description *** Sign app and frameworks in simulator builds. This has become necessary starting with Xcode 8 although we apply the signature in all cases. Signing is done without entitlements and with signing identity "-". -- MOS_MIGRATED_REVID=140353891
* Use BlazeInterner's chosen concurrency level in InternerWithPresenceCheck's ↵Gravatar Nathan Harmata2016-11-28
| | | | | | | internal ConcurrentMap. -- MOS_MIGRATED_REVID=140253038
* Make Runfiles.SymlinkEntry implement SkylarkValue.Gravatar Eric Dobson2016-11-28
| | | | | | | | | | Fixes #1109 Closes #2126. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2126 MOS_MIGRATED_REVID=140217086
* Be smarter about Content-Encoding: gzip downloadsGravatar Justine Tunney2016-11-25
| | | | | | | | | Fixes #2136 RELNOTES: n/a -- MOS_MIGRATED_REVID=140190547
* Do not flatten nested sets in Variables.Builder.addStringSequenceVariableGravatar Marcel Hlopko2016-11-25
| | | | | -- MOS_MIGRATED_REVID=140181324
* Rollback of commit 2eaa31fade12242b7075c2bbac945aeeedf985e8.Gravatar Tobias Werth2016-11-25
| | | | | | | | | | | | | | | | | *** Reason for rollback *** breaks a couple of iPhone targets in nightly, see [] *** Original change description *** Sign app and frameworks in simulator builds. This has become necessary starting with Xcode 8 although we apply the signature in all cases. Signing is done without entitlements and with signing identity "-". -- MOS_MIGRATED_REVID=140179790
* Introducing the Java compilation black box in Skylark.Gravatar Irina Iancu2016-11-25
| | | | | | | | | Adding a new declared provider that will be the returning value of the Java compilation method in Skylark. This provider is considered a black-box from Skylark and it should only be passed around (returned from a rule/aspect implementation) to allow Java rules to depend on it. Also adding a new Skylark module (java_common) to allow retrieving the Java dependencies' black-box from Skylark implementations. -- MOS_MIGRATED_REVID=140138446
* Attempt #2 to submit commit e860316559eac366d47923a8eb4b5489a661aa35: Using ↵Gravatar Ola Rozenfeld2016-11-24
| | | | | | | | | | an ActionFileInputCache for SHA1 digests used with remote execution. I missed an important test failure -- turned out we have a remote execution test that does not live under lib/remote. -- MOS_MIGRATED_REVID=140135277
* Change handling of LD_LIBRARY_PATH in link actions: instead of passing the ↵Gravatar Lukacs T. Berki2016-11-24
| | | | | | | | | | | directories using a linker option, pass it in the environment instead. Fixes #2099. -- Change-Id: I9bff1888fbb211bc0853a68065b3098c4908c3d9 Reviewed-on: https://cr.bazel.build/7530 MOS_MIGRATED_REVID=140133329
* Improve memory footprint of CcToolchainFeatures.Variables.Gravatar Marcel Hlopko2016-11-24
| | | | | -- MOS_MIGRATED_REVID=140131142
* Add the coverage command to the CLI.Gravatar Ulf Adams2016-11-24
| | | | | | | Progress on #1118. -- MOS_MIGRATED_REVID=140128848
* Coverage support.Gravatar Ulf Adams2016-11-24
| | | | | | | | | | | | | | | | | - open source CoverageCommand.java - add a collect-coverage.sh script - update test-setup.sh to be compatible with the coverage collector - update StandaloneTestStrategy to provide the necessary env variables - update StandaloneTestStrategy to set the right command line for coverage - add support for C++ coverage An HTML report can then be generated with genhtml like this: genhtml -o report/ -p "$(readlink -f bazel-<project>)" path/to/coverage.dat Progress on #1118. -- MOS_MIGRATED_REVID=140125715
* Update coverage documentation. Prepare for open sourcing CoverageCommand.Gravatar Ulf Adams2016-11-24
| | | | | | | Progress on #1118. -- MOS_MIGRATED_REVID=140121703
* Rollback of commit 984d6d48d0e07ac3be2bbfec667158165390eb4f.Gravatar Tobias Werth2016-11-24
| | | | | -- MOS_MIGRATED_REVID=140121290
* Make SkylarkAttr.Descriptor thread-safe.Gravatar Dmitry Lomov2016-11-24
| | | | | | | Also fixes thread-unsafety in AttributeBuilder.build. -- MOS_MIGRATED_REVID=140118866
* Bazel client: delete and don't use the server.pidGravatar Laszlo Csomor2016-11-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upon startup the Bazel client checks if there's already a running server process and if so then connects to it. We achieve this by checking if there's a symlink in the server directory called served.pid, pointing to /proc/<server_pid>. If so, we read the symlink's target and extract the PID; otherwise we check if there's a file in the server's directory (server.pid.txt) that contains the PID and read it from there. Since the PID file is always there, we don't need the symlink, plus on Windows we don't support symlinks anyway, which is the real motivation for this change. Just ignoring the PID symlink is not enough, we need to actively delete it so that switching between Bazel versions (one that writes a PID symlink and one that doesn't) won't result in having a symlink and PID file with different PIDs and clients trying to kill the wrong server process / not killing one that they should. See https://github.com/bazelbuild/bazel/issues/2107 -- MOS_MIGRATED_REVID=140117287
* Add support for bundle binaries in apple_binary.Gravatar Sergio Campama2016-11-24
| | | | | -- MOS_MIGRATED_REVID=140094935
* Strict deps for proto_library.Gravatar Carmi Grushko2016-11-24
| | | | | | | | | In other words, all imported protos must be declared as BUILD dependencies. RELNOTES: proto_library supports strict proto deps. -- MOS_MIGRATED_REVID=140078632
* If set, have BlazeInterners use the value of the ↵Gravatar Nathan Harmata2016-11-24
| | | | | | | BLAZE_INTERNER_CONCURRENCY_LEVEL environment variable. -- MOS_MIGRATED_REVID=140070022
* Remove Swift support from native rulesGravatar Dmitry Shevchenko2016-11-24
| | | | | -- MOS_MIGRATED_REVID=140068224
* Introduce BlazeInterners, a Blaze-specific wrapper around Guava's Interners ↵Gravatar Nathan Harmata2016-11-24
| | | | | | | | | | | that makes an appropriate call to Interners.InternerBuilder#concurrencyLevel. For current readers of this CL, I used this class everywhere in the Blaze codebase. For future readers of this CL, this class should be used to create an Interner in the Blaze codebase. -- MOS_MIGRATED_REVID=140063271
* Implement cfg="target" parameter for labelsGravatar Vladimir Moskva2016-11-23
| | | | | -- MOS_MIGRATED_REVID=140051032
* Improve reliability/performance of Bazel downloadsGravatar Justine Tunney2016-11-23
| | | | | | | | | | | | | | | | 1. We now retry on connection failures. a. With exponential backoff. b. While recovering quickly from ephemeral failures. c. While still working if internet or web server is slow. 2. We now request gzip responses from web server. Fixed #1760 Fixed #1910 RELNOTES: External downloads now retry with exponential backoff and support gzip content-encoding. -- MOS_MIGRATED_REVID=140049160
* Implement objc++ linking semantics in crosstool. Sematics in question are:Gravatar Cal Peyser2016-11-23
| | | | | | | | 1) Uses clang++ instead of clang. 2) Add -stdlib=libc++ and -std=gnu++11 linker args -- MOS_MIGRATED_REVID=140049151
* Remove useless function in BuildFileAST.Gravatar Laurent Le Brun2016-11-23
| | | | | -- MOS_MIGRATED_REVID=140040343
* Remove Environment.parseFileGravatar Laurent Le Brun2016-11-23
| | | | | -- MOS_MIGRATED_REVID=140037282
* Properly handle bazel's output deletion within a write-protected directory.Gravatar Kush Chakraborty2016-11-23
| | | | | | | | Currently, we fail in deleting outputs from a previous invocation in a write-protected directory. This change retries deleting the outputs, after making the parent write-protected directory writable again. -- MOS_MIGRATED_REVID=140035023
* Bazel exports environment variable values to apple toolchains as buildGravatar Cal Peyser2016-11-23
| | | | | | | | | | variables. Once this change is released, client CROSSTOOLs can implement environment variables in a feature using an env_set. -- MOS_MIGRATED_REVID=140027562
* Move some actions to language-specific packages, where they belong.Gravatar Lukacs Berki2016-11-23
| | | | | -- MOS_MIGRATED_REVID=140024976
* Gracefully fail when there are duplicate jars in 'jars' attribute of ↵Gravatar Irina Iancu2016-11-23
| | | | | | | 'java_import' rule via filegroup. -- MOS_MIGRATED_REVID=140018942
* Declare order constraint in BEPGravatar Klaus Aehlig2016-11-23
| | | | | | | | | | | | | In the build event protocol, provide order guarantee to facilitate use: All the root causes referenced by a TargetCompleteEvent need to come before that event. Note that, by causality, the root causes have to be already knows, hence the root cause event is either generated already or about to be generated. -- Change-Id: I2bbe9b1a832c23217104a41e21d2f6ff13211c9a Reviewed-on: https://cr.bazel.build/7371 MOS_MIGRATED_REVID=140018440
* Alias proto_library's produce a descriptor set that contains all srcs of its ↵Gravatar Carmi Grushko2016-11-23
| | | | | | | | | | | dependencies. (alias proto_library's are those with a deps attribute but no srcs attribute) RELNOTES: Alias proto_library's produce a descriptor set that contains all srcs of its dependencies. -- MOS_MIGRATED_REVID=139940475
* Remove weird restriction on '|' operator from SkylarkNestedSets.Gravatar Dmitry Lomov2016-11-23
| | | | | -- MOS_MIGRATED_REVID=139926067
* Allow dicts to contain non-comparable objects as keysGravatar Vladimir Moskva2016-11-22
| | | | | | | | RELNOTES: Skylark dicts internally don't rely on keys order anymore and accept any hashable values (i.e. structs with immutable values) as keys. -- MOS_MIGRATED_REVID=139914704
* Initial checkin of the toolchain_lookup() rule for expressing explicit ↵Gravatar Lukacs Berki2016-11-22
| | | | | | | | | dependencies on Make variables and toolchains. I'm not particularly happy with the fact that it needs to depend on every configuration fragment that defines Make variables, but this seemed more reasonable than having a rule class for every fragment, just to have a lonely single rule of that class. -- MOS_MIGRATED_REVID=139910229
* Minor refactoring in SkylarkUtilsGravatar Laurent Le Brun2016-11-22
| | | | | | | Next step will be to move Environment.Phase to SkylarkUtils.BazelInfo -- MOS_MIGRATED_REVID=139902745