aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Update swift_library logic for module name generationGravatar Dmitry Shevchenko2016-05-30
| | | | | | | | * Modules are now named after its full target path by default. * module_name attribute can be used to override this logic. -- MOS_MIGRATED_REVID=123422704
* 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
* Convert the Bazel JUnit4 test runner from Guice to Dagger.Gravatar Googler2016-05-27
| | | | | -- MOS_MIGRATED_REVID=123342439
* Add support for importing frameworks to swift_library.Gravatar Dmitry Shevchenko2016-05-27
| | | | | | | | | | * Adds a way to read FRAMEWORK_ keys from ObjcProvider and provide outputs as -F args to the compiler * Adds a sample dynamic framework for testing RELNOTES: swift_library is now able to import framework rules such as objc_framework. -- MOS_MIGRATED_REVID=123337139
* 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
* Change name of intellij_info output to intellij-build.txt.Gravatar Googler2016-05-27
| | | | | | | Aesthetic change only. Safe because no one yet consumes this. -- MOS_MIGRATED_REVID=123279233
* Add EvaluationResultSubject#hasReverseDepsInGraphThat method.Gravatar Janak Ramakrishnan2016-05-27
| | | | | -- MOS_MIGRATED_REVID=123251531
* 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
* Add support for module maps to swift_libraryGravatar Dmitry Shevchenko2016-05-27
| | | | | | | | | * General cleanup of the rule code. * Adds a way to use modulemaps to import Objective-C code. * Adds a way to pass framework flags to the compiler and adds the developer frameworks dir from Xcode as one. -- MOS_MIGRATED_REVID=123217120
* Fixes the assert_one_of failure message, to print the correct expected values.Gravatar Anastasios Kakalis2016-05-27
| | | | | -- MOS_MIGRATED_REVID=123214350
* --Gravatar Carmi Grushko2016-05-27
| | | | MOS_MIGRATED_REVID=123210708
* Increase the size of //src/test/shell/bazel:local_repository_test_jdk8Gravatar Damien Martin-Guillerez2016-05-27
| | | | | | | Fixes #1298 -- MOS_MIGRATED_REVID=123208845
* 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: Make integration tests more robust. We no longer grep the process ↵Gravatar Philipp Wollermann2016-05-25
| | | | | | | list for running / not running workers, which caused the tests to be very flaky, but instead test what we're interested in by checking the generated output and the (recently improved) verbose log messages. -- MOS_MIGRATED_REVID=123093910
* 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
* Tweak TransitiveTraversalValue's constructor's visibilityGravatar Michajlo Matijkiw2016-05-24
| | | | | -- MOS_MIGRATED_REVID=123035454
* Use a non-side-effectful PackageLookupValue#packageExists implementation for ↵Gravatar Nathan Harmata2016-05-24
| | | | | | | | | //external package lookups, but keep the current (incorrect) semantics for unsuccessful //external package lookups. Refactor some users of the old WorkspacePackageLookupValue. -- MOS_MIGRATED_REVID=123034174
* Remove unused legacyCollectCppAndJavaLinkOptions.Gravatar Carmi Grushko2016-05-24
| | | | | -- MOS_MIGRATED_REVID=123026183
* libtool wrapper script to isolate the unfortunate hacks we must make to get ↵Gravatar Chris Parsons2016-05-24
| | | | | | | around apple's buggy libtool tool -- MOS_MIGRATED_REVID=123024674
* Frameworks are propagated through host apps to search paths in tests, but ↵Gravatar Cal Peyser2016-05-24
| | | | | | | are not actually linked into test bundles. -- MOS_MIGRATED_REVID=123021058
* Assert batch existence of nodes in DirtyingNodeVisitor#visit.Gravatar Janak Ramakrishnan2016-05-24
| | | | | | | | | | | Now that we batch-prefetch the nodes, there is no reason to delay this check until the async Runnable runs, since we have more debugging information this way. -- Change-Id: Ic73d99ed8de184ba1e29f0dee5375f5d45b5379d Reviewed-on: https://bazel-review.googlesource.com/3680 MOS_MIGRATED_REVID=123018542
* Allow use of Exceptions to exit early out of configured-target creation, ↵Gravatar Chris Parsons2016-05-24
| | | | | | | | | | instead of passing and checking null in all helpers. Demonstrates this pattern usage in a few select rules (e.g. AndroidBinary) where this was particularly egregious. There are many places which can benefit from this pattern -- this change doesn't try to fix them all at once. -- MOS_MIGRATED_REVID=123012378
* Allow fail() function to accept any argumentGravatar Laurent Le Brun2016-05-24
| | | | | | | | | | e.g. fail(3) This is mostly useful for debugging (typical error messages will continue to use strings). -- MOS_MIGRATED_REVID=123008379
* Do not include generated sources in the IDE package manifests.Gravatar Googler2016-05-24
| | | | | | | | | | The IDE doesn't add generated sources. Including these causes execution of actions that generate sources, including building whatever tools they need. This is not necessary for the IDE stage. -- MOS_MIGRATED_REVID=123004127