aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* No content change. Fixes line breaks and whitespace issues in HTML only.Gravatar Googler2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101462664
* Link to tools/objc/dummy.c from output directory to allow xcodeproj to ↵Gravatar Chris Parsons2015-08-26
| | | | | | | resolve the file even while outside a workspace which contains it -- MOS_MIGRATED_REVID=101462428
* Port to FreeBSD.Gravatar Doug Rabson2015-08-26
| | | | | | | -- Change-Id: I4e65cc583e758d2f7e45209ffcb37f6a871e2ed7 Reviewed-on: https://bazel-review.git.corp.google.com/#/c/1840 MOS_MIGRATED_REVID=101462155
* Instead of assuming that sandboxing will generally work on everything that ↵Gravatar Philipp Wollermann2015-08-26
| | | | | | | | | is Linux, do real auto-detection whether it is supported on the host or not and enable / disable it based on the result. The warning that is printed when the Linux kernel is too old to support sandboxing can be disabled via a flag. -- MOS_MIGRATED_REVID=101461120
* Refactor skylark format internalsGravatar Francois-Rene Rideau2015-08-26
| | | | | | | | | | Rename some methods to avoid clashes. Add function formattable to create lazily-formatted objects, remove now unused strFormattable and reprFormattable. Also some whitespace cleanup. -- MOS_MIGRATED_REVID=101459565
* namespace-sandbox: Actually do exponential backoff on a failed unshare() ↵Gravatar Philipp Wollermann2015-08-26
| | | | | | | syscall. -- MOS_MIGRATED_REVID=101458944
* Rules created by Skylark macros now have values for the attributes ↵Gravatar Florian Weikert2015-08-26
| | | | | | | | | generator_name and generator_function. Additionally, both Skylark macros and build extensions set the attribute generator_location in order to store the name of the file where generator_function was defined. -- MOS_MIGRATED_REVID=101458757
* Replace quick hack for handling non-sandboxable spawns with a better solution.Gravatar Philipp Wollermann2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101458091
* Execute spawns inside sandboxes to improve hermeticity (spawns can no longer ↵Gravatar Philipp Wollermann2015-08-26
| | | | | | | | | | | | use non-declared inputs) and safety (spawns can no longer affect the host system, e.g. accidentally wipe your home directory). This implementation works on Linux only and uses Linux containers ("namespaces"). The strategy works with all actions that Bazel supports (C++ / Java compilation, genrules, test execution, Skylark-based rules, ...) and in tests, Bazel could successfully bootstrap itself and pass the whole test suite using sandboxed execution. This is not the default behavior yet, but can be activated explicitly by using: bazel build --genrule_strategy=sandboxed --spawn_strategy=sandboxed //my:stuff -- MOS_MIGRATED_REVID=101457297
* Add an --experimental_disable_jvm flag.Gravatar Ulf Adams2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101457236
* Mark flaky test external_integration_test as manual.Gravatar Philipp Wollermann2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101456399
* Require an android_local_tools_repository stanza in the WORKSPACE file so ↵Gravatar Lukacs Berki2015-08-26
| | | | | | | | | | | | | | | that Bazel finds Android tools and update the tools themselves to handle their new location. This paves the way for eventually referencing every tool this way. We have to figure out if android_http_tools_repository is the right way to distribute the Android tools, but now that we don't have a binary distribution yet, it's not an immediate problem. This will break existing users of Android support in Bazel, whom I'll inform over bazel-discuss. Fixes #384. -- MOS_MIGRATED_REVID=101456190
* Change some terminology to reflect standard usage:Gravatar Googler2015-08-26
| | | | | | | | - "AppEngine" to "App Engine" as per https://cloud.google.com/appengine/docs - "WebApplication" to "Java web application" or "web application" as per http://docs.oracle.com/javaee/6/tutorial/doc/geysj.html -- MOS_MIGRATED_REVID=101454871
* Update Rust rules to use Rust 1.2.0. Rename features attribute toGravatar David Chen2015-08-26
| | | | | | | crate_features to fix conflict with new default features attribute. -- MOS_MIGRATED_REVID=101454678
* Add Skylark Supported Rules page to Bazel site.Gravatar Googler2015-08-26
| | | | | | | | Each of the support rule sets now have their own README.md files. This page just links to the directories in the repo where the rules are located and documented. -- MOS_MIGRATED_REVID=101453919
* Lock down the requirement of fragment declaration.Gravatar Ulf Adams2015-08-26
| | | | | | | | | All affected rules were annotated, and all known affected Skylark rules were also annotated. The documentation was updated, so it looks like we're good to go. -- MOS_MIGRATED_REVID=101450297
* Android example readme: blaze -> bazelGravatar Damien Martin-Guillerez2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101446590
* Make setup-intellij.sh work again.Gravatar Lukacs Berki2015-08-26
| | | | | | | It rotted somewhere along the way and tried to build Objective C tools on Linux, and unsurprisingly, failing. -- MOS_MIGRATED_REVID=101445358
* Rename some variables missed by a codebase-wide renaming a long time ago.Gravatar Nathan Harmata2015-08-25
| | | | | -- MOS_MIGRATED_REVID=101388809
* Memoize SkyFunctionNamesGravatar Michajlo Matijkiw2015-08-25
| | | | | | | | In practice there are generally very few of these, keep a chache to avoid dups. -- MOS_MIGRATED_REVID=101386883
* Improve the Python launcher to be smarter and make less assumptions when ↵Gravatar Philipp Wollermann2015-08-25
| | | | | | | looking for the .runfiles path and the Python interpreter binary. -- MOS_MIGRATED_REVID=101380117
* Make ValueWithMetadata#normal public, for use in alternate graph ↵Gravatar Janak Ramakrishnan2015-08-25
| | | | | | | implementations. -- MOS_MIGRATED_REVID=101379672
* Return raw SkyValue instead of wrapped ValueWithMetadata.Gravatar Janak Ramakrishnan2015-08-25
| | | | | -- MOS_MIGRATED_REVID=101377320
* Using aliases in load() may no longer lead to false positives in ↵Gravatar Florian Weikert2015-08-25
| | | | | | | SkylarkEnvironment's recursion detection. -- MOS_MIGRATED_REVID=101374341
* Copies shared object dependencies when building Android native binaries.Gravatar Michael Staib2015-08-25
| | | | | | | | | | | | Previously, shared objects in the transitive closure of an Android binary would be linked in, but not be sent to the apkbuilder. This sends all the shared objects used for linking to join the other native libraries in the APK, so they will be loadable when the main library created by the link step is loaded. Fixes #357. -- MOS_MIGRATED_REVID=101365491
* Add more tests for the PIPE operator.Gravatar Laurent Le Brun2015-08-25
| | | | | -- MOS_MIGRATED_REVID=101364893
* Introduce '|' operator for set union.Gravatar Laurent Le Brun2015-08-25
| | | | | -- MOS_MIGRATED_REVID=101363350
* Make Bazel handle visibility through //external: labels correctly: ↵Gravatar Lukacs Berki2015-08-25
| | | | | | | | | //external: targets can depend on anything and visibility is checked a the edges incoming to said labels. Fixes #388. -- MOS_MIGRATED_REVID=101363086
* Do not consider //external: a repository-local reference.Gravatar Lukacs Berki2015-08-25
| | | | | | | Fixes #360. -- MOS_MIGRATED_REVID=101360551
* Remove onlyLoadingPhase on objects.Gravatar Laurent Le Brun2015-08-24
| | | | | | | | | | The mechanism was easy to workaround (store the object in a different variable) and a source of bugs. This affected only 'rule', 'native' and 'attr' objects. It turns out the blacklisting was not useful (native and attr are already filtered, rule is not a problem). -- MOS_MIGRATED_REVID=101359277
* Correctly process "ScalaInlineInfo" attribute. This is new in Scala 2.11.7 ↵Gravatar Googler2015-08-24
| | | | | | | (and 2.12). -- MOS_MIGRATED_REVID=101358929
* Added more details about the use of configuration fragments in Skylark to ↵Gravatar Florian Weikert2015-08-24
| | | | | | | the documentation. -- MOS_MIGRATED_REVID=101357875
* Update Skylark rules to specify their accessed configuration fragments.Gravatar Ulf Adams2015-08-24
| | | | | | | | We will lock down that only specified fragments may be accessed, but submitting that is blocked on all existing rules declaring fragments correctly. -- MOS_MIGRATED_REVID=101352316
* FileTypeSet: now supports creating unions of a FileTypeSet and some FileTypes.Gravatar Laszlo Csomor2015-08-24
| | | | | -- MOS_MIGRATED_REVID=101348687
* Removed ctx.configuration.fragment() from Skylark. Please use ↵Gravatar Florian Weikert2015-08-24
| | | | | | | ctx.fragments.{cpp,java,jvm} instead. -- MOS_MIGRATED_REVID=101348294
* ctx.new_file(Artifact, String) now replaces the basename of the base ↵Gravatar Florian Weikert2015-08-24
| | | | | | | artifact with the given name instead of appending a suffix -- MOS_MIGRATED_REVID=101348273
* Add '.ldscript' as a possible linker script file extension.Gravatar Googler2015-08-24
| | | | | | | | | | This is an easy way to deal with other code that names scripts as such, rather than requiring that scripts be renamed to end in ".lds" RELNOTES[NEW]: deps of a cc_binary may contain linker script files ending in ".ldscript" -- MOS_MIGRATED_REVID=101346375
* Use Buildifier convention for action_listener rule examples.Gravatar David Chen2015-08-24
| | | | | -- MOS_MIGRATED_REVID=101346366
* Remove the some calls to AnalysisEnvironment.getDerivedArtifact() and add a ↵Gravatar Lukacs Berki2015-08-24
| | | | | | | | | | | big fat warning that that method shouldn't be used anymore. Ideally, I'd mark it as deprecated, but it's legitimately used by RuleContext. I could just forbid access to AnalysisEnvironment to rule implementations, but, sadly, almost every method on it is called at a few oddball places in implementations of various rules, so we can't do it just yet. -- MOS_MIGRATED_REVID=101345484
* Remove an AnalysisEnvironment.getDerivedArtifact() call from nativedeps.Gravatar Lukacs Berki2015-08-24
| | | | | -- MOS_MIGRATED_REVID=101344826
* Change the skylark Java rules to use the configuration path separator.Gravatar Ulf Adams2015-08-24
| | | | | | | The build-in rules also use it. -- MOS_MIGRATED_REVID=101343109
* Add keepGoing version of MemoizingEvaluatorTest#changeCycle.Gravatar Janak Ramakrishnan2015-08-24
| | | | | -- MOS_MIGRATED_REVID=101245691
* Add the implicit output of unstripped binary for Launcher-enabled java_binary.Gravatar Googler2015-08-24
| | | | | | | Use stripped launcher when Fission is enabled. -- MOS_MIGRATED_REVID=101244628
* Make permanent changes already in tools/blaze.blazercGravatar Googler2015-08-24
| | | | | | | RELNOTES: For Objective-C make -DDEBUG part of the -c fastbuild options -- MOS_MIGRATED_REVID=101243825
* Fix -proc:only after e927532Gravatar Liam Miller-Cushon2015-08-24
| | | | | | | | | | Don't expect FLOW events if the compile policy is set to stop before FLOW (e.g. with -proc:only). Fixes google/bazel#379 -- MOS_MIGRATED_REVID=101242866
* Improve efficiency of reverse queries for Skyframe by memoizing ↵Gravatar Miguel Alcon Pinto2015-08-24
| | | | | | | getAllowedDeps calls on the same batch call -- MOS_MIGRATED_REVID=101238126
* Preserve specified order of keys when analyzing configured targets.Gravatar Janak Ramakrishnan2015-08-24
| | | | | -- MOS_MIGRATED_REVID=101235139
* Implement hashCode, equals for TransitiveTraversalValue and related SkyValuesGravatar Mark Schaller2015-08-24
| | | | | -- MOS_MIGRATED_REVID=101233095
* Add shortcut methods for adding providers. These do not require explicitly ↵Gravatar Carmi Grushko2015-08-24
| | | | | | | | | specifying the class of the provider object. -- MOS_MIGRATED_REVID=101227127
* Description redacted.Gravatar Michajlo Matijkiw2015-08-24
| | | | | -- MOS_MIGRATED_REVID=101221537