aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* Extract parsing of the WORKSPACE file in two partsGravatar Damien Martin-Guillerez2016-01-22
| | | | | | | | | | | The WORKSPACE file AST is now parsed as a separate SkyFunction and this will be used to have multiple SkyValue for the same WORKSPACE file, splitting the execution of the AST after load statements to enable load statement of external dependencies in the WORKSPACE file. -- MOS_MIGRATED_REVID=112768897
* Restore jsch as a runtime_dep of bazel-repository.Gravatar David Chen2016-01-22
| | | | | | | Issue: #802 -- MOS_MIGRATED_REVID=112768782
* Make SkylarkList a List.Gravatar Francois-Rene Rideau2016-01-22
| | | | | | | | | | | | | | | SkylarkList now implements the List interfaces, except that its mutating methods throw an UnsupportedOperationException, just like ImmutableList does. To actually mutate a SkylarkList, you need to pass a Location and a suitable Environment object with a matching Mutability while it is still active. Introduce SkylarkMutable and SkylarkMutable.MutableCollection to better handle mutable data structures. Remove some functions in EvalUtils made obsolete by this and previous changes regarding Skylark lists. -- MOS_MIGRATED_REVID=112768457
* Fix links in http://bazel.io/docs/skylark/Gravatar Damien Martin-Guillerez2016-01-22
| | | | | -- MOS_MIGRATED_REVID=112766331
* Skylark, JS: nicer error message when a source file has an unknown type.Gravatar Laszlo Csomor2016-01-22
| | | | | -- MOS_MIGRATED_REVID=112766003
* Create convenience symlinks before the build so that they are available for ↵Gravatar Lukacs Berki2016-01-22
| | | | | | | | | intra-build debugging. As a drive-by fix, create the configuration-independent symlinks even when we have >1 target configurations. Fix broken windows! -- MOS_MIGRATED_REVID=112764311
* cpp: delete a mistaken note on ParseOptions() documentationGravatar Thiago Farina2016-01-22
| | | | | | | | | ParseOptions() function does not return any value (its type is void). -- Change-Id: I7e3b818169a304cc2ad6c8d1580ce010b7d79d12 Reviewed-on: https://bazel-review.googlesource.com/#/c/2740/ MOS_MIGRATED_REVID=112762600
* Properly filter out Aspect attributes when `blaze query` requests ↵Gravatar Dmitry Lomov2016-01-22
| | | | | | | | | --noimplicit_deps and/or --nohost_deps. RELNOTES: --noimplicit_deps and --nohost_deps work correctly for Aspect attributes. -- MOS_MIGRATED_REVID=112724917
* Extract AttributeInfoProvider interface for DependencyFilters.Gravatar Dmitry Lomov2016-01-22
| | | | | | | | This is in preparation of implementing dependency filtering correctly for aspects. -- MOS_MIGRATED_REVID=112721440
* Refactor dependency filtering out of Rule class.Gravatar Dmitry Lomov2016-01-22
| | | | | -- MOS_MIGRATED_REVID=112717648
* Add test case to SingleBuildFileCache for unreadable filesGravatar Michajlo Matijkiw2016-01-22
| | | | | -- MOS_MIGRATED_REVID=112713014
* Allow filtering out some extra-actions related to Java proto compilation.Gravatar Carmi Grushko2016-01-22
| | | | | -- MOS_MIGRATED_REVID=112709717
* Fix NullPointerException in DelegatingWalkableGraphGravatar Damien Martin-Guillerez2016-01-22
| | | | | | | | | | Package name comparison did not included the repository name which leads to a crash when trying to build :* targets. Fixes #792. -- MOS_MIGRATED_REVID=112708531
* Improve space efficiency of Blaze action cache: For actions that don't ↵Gravatar Eric Fellheimer2016-01-22
| | | | | | | perform input discovery, there is no need to store the full set of edges in the action cache. This data is only used to formulate the set of input files for an action prior to checking the validity of a cache entry. For non-input-discovering actions, the set of input files is known statically and the action cache data is not used. -- MOS_MIGRATED_REVID=112704382
* Fix appengine rule to use all @bazel_tools targetsGravatar Kristina Chodorow2016-01-21
| | | | | | | | I didn't notice that I had neglected to add these lines to the changelist yesterday because there were so many style changes around them. -- MOS_MIGRATED_REVID=112701694
* Raise error if we find an unknown type in native.rule().Gravatar Han-Wen Nienhuys2016-01-21
| | | | | | | | | | | | Handle more types: * Boolean * TriState * SkylarkValue (eg. FileSetEntry) * skip Licenses, Distribs. -- MOS_MIGRATED_REVID=112690550
* Remove dangling reference to bazel-toolsGravatar Kristina Chodorow2016-01-21
| | | | | -- MOS_MIGRATED_REVID=112685830
* Copy output files out of the sandbox even when the action failed.Gravatar Philipp Wollermann2016-01-21
| | | | | -- MOS_MIGRATED_REVID=112683298
* Create the convenience symlinks only after the build, and only those that ↵Gravatar Lukacs Berki2016-01-21
| | | | | | | | | point to an existing directory. This required fixing the worker strategy so that it reads params files not through said convenience symlinks, but from the execroot. -- MOS_MIGRATED_REVID=112682485
* Allow more flexibility on proto output formatter.Gravatar Miguel Alcon Pinto2016-01-21
| | | | | -- MOS_MIGRATED_REVID=112681274
* Support @ syntax for specifying the list of files to zipperGravatar Damien Martin-Guillerez2016-01-21
| | | | | | | | | | | | | | | When creating an archive with //third_party/ijar:zipper, all files to add should be specified as an argument. When adding a lot of files, this leads to reaching the maximum size of the command line. This change add a @filename argument that permit to specify a file containing the list of files to zip. -- Change-Id: I02843588896969ef2d6add26c1c67ff44a27f7de Reviewed-on: https://bazel-review.googlesource.com/#/c/2695/ MOS_MIGRATED_REVID=112678600
* When using workers for Java compilation, build deploy jars and source jars ↵Gravatar Philipp Wollermann2016-01-21
| | | | | | | on the local machine, too. -- MOS_MIGRATED_REVID=112675289
* Fix extra_actions with sandboxing.Gravatar Brian Silverman2016-01-21
| | | | | | | | | | | | | | | The ExtraAction code assumed that it didn't need to list the runfiles of its tools when running locally, but this isn't true with sandboxing. I don't think fixing this will negatively affect anybody's performance because they probably don't have any runfiles because they currently can't use them, unless they're running actions remotely in which case this change has no effect. -- Change-Id: Ibeb3db9d31321912a7163d1bce0edf5f6288ea3e Reviewed-on: https://bazel-review.googlesource.com/#/c/2520/ MOS_MIGRATED_REVID=112670586
* Scaffolding for implementing symlinks on Windows. Gravatar Lukacs Berki2016-01-21
| | | | | | | | | | | | | | | At first, this will only be used for emulating the planned implementation on Linux to validate it a little more before starting with the big work of porting everything to Windows in case it is doomed to failure. In logging mode, the only places where we create symbolic links that we can't emulate with the plan (pointing to a non-existent file or to a file outside the output base and the source root, which are assumed to be writable): - ExecutionTool.createOutputDirectoryLinks(). If we won't have the convenience symlinks on Windows, I won't shed a tear (I'm wondering why, though, because they are between the output base and the source tree) - In the implementation of new_local_repository (Would need to be special-cased for Windows. No big deal.) - In the implementation of the .tar.gz decompressor (doesn't seem to be serious, either.) So this seems to be alright. Note, however, that we didn't check build-runfiles.cc, which might cause trouble. I don't remember any place where we create a link there that is illegal according to the above rules, though. -- MOS_MIGRATED_REVID=112659070
* Refactor DependencyModule#computeStrictClasspathGravatar Liam Miller-Cushon2016-01-21
| | | | | | | | | | so it can operate on lists of classpath entries, instead of pre-joined classpath strings. Also improve error for missing .jdeps inputs. -- MOS_MIGRATED_REVID=112634009
* Introduce implicit host_xcodes dependency on cc_test rules, as cc_test rules ↵Gravatar Chris Parsons2016-01-21
| | | | | | | require creation of CppCompileAction. -- MOS_MIGRATED_REVID=112630562
* Perform package loading in parallel with transitive target visitation. This ↵Gravatar Janak Ramakrishnan2016-01-21
| | | | | | | is a partial rollback of commit f1e257d because it turns out that loading sequentially can be a bottleneck. -- MOS_MIGRATED_REVID=112628616
* Enforce aspect configuration fragment specification when present.Gravatar Michael Staib2016-01-21
| | | | | | | | | | | | | | | | | If an aspect has specified its configuration fragment dependencies, use these in place of the rule's. Note that the dynamic configuration support for this is yet to come. Also in this CL: * RuleContext is constructed with a ruleClassNameForLogging, which allows error messages involving aspects to be clearer. RELNOTES[NEW]: Skylark aspects can now specify configuration fragment dependencies with fragments and host_fragments like rules can. -- MOS_MIGRATED_REVID=112614357
* Add a DEVELOPER_DIR make variable to genrules to propagate the apple xcode ↵Gravatar Chris Parsons2016-01-21
| | | | | | | | | | environment variable DEVELOPER_DIR to commands. If $(DEVELOPER_DIR) is included in the genrule command, we bootstrap the XCODE_VERSION_OVERRIDE environment variable to the command. The contract with the actual action executor is, if XCODE_VERSION_OVERRIDE is present in the environment, to additionally bootstrap the DEVELOPER_DIR absolute path to the command. -- MOS_MIGRATED_REVID=112605616
* Remove base_workspace from bazel setupGravatar Kristina Chodorow2016-01-21
| | | | | | | | | | | | I also removed a couple places the documentation referred to it incorrectly. There are still a couple of blog posts that mention it, but that seemed okay. RELNOTES: A bazelrc with --package_path set is no longer required for Bazel to find its tools. This also means that building //... should work to build everything in the workspace without including Bazel's own targets. -- MOS_MIGRATED_REVID=112604261
* Fix up our external sample PrenotCalculator so it uses ios_application ↵Gravatar Dave MacLachlan2016-01-21
| | | | | | | | | instead of just objc_binary. RELNOTES: -- MOS_MIGRATED_REVID=112601304
* Stop explicitly disabling useOptimizedZipGravatar Liam Miller-Cushon2016-01-21
| | | | | | | | javac's bespoke zip implementation is now off by default: https://bugs.openjdk.java.net/browse/JDK-7018859 -- MOS_MIGRATED_REVID=112600878
* Update appengine.bzl rules to use remote reposGravatar Kristina Chodorow2016-01-21
| | | | | | | Instead of depending on //tools and //third_party in the base workspace. -- MOS_MIGRATED_REVID=112599883
* Fix double </a> in header.Gravatar Han-Wen Nienhuys2016-01-21
| | | | | -- MOS_MIGRATED_REVID=112598805
* Rename defaultShellEnvironment to localShellEnvironment and clarifyGravatar Han-Wen Nienhuys2016-01-21
| | | | | | | its intended use. -- MOS_MIGRATED_REVID=112598772
* Refer to objc's gcov under @bazel_toolsGravatar Kristina Chodorow2016-01-21
| | | | | | | | | | This is part of removing the requirement of having base_workspace in your package_path for bazel builds. This also removes --experimental_objc_gcov_binary, since it doesn't seem to be needed anymore. -- MOS_MIGRATED_REVID=112595137
* Make crashing test logger shut down the serverGravatar Michajlo Matijkiw2016-01-21
| | | | | | | | | Previously the crashing logger would allow the server process to survive which could leave things in a weird state if a crash was expected. Instead of throwing an exception shut down the runtime. -- MOS_MIGRATED_REVID=112589751
* Respect maven excludes and separate build rules.Gravatar Stein Eldar Johnsen2016-01-21
| | | | | | | | | | | | | | Updating the generate_workspace tool to: - Respect dependency exclutions from the project object model (maven). - Generate one rule per pom dependency or maven_jar source rule (using maven group ID and artifact ID). -- Change-Id: Ieb878f82be4352dcfb5755f8f71dfa7e592de78a Reviewed-on: https://bazel-review.googlesource.com/#/c/2551/ MOS_MIGRATED_REVID=112574031
* Bazel docs: remove grammatical trace of a flag that was removed.Gravatar Laszlo Csomor2016-01-21
| | | | | -- MOS_MIGRATED_REVID=112573386
* Release 0.1.4 (2016-01-15)Gravatar Bazel Release System2016-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | Baseline: e933d5e + 3d796fe: Rollback of commit ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c. + 7a02e5d: Fix installer under OS X + 848740c: Fix bazel version for debian package + 7751d43: Add a method for getting the root of a rule workspace to the Label method Important changes: - add loadfiles() query operator, to find skylark files loaded by targets. - Added ability to declare and use aspects in Skylark. - 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. - Relative paths can now be used for 'path' with new_local_repository and local_repository.
* Add a Java property to influence symlinking strategy so that we can test ↵Gravatar Lukacs Berki2016-01-20
| | | | | | | what kind of performance we could get from how we imagine it would work under Windows. -- MOS_MIGRATED_REVID=112572621
* Make setup-eclipse.sh work somewhat again.Gravatar Lukacs Berki2016-01-20
| | | | | | | The generated project is not perfect, but this does unblock Manuel for the time being. -- MOS_MIGRATED_REVID=112571724
* Fix documentation of --[no]block_for_lockGravatar Googler2016-01-20
| | | | | | | | | | | | | | The help message of this option had the effect inversed. The default --block_for_lock setting makes the client block waiting for the lock when needed, and the flag needs to be unset with --noblock_for_lock to instead exit immediately. Also rename the dummy noblock_for_lock variable to blockForLock to match the naming convention. The variable is not used anywhere, as this class only exists for the help messages. -- MOS_MIGRATED_REVID=112566287
* Allow empty go_prefix.Gravatar Han-Wen Nienhuys2016-01-20
| | | | | | | | | Fixes #676. -- Change-Id: I7474d3e3071c99452b6e1835d6f70671f34b1fd9 Reviewed-on: https://bazel-review.googlesource.com/#/c/2693 MOS_MIGRATED_REVID=112564791
* Add titles to Bazel documentation pages.Gravatar David Chen2016-01-20
| | | | | | | Fixes #790 -- MOS_MIGRATED_REVID=112563137
* Remove stray ul tag.Gravatar Alex Humesky2016-01-20
| | | | | -- MOS_MIGRATED_REVID=112562308
* Fix a couple of bugs related to error handling for top-level aspects.Gravatar Ulf Adams2016-01-20
| | | | | -- MOS_MIGRATED_REVID=112561390
* Fix potential NullPointerException in RepositoryFunctionGravatar Damien Martin-Guillerez2016-01-20
| | | | | -- MOS_MIGRATED_REVID=112555666
* Remove some commented out lines from android.WORKSPACE.Gravatar Lukacs Berki2016-01-20
| | | | | | | These are unnecessary because Bazel now carries these tools with itself in the @bazel_tools repository. -- MOS_MIGRATED_REVID=112555031
* Include source jar count in progress message for java compile actionsGravatar Liam Miller-Cushon2016-01-20
| | | | | | | | The avoids misleading "Building libfoo.jar (0 files)" progress messages for sourcejar-only compilations. -- MOS_MIGRATED_REVID=112512879