aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Move most of the workspace-handling code from BlazeRuntime to a new class.Gravatar Ulf Adams2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118563271
* Move most BlazeRuntime methods related to workspace directories to CommandEnv.Gravatar Ulf Adams2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118561661
* Remove the unused loadingEnabled param from BuildView.update.Gravatar Ulf Adams2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118560010
* Use the local shell environment for invoking build-runfiles.Gravatar Lukacs Berki2016-03-30
| | | | | | | This is necessary because build-runfiles depends on the msys shared library, which (as per DLL lookup rules on Windows) is checked under the entries of PATH. -- MOS_MIGRATED_REVID=118556684
* Rollback of commit d6dcde6bbf074b42f89b0feb6980e124c076863a.Gravatar Klaus Aehlig2016-03-30
| | | | | | | | | | | | | | | *** Reason for rollback *** Broke bazel http://ci.bazel.io/job/Bazel/417/JAVA_VERSION=1.8,PLATFORM_NAME=linux-x86_64/console by using a Guava 20 feature, while Gauva 20 is not yet released. *** Original change description *** Set -fmodules-cache-path to be rooted in the genfiles directory whenever modules are enabled. Also warn when -fmodules-cache-path is explicitly set by the user (either in configuration or rule attributes) -- MOS_MIGRATED_REVID=118555994
* Signal that clean does not buildGravatar Klaus Aehlig2016-03-30
| | | | | | | | | | | | | bazel clean never runs any actions, hence any message about running actions would confuse the user. Therefore, signal that clean is a non-building command so that the experimental UI knows not the report about progress of building. -- Change-Id: I193f199b052e990992359bc9efdbe34db397ac5f Reviewed-on: https://bazel-review.googlesource.com/#/c/3125 MOS_MIGRATED_REVID=118554435
* Move the BuildView creation to BuildTool, the only remaining user.Gravatar Ulf Adams2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118547283
* Updates stub application resource handling to work with Android N.Gravatar Alex Humesky2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118532668
* Do not pass -gsplit-dwarf to the compiler except when building a .dwo file.Gravatar Googler2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118525960
* Fix strip for ios_framework_binary by passing -x to strip.Gravatar Googler2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118523482
* Rename swift_binary to swift_library as the intended rule is not executable.Gravatar Dmitry Shevchenko2016-03-30
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=118518790
* Adds the dsym files to the ios_application output when using ↵Gravatar Googler2016-03-30
| | | | | | | --objc_generate_debug_symbols. These are delivered in distinct files, with an architecture identifier. -- MOS_MIGRATED_REVID=118510432
* Description redacted.Gravatar Chris Parsons2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118500217
* Remove support for non-proto deps filesGravatar Liam Miller-Cushon2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118488877
* Don't prune qualified super constructors invocations in chained constructorsGravatar Liam Miller-Cushon2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118488791
* Fix file object URIs in ZipOutputFileManagerGravatar Liam Miller-Cushon2016-03-30
| | | | | | | Avoids spurious diagnostics about annotation processor generated class names not matching the file path. -- MOS_MIGRATED_REVID=118488628
* Handle overlapping source jarsGravatar Liam Miller-Cushon2016-03-30
| | | | | | | JavaBuilder overwrites files when extracting source jars, silently ignoring duplicates. It it'd be better if it didn't, but until it's fixed turbine should have the same behaviour. -- MOS_MIGRATED_REVID=118487939
* Restrict file types allowed for "strings" attribute to ".strings".Gravatar Googler2016-03-30
| | | | | | | RELNOTES: Restrict file types allowed for "strings" attribute to ".strings". -- MOS_MIGRATED_REVID=118479031
* Set -fmodules-cache-path to be rooted in the genfiles directory whenever ↵Gravatar Chris Parsons2016-03-30
| | | | | | | | | modules are enabled. Also warn when -fmodules-cache-path is explicitly set by the user (either in configuration or rule attributes) -- MOS_MIGRATED_REVID=118478856
* Delay BuildView creation in CommandEnvironment until beforeCommand().Gravatar Ulf Adams2016-03-30
| | | | | | | | This is so that we can access the build options during creation, which is a step towards making the coverage module stateless. -- MOS_MIGRATED_REVID=118475354
* 3.74 of 5: Remove DataKey from DataValue, FileDataResource and XmlDataResource.Gravatar Googler2016-03-30
| | | | | | | This is mostly mechanical, cleaning up the vestigal marks of combining the value and key. The only mildly odd change is making the OverwritableConsumer and NonOverwritableConsumer package visible, for testing purposes. -- MOS_MIGRATED_REVID=118474980
* Use ENTITLEMENTS_TYPE constant to specify allowed file types for ↵Gravatar Googler2016-03-30
| | | | | | | ":extra_entitlements". -- MOS_MIGRATED_REVID=118473605
* Make the ProjectFileSupport stateless; pass in required parameter when called.Gravatar Ulf Adams2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118473491
* in the query docs, correctly refer to the --output option not --orderGravatar Benjamin Peterson2016-03-30
| | | | | | | -- Change-Id: I7830558b688fb648d6f931bf79e82b9ee65bb18c Reviewed-on: https://bazel-review.googlesource.com/c/3160/ MOS_MIGRATED_REVID=118472905
* Remove calls of CommandEnvironment.getView; remove ide-info from BuildView.Gravatar Ulf Adams2016-03-30
| | | | | | | This makes the late initialization of BuildView more obviously safe. -- MOS_MIGRATED_REVID=118469655
* Rename ConfigurationDistinguisher.APPLICATION and ↵Gravatar Googler2016-03-30
| | | | | | | ConfigurationDistinguisher.EXTENSION to "IOS_APPLICATION" and "IOS_EXTENSION". -- MOS_MIGRATED_REVID=118468650
* 3.73 of 5: Convert xml parsing to use the map based storageGravatar Googler2016-03-30
| | | | | | | | | Introduces two new interfaces: DataValue, which compliments DataKey and allows a cleaner interface MergeConflict AndroidDataSet.KeyValueConsumer, abstraction that allows a common interface for consuming parsed resources, which is a lot cleanr for DataValue as well. -- MOS_MIGRATED_REVID=118466739
* Don't start include scanning from used module maps. The modules generated forGravatar Googler2016-03-30
| | | | | | | those modules already contain all the headers that are needed. -- MOS_MIGRATED_REVID=118457691
* Add getGenfilesArtifact() that takes an explicit AspectParameters, for ↵Gravatar Carmi Grushko2016-03-30
| | | | | | | looking up actions registered from Aspects that use a non-empty AspectParameters. -- MOS_MIGRATED_REVID=118455180
* experimental UI: don't update progress bar after build for INFOGravatar Klaus Aehlig2016-03-30
| | | | | | | | | | | | | | | | | | | | | As explained in commit 37f3e9ee, after completion of the build, there is no need any more to update the progress bar. Instead, its last line, if any, can just float into the scroll-back buffer. From then on, STDOUT and STDERR events are just passed through. Do so as well for any late INFO, WARNING, or ERROR events. This will allow avoiding pointless messages in commands like 'bazel clean' (the patch removing those messages will also provide an appropriate integration test). Unfortunately, to make this work properly, we must ensure that both event handlers get informed about the fact that we have a no-build command. To do this, we register the event handler with the intended IO stream on the event bus, as well as a passively observing variant of the event handler that has direct acces to the full output stream. -- Change-Id: I148dc0065b6343e4a2a225b2d4fa615b4f720ff5 Reviewed-on: https://bazel-review.googlesource.com/#/c/3124 MOS_MIGRATED_REVID=118444275
* support incremental dexing in all unproguarded android binaries as well as ↵Gravatar Googler2016-03-29
| | | | | | | tests without binary_under_test -- MOS_MIGRATED_REVID=118422688
* Restrict file types used for "entitlements" attribute to [".entitlements", ↵Gravatar Googler2016-03-29
| | | | | | | | | ".plist"]. RELNOTES: Restrict file types used for "entitlements" attribute to [".entitlements", ".plist"] -- MOS_MIGRATED_REVID=118416261
* Fix keep-going build with an existing cycle by only setting errorDepKey in a ↵Gravatar Janak Ramakrishnan2016-03-29
| | | | | | | non-keep-going build. Setting errorDepKey was only mostly harmless, to mix memes. (Actually, it was quite harmful.) -- MOS_MIGRATED_REVID=118410594
* Update TODOGravatar Liam Miller-Cushon2016-03-29
| | | | | -- MOS_MIGRATED_REVID=118410183
* Propagate -isystem includes from CC deps in Xcode project generation.Gravatar Googler2016-03-29
| | | | | | | | | The lack of cc_library dependencies in generated Xcode projects can be worked around using _fully_linked.a and objc_import, but some include files still fail to propagate. In particular this affects genrule outputs and proto headers. This fixes that issue. -- MOS_MIGRATED_REVID=118397125
* Skylark providers exported under the key "objc" are consumed as ObjcProvider ↵Gravatar Cal Peyser2016-03-29
| | | | | | | instances by dependant objc_binary targets. -- MOS_MIGRATED_REVID=118395529
* fix passing JVM bootclasspath to proguard now that it's available (was empty ↵Gravatar Googler2016-03-29
| | | | | | | before) -- MOS_MIGRATED_REVID=118394551
* Open source cc_inc_library.Gravatar Cal Peyser2016-03-29
| | | | | -- MOS_MIGRATED_REVID=118383557
* Provide descriptive error messages on external mutable source files ↵Gravatar Googler2016-03-29
| | | | | | | | | encountered during a build Currently when evaluating a file or symlink leading to an external mutable object, Blaze throws an exception with unclear messages. The message does not contain the actual path but rather [/]/[] instead. This change updates FileFunction to allow bubbling up the error with the accurate path. -- MOS_MIGRATED_REVID=118381323
* Return ErrorInfoSubject for EvaluationResultSubject#hasErrorEntryForKeyThat ↵Gravatar Janak Ramakrishnan2016-03-28
| | | | | | | instead of DefaultSubject. -- MOS_MIGRATED_REVID=118261285
* Clean up some testing code: @Before methods' call order is unspecified, so ↵Gravatar Janak Ramakrishnan2016-03-28
| | | | | | | we could get an NPE if one initializes a data structure the other uses. Also delete an unused field and do a small visibility drive-by. -- MOS_MIGRATED_REVID=118248373
* --Gravatar Chris Parsons2016-03-28
| | | | MOS_MIGRATED_REVID=118246740
* Do not run the finally block in BuildTool#buildTargets if we are in a ↵Gravatar Janak Ramakrishnan2016-03-28
| | | | | | | catastrophe. It doesn't add any logging information, and can mask the source of a crash if the crash has broken some invariants. <speculation>For instance, if we are crashing due to an OutOfMemoryError, the graph map may be in an inconsistent state where an attempt to add to it deleted a node</speculation>. -- MOS_MIGRATED_REVID=118242401
* Move several naked strings over to constants as general code cleanup.Gravatar Dave MacLachlan2016-03-28
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=118242131
* 3.71: Remove ResourceMap, Fix testsGravatar Googler2016-03-25
| | | | | | | | | | Removes ResourceMap from AndroidDataSet, now the merge operates directly on the AndroidDataSet instances. Change tests to use Map<DataKey, Data?> instead of List<Data?>. Add tests for finding conflicts during AndroidDataSet creation. Make MergeConflict more test friendly by sorting Paths on creation. -- MOS_MIGRATED_REVID=118240635
* Move file writing to its own classGravatar Kristina Chodorow2016-03-25
| | | | | | | | Removes the remaining IO from Resolver, which is now only responsible for rule dependency logic. -- MOS_MIGRATED_REVID=118240098
* Add --glibc as a late-bound option default so config_settingsGravatar Greg Estren2016-03-25
| | | | | | | can trigger on it. -- MOS_MIGRATED_REVID=118234431
* Correct Bazel's google_play_services built-in custom_package definition, as ↵Gravatar Todd Jeffreys2016-03-25
| | | | | | | | | it is incorrect. Currently when you build an app using the built-in rule, the resources compile to google.bazel.R, but the GMS libs need com.google.android.gms.R, so InflateExceptions occur - AdView for one. -- MOS_MIGRATED_REVID=118204766
* Put all connecting to Maven logic in DefaultModelResolverGravatar Kristina Chodorow2016-03-25
| | | | | | | Making the other classes much more testable! -- MOS_MIGRATED_REVID=118203206
* Respect --noexperimental_check_output_files in FileSystemValueChecker. ↵Gravatar Nathan Harmata2016-03-25
| | | | | | | | | FileStateValues for output files can make their way into the Skyframe graph if a source file is symlink to an output file. Also fix a bug where ExternalFilesHelper#isExternalFileSeen would always return true after returning true once in the past. This meant if an external file ever made its way into the Skyframe graph, we would always do a full graph scan at the beginning of each build (iow, we would always waste some CPU time doing nothing interesting). -- MOS_MIGRATED_REVID=118190190