aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib
Commit message (Collapse)AuthorAge
* Add a SpellChecker class with edit distance function.Gravatar Laurent Le Brun2016-06-01
| | | | | | | This will be used later to detect typos and provide suggestions. -- MOS_MIGRATED_REVID=123761611
* If an action_config is given for a particular type of link action, use that ↵Gravatar Cal Peyser2016-06-01
| | | | | | | | | action_config to configure the build. Otherwise, revert to hard-coded behavior. This change is designed to provide backwards-compatible support for crosstools that describe platform-specific linking semantics. -- MOS_MIGRATED_REVID=123748494
* Clarify that input/output names should be in cache key.Gravatar Janak Ramakrishnan2016-06-01
| | | | | -- MOS_MIGRATED_REVID=123729693
* Make "bazel info" load only the packages that are necessary for its job.Gravatar Lukacs Berki2016-06-01
| | | | | -- MOS_MIGRATED_REVID=123723401
* Fix a bug in SkyframeExecutor.getConfigurations() for dynamicGravatar Greg Estren2016-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | configurations: That calls getDynamicConfigOptions() to get the right BuildOptions for a target, but that fails to trim the option's FragmentOptions. That means, for example, a BuildConfiguration could get constructed with just the CppConfiguration fragment but with a BuildOptions that still has PythonOptions. This isn't just sloppy. It breaks Bazel tests that use SkyframeExecutor.getConfiguredTargetForTesting (which follows this code path) to compare against the production code path (which already properly trims deps). So two configured targets that should be equal won't be because their BuildConfigurations won't match. This is also a prerequisite change for trimming top-level configurations, coming up soon. TESTED: BuildViewTest#testNewActionsAreDifferentAndDontConflict (and other tests) pass with this change + the still-pending top-level-trimming change. -- MOS_MIGRATED_REVID=123676990
* Restore proto_library#JavaRuleOutputJarsProvider.Gravatar Googler2016-06-01
| | | | | -- MOS_MIGRATED_REVID=123675084
* Remove dead code in rbuildfiles().Gravatar Eric Fellheimer2016-06-01
| | | | | -- MOS_MIGRATED_REVID=123674584
* Remove DepsContext from CppCompilationContext. This simplifies theGravatar Manuel Klimek2016-05-31
| | | | | | | | | | CppCompilationContext as well as preparing it for further refactorings. DepsContext was introduced before NestedSets were available and is superfluous in a NestedSet world. -- MOS_MIGRATED_REVID=123653478
* Replace Constants.PRODUCT_NAME with a startup option --product_name=bazel and Gravatar Luis Fernando Pino Duque2016-05-31
| | | | | | | | | | | (finally) delete Constants.java. For bazel the file Constants.java is the only source of src/main/java/com/google/devtools/build/lib:common and since it was exporting guava then many dependencies needed to be fixed. -- MOS_MIGRATED_REVID=123648270
* Make Android rules/tests refer to the correct runfiles pathsGravatar Kristina Chodorow2016-05-31
| | | | | | | Fixes the android part of #1316. -- MOS_MIGRATED_REVID=123644129
* Append correct error message when recursing jgit exception stack.Gravatar David Chen2016-05-31
| | | | | | | Fixes #1315 -- MOS_MIGRATED_REVID=123619514
* Remove the --use_isystem_for_includes option.Gravatar Lukacs Berki2016-05-31
| | | | | | | RELNOTES: The --ues_isystem_for_includes command line option is not supported anymore. -- MOS_MIGRATED_REVID=123617061
* In AnalysisUtils.getProviders, construct the result in place.Gravatar Carmi Grushko2016-05-31
| | | | | | | (this is less wasteful) -- MOS_MIGRATED_REVID=123597016
* Roll forward commit 8375185ee11d573562f98de14bed79a77fcfd728.Gravatar Googler2016-05-30
| | | | | | | Consider /src/ in the path when locating the java root directory. -- MOS_MIGRATED_REVID=123469898
* Refactoring of Apple Platform detection and usage, to pave the way for ↵Gravatar Chris Parsons2016-05-30
| | | | | | | | | non-IOS Platforms. There are still various places which infer IOS platform type which need to be fixed, but this ensures switching to other platform types is as easy as changing an argument. -- MOS_MIGRATED_REVID=123444548
* Add documentation for apple_binary rule, making it visible for public ↵Gravatar Chris Parsons2016-05-30
| | | | | | | | | consumption. RELNOTES: Release apple_binary rule, for creating multi-architecture ("fat") objc/cc binaries and libraries, targeting ios platforms. -- MOS_MIGRATED_REVID=123435699
* Allow blacklisted package prefixes to be passed in lazily via a Supplier.Gravatar Eric Fellheimer2016-05-30
| | | | | -- MOS_MIGRATED_REVID=123424674
* Removes the generated proto sources from the header list, as it conflicts withGravatar Sergio Campama2016-05-30
| | | | | | | | module maps generation. This only affects protos generated using the new protobuf library. -- MOS_MIGRATED_REVID=123424524
* Adds "jre_deps" attribute to j2objc_library and the "--explicit_jre_deps" flagGravatar Googler2016-05-30
| | | | | | | | | which requires users to specify their JRE dependencies. RELNOTES: Adds "jre_deps" attribute to j2objc_library. -- MOS_MIGRATED_REVID=123414037
* Remove now dead class LoadingProgressReceiverGravatar Klaus Aehlig2016-05-30
| | | | | | | | | | | With the change of reporting progress during loading and analysis by a custom package tracking class, the LoadingProgressReceiver is not used anywhere anymore. Threfore, remove it. -- Change-Id: Ia88d2d5608dea1bb395cd5b3c3e12c16200ecb41 Reviewed-on: https://bazel-review.googlesource.com/#/c/3701 MOS_MIGRATED_REVID=123410961
* experimental UI: track touched packages during loading/analysisGravatar Klaus Aehlig2016-05-30
| | | | | | | | | | | | | | To give a better understanding of which packages are on the critical path during loading and analysis, provide information in the same way as during execution: show the earliest started, but not yet completed package. As not all packages looked at during the analysis phase are reported to the progress receiver, use a custom class to aggregate those data. -- Change-Id: I03c25efdecb4124e1bc06fce8be9175dc56b5500 Reviewed-on: https://bazel-review.googlesource.com/#/c/3700 MOS_MIGRATED_REVID=123408689
* Fix typo.Gravatar Nathan Harmata2016-05-27
| | | | | -- MOS_MIGRATED_REVID=123365501
* Force paths to be relative when archives are decompressedGravatar Kristina Chodorow2016-05-27
| | | | | -- MOS_MIGRATED_REVID=123350350
* Allow AQV users to inject arbitrary handling of classified errors.Gravatar Nathan Harmata2016-05-27
| | | | | -- MOS_MIGRATED_REVID=123347295
* Fixes bug where the well known types would not be added as an input to the ↵Gravatar Sergio Campama2016-05-27
| | | | | | | generating action and would fail to compile. -- MOS_MIGRATED_REVID=123320220
* Short-circuit equality comparison for unequal PackageIdentifiers by ↵Gravatar Shreya Bhattarai2016-05-27
| | | | | | | | | precomputing the hash. See commit 102a9a101a52f4ca92c9e97387ae159e54e87b05 for Nathan's original investigation into Label interning contention. -- MOS_MIGRATED_REVID=123314470
* Defer converting IDE aspect output to string.Gravatar Googler2016-05-27
| | | | | | | | | If we convert the aspect to a string it's kept in the analysis cache along with the original proto, even if the associated action is never used. -- MOS_MIGRATED_REVID=123280808
* Allow BlazeModules to expose a helper that PackageFactory will use for ↵Gravatar Nathan Harmata2016-05-27
| | | | | | | creating fresh Package instances. Also make a few Package methods public. -- MOS_MIGRATED_REVID=123247246
* Implement zip file symlink supportGravatar Kristina Chodorow2016-05-27
| | | | | | | | | | Fixes #1281. RELNOTES: Symlinks in zip files are now unzipped correctly by http_archive, download_and_extract, etc. -- MOS_MIGRATED_REVID=123233604
* [ObjcProtoAspect] Fixes an issue where targets that don't have a deps ↵Gravatar Sergio Campama2016-05-27
| | | | | | | attribute would fail requesting its deps, and crash. Also checks whether the portable_proto_filters attribute was explicitly specified. -- MOS_MIGRATED_REVID=123218724
* By default, don't create the .runfiles/workspace/external/repo dirsGravatar Kristina Chodorow2016-05-27
| | | | | | | | | | | | RELNOTES[INC]: External runfiles will now be accessible only via their .runfiles/repo/path/to/target path, not .runfiles/workspace-name/external/repo/path/to/target. If code still needs to use the legacy path, it can set --legacy_external_runfiles temporarily, but should transition to using the default location as it is more portable (see https://groups.google.com/d/msg/bazel-discuss/_Xo14sf7fHw/g7wdatTGBgAJ for details). The --legacy_external_runfiles option will be removed for the next release. -- MOS_MIGRATED_REVID=123217489
* --Gravatar Carmi Grushko2016-05-27
| | | | MOS_MIGRATED_REVID=123210708
* Enable interleaved loading & analysis by default.Gravatar Ulf Adams2016-05-25
| | | | | | | | | Fix a bunch of tests to assume interleaving instead of disrete phases. In our testing, this improves loading+analysis times by ~30%. -- MOS_MIGRATED_REVID=123203752
* Better error message when combine //visibility:(public|private) with other ↵Gravatar Yue Gan2016-05-25
| | | | | | | forms. -- MOS_MIGRATED_REVID=123201777
* Framework paths marked for search paths only are appropriately propagated toGravatar Cal Peyser2016-05-25
| | | | | | | xcodeproj. -- MOS_MIGRATED_REVID=123152775
* Allow honoring select dexopts in incremental dexingGravatar Googler2016-05-25
| | | | | -- MOS_MIGRATED_REVID=123149803
* Support for gathering all the protos seen in the transitive closure of ↵Gravatar Sergio Campama2016-05-25
| | | | | | | dependencies through the ObjcProtoAspect, compiling and linking the generated protos at the final linking target. This is only enabled for objc_proto_libraries using the portable_proto_filters attribute, and guarded with the "--experimental_auto_top_level_union_objc_protos" flag. This prevents duplicate symbol errors as the generated sources are only linked once. -- MOS_MIGRATED_REVID=123144532
* Decrease visibility of createProtoCompilerCommandLine() to private.Gravatar Carmi Grushko2016-05-25
| | | | | -- MOS_MIGRATED_REVID=123119417
* Create a feature for per-object-file debug info files and move -gsplit-dwarf ↵Gravatar Lukacs Berki2016-05-25
| | | | | | | | | to it. A side effect is that this made --save_temps (probably) work with --use_fission . Previously, the DWO file was also an output of the temps actions. -- MOS_MIGRATED_REVID=123117200
* Remove Package.LegacyBuilder (unneeded as of commit ↵Gravatar Nathan Harmata2016-05-25
| | | | | | | 3a95f353704dc2f7061e2c0786c2459ac1db0fd1). -- MOS_MIGRATED_REVID=123107954
* Introducing PopulateTreeArtifactAction, an Action that populates a ↵Gravatar Rumou Duan2016-05-25
| | | | | | | | | | | TreeArtifact with the content of an archive file at execution time by: 1. Reads the archive manifest file on disk. 2. Executes a spawn that expands the archive manifest entries of the archive file into/under the TreeArtifact. 3. Registers the manifest file entries as TreeFileArtifacts of the TreeArtifact. -- MOS_MIGRATED_REVID=123107850
* Make linkstamp info use NestedSet.Gravatar Manuel Klimek2016-05-25
| | | | | | | | Before this patch we would store expanded transitive include files in CcLinkParams. -- MOS_MIGRATED_REVID=123103815
* Remove the --cwarn command line option.Gravatar Lukacs Berki2016-05-25
| | | | | | | RELNOTES[INC]: The --cwarn command line option is not supported anymore. Use --copt instead. -- MOS_MIGRATED_REVID=123101536
* Move -frandom-seed= into a feature.Gravatar Lukacs Berki2016-05-25
| | | | | | | | | One more thing that doesn't work on Windows is gone. As a drive-by fix, also remove usePic from CppCompileAction since it's not needed anymore. -- MOS_MIGRATED_REVID=123099120
* experimental UI: group test actions by labelGravatar Klaus Aehlig2016-05-25
| | | | | | | | | | | When reporting about actions that are still running, groups those belonging to the same test. In this way, more useful information can be presented in the progress bar, instead of wasting a whole line for a single shard. -- Change-Id: Id1f5a0595767906d6a75f6533be54f3c262ddd67 Reviewed-on: https://bazel-review.googlesource.com/#/c/3646 MOS_MIGRATED_REVID=123097744
* workers: Improve verbose messages when workers are restarted. Prevent ↵Gravatar Philipp Wollermann2016-05-24
| | | | | | | | | | | | | | | | | killing of broken workers in the background, when no build is currently running, because we can only alert the user about what's going on while a build is currently running. If you're a developer, this will probably help you when debugging a new worker. Some messages you might see with --worker_verbose specified: INFO: Worker configuration has changed, restarting worker pool... WARNING: Javac worker (id 6) can no longer be used, because its files have changed on disk [13ce6c10546243b6b4ea2334dd3f8a55705e4c078cedd0e746d7ad7cee082e9a -> 9731223c50bab5c1f20d60d1a4967cf2726840727b6a639b6f6425547a9b4a10]. WARNING: Javac worker (id 4) can no longer be used, because its process terminated itself or got killed. -- MOS_MIGRATED_REVID=123093071
* workers: When a WorkerFactory is instantiated, first remove old worker logs ↵Gravatar Philipp Wollermann2016-05-24
| | | | | | | that belong to a prior running Bazel server. -- MOS_MIGRATED_REVID=123092141
* Make the parser handle CRLF correctly.Gravatar Lukacs Berki2016-05-24
| | | | | | | Fixes #1300 . -- MOS_MIGRATED_REVID=123090421
* Pre-allocate memory at a few (non-exhaustive) sites that are on the exit ↵Gravatar Janak Ramakrishnan2016-05-24
| | | | | | | path after we OOM, in an attempt to make that path complete more quickly and successfully. -- MOS_MIGRATED_REVID=123040502
* Separate killing Bazel on OOM using -XX:OnOutOfMemoryError and ↵Gravatar Janak Ramakrishnan2016-05-24
| | | | | | | | | pessimistically OOMing when GC thrashing. The first seems to make us hang on OOM, which is kind of the opposite of what we want. These flags are now even more terribly named than they used to be, but a rename can wait until we actually know what we want. -- MOS_MIGRATED_REVID=123036704