aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Delete unnecessary example PrenotCalculatorInstruments.Gravatar Michael Thvedt2015-07-21
| | | | | -- MOS_MIGRATED_REVID=98640520
* Fix up registerEnvironmentPlistAction for bazel on Mac.Gravatar Googler2015-07-21
| | | | | | | | | When run under bazel on my local mac, the environment variables are cleared. This causes TMPDIR to be "" which causes this script to fail. Create a tempdir and use it instead of depending on TMPDIR. Remove tempdir at end to clean up. Quote all paths just to be extra safe that somebody hasn't named their Xcode something wonky. RELNOTES:NONE -- MOS_MIGRATED_REVID=98640412
* Add --output_filter optionGravatar Kristina Chodorow2015-07-21
| | | | | | | Fixes #309. -- MOS_MIGRATED_REVID=98639996
* Removed ValidationTests#testLoadWithTooManySlashes() since it was an ↵Gravatar Florian Weikert2015-07-21
| | | | | | | inferior copy of ParserTest#testLoadDoubleSlashBuild() and ParserTest#testLoadDoubleSlashSkylark() -- MOS_MIGRATED_REVID=98636093
* Add com.android.tools.layoutlib:layoutlib-api to android_common.Gravatar Lukacs T. Berki2015-07-21
| | | | Turns out, this is required by AndroidResourceProcessingAction.
* Added an additional test for empty actions in Skylark.Gravatar Florian Weikert2015-07-20
| | | | | | | Currently, the best (and only?) way to access an empty action inside a test is via an extra action and an action listener. -- MOS_MIGRATED_REVID=98628097
* Make --android_crosstool_top default to the android_ndk_repository specified ↵Gravatar Lukacs Berki2015-07-20
| | | | | | | | | | | | | in the WORKSPACE file. The error reporting if an android_ndk_repository rule is present is not very user-friendly (it just uses the non-Android toolchain, resulting in compile errors) but given that --android_crosstool_top is an interim solution until we get reasonable multi-platform support, I suppose it's fine. As a side effect, instead of prefixing fat APK output directories with "fat-apk-", we prefix Android output directories with "android-". This makes it possible to build Android apps with zero command line options. Rejoice! -- MOS_MIGRATED_REVID=98624120
* Add an example Android app and a README.md file that details how to compile it.Gravatar Lukacs Berki2015-07-20
| | | | | -- MOS_MIGRATED_REVID=98621744
* Fix up some faulty documentation.Gravatar Googler2015-07-20
| | | | | -- MOS_MIGRATED_REVID=98507575
* Remove two methods from FoundationTestCase.Gravatar Ulf Adams2015-07-17
| | | | | | | | One of them moves up to BuildViewTestCase, the other is done as a static import where needed. -- MOS_MIGRATED_REVID=98484132
* Rewrite test to JUnit 4.Gravatar Ulf Adams2015-07-17
| | | | | -- MOS_MIGRATED_REVID=98483469
* Skylark: Implemented ctx.empty_action() to create actions that neither ↵Gravatar Florian Weikert2015-07-17
| | | | | | | execute a command nor produce any output, but that are useful for inserting "extra actions". -- MOS_MIGRATED_REVID=98481888
* Move another test into open source blaze.Gravatar Ulf Adams2015-07-17
| | | | | -- MOS_MIGRATED_REVID=98478887
* Make android_ndk_repository work on case-insensitive OS X file systems by ↵Gravatar Lukacs Berki2015-07-17
| | | | | | | | | | | | | not creating a BUILD file next to the build/ directory of the NDK. Fixes #297. Note that a directory called build/ or BUILD/ is not taken as the root of a package (it must be a file). Also drive-by fix the fallout from the recent changes to how Jack/Jill is handled. -- MOS_MIGRATED_REVID=98476274
* Add a couple of flags to the CROSSTOOL file, especially for -c opt.Gravatar Ulf Adams2015-07-17
| | | | | | | | | Fixes #99. -- Change-Id: I9b81be7f8efc7f7e57b458fe91cfbabcaaee419d Reviewed-on: https://bazel-review.googlesource.com/#/c/1632 MOS_MIGRATED_REVID=98472498
* Sets the correct properties in the Info.plist, based on the environment that theGravatar Googler2015-07-17
| | | | | | | rule was executed. -- MOS_MIGRATED_REVID=98417915
* Invalidate external repository files when the WORKSPACE changesGravatar Kristina Chodorow2015-07-17
| | | | | | | Fixes #236. -- MOS_MIGRATED_REVID=98402890
* Fix missing tool target in tools/objcGravatar Damien Martin-Guillerez2015-07-17
| | | | | | | Tested by patched in my local Bazel. -- MOS_MIGRATED_REVID=98401341
* Add Makani to the list of Bazel usersGravatar Damien Martin-Guillerez2015-07-17
| | | | | | | Also creates a "corporate users" list. -- MOS_MIGRATED_REVID=98399779
* Add tests for dashGravatar Kristina Chodorow2015-07-17
| | | | | | | Time-traveling test-driven-development. -- MOS_MIGRATED_REVID=98399070
* Add git_repository and new_git_repository workspace rules.Gravatar David Chen2015-07-17
| | | | | | | TESTED=Added integration tests. -- MOS_MIGRATED_REVID=98396197
* Say explicitly that --config=X ignores non-existent .rc file config sections.Gravatar Laszlo Csomor2015-07-17
| | | | | -- MOS_MIGRATED_REVID=98394325
* Document that the "run" command closes stdin.Gravatar Philipp Wollermann2015-07-17
| | | | | -- MOS_MIGRATED_REVID=98393704
* Add a type attribute to {new_,}http_archiveGravatar Damien Martin-Guillerez2015-07-17
| | | | | | | | | | | Some HTTP archive do not ends with the good type. This change add a type attribute that defines an extension to be added to the filename when downloading. -- Change-Id: I7bb29da8c2f418fc5586b081abc519cb08221a0d Reviewed-on: https://bazel-review.googlesource.com/#/c/1631/ MOS_MIGRATED_REVID=98391062
* Improve debugging message in case of unexpected getBatch <-> directDeps ↵Gravatar Janak Ramakrishnan2015-07-17
| | | | | | | mismatch. -- MOS_MIGRATED_REVID=98388239
* Add repository fallback on Maven CentralGravatar Kristina Chodorow2015-07-17
| | | | | -- MOS_MIGRATED_REVID=98387436
* Decompose BuildView.getDirectPrerequisites to allow access to Dependencies.Gravatar Michael Staib2015-07-17
| | | | | | | | This change should essentially be a no-op for callers of getDirectPrerequisites, but opens the opportunity to use the Dependency iterable directly. -- MOS_MIGRATED_REVID=98383758
* Replaced other occurrences of Objects#toStringHelper with ↵Gravatar Googler2015-07-17
| | | | | | | MoreObjects#toStringHelper -- MOS_MIGRATED_REVID=98383075
* Log information about the baseline and new View passed to DiffAwarness#getDiff.Gravatar Nathan Harmata2015-07-17
| | | | | -- MOS_MIGRATED_REVID=98382658
* Rollback of commit 69d20b26b50360221849a4860265150f9c66ef25.Gravatar Lukacs Berki2015-07-17
| | | | | | | | | | | | | *** Reason for rollback *** Breaks LIPO, [] *** Original change description *** Blaze changes to support LLVM profile feedback. -- MOS_MIGRATED_REVID=98382087
* Add jgit and slf4j to third_partyGravatar Philipp Wollermann2015-07-17
|
* Give Dependency a valid equals/hashCode/toString set.Gravatar Michael Staib2015-07-16
| | | | | -- MOS_MIGRATED_REVID=98381886
* Description redacted.Gravatar Googler2015-07-16
| | | | | -- MOS_MIGRATED_REVID=98347349
* Remove low-value warning about alwayslink requiring srcs.Gravatar Han-Wen Nienhuys2015-07-16
| | | | | -- MOS_MIGRATED_REVID=98314264
* Add a simple resolver for Maven repositoriesGravatar Kristina Chodorow2015-07-16
| | | | | | | Also adds support for submodules and removes a spammy warning. -- MOS_MIGRATED_REVID=98306456
* Move Jack's tools into AndroidSdkProvider.Gravatar Michael Staib2015-07-16
| | | | | | | | | | | | | | | | | This also eliminates the JackRule, which is no longer necessary, as its sole purpose was to allow Jack's tools to be found. This is now part of AndroidSdkProvider, like all other Android tools. For now, the new attributes on android_sdk are optional and default to their old values. In the future, the new attributes will become mandatory with no defaults, like the other attributes on that rule. Also fixes a bug where errors found during AndroidCommon.initJava would not result in a null return from init, previously obscured by the early return from initJack. -- MOS_MIGRATED_REVID=98305022
* Pass filter for what events should be stored in the Skyframe graph into the ↵Gravatar Janak Ramakrishnan2015-07-16
| | | | | | | ParallelEvaluator, to allow users to customize which events they want to store. -- MOS_MIGRATED_REVID=98299604
* Use WritableByteChannel for HttpDownloaderGravatar Damien Martin-Guillerez2015-07-16
| | | | | | | | | | | | Using WritableByteChannel#write instead of OutputStream#write apparently speeds up the download. I don't see any way to make sure it does but on my machine I get normal download speed with that change (compared to the previous version). -- Change-Id: I77db80ecd199efe2a5a9673ca0ad0bbcaaf74e56 Reviewed-on: https://bazel-review.googlesource.com/#/c/1630/ MOS_MIGRATED_REVID=98296070
* Make binaries and scripts in tools/objc executable.Gravatar Googler2015-07-16
| | | | | | | | | Fix for https://github.com/google/bazel/issues/300. RELNOTES:none -- MOS_MIGRATED_REVID=98230557
* Remove unused langtools targetsGravatar Liam Miller-Cushon2015-07-13
| | | | | -- MOS_MIGRATED_REVID=98139919
* Update setup-intellij to get it working again.Gravatar Janak2015-07-13
| | | | | | | | | | | | | | | | This is just based on what I had to do to get IntelliJ working with Bazel at head, but I think it makes things simpler as well. Main changes: * External jars are supported (I think); * Protobufs are imported en masse via a "directory" module library; * We now include all Android files unless it looks like we won't be able to compile them. -- Change-Id: Ib2ce59f6636f0d262b05f89d57837d7018a0fbfc Reviewed-on: https://bazel-review.googlesource.com/1611 MOS_MIGRATED_REVID=98118522
* Add all transitive module maps when we use header modules.Gravatar Manuel Klimek2015-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we have a library 'a' that depends on a library 'm' via multiple other libraries, and 'm' is built as a module, we need clang to load the module map of 'm'. There are multiple possible solutions: 1. (This CL): Add all transitive module maps as inputs when we want to use a module map (at any transitive level). Clang will load all module maps, and find the corresponding modules. 2. Add the module maps of all top-level modules (e.g. modules that are not reached transitively through another module) to clang's command line (we already pass all transtitive module maps for each library that is compiled as a module). The upside of (1) is that it simplifies the module map input computation and removes some differences between remote and local compiles (local compiles will always see all transitive module maps). The upside of (2) would be that we use fewer module map inputs when we do builds that use modules as long as we only have a small subset of libraries at the bottom of the stack compiled as modules. Both alternatives keep transitive module maps out of the inputs for actions that do not use header modules, thus making sure the normal case does not regress. We are implementing (1) because the main slow-down with transitive module maps is during the early loading phase, and should be quickly offset by module builds. We will revisit that decision once we have more data. -- MOS_MIGRATED_REVID=98118092
* Make two Skyframe nodes with the same events and values equal.Gravatar Janak2015-07-13
| | | | | | | | | | | | | | | | | | | | | | We do this by implementing equality for TaggedEvents (and all objects it transitively includes). Before this change, if a Skyframe node re-evaluated to the same value as in the previous build, but had (transitive) events, change pruning would not cut off the evaluation of its parents. This is not a big issue in practice because most nodes that would re-evaluate to the same value (like FileValues or GlobValues) never emit events, and others (like ActionExecutionValues) have secondary caches that mask this effect. Also do a drive-by fix where we were using the hash code of a nested set instead of the shallow hash code (didn't have any bad effects in practice because we never hash these values). (Minor formatting clean-ups from https://bazel-review.googlesource.com/1610 ) -- Change-Id: I751a8479627f0456993c5ec8834528aeb593d736 Reviewed-on: https://bazel-review.googlesource.com/1610 MOS_MIGRATED_REVID=98115908
* Define ":action_listener" attribute for Skylark rules.Gravatar Laurent Le Brun2015-07-13
| | | | | | | The enables the use of extra actions with Skylark rules. -- MOS_MIGRATED_REVID=98115878
* add a few paths to gitignoreGravatar liuhuahang2015-07-13
| | | | | | | | | Signed-off-by: liuhuahang <huahang.liu@gmail.com> -- Change-Id: I8079763484733539ee5c170a806b0f9879c92be8 Reviewed-on: https://bazel-review.googlesource.com/#/c/1601/ MOS_MIGRATED_REVID=98115430
* Description redacted.Gravatar liuhuahang2015-07-13
| | | | | | | -- Change-Id: I38630cd7d76d19af97e896bb4be78f357fe8b670 Reviewed-on: https://bazel-review.googlesource.com/#/c/1600/ MOS_MIGRATED_REVID=98106930
* Add an --android_crosstool_top that sets the C++ toolchain to be used for ↵Gravatar Lukacs Berki2015-07-13
| | | | | | | Android targets. -- MOS_MIGRATED_REVID=98095093
* Rename the "unobfuscated" compilation level to "whitespace_only" to match ↵Gravatar Kamil Jiwa2015-07-13
| | | | | | | names used with Closure Compiler -- MOS_MIGRATED_REVID=98076079
* Adds a getter for the gen jar.Gravatar Alex Humesky2015-07-13
| | | | | -- MOS_MIGRATED_REVID=98002818
* Disallow Skylark implicit outputs from referencing attributesGravatar Greg Estren2015-07-13
| | | | | | | | | | | | that use 'select': fail with a clean user error rather than crashing. Rule outputs are "special" in that they need to be defined before select statements can be evaluated (e.g. before the analysis phase begins). -- MOS_MIGRATED_REVID=98000760