aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google
Commit message (Collapse)AuthorAge
* Tolerate "..." as the base filename for the fdo profile.Gravatar Janak Ramakrishnan2015-07-10
| | | | | | | This is fragile, and there might be other places in the codebase this issue occurs. -- MOS_MIGRATED_REVID=97784977
* Add a bit more debugging information in case of a digest mismatch.Gravatar Janak Ramakrishnan2015-07-10
| | | | | -- MOS_MIGRATED_REVID=97782188
* Add a separate section for workspace rules in the encyclopediaGravatar Kristina Chodorow2015-07-08
| | | | | -- MOS_MIGRATED_REVID=97771662
* Fix up BazelWorkspaceStatusAction.equals() so that it returns false if the ↵Gravatar Lukacs Berki2015-07-08
| | | | | | | | | workspace status command changes. Fixes #284. -- MOS_MIGRATED_REVID=97766038
* Make globs work in remote repositories.Gravatar Lukacs Berki2015-07-08
| | | | | | | | | | | 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=97751539
* Moves ibtoolzip from src/tools/xcode-common/j/c/g/devtools/ to src/tools/xcode.Gravatar Googler2015-07-08
| | | | | | | | | | Moves ibtoolzip from being java based to being bash based for easier dev/testing. Changes the name of ibtoolzip to ibtoolwrapper to avoid conflicts with currently deployed bazel depending on the ibtoolzip name. Updates realpath Cleans up update_binaries.sh -- MOS_MIGRATED_REVID=97724252
* Rollback of commit 4dbd628dc1384e5dce8c036e2b6bf93dd974bf04.Gravatar Mark Schaller2015-07-08
| | | | | | | | | | | | | | | | | | []*** Reason for rollback *** Large number of newly broken targets found by [] *** Original change description *** Provide placeholder rule class for deserialized Skylark rules At this time, Skylark-defined rule classes don't get serialized, and aren't available at package deserialization time. To allow packages with Skylark-defined rule classes to deserialize, we provide a placeholder rule class implementation for deserialized Skylark rules. -- MOS_MIGRATED_REVID=97716849
* Add --proto:default_values option for blaze query, which can be used to supressGravatar Googler2015-07-08
| | | | | | | | | including attributes not explicitly specified in the output. Works for output=proto and has same semantics as --xml:default_values has for output=xml. -- MOS_MIGRATED_REVID=97710199
* Add tar.gz support for remote repositoriesGravatar Kristina Chodorow2015-07-08
| | | | | | | Fixes #156. -- MOS_MIGRATED_REVID=97702622
* Reintroduce simple smart negation for query universe loadingGravatar Mark Schaller2015-07-08
| | | | | | | | | | This adds a simple form of smart negation to the target pattern sequence processing done for preloading query universes. The use cases for these sequences are controlled, and in practice these sequences are short, so a quadratic cost is acceptable. -- MOS_MIGRATED_REVID=97698204
* Description redacted.Gravatar Googler2015-07-08
| | | | | -- MOS_MIGRATED_REVID=97697160
* Tell the Unused analyzer about SkylarkSignature.Gravatar Francois-Rene Rideau2015-07-08
| | | | | | | Remove some unused field warnings. -- MOS_MIGRATED_REVID=97693607
* Skylark: Fixed a bug where set.union() was erroneously seen as a global functionGravatar Florian Weikert2015-07-08
| | | | | -- MOS_MIGRATED_REVID=97681893
* Provide placeholder rule class for deserialized Skylark rulesGravatar Mark Schaller2015-07-08
| | | | | | | | | | At this time, Skylark-defined rule classes don't get serialized, and aren't available at package deserialization time. To allow packages with Skylark-defined rule classes to deserialize, we provide a placeholder rule class implementation for deserialized Skylark rules. -- MOS_MIGRATED_REVID=97679963
* Activate interleaved package and transitive target loadingGravatar Mark Schaller2015-07-08
| | | | | | | | Hooks up the recently introduced interleaved loading functions to normal graph loading. -- MOS_MIGRATED_REVID=97679451
* Introduce hook to BazelWorkspaceStatusModule that calls externalGravatar Ming Zhao2015-07-08
| | | | | | | | | | | | | script(controled by workspace_status_command option, default to tools/buildstamp/get_workspace_status) to emit addtional workspace information to stable-status.txt. This should address #216. -- Change-Id: Iffb06482489f0d55393e27b0764e6e127fedbc20 Reviewed-on: https://bazel-review.git.corp.google.com/#/c/1550 MOS_MIGRATED_REVID=97678871
* 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
* 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
* 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
* 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 a function to fetch all subincludes calls in a BUILD file.Gravatar Laurent Le Brun2015-07-02
| | | | | -- MOS_MIGRATED_REVID=97334001
* 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
* 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
* 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
* 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
* 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
* 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
* Rollback of commit 13ef26d0817a429bf214d3dc4c5551e616e403fe.Gravatar Laurent Le Brun2015-06-30
| | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks 'blaze query' *** Original change description *** Skylark: write labels readably Write a label as Label("//x:x") instead of merely "//x:x", so it can be read and evaluated back, as per the Python convention. However, the OutputFormatter for BUILD files still needs to output "//x:x". -- MOS_MIGRATED_REVID=97156166
* For each objc target, export all xcdatamodels in the transitive closure to ↵Gravatar Rumou Duan2015-06-30
| | | | | | | XcodeGen. -- MOS_MIGRATED_REVID=97145288
* Allow resources to be added only once in each rule.Gravatar Peter Schmitt2015-06-29
| | | | | | | Otherwise this may cause collisions in the final bundle. -- MOS_MIGRATED_REVID=97132278
* Remove unnecessary dependencies from action context consumers.Gravatar Philipp Wollermann2015-06-29
| | | | | -- MOS_MIGRATED_REVID=97131151