aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Don't throw a TargetParsingException/QueryException in keepGoing mode when ↵Gravatar Janak Ramakrishnan2016-01-07
| | | | | | | we encounter a bad target pattern. -- MOS_MIGRATED_REVID=111374219
* Record correct shell test failure timesGravatar Michajlo Matijkiw2016-01-07
| | | | | | | | A failing test could use a previous run's timestamp, resulting in awkward negative times, especially in the case of sub-second runs. -- MOS_MIGRATED_REVID=111345693
* Add a --host_force_python flagGravatar Brian Silverman2016-01-04
| | | | | | | | | This allows using PY3 binaries in the HOST configuration. -- Change-Id: I9603bb19a72cb3d0d731de5b35e135ce952cc545 Reviewed-on: https://bazel-review.googlesource.com/2401 MOS_MIGRATED_REVID=111311727
* Add catastrophe field to EvaluationResult so that callers can identify the ↵Gravatar Janak Ramakrishnan2016-01-04
| | | | | | | | | cause of a catastrophic failure (this is distinct from a crash). Also clean up catastrophe logic in ParallelEvaluator -- the catastrophic nature of an exception is important only if the build is keep_going, and only if the exception is catastrophic can we have an exception in the first place. -- MOS_MIGRATED_REVID=111293164
* Use a StringBuffer not a StringBuilder due to the need to compile in java 1.7.Gravatar Googler2016-01-04
| | | | | -- MOS_MIGRATED_REVID=111194940
* Permit proto serialization of configured attribute valuesGravatar Mark Schaller2016-01-04
| | | | | | | | | This commit adds proto messages that represent configurable values, and modifies attribute value serialization code to handle those values, which are called SelectorLists. -- MOS_MIGRATED_REVID=111149272
* Add the source location of the import string to the LoadStatement AST node, ↵Gravatar John Field2016-01-04
| | | | | | | for use in tools. -- MOS_MIGRATED_REVID=111142252
* Add a new method to the SkylarkImport class to allow tools to access the ↵Gravatar John Field2016-01-04
| | | | | | | import as a PathFragment. -- MOS_MIGRATED_REVID=111138001
* Add bulk package lookup for use during target pattern resolution.Gravatar Eric Fellheimer2016-01-04
| | | | | -- MOS_MIGRATED_REVID=111130363
* Ensure that the plist inside an .ipa bundle produced by blaze and the ↵Gravatar Cal Peyser2016-01-04
| | | | | | | | | adjacent plist read by xcode are identical. To do this, we use the output of plmerge as the single plist for the bundle. Automatic entries and variable substitutions are both computed in blaze and passed into plmerge. The output of plmerge is passed into bundlemerge to be placed directly into the final bundle. -- MOS_MIGRATED_REVID=111129433
* Open source the generate_workspace unit test.Gravatar Kristina Chodorow2015-12-30
| | | | | -- MOS_MIGRATED_REVID=111127701
* Make the AndroidResourceProcessor more deterministic by setting the R.txt ↵Gravatar Googler2015-12-30
| | | | | | | ids to 0x1, the java ids to a hash of pkg, resource type, and resource name (robolectric needs unique ids) and ensuring the last modified date is set to the epoch. This only affects library aapt invocations. -- MOS_MIGRATED_REVID=111076315
* Fixed error messageGravatar Alex Gaynor2015-12-30
| | | | | | | | The product is now named bazel and that's the binary people have installed. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/737 MOS_MIGRATED_REVID=111071899
* Don't attempt to get a fingerprint if there are missing skyframe valuesGravatar Kristina Chodorow2015-12-30
| | | | | | | Fixes #742. -- MOS_MIGRATED_REVID=111043129
* Add convenience methods to register a proto compile action.Gravatar Carmi Grushko2015-12-30
| | | | | -- MOS_MIGRATED_REVID=111032954
* fix typo for command line option: "default_ios_provisiong_profile" -> ↵Gravatar Googler2015-12-30
| | | | | | | "default_ios_provisioning_profile" -- MOS_MIGRATED_REVID=111030705
* Allow Skylark rules and aspects to contribute to output groups.Gravatar Dmitry Lomov2015-12-28
| | | | | -- MOS_MIGRATED_REVID=110840166
* Make unsafe list methods non-publicGravatar Laurent Le Brun2015-12-28
| | | | | -- MOS_MIGRATED_REVID=110838816
* Cleanup, code simplification, remove env.isSkylarkGravatar Laurent Le Brun2015-12-28
| | | | | -- MOS_MIGRATED_REVID=110836326
* Reduce differences between Skylark and Build evaluationGravatar Laurent Le Brun2015-12-28
| | | | | | | Add some functions to Build, allow method calls. -- MOS_MIGRATED_REVID=110835163
* Expose output groups to Skylark.Gravatar Dmitry Lomov2015-12-28
| | | | | -- MOS_MIGRATED_REVID=110834841
* Flip the default to preserve spaces in --host_jvm_args when invoking Bazel. ↵Gravatar Janak Ramakrishnan2015-12-28
| | | | | | | | | The old behavior can still be achieved by passing --noexperimental_preserve_spaces_in_host_jvm_args, but that will go away after a release. Oh, also enable the option --noexperimental_preserve_spaces_in_host_jvm_args -- turns out we don't get negative booleans automatically. -- MOS_MIGRATED_REVID=110816311
* Use batch lookups in graph-backed recursive provider for greater efficiency.Gravatar Eric Fellheimer2015-12-28
| | | | | -- MOS_MIGRATED_REVID=110797095
* Avoid double parsing PackageIdentifier PathFragmentsGravatar Michajlo Matijkiw2015-12-28
| | | | | | | | Not the most elegant, but not super intrusive. Can result in extra interned PackageIdentifiers, but in practice this should be very few. -- MOS_MIGRATED_REVID=110794705
* Rollback of commit d46f474733b048d9ef10dd13ec639b4521693d0a.Gravatar Googler2015-12-22
| | | | | | | | | | | | | | | *** Reason for rollback *** Broke bazel *** Original change description *** Ensure that the plist inside an .ipa bundle produced by blaze and the adjacent plist read by xcode are identical. To do this, we use the output of plmerge as the single plist for the bundle. Automatic entries and variable substitutions are both computed in blaze and passed into plmerge. The output of plmerge is passed into bundlemerge to be placed directly into the final bundle. -- MOS_MIGRATED_REVID=110792182
* Enable label-based Skylark loading. In particular, such labels may reference ↵Gravatar John Field2015-12-22
| | | | | | | | | | | | | | | | | | | files in external repositories. In addition: - Cleaned up and refactored some tests to reflect the new loading behavior. Deferred to future CLs: - Updating Bazel Skylark documentation to reflect the new load form. - Enabling command-line loading of Aspects via labels. RELNOTES: Skylark load statements may now reference .bzl files via build labels, in addition to paths. In particular, such labels can be used to reference Skylark files in external repositories; e.g., load("@my_external_repo//some_pkg:some_file.bzl", ...). Path-based loads are now deprecated and may be disabled in the future. Caveats: Skylark files currently do not respect package visibility; i.e., all Skylark files are effectively public. Also, loads may not reference the special //external package. -- MOS_MIGRATED_REVID=110786452
* Rollback of commit b9f401b97590cb95e76efb0ba8bf5319cfe93108.Gravatar Dmitry Lomov2015-12-22
| | | | | | | | | | | | | *** Reason for rollback *** Broke tests on Mac: https://google.com/url?sa=D&q=http%3A%2F%2Fci.bazel.io%2Fjob%2FBazel%2FJAVA_VERSION%3D1.8%2CPLATFORM_NAME%3Ddarwin-x86_64%2F269%2Fconsole *** Original change description *** Speed-up bootstrap on OS X by removing tool compilation. -- MOS_MIGRATED_REVID=110785493
* Add support for downloading through proxiesGravatar Kristina Chodorow2015-12-22
| | | | | | | Fixes #587. -- MOS_MIGRATED_REVID=110785300
* Add list.popGravatar Laurent Le Brun2015-12-22
| | | | | -- MOS_MIGRATED_REVID=110778743
* Ensure that the plist inside an .ipa bundle produced by blaze and the ↵Gravatar Googler2015-12-22
| | | | | | | | | adjacent plist read by xcode are identical. To do this, we use the output of plmerge as the single plist for the bundle. Automatic entries and variable substitutions are both computed in blaze and passed into plmerge. The output of plmerge is passed into bundlemerge to be placed directly into the final bundle. -- MOS_MIGRATED_REVID=110770779
* Document Skylark aspects.Gravatar Dmitry Lomov2015-12-22
| | | | | | | RELNOTES: Added ability to declare and use aspects in Skylark. -- MOS_MIGRATED_REVID=110763176
* Fix bazel_go_example_test. Changes:Gravatar Han-Wen Nienhuys2015-12-22
| | | | | | | | | | | | | | | | | * The go_prefix should be declared in the toplevel BUILD file as //:go_prefix, rather than //external:go_prefix. * Run set_up from the test methods. * Update references to Darwin. Tested: bazel test src/test/shell/bazel/bazel_go_example_test -- Change-Id: I89b2f5920100d27abdbc093437c7c051a24fad1e Reviewed-on: https://bazel-review.googlesource.com/#/c/2561 MOS_MIGRATED_REVID=110762730
* Open source most of our docgen tests.Gravatar Ulf Adams2015-12-22
| | | | | -- MOS_MIGRATED_REVID=110746503
* Fixes a bug for the case where a protobuf is used to supply arguments, where ↵Gravatar Googler2015-12-22
| | | | | | | bundle id, if not specified, would have a value of the empty string instead of null. -- MOS_MIGRATED_REVID=110724117
* Move Runnables into lib.util so that it can be used by other packages.Gravatar Janak Ramakrishnan2015-12-21
| | | | | -- MOS_MIGRATED_REVID=110709069
* Speed-up bootstrap on OS X by removing tool compilation.Gravatar Damien Martin-Guillerez2015-12-21
| | | | | -- MOS_MIGRATED_REVID=110704529
* Remove obsolete documentation for jars in srcsGravatar Liam Miller-Cushon2015-12-21
| | | | | -- MOS_MIGRATED_REVID=110701982
* Don't parse the same .bazelrc file more than once. The old behavior is ↵Gravatar Nathan Harmata2015-12-21
| | | | | | | problematic if a .bazelrc file specifies an option that is allowed to be repeated, duplicates of that option are problematic (one example is http://bazel.io/docs/bazel-user-manual.html#flag--per_file_copt). -- MOS_MIGRATED_REVID=110689696
* Open source PathPackageLocatorTest.Gravatar Ulf Adams2015-12-21
| | | | | -- MOS_MIGRATED_REVID=110672372
* Open source PackageCacheTest. Second try.Gravatar Ulf Adams2015-12-21
| | | | | -- MOS_MIGRATED_REVID=110670806
* Open source LoadingPhaseRunnerTest and its Skyframe companion.Gravatar Ulf Adams2015-12-21
| | | | | | | | | | I had to make a small change to ExternalFilesHelper. The Bazel test setup creates a remote repository for the tools, so we always have external files, incl. during loading. However, some of the tests don't setup an output directory, but instead pass null, which would lead to a crash. -- MOS_MIGRATED_REVID=110669993
* --Gravatar Googler2015-12-21
| | | | MOS_MIGRATED_REVID=110484622
* Delete unused method related to jars in srcsGravatar Liam Miller-Cushon2015-12-17
| | | | | -- MOS_MIGRATED_REVID=110472320
* Skylark: Slice operations now accept a step argument.Gravatar Florian Weikert2015-12-17
| | | | | -- MOS_MIGRATED_REVID=110446625
* Rollback of commit 21fbbd6a32b95ba746f09dae1eaeaccf675cd5b3.Gravatar Florian Weikert2015-12-17
| | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** The original CL broke our CI because Bazel used an old version of Guava (18.0 instead of 19.0). We fixed this problem, so we can roll forward the original change. *** Original change description *** Automated [] rollback of []. *** Reason for rollback *** Broke the build: http://ci.bazel.io/job/Bazel/262/ *** Original change description *** Skylark: implemented more string functions (isalnum, isdigit, etc). -- MOS_MIGRATED_REVID=110439750
* Rollback of commit d03485f1361ff825a976512959438321442c7c98.Gravatar Kristina Chodorow2015-12-16
| | | | | | | | | | | | | *** Reason for rollback *** Broke the build: http://ci.bazel.io/job/Bazel/262/ *** Original change description *** Skylark: implemented more string functions (isalnum, isdigit, etc). -- MOS_MIGRATED_REVID=110383960
* Add a test to verify @D works correctly with external reposGravatar Kristina Chodorow2015-12-16
| | | | | | | Issue #430 seems to be obsolete, added a test to make sure it keeps working. -- MOS_MIGRATED_REVID=110373297
* 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