aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Open source tests for android/ziputils.Gravatar Han-Wen Nienhuys2015-07-07
| | | | | -- MOS_MIGRATED_REVID=97677526
* Get rid of legacy default features that are not needed any more.Gravatar Manuel Klimek2015-07-07
| | | | | -- MOS_MIGRATED_REVID=97675547
* Basic dashboard for build resultsGravatar Kristina Chodorow2015-07-07
| | | | | -- MOS_MIGRATED_REVID=97675174
* Open-source workspace_status_command option.Gravatar Han-Wen Nienhuys2015-07-07
| | | | | -- MOS_MIGRATED_REVID=97670493
* Sort dict keys before transforming into ImmutableMap.Gravatar Han-Wen Nienhuys2015-07-07
| | | | | | | | This should fix ordering instability in XML query output for dict attributes. -- MOS_MIGRATED_REVID=97664430
* Allow Skylark rules to be private.Gravatar Laurent Le Brun2015-07-07
| | | | | -- MOS_MIGRATED_REVID=97662036
* Support (test) timeouts in Bazel.Gravatar Han-Wen Nienhuys2015-07-07
| | | | | | | Fixes #279. -- MOS_MIGRATED_REVID=97661546
* Make absolute labels in remote repositories refer to the same repository by ↵Gravatar Lukacs Berki2015-07-07
| | | | | | | | | default. If we do otherwise, this makes it impossible to seamlessly move code from the main repository to another one, because if two targets (one depending another) were moved, the dependency edge would still point back to the main repository. -- MOS_MIGRATED_REVID=97650057
* Rollback of accidentally submitted change.Gravatar Lukacs Berki2015-07-07
| | | | | -- MOS_MIGRATED_REVID=97648982
* Make globs work in remote repositories.Gravatar Lukacs Berki2015-07-07
| | | | | | | | | | | This involved quite a few changes, mainly changing a bunch of places where we refer to packages by a PathFragment to PackageIdentifier. The only wart is the code in PathPackageLocator: ideally, it would just call into PackageLookupFunction. Unfortunately, it is (through globbing and Parser.include) called from within a Skyframe function, and we don't want to have two eval() calls going on at the same time, so we cannot use that. There is a potential correctness issue there: PathPackageLocator now assumes where external repositories are put and assumes that they are there when it gets control, but my understanding is that the associated RepositoryValue is always evaluated before, so it works out okay. -- MOS_MIGRATED_REVID=97647787
* Blaze changes to support LLVM profile feedback.Gravatar Googler2015-07-07
| | | | | -- MOS_MIGRATED_REVID=97610963
* Fix tests with python3 as default python.Gravatar Peter Foley2015-07-06
| | | | | | | | | | | If the system python interpreter is set to python3, some tests fail because python3 requires parenthesies for the print statement. Fix this by adding the required parenthesies, which are a no-op for python2. -- Reviewed-on: https://github.com/google/bazel/pull/282 MOS_MIGRATED_REVID=97571926
* Rollback of several changes related to the persistent Javac worker.Gravatar Han-Wen Nienhuys2015-07-06
| | | | | -- MOS_MIGRATED_REVID=97476421
* Fix order of C++ compiler flags:Gravatar Manuel Klimek2015-07-03
| | | | | | | User-specific flags need to be before system include paths. -- MOS_MIGRATED_REVID=97425471
* Let JavaBuilder rethrow the real exception in case of a failed compilation ↵Gravatar Philipp Wollermann2015-07-03
| | | | | | | | | instead of just putting the message into an IOException. This allows us to more fine-grainly consider printing just the error message (which is the right thing to do in case of compilation errors due to Java syntax errors, wrong command-line arguments, ...) or a stack trace (which is interesting in case the JavaBuilder really hit an IOException or something worse). -- MOS_MIGRATED_REVID=97413024
* Print some diagnostics if Precondition check fails.Gravatar Han-Wen Nienhuys2015-07-02
| | | | | -- MOS_MIGRATED_REVID=97407601
* Do not load any Android tool unconditionally. We are loading them now as ↵Gravatar Lukacs Berki2015-07-02
| | | | | | | | | vanilla implicit dependencies (and not configuration-dependent ones). Fixes #249. -- MOS_MIGRATED_REVID=97407144
* Make intellij-setup.sh work again. Gravatar Lukacs Berki2015-07-02
| | | | | | | As a drive-by fix, add correct deps to //src/test/java:skylarkshell . Why don't we build that in our tests? -- MOS_MIGRATED_REVID=97404777
* rm -rf "${base_workspace}/src" since it is a directory.Gravatar David Chen2015-07-02
| | | | | | | Fixes #272 -- MOS_MIGRATED_REVID=97402007
* Fixed the deterministic test flakinessGravatar Damien Martin-Guillerez2015-07-02
| | | | | | | | | | | | If you already ran the deterministic test with an earlier version of the depot, the second run would build only once Bazel and use the previous run log to do the diff, leading to an obvious failure as the code did change. It was due to an incorrect parameter default value that pointed to the diff of the previous run, skipping the first bazel compilation. -- MOS_MIGRATED_REVID=97399620
* Fix what I assume to be a typo.Gravatar Googler2015-07-02
| | | | | | | The alternative is too horrifying to consider. -- MOS_MIGRATED_REVID=97398060
* Unify style in "Bazel's code description" section.Gravatar Noah Misch2015-07-02
| | | | | -- MOS_MIGRATED_REVID=97369079
* Fix zipper for empty filesGravatar Kristina Chodorow2015-07-02
| | | | | | | It was erroring out because it could not mmap an empty file. -- MOS_MIGRATED_REVID=97338974
* Show download progressGravatar Kristina Chodorow2015-07-02
| | | | | | | | | | Also upped the byte buffer size (as suggested at http://stackoverflow.com/questions/236861/how-do-you-determine-the-ideal-buffer-size-when-using-fileinputstream) and made the SkyKey for downloads not hold a URL (since URL equality comparison is terrible.) -- MOS_MIGRATED_REVID=97338908
* Add some debugging in case of crash.Gravatar Janak Ramakrishnan2015-07-02
| | | | | -- MOS_MIGRATED_REVID=97334994
* Add support for externs files.Gravatar Kamil Jiwa2015-07-02
| | | | | -- MOS_MIGRATED_REVID=97334355
* Add a function to fetch all subincludes calls in a BUILD file.Gravatar Laurent Le Brun2015-07-02
| | | | | -- MOS_MIGRATED_REVID=97334001
* MethodLibraryTest: Implemented an alternative approach that reduces ↵Gravatar Florian Weikert2015-07-01
| | | | | | | duplicated code and may lead to cleaner tests. -- MOS_MIGRATED_REVID=97326780
* Printer can be configured to use single quotation marks instead of double ↵Gravatar Florian Weikert2015-07-01
| | | | | | | quotation marks -- MOS_MIGRATED_REVID=97320494
* Make the "actual" argument of bind() optional and do not point ↵Gravatar Lukacs Berki2015-07-01
| | | | | | | | | | | //external:android/sdk anywhere so that no Android-specific package is loaded when the user doesn't use an android_sdk_repository rule. To this end, SkyframePackageLoaderWithValueEnvironment.getLoadedTarget() doesn't resolve //external: labels anymore. This was only needed for JVM resolution, which was dealt with by adding and extra RedirectChaser.followRedirect() call to JvmConfigurationLoader. One hack less. On the flip side, BazelConfigurationCollection.collectTransitiveClosure() grew a hack to handle bind(), but that method is awful enough as it is anyway. -- MOS_MIGRATED_REVID=97307779
* Introduce interleaved package and transitive target loadingGravatar Mark Schaller2015-07-01
| | | | | | | | | | Adds SkyFunctions and assorted values that implement interleaved loading of packages and their targets' transitive dependencies. They are not hooked up to any graph loading components, yet. -- MOS_MIGRATED_REVID=97278368
* Export XcodeProvider in j2objc_library rule.Gravatar Rumou Duan2015-07-01
| | | | | -- MOS_MIGRATED_REVID=97271109
* Blog posts about configuration filesGravatar Damien Martin-Guillerez2015-07-01
| | | | | -- MOS_MIGRATED_REVID=97265234
* Implementation of realpath for Mac OS X. This will allow us to move some of ↵Gravatar Googler2015-07-01
| | | | | | | | | our tools (ibtool, actool etc) to shell scripts which should be faster and easier to maintain. RELNOTES: -- MOS_MIGRATED_REVID=97263085
* Add a CSS library target for Closure Library CSS files.Gravatar Kamil Jiwa2015-07-01
| | | | | -- MOS_MIGRATED_REVID=97258889
* Relax invariant that an action's inputs discovered during execution must be ↵Gravatar Janak Ramakrishnan2015-07-01
| | | | | | | | | included in the action's inputs as found during the input discovery phase. We still require that no new metadata be discovered -- in other words, the "new" inputs are likely just symlinks to old inputs, with different nominal paths. -- MOS_MIGRATED_REVID=97257026
* Move dependency declaration out of finally block.Gravatar Janak Ramakrishnan2015-07-01
| | | | | | | This means that we will not declare additional dependencies if the action fails to execute, but that's correct -- if the action fails to execute, its inputs aren't updated, so there's nothing we'd discover. -- MOS_MIGRATED_REVID=97255120
* Update Error Prone versionGravatar Liam Miller-Cushon2015-06-30
| | | | | -- MOS_MIGRATED_REVID=97248851
* Fix permissions for non-posix zip filesGravatar Kristina Chodorow2015-06-30
| | | | | -- MOS_MIGRATED_REVID=97245351
* Skylark: only allow rules that are exportedGravatar Francois-Rene Rideau2015-06-30
| | | | | | | | | | For the purpose of package serialization (that will be necessary for caching), only accept to use RuleFunction-s (as defined by skylark's rule() function) that have been exported from a .bzl file with foo = rule(...), using a finalization pass that walks exported identifiers and blesses RuleFunction-s. -- MOS_MIGRATED_REVID=97236441
* Test for the correct exception in FilesystemUtilsTest.Gravatar Philipp Wollermann2015-06-30
| | | | | -- MOS_MIGRATED_REVID=97236025
* Fix "crashes with "Aborted" and no other useful errors on EPERM".Gravatar Philipp Wollermann2015-06-30
| | | | | -- MOS_MIGRATED_REVID=97234432
* Extract RecursiveDirectoryTraversalFunction from RecursivePkgFunctionGravatar Mark Schaller2015-06-30
| | | | | | | | | | RecursivePkgFunction has a nice framework for doing work across a directory structure that would be nice to have access to when writing other similar SkyFunctions. This extracts that general framework, and changes RecursivePkgFunction into a specialization of it. -- MOS_MIGRATED_REVID=97231974
* Update install.md for Linux's java settingsGravatar Damien Martin-Guillerez2015-06-30
| | | | | | | | | | | Java settings requires to set JAVA_HOME but its is not required anymore on most case. Also the instruction themselves were confusing. Fixes #268 -- MOS_MIGRATED_REVID=97231074
* Link in src/tools/android to base_workspace.Gravatar Lukacs Berki2015-06-30
| | | | | | | This fixes #267 to some degree. An update to the tools/ directory will still be required. -- MOS_MIGRATED_REVID=97228079
* Avoid crash when the Android stub application is not a Java rule.Gravatar Lukacs Berki2015-06-30
| | | | | -- MOS_MIGRATED_REVID=97227161
* Update parser error message.Gravatar Laurent Le Brun2015-06-30
| | | | | -- MOS_MIGRATED_REVID=97224936
* Make //src/test/shell:bazel_test work again.Gravatar Lukacs Berki2015-06-30
| | | | | | | This stubs out all Android support, but that's okay, because in order to test Android stuff, we need a way to get the NDK and the SDK somehow, which we don't know yet how to do. -- MOS_MIGRATED_REVID=97222940
* The final CL in getting Android support to work: add resources_processor.sh ↵Gravatar Lukacs Berki2015-06-30
| | | | | | | and aar_generator.sh to the tools directory and make stub applications proper android_library rules instead of stub filegroups. -- MOS_MIGRATED_REVID=97206853
* Remove all traces of --java_cpu.Gravatar Lukacs Berki2015-06-30
| | | | | | | It would have been nice to also remove JavaCpuSupplier, but that does not work for two reasons: Bazel relies on it always being "default". -- MOS_MIGRATED_REVID=97202267