aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Add a new class to encapsulate operations on Skylark import statements. This ↵Gravatar John Field2015-12-16
| | | | | | | | | will make it easier to manage the transition from legacy Skylark path-style loads to label-based loads. We handle both old-style (path-based) imports and new-style (label-based) imports. This class is in the cmdline package since it depends on Label-related code in the same package. The cmdline package depends on the syntax package, so this class can't go there, which would otherwise be a reasonable place to put it. -- MOS_MIGRATED_REVID=110372547
* plmerge optionally consumes an executable name. This is necessary to ensure ↵Gravatar Googler2015-12-16
| | | | | | | that Blaze can assign a default executable name, for when CFBundleExecutable is not given. -- MOS_MIGRATED_REVID=110363400
* Open source loading the rules moduleGravatar Kristina Chodorow2015-12-16
| | | | | -- MOS_MIGRATED_REVID=110361527
* Move annotation classes used for referencing framework Java classes from ↵Gravatar John Field2015-12-16
| | | | | | | | | | | | | | Skylark into their own package. This allows, e.g., classes in the syntax package to access classes in the cmdline package without creating circular dependencies. While we're here: - Removed a couple of unused BUILD deps flagged in []. - Updated SkylarkRuleImplementationFunctionsTest to remove non-ASCII characters and clarify the intent of the test. -- MOS_MIGRATED_REVID=110360763
* Minor cleanup to AttributeSerializer, ProtoOutputFormatterGravatar Mark Schaller2015-12-16
| | | | | | | | Makes "explicitlySpecified" a primitive boolean instead of a boxed Boolean. Minor formatting changes to ProtoOutputFormatter. -- MOS_MIGRATED_REVID=110360334
* Remove unused :jsr330_inject dependencyGravatar Carmi Grushko2015-12-16
| | | | | -- MOS_MIGRATED_REVID=110358343
* Implement aspect attributes and expose them to aspect implementation function.Gravatar Dmitry Lomov2015-12-16
| | | | | -- MOS_MIGRATED_REVID=110356954
* Implement list.remove functionGravatar Laurent Le Brun2015-12-16
| | | | | -- MOS_MIGRATED_REVID=110356439
* Rollback of commit 12bad3af0eade9c4b79d76f9e1c950ad2e3214c2.Gravatar Dmitry Lomov2015-12-16
| | | | | | | | | | | | | *** Reason for rollback *** Breaks ci.bazel.io: http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=darwin-x86_64/256/console *** Original change description *** Open source PackageCacheTest. -- MOS_MIGRATED_REVID=110352000
* Open-source loading_phase_testsGravatar Damien Martin-Guillerez2015-12-16
| | | | | -- MOS_MIGRATED_REVID=110350571
* Third-party dependencies update:Gravatar Damien Martin-Guillerez2015-12-16
| | | | Removed guava-18.0
* Update to Guava 19.0Gravatar Damien Martin-Guillerez2015-12-16
| | | | | -- MOS_MIGRATED_REVID=110349155
* Skylark: implemented all() and any()Gravatar Florian Weikert2015-12-16
| | | | | -- MOS_MIGRATED_REVID=110348607
* Third-party binary updates:Gravatar Damien Martin-Guillerez2015-12-16
| | | | Deleted guice-4.0 (with aop)
* Third-party binary updates:Gravatar Damien Martin-Guillerez2015-12-16
| | | | | Added guava-19.0 Deleted guice-4.0 (with aop)
* Only depend on the WORKSPACE file for external files that are under the ↵Gravatar Lukacs Berki2015-12-16
| | | | | | | | | | | | | | | external/ directory, i.e. were created by Bazel. This avoids a cycle that arose when a file is load()ed from the WORKSPACE file that is reached through a symlink to an external directory: * The WORKSPACE file depends on the package lookup node of the .bzl file * The package lookup node (transitively) depends on wherever the symlink points * The target of the symlink is an external file and as such, it depends on the WORKSPACE file This will probably be, erm, interesting to solve when we get as far as to load stuff from external repositories in the WORKSPACE file, but we are just not there yet. -- MOS_MIGRATED_REVID=110344658
* Tweak error detection in incremental_install.py .Gravatar Lukacs Berki2015-12-16
| | | | | | | The old one failed to work with Android N. -- MOS_MIGRATED_REVID=110335879
* Add tests that labels cannot have single or double quotes.Gravatar Janak Ramakrishnan2015-12-16
| | | | | -- MOS_MIGRATED_REVID=110321278
* Source iOS memleak plugin stub from bazel_tools.Gravatar Peter Schmitt2015-12-16
| | | | | -- MOS_MIGRATED_REVID=110280939
* Open-source Java Builder test helpersGravatar Damien Martin-Guillerez2015-12-16
| | | | | -- MOS_MIGRATED_REVID=110280330
* Fix transitive native library collection in android_libraryGravatar Liam Miller-Cushon2015-12-16
| | | | | | | Native dependencies should be collected from both deps and exports. -- MOS_MIGRATED_REVID=110279453
* Make buildjar plugins tests depends on BazelJavaBuilder instead of ↵Gravatar Damien Martin-Guillerez2015-12-16
| | | | | | | BlazeJavaBuilder. -- MOS_MIGRATED_REVID=110278416
* RELNOTES: add loadfiles() query operator, to find skylark files loaded by ↵Gravatar Han-Wen Nienhuys2015-12-16
| | | | | | | targets. -- MOS_MIGRATED_REVID=110275427
* Refactor BuildEncyclopediaProcessor to use a common RuleFamily class for ruleGravatar David Chen2015-12-16
| | | | | | | | | | | | | documentation passed to templates. * This simplifies the logic in BuildEncyclopediaProcessor, reducing the number of various different data structures we use for generating different pages. * This also makes RuleFamily more similar to the BuildLanguage proto, which we we may consider using in the future for the native rule docgen since the Skylark docgen will be using BuildLanguage. -- MOS_MIGRATED_REVID=110265727
* Fix documentation of set.Gravatar Laurent Le Brun2015-12-16
| | | | | | | Type "map" doesn't exist. "struct" is not allowed. -- MOS_MIGRATED_REVID=110265638
* Write package proto even if it's empty.Gravatar Googler2015-12-16
| | | | | | | | Rules that parse to nothing won't produce an output, which blaze isn't happy about. -- MOS_MIGRATED_REVID=110264213
* Skylark: implemented more string functions (isalnum, isdigit, etc).Gravatar Florian Weikert2015-12-16
| | | | | -- MOS_MIGRATED_REVID=110261986
* Fix ijar_test when errexit is onGravatar Damien Martin-Guillerez2015-12-16
| | | | | | | | $(...) is incorrect when doing a test to test the return value, (...) should be used instead. -- MOS_MIGRATED_REVID=110248027
* Make Debian package maintainer scripts executable.Gravatar Piotr Sikora2015-12-15
| | | | | | | | This is required per official documentation: https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html -- MOS_MIGRATED_REVID=110235045
* Tweak the shell text munging expression used to figure out a relative path ↵Gravatar Lukacs Berki2015-12-15
| | | | | | | | | | | to aapt. Turns out, it does the wrong thing when using --nodistinct_host_configuration. Not that option should ever be used, but still. Fixes #523. Probably. -- MOS_MIGRATED_REVID=110232316
* cache SDKROOT value for local execution of actions using apple toolkitGravatar Chris Parsons2015-12-15
| | | | | -- MOS_MIGRATED_REVID=110174447
* Make the stub application instantiate content providers with the right ↵Gravatar Lukacs Berki2015-12-15
| | | | | | | Application class. -- MOS_MIGRATED_REVID=110158926
* Prevent ProcMemInfo from crashing when it gets weird inputGravatar Kristina Chodorow2015-12-15
| | | | | -- MOS_MIGRATED_REVID=110155243
* Open source CcLibraryConfiguredTargetTest.Gravatar Dmitry Lomov2015-12-15
| | | | | -- MOS_MIGRATED_REVID=110153755
* Make BUILD_OPTIONS privateGravatar Kristina Chodorow2015-12-15
| | | | | -- MOS_MIGRATED_REVID=110153136
* Open-source CcCommonConfiguredTargetTest.Gravatar Dmitry Lomov2015-12-15
| | | | | -- MOS_MIGRATED_REVID=110151036
* Add a test that verifies that Skylark dependencies are repository-local.Gravatar Lukacs Berki2015-12-15
| | | | | -- MOS_MIGRATED_REVID=110150657
* Make the Go rules depend on the Go toolchain targets in the main repository.Gravatar Lukacs Berki2015-12-15
| | | | | | | This will be broken when we remove tools/ from the base workspace, but for now, it allows one to use Go rules in external repositories. -- MOS_MIGRATED_REVID=110150654
* Add unit tests for the new errexit feature in unittest.bash.Gravatar Philipp Wollermann2015-12-15
| | | | | -- MOS_MIGRATED_REVID=110148583
* Speed up bazel_worker_test a lot by removing calls to "bazel clean --batch". ↵Gravatar Philipp Wollermann2015-12-15
| | | | | | | | | Make killing worker processes more robust. Hopefully this gets rid of all flakes from this test. -- MOS_MIGRATED_REVID=110144458
* bazel_worker_test: Use pgrep instead of string magic to find workers.Gravatar Philipp Wollermann2015-12-15
| | | | | -- MOS_MIGRATED_REVID=110143616
* unittest.bash: Correctly handle failures due to "errexit" in tests. This ↵Gravatar Philipp Wollermann2015-12-15
| | | | | | | will get rid of all the "ghost flakes" where tests crashed with no apparant reason printed into our logs. Now a stack trace is printed and an easy to understand failure reason, too. -- MOS_MIGRATED_REVID=110142957
* Skylark: implemented reversed()Gravatar Florian Weikert2015-12-15
| | | | | -- MOS_MIGRATED_REVID=110141376
* Global cleanup change.Gravatar Liam Miller-Cushon2015-12-14
| | | | | -- MOS_MIGRATED_REVID=110135504
* Simplify the contract of RepositoryFunction to "I am given a Rule and a ↵Gravatar Lukacs Berki2015-12-14
| | | | | | | | | | | | | | | | | | | | | | | directory that I should populate". The directory itself is not created because local_repository actually puts a symlink in its place. As a side effect, make HTTP downloading, git cloning and archive decompressing not be SkyFunctions. This is necessary because it needs to be the RepositoryFunction and not a dependent SkyFunction that populates the output directory, because it that's the case what happens is: 1. RepositoryDelegatorFunction cleans up the directory and prepares it for RepositoryFunction 2. RepositoryFunction calls env.getValue(<function that populates the directory>) 3. That value hasn't been computed yet, thus RepositoryDelegatorFunction returns early 4. The function that populates the directory is called 5. RepositoryDelegatorFunction is restarted 6. RepositoryDelegatorFunction cleans up the directory 7. RepositoryFunction calls env.getValue(), and nothing is done because the value has already been computed 8. RepositoryDelegatorFunction proudly returns, even though the directory is actually empty Another way to solve this problem would be to make RepositoryFunction not clean the directory up on Skyframe restarts, but that means that we'd need to keep state somewhere, which doesn't strike me as a particularly great idea because let's keep state outside of Skyframe only when absolutely necessary (e.g. the marker files for cross-server instance persistence of downloaded repositories). That "somewhere" could either be a member variable of RepositoryDelegatorFunction or the file system. Note that this change causes external communication to be re-done in a few more cases than before (see that changes to the test cases), but I'd rather we be correct and simple than fast. We can optimize things later if needed and there is enough complexity going around, thank you very much. -- MOS_MIGRATED_REVID=110134397
* Do not make labels without a specified repository in hidden attributes ↵Gravatar Lukacs Berki2015-12-14
| | | | | | | | | | | always point to the main repository. They now all point to @bazel_tools anyway, so there is no need. Fixes #700 (what a delightfully round bug number!) -- MOS_MIGRATED_REVID=110132857
* Clarify that add-apt-repository depends on software-common-propertiesGravatar Shay Weiss2015-12-13
| | | | | | | | I got the "command not found" error for add-apt-repository on a clean Ubuntu installation and I think that the docs can be friendlier if they specify this :) -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/691 MOS_MIGRATED_REVID=110062139
* Skylark: implemented min() and max().Gravatar Florian Weikert2015-12-13
| | | | | -- MOS_MIGRATED_REVID=110025690
* Move Selector#defaultConditionLabel to static final varGravatar Michajlo Matijkiw2015-12-13
| | | | | | | Prevents overhead of extra Labels in builds with lots of selectors -- MOS_MIGRATED_REVID=110011063
* Bundlemerge optionally takes a completed plist to bundle into the archive, ↵Gravatar Googler2015-12-13
| | | | | | | | | instead of multiple plists to merge and variable substitutions to apply. The new key bundle_info_plist_file, gives the path to the completed plist. If it is defined, the keys source_plist_file and variable_substitution are not used. -- MOS_MIGRATED_REVID=110010012