aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Add resource_jar to android_studio_info.proto.Gravatar Googler2016-06-03
| | | | | | | | | The IDE currently extracts these from the output jars by a fragile string comparison. This will allow the IDE to do so more robustly (eg. in case the resource jar output is renamed). -- MOS_MIGRATED_REVID=123939803
* Clarify documentation of why glob() does not apply to generated files.Gravatar Googler2016-06-03
| | | | | | | | | Correct example code. See also -- MOS_MIGRATED_REVID=123925214
* Don't create CommandCompleteEvent for OOMs ahead of time. Its ↵Gravatar Janak Ramakrishnan2016-06-03
| | | | | | | super-constructor records timestamps and gc stats under the covers, so that data will be inaccurate. -- MOS_MIGRATED_REVID=123909692
* --Gravatar Googler2016-06-03
| | | | MOS_MIGRATED_REVID=123909592
* Add support for more augmented-assignment operators.Gravatar Googler2016-06-03
| | | | | | | | | based on my limited understanding of python syntax, the only things we don't support is //= and **=, but it looks like skylark doesn't support the corresponding infix operators. RELNOTES[NEW]: add support for the '-=', '*=', '/=', and'%=' operators to skylark. Notably, we do not support '|=' because the semantics of skylark sets are sufficiently different from python sets. -- MOS_MIGRATED_REVID=123889776
* Add support for an "inclusion filter" to DexMapper toolGravatar Googler2016-06-03
| | | | | -- MOS_MIGRATED_REVID=123887669
* experimental UI: when showing the last test, color-code its stateGravatar Klaus Aehlig2016-06-03
| | | | | | | | | | | The experimental UI also keeps track, in the progress bar, of the last test that completed. When using curses, use colors to indicate whether the test passed or not. -- Change-Id: Iaa01a773c3bbf534692ed21dd420596cb63e2585 Reviewed-on: https://bazel-review.googlesource.com/#/c/3752 MOS_MIGRATED_REVID=123871492
* Update j2objc targets referenced by Bazel rules.Gravatar Googler2016-06-02
| | | | | -- MOS_MIGRATED_REVID=123868341
* Add java_toolchain to IDE aspect output.Gravatar Googler2016-06-02
| | | | | -- MOS_MIGRATED_REVID=123858617
* Introduce FsEventsDiffAwareness for OS X.Gravatar Damien Martin-Guillerez2016-06-02
| | | | | | | | | | | | | | | | | Use FsEvents API (https://developer.apple.com/library/mac/documentation/Darwin/Reference/FSEvents_Ref) to watch the file system. This change also refactor the LocalDiffAwareness to extract the WatchService specific part. It now select the FsEventsDiffAwareness on OSX and the WatchServiceDiffAwareness on Linux. RELNOTES[NEW]: On OSX, --watchfs now uses FsEvents to be notified of changes from the filesystem (previously, this flag had no effect on OS X). Fixes #1074. -- Change-Id: I927951468e4543a399e0e0ad0f1dd23d38ce15a0 Reviewed-on: https://bazel-review.googlesource.com/3420 MOS_MIGRATED_REVID=123854017
* Rollback of commit 4ab4f05a8cbbaa4b7d938d1d305961fe95a5416c.Gravatar Tobias Werth2016-06-02
| | | | | -- MOS_MIGRATED_REVID=123851529
* Pass --ios_sdk_version to more of bazel_apple_tests.Gravatar Dmitry Lomov2016-06-02
| | | | | | | Fixes #1329. -- MOS_MIGRATED_REVID=123843592
* Dynamic configurations: trim top-level targets, too.Gravatar Greg Estren2016-06-02
| | | | | | | | | | | | | | | | | | | | | | | Right now, configuration trimming happens in ConfiguredTargetFunction.computeDependencies. This means only the deps of other targets get trimmed. With this change, every ConfiguredTarget gets its configuration accurately trimmed, regardless of where it comes from or what it's used for. In practice, there could still be other code paths that instantiate ConfiguredTargetValue.key without pre-trimming. We'll have to tackle those as we hit them. Also cleaned up some symbol naming in BuildView.update to try to make the logic flow clearer. TESTED: BuildViewTest#testNewActionsAreDifferentAndDontConflict now passes with dynamic configs (among others) -- MOS_MIGRATED_REVID=123807892
* 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
* Use the age-old "write to a file descriptor in signal handler" idiom to ↵Gravatar Lukacs Berki2016-05-31
| | | | | | | | | | | handle SIGINT. std::mutex and friends are not safe from signal handlers . I originally dismissed this approach because I thought it would be complicated, but it turned out to be much, much simpler than what we had before. The alternative would be signalfd(), which is Linux-only. -- MOS_MIGRATED_REVID=123578795
* Roll forward commit 8375185ee11d573562f98de14bed79a77fcfd728.Gravatar Googler2016-05-30
| | | | | | | Consider /src/ in the path when locating the java root directory. -- MOS_MIGRATED_REVID=123469898
* For open-source Error Prone, disable checks that are more stylistic thanGravatar Eddie Aftandilian2016-05-30
| | | | | | | | | | | functional. This will improve signal-to-noise ratio for Android and our external users. Specifically, disables ClassName, DepAnn, LongLiteralLowerCaseSuffix, MultipleTopLevelClasses, and StaticAccessedFromInstance. -- MOS_MIGRATED_REVID=123459006
* 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 exoblaze and bazel tests for apple_binaryGravatar Chris Parsons2016-05-30
| | | | | -- MOS_MIGRATED_REVID=123441206
* Move xcode-locator into src/tools packages, defining it as a target under ↵Gravatar Chris Parsons2016-05-30
| | | | | | | @bazel_tools. Currently the tool still remains in embedded_binaries, but we will migrate away from that: Eventually it can simply live just under @bazel_tools. -- MOS_MIGRATED_REVID=123436822
* 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
* Description redacted.Gravatar Googler2016-05-30
| | | | | -- MOS_MIGRATED_REVID=123431237
* 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
* 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