aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Add user-defined IPA post-processors.Gravatar Peter Schmitt2016-02-23
| | | | | | | RELNOTES[NEW]: iOS ipa_post_processor attribute allows for user-defined IPA edits. -- MOS_MIGRATED_REVID=115338312
* Fix a race where an interrupt sent from the client near the start of an ↵Gravatar Eric Fellheimer2016-02-23
| | | | | | | invocation could be lost. Note that the client sends an empty request to the Blaze server to check its existence. Previously, we were treating this as a full command invocation in the server and resetting the interrupt bit. Now we detect this and do not alter the interrupt bit. -- MOS_MIGRATED_REVID=115337972
* Make another JavaCommon method static to reduce reliance on mutability.Gravatar Ulf Adams2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115337586
* Implements repository_ctx.osGravatar Damien Martin-Guillerez2016-02-23
| | | | | | | | | | | repository_ctx.os gives access to os related information: - .system returns the name of the current platform. - .environ returns the list of environment variables. Issue #893: Step 4 of http://goo.gl/OZV3o0. See http://goo.gl/fD4ZsY. -- MOS_MIGRATED_REVID=115337406
* Implements repository_ctx.executeGravatar Damien Martin-Guillerez2016-02-23
| | | | | | | | | | This add a repository_ctx.execute() method for spawning action from a skylark remote repository. Issue #893: Step 4 of http://goo.gl/OZV3o0. See http://goo.gl/fD4ZsY. -- MOS_MIGRATED_REVID=115335198
* Remove unnecessary checkMainClass call. This is already called in getMainClass.Gravatar Ulf Adams2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115333056
* Rename proto dependencies to include a _java component in them.Gravatar Julio Merino2016-02-23
| | | | | | | | While doing this, homogenize the two dependencies on build.proto (via build_proto and build_proto_v2) into a single build_java_proto. -- MOS_MIGRATED_REVID=115328219
* Refactor the JavaSemantics interface to reduce reliance on mutable JavaCommon.Gravatar Ulf Adams2016-02-23
| | | | | | | | Pass in the list of sources where applicable; see previous change on getMainClass / getPrimaryClass. -- MOS_MIGRATED_REVID=115318149
* Make some JavaCommon static to reduce reliance on mutable state.Gravatar Ulf Adams2016-02-23
| | | | | | | | | | | Also change the JavaSemantics interface to provide a top-level method to determine the main class for a java_binary rule. Also refactor the JavaSemantics implementations to reduce passing of JavaCommon. -- MOS_MIGRATED_REVID=115316536
* Split the code to create singlejar actions out of BaseJavaCompilationHelper.Gravatar Ulf Adams2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115315358
* Fix blatant bug with Skyframe globbing where we incorrectly allow dangling ↵Gravatar Nathan Harmata2016-02-23
| | | | | | | | | | | | | symlinks to match a glob pattern. This bug has/had two consequences: (1) Change pruning will incorrectly cut off changes to GlobValues that ought to now match more files (say, if a dangling symlink comes into existence), causing a package to be incorrectly incrementally not re-loaded. (2) After a recent change to PackageFunction where we use a fancy hybrid globbing approach, we use skyframe globbing on incremental package loading. So if a re-loaded package has the same glob pattern but this glob pattern incorrectly matches a dangling symlink, the re-loaded package will incorrectly have a target for the dangling symlink path. -- MOS_MIGRATED_REVID=115274842
* Prevent new evaluations from starting if a done child's error is discovered. ↵Gravatar Janak Ramakrishnan2016-02-23
| | | | | | | Also delete some code that's been dead for a while, now that we eagerly shut down evaluation when we come across a child in error during a fail-fast evaluation. -- MOS_MIGRATED_REVID=115272603
* Add ExecutionRequirements target that is generally available to rule ↵Gravatar Cal Peyser2016-02-23
| | | | | | | implementations. -- MOS_MIGRATED_REVID=115252203
* Adds the ResourceShrinkerAction. Uses the results of resource processing and ↵Gravatar Andrew Pellegrini2016-02-23
| | | | | | | a dead code removal Proguard pass to create an ap_ without unused resources to be used when building android_binary targets. -- MOS_MIGRATED_REVID=115227385
* Workaround gcc bug.Gravatar Dmitry Lomov2016-02-22
| | | | | | | | | Struct initialization for nested struct broken since 4.9.0. (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59832) Fixes #947. -- MOS_MIGRATED_REVID=115224533
* Changed mandatoryProviders to mandatoryProvidersListGravatar Yun Peng2016-02-22
| | | | | | | | "mandatoryProvidersList" is a list of sets of providers. For any rule, if it provides all the providers from one of those sets, we consider the dependency valid. -- MOS_MIGRATED_REVID=115221394
* Reformat CppOptions.javaGravatar Cal Peyser2016-02-22
| | | | | -- MOS_MIGRATED_REVID=115214428
* Remove unused code for SYNOPSIS, ATTRIBUTE_DEFINITION, and ATTRIBUTE_SIGNATUREGravatar David Chen2016-02-22
| | | | | | | docgen variables. -- MOS_MIGRATED_REVID=115204049
* Move the static getHostJavabaseInputs variant to JavaHelper.Gravatar Ulf Adams2016-02-22
| | | | | -- MOS_MIGRATED_REVID=115201919
* Clean up unnecessary parameter.Gravatar Alex Humesky2016-02-22
| | | | | -- MOS_MIGRATED_REVID=115199657
* Rename all the internal proto_library Java-related attributes.Gravatar Ulf Adams2016-02-22
| | | | | | | | | This is part of our internal migration strategy for proto_library. Do not use the new constructors unless you know what you're doing. They will go away as soon as we have completed our internal migration. -- MOS_MIGRATED_REVID=115199181
* Update j2objc_library documentations.Gravatar Rumou Duan2016-02-22
| | | | | -- MOS_MIGRATED_REVID=115106353
* Get rid of duplicated strings for IosTest attributes because I'm always ↵Gravatar Dave MacLachlan2016-02-22
| | | | | | | | | paranoid of missing one when changing them, and it makes things so much easier when coding. R_FUTURE=schmitt,cparsons -- MOS_MIGRATED_REVID=115101461
* Expose ``build_file_path`` to Skylark rules.Gravatar Dmitry Lomov2016-02-22
| | | | | | | | Also adds neccessary support to Skylark implementation of IDE info aspect. -- MOS_MIGRATED_REVID=115084383
* Add implicit attribute used for coverage, even if coverage doesn't work yet.Gravatar Ulf Adams2016-02-22
| | | | | | | | | This reduces the differences between internal and external Bazel, and is a step towards open sourcing the coverage implementation, as well as towards cleaning up the Java rules. -- MOS_MIGRATED_REVID=115065323
* Allow async command invocations to set the "closeOutput" bit.Gravatar Eric Fellheimer2016-02-22
| | | | | -- MOS_MIGRATED_REVID=115063418
* Add the names of the mandatory inputs to the action key for actions that ↵Gravatar Lukacs Berki2016-02-22
| | | | | | | | | discover their inputs. This makes the case work where an extra input is added to an action, but it's still an action cache hit because the discovered inputs did not change, and thus the set of inputs action cache becomes stale. -- MOS_MIGRATED_REVID=115060976
* Removes "startsWith" check in testGravatar Yue Gan2016-02-19
| | | | | | | | | | | | com.google.devtools.build.lib.sandbox.LocalLinuxSandboxedStrategyTest.testExecutionFailurePrintsCorrectMessage. We modified the error message of sandbox failure, and new error message (commandLineArgs) is not able to get in test. Fixes #939. -- MOS_MIGRATED_REVID=115058938
* Add repository_ctx.which(str): returns the path of a commandGravatar Damien Martin-Guillerez2016-02-19
| | | | | | | | | This methods mimick the behavior of the `which` utility. Issue #893: Step 4 of http://goo.gl/OZV3o0. See http://goo.gl/fD4ZsY. -- MOS_MIGRATED_REVID=115050970
* Windows: use junctions to link to installation directory.Gravatar Dmitry Lomov2016-02-19
| | | | | | | | | | Win32 have no good API for that (basically we need to resort to ioctl call). Shelling out to mklink. Needed for #276. -- MOS_MIGRATED_REVID=115040968
* Minor style fixes.Gravatar Googler2016-02-19
| | | | | -- MOS_MIGRATED_REVID=115033052
* No longer automatically set _GLIBCXX_DEBUG, _GLIBCXX_DEBUG_PEDANTIC, ↵Gravatar Cal Peyser2016-02-19
| | | | | | | _GLIBCPP_CONCEPT_CHECKS for debug objc builds. -- MOS_MIGRATED_REVID=115022288
* Rename proto_java_library to java_proto_library.Gravatar Julio Merino2016-02-19
| | | | | | | | RELNOTES[INC]: Renamed proto_java_library to java_proto_library. The former is now deprecated and will print out a warning when used. -- MOS_MIGRATED_REVID=115012027
* Adds --artifact option to workspace generator for generating workspace andGravatar Alex Humesky2016-02-19
| | | | | | | | | | build file rules from specific maven artifact coordinates. RELNOTES: Added --artifact to workspace generator for generating workspace and build file rules from artifact coodrinates. -- MOS_MIGRATED_REVID=115001893
* The test summary in the terminal no longer shows skipped tests as failed.Gravatar Florian Weikert2016-02-19
| | | | | -- MOS_MIGRATED_REVID=114998075
* Remove an unused field from AbstractPostProcessorGravatar Liam Miller-Cushon2016-02-19
| | | | | -- MOS_MIGRATED_REVID=114985098
* Make effectively final fields finalGravatar Liam Miller-Cushon2016-02-19
| | | | | -- MOS_MIGRATED_REVID=114984938
* Make effectively final fields finalGravatar Liam Miller-Cushon2016-02-19
| | | | | -- MOS_MIGRATED_REVID=114984900
* Implement pop(), popitem() and setdefault() for dictGravatar Francois-Rene Rideau2016-02-19
| | | | | -- MOS_MIGRATED_REVID=114966513
* sandbox: Easier debugging of sandbox failures, when using both ↵Gravatar Yue Gan2016-02-19
| | | | | | | | | | | --verbose_failures and --sandbox_debug. RELNOTES: - When using both --verbose_failures and --sandbox_debug, Bazel prints instructions how to spawn a debugging shell inside the sandbox. - When namespace-sandbox is run with the -D (debug) flag and inside a terminal, it spawns a shell inside the sandbox to aid in debugging when the sandboxed command fails. -- MOS_MIGRATED_REVID=114953983
* Remove unused ASwB build artifactGravatar Googler2016-02-19
| | | | | | | RELNOTES:None. -- MOS_MIGRATED_REVID=114952244
* Windows: use default shell env for ijar execution, so that .dlls can be found.Gravatar Dmitry Lomov2016-02-18
| | | | | | | | | On Windows, ijar.exe needs msys-2.0.dll and zlib1.dll in PATH. Needed for #276. -- MOS_MIGRATED_REVID=114947735
* Initial support for Java header compilationGravatar Liam Miller-Cushon2016-02-18
| | | | | | | | | 'Turbine' compiles ijars from source, ignoring method bodies and relaxing error checks for performance. We can then do normal compilation against those ijars and move javac off the build's critical path. -- MOS_MIGRATED_REVID=114919013
* xcode_locator outputs developer directories instead of xcode pathsGravatar Chris Parsons2016-02-18
| | | | | -- MOS_MIGRATED_REVID=114910110
* Turn //tools/build_rules into a package.Gravatar Julio Merino2016-02-17
| | | | | | | | | This is in preparation for another change that will add a new helper script to the tools/build_rules directory, and such script requires a BUILD rule of its own. -- MOS_MIGRATED_REVID=114898083
* Add a SkylarkRepositoryContextTestGravatar Damien Martin-Guillerez2016-02-17
| | | | | | | | | This test class is just testing attr for now but it will be extended with further test to test non trivial methods of the SkylarkRepositoryContext. -- MOS_MIGRATED_REVID=114897054
* Introduce SkylarkRepositoryModuleGravatar Damien Martin-Guillerez2016-02-17
| | | | | | | | | | | | | | | | | The SkylarkRepositoryModule declare the `repository_rule` function to Skylark to define new remote repository types (http://goo.gl/OZV3o0). The work is delagated to the `SkylarkRepositoryFunction` by the `RepositoryDelegatorFunction`. `SkylarkRepositoryContext` defines the `ctx` object passed to the `repository_rule` implementation function. This change also introduce a `SkylarkPath` and the necessary methods in `SkylarkRepositoryContext` to showcase the creation of a `local_repository` like repository. Issue #893: step 3 of the roadmap http://goo.gl/OZV3o0. -- MOS_MIGRATED_REVID=114895003
* Add merged resources output generation to AndroidResourceProcessingAction in ↵Gravatar Andrew Pellegrini2016-02-17
| | | | | | | preparation for the ResourceShrinkerAction and move common option flags to AndroidResourceProcessor to prevent duplication in ResourceShrinkerAction. -- MOS_MIGRATED_REVID=114883341
* Add escapes to quotation marks in Java version detection genrule.Gravatar Dmitry Lomov2016-02-17
| | | | | | | | | | | | | Quotation mark character is significant for Win32's CreateProcess. It should always be properly escaped when occuring inside arguments. We might devise a common solution in GenRule for that, but for now this change fixes the only genrule we use that runs into this issue. Needed for #276. -- MOS_MIGRATED_REVID=114881441
* And fix visibility on the other generate_workspace library for testingGravatar Kristina Chodorow2016-02-17
| | | | | -- MOS_MIGRATED_REVID=114880610