aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib
Commit message (Collapse)AuthorAge
* Update the check for a broken stream in the RPC server.Gravatar Lukacs Berki2016-03-31
| | | | | | | This check is awful and should be done somewhat differently, but since we are migrating to gRPC, there isn't much point in investing much in this. -- MOS_MIGRATED_REVID=118656266
* Do not special-case the //external package so in so that target pattern ↵Gravatar Lukacs Berki2016-03-31
| | | | | | | parsing for it is not broken. -- MOS_MIGRATED_REVID=118654985
* Remove unused TRANSITIVE_COLLECTION_SPEC.Gravatar Googler2016-03-31
| | | | | -- MOS_MIGRATED_REVID=118654684
* Enable the configuration sanity check for a subset of tests.Gravatar Ulf Adams2016-03-31
| | | | | | | | | | | Also remove a try-catch block, which was converting all configuration creation errors to IllegalStateException. This uncovered a bug in CppOptions, which wasn't adding host_grte_top to the set of explicit labels. -- MOS_MIGRATED_REVID=118654358
* Add support for objc_generate_linkmap argument that controls whether a link ↵Gravatar Dave MacLachlan2016-03-31
| | | | | | | | | map is generated. R_FUTURE=cparsons -- MOS_MIGRATED_REVID=118631953
* Improve 'exports' explanation in android_library docGravatar Googler2016-03-31
| | | | | | | | Slight improvement, mirroring the updated java_library 'exports' explanation. Less deceptive. -- MOS_MIGRATED_REVID=118608946
* Rollback of commit 044adedc70de040475443e52eb1a3c692159790eGravatar Googler2016-03-31
| | | | | -- MOS_MIGRATED_REVID=118605600
* Provide the final merged AndroidManifest.xml file in the apk_manifest.Gravatar Alex Humesky2016-03-31
| | | | | -- MOS_MIGRATED_REVID=118598917
* Extend support for AppleConfiguration in Skylark. Add support for ↵Gravatar Cal Peyser2016-03-31
| | | | | | | DottedVersion and Platform types in Skylark. -- MOS_MIGRATED_REVID=118593554
* Set -fmodules-cache-path to be rooted in the genfiles directory whenever ↵Gravatar Chris Parsons2016-03-31
| | | | | | | | | modules are enabled. Also warn when -fmodules-cache-path is explicitly set by the user (either in configuration or rule attributes) -- MOS_MIGRATED_REVID=118590843
* Simplify CompileOneDependencyTransformer. This is the first step of improvingGravatar Googler2016-03-31
| | | | | | | | | | | | | | | | it more with respect to the new parse_headers feature, ideas I have about configurable attributes etc. I am trying to keep functional changes to a minimum. Functional changes that couldn't really be easily avoided: - Find correct rule for headers through filegroups - Find correct target to build even if sources are missing. A proper error is reported in the subsequent loading phase Also remove SrcTargetUtil as it is no longer used. -- MOS_MIGRATED_REVID=118589517
* Only break lines if cursor motion is in useGravatar Klaus Aehlig2016-03-31
| | | | | | | | | | | | | | | | | | Manual breaking lines was introduced in a49f0253 to ensure Bazel knows the number of lines written, so the correct number of lines can be erased when the progress bar is updated. As this is only an issue if curses are in use, that wrapping as only added to the FancyTerminalEventHandler. However, Bazel distinguishes between two uses of curses - curses to add color to the output, and - curses to control the cursor and erase outdated progress bars. If the former is used, but not the latter, it is not necessary to wrap lines; in fact, not doing so is more backwards compatible while still keeping the line-eating bug fixed. So don't break lines in this case. -- Change-Id: Ieef8ab9410a071c35609a395f45cd56653115426 Reviewed-on: https://bazel-review.googlesource.com/#/c/3170 MOS_MIGRATED_REVID=118587980
* Signal that the help command does not buildGravatar Klaus Aehlig2016-03-31
| | | | | | | | | | In this way, we prevent the experimental UI from reporting about the number of actions (actually 0) currently running. -- Change-Id: Ic1c02d388f1928b8fe8d2d66dc14757b0213c43b Reviewed-on: https://bazel-review.googlesource.com/#/c/3180 MOS_MIGRATED_REVID=118580580
* Fix workspace name setting when the WORKSPACE file is splittedGravatar Damien Martin-Guillerez2016-03-31
| | | | | | | | If a load statement is present in the WORKSPACE file, the workspace name attribute will be lost from the WORKSPACE file. -- MOS_MIGRATED_REVID=118577315
* Remove PackageIdentifier#createInDefaultRepo now that all the callers have ↵Gravatar Lukacs Berki2016-03-30
| | | | | | | been migrated. -- MOS_MIGRATED_REVID=118571367
* Move BlazeRuntime.initCommand to BlazeWorkspace.Gravatar Ulf Adams2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118568284
* Rollback of commit cd6ca1d7a8bf947eb7c68a82ec2f1c0512d18169.Gravatar Tobias Werth2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118567315
* Support java_wrap_cc in intellij aspect.Gravatar Googler2016-03-30
| | | | | -- MOS_MIGRATED_REVID=118565877
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* --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
* Add --glibc as a late-bound option default so config_settingsGravatar Greg Estren2016-03-25
| | | | | | | can trigger on it. -- MOS_MIGRATED_REVID=118234431
* 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