aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Export exportable values as we go instead of at the end of evaluation.Gravatar Dmitry Lomov2017-03-01
| | | | | | | | | This simplifies implementation of attr.* functions and helps make declared provider implementation simpler. -- PiperOrigin-RevId: 148867326 MOS_MIGRATED_REVID=148867326
* Remove some unnecessary codeGravatar Ulf Adams2017-03-01
| | | | | | | | | | TestStrategy sometimes computed the runfiles directory separately from the existing code in Runfiles. Now we always use the passed through value. AFAICT, the two code paths were identical. -- PiperOrigin-RevId: 148866489 MOS_MIGRATED_REVID=148866489
* Don't leak file managersGravatar Liam Miller-Cushon2017-03-01
| | | | | | -- PiperOrigin-RevId: 148860690 MOS_MIGRATED_REVID=148860690
* Rollback of commit 822c37816ac669e51bec3853b41849a19ec5e230.Gravatar Nathan Harmata2017-03-01
| | | | | | -- PiperOrigin-RevId: 148844518 MOS_MIGRATED_REVID=148844518
* Remind JavacOptions about the '-extra_checks' flagGravatar Liam Miller-Cushon2017-03-01
| | | | | | -- PiperOrigin-RevId: 148843788 MOS_MIGRATED_REVID=148843788
* Improve memory efficiency of incremental dexing and introduce flag to error ↵Gravatar Googler2017-03-01
| | | | | | | | out if DexArchiveAspect misses .jar files -- PiperOrigin-RevId: 148835665 MOS_MIGRATED_REVID=148835665
* Inject aidl_lib only to android_library targets that have idl_srcsGravatar Googler2017-03-01
| | | | | | -- PiperOrigin-RevId: 148827329 MOS_MIGRATED_REVID=148827329
* Improve handling of unknown NDK revisions in android_ndk_repository.Gravatar Adam Michael2017-03-01
| | | | | | -- PiperOrigin-RevId: 148816635 MOS_MIGRATED_REVID=148816635
* Convert --use_action_cache to a regular optionGravatar Googler2017-03-01
| | | | | | | | RELNOTES: Convert --use_action_cache to a regular option -- PiperOrigin-RevId: 148804881 MOS_MIGRATED_REVID=148804881
* Blog post announcing Google Summer of Code.Gravatar Laurent Le Brun2017-02-28
| | | | | | -- PiperOrigin-RevId: 148795506 MOS_MIGRATED_REVID=148795506
* Re-arrange JavaBuilder output jar handlingGravatar Liam Miller-Cushon2017-02-28
| | | | | | | | To make it more obvious that the JarOutputStream is closed (see #2538). -- PiperOrigin-RevId: 148791125 MOS_MIGRATED_REVID=148791125
* Fix display issues in blog post about proto rules.Gravatar Carmi Grushko2017-02-28
| | | | | | -- PiperOrigin-RevId: 148788906 MOS_MIGRATED_REVID=148788906
* BEP: Add BuildFinished event. Gravatar Jakob Buchgraber2017-02-28
| | | | | | | | | | | | The build event protocol now emits a BuildFinished event at the end of a build. The event is a child of the BuildStarted event. The code changes were larger than expected, due to some refactoring in BuildEventStreamer. This was necessary as the BuildCompleteEvent now implements the BuildEvent interface and Guava's EventBus always invokes the most specialized subscriber method. Thus, the buildEvent(BuildEvent) and buildCompleted(BuildCompletedEvent) methods had to be merged. -- Change-Id: Id0c2bd7220dc8ce03128b7126587e212ee8ce836 Reviewed-on: https://cr.bazel.build/9053 PiperOrigin-RevId: 148788582 MOS_MIGRATED_REVID=148788582
* Rollback of commit 5e945570ec0b9079596756bf89437ac37e031c36.Gravatar Jon Brandvein2017-02-28
| | | | | | | | *** Reason for rollback *** -- PiperOrigin-RevId: 148781019 MOS_MIGRATED_REVID=148781019
* Add Java install step for Homebrew install guide Gravatar Steren2017-02-28
| | | | | | | | | | | fix #2438 Closes #2439. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2439 PiperOrigin-RevId: 148781010 MOS_MIGRATED_REVID=148781010
* Add an event reporting about downloading progress Gravatar Klaus Aehlig2017-02-28
| | | | | | | | | | | | | The ProgressInputStream provides unstructured information about progress of downloading files in the form of Progress events. Add a new event type, to be posted over the event bus, providing structured information about the download progress. -- Change-Id: Idbbaa4325ade356e65ef7ef1a40e66730216b6fe Reviewed-on: https://cr.bazel.build/9113 PiperOrigin-RevId: 148772585 MOS_MIGRATED_REVID=148772585
* Bazel client: make some libraries visible to ijar Gravatar László Csomor2017-02-28
| | | | | | | | | | | | | | | | Ijar will use Bazel's file handling logic so that we don't have to maintain two implementations, and don't have to copy this code to implement the Windows/MSVC code path in third_party/ijar/platform_utils.cc. See https://github.com/bazelbuild/bazel/issues/2157 -- Change-Id: Iec327febb882aeaabae55216d0d06488f7c151ed Reviewed-on: https://cr.bazel.build/9068 PiperOrigin-RevId: 148770951 MOS_MIGRATED_REVID=148770951
* --Gravatar Laszlo Csomor2017-02-28
| | | | | PiperOrigin-RevId: 148768294 MOS_MIGRATED_REVID=148768294
* This change adds support for a docker_bundle rule, refactoring a number of ↵Gravatar Googler2017-02-28
| | | | | | | | | | interfaces to support shared use with docker_build. This also fixes "docker load -i <bazel output>", which was broken on newer clients due to a lack of tag data in manifest.json's RepoTags. -- PiperOrigin-RevId: 148767383 MOS_MIGRATED_REVID=148767383
* In SkyFunctionEnvironment post progress-like events immediately Gravatar Klaus Aehlig2017-02-28
| | | | | | | | | | | | | In Skyframe Evaluation, events reporting about progress are meant to be seen immediately by the environment. More over, they are not to be replayed when taking this SkyFunction out of cache. So change the custom implementation of the StoredEventHandler in the SkyFunctionEnvironment to forward appropriately. -- Change-Id: I30baf0088595ef684f16270f11668e980e65aa41 Reviewed-on: https://cr.bazel.build/9112 PiperOrigin-RevId: 148766400 MOS_MIGRATED_REVID=148766400
* Add constraint_setting and constraint_value rules, to enable defining Gravatar John Cater2017-02-28
| | | | | | | | | | | | platform-related constraints and values. Part of ongoing work on #2219. -- Change-Id: Ice370ee26469f4992faf72c0c95a1a3e51a9f9e7 Reviewed-on: https://cr.bazel.build/9091 PiperOrigin-RevId: 148758190 MOS_MIGRATED_REVID=148758190
* Design Docs: Add a section to the Sandboxing 2.0 Doc on what files a ↵Gravatar Philipp Wollermann2017-02-28
| | | | | | | | sandboxed process should have access to. -- PiperOrigin-RevId: 148758110 MOS_MIGRATED_REVID=148758110
* Always update bazel repo: try pull first, and recreate if failed.Gravatar Yue Gan2017-02-28
| | | | | | -- PiperOrigin-RevId: 148751928 MOS_MIGRATED_REVID=148751928
* Add check that the WORKSPACE found in LocalRepositoryLookupFunction isn't a ↵Gravatar John Cater2017-02-28
| | | | | | | | | | | | directory. Fixes #2580. -- Change-Id: I6e1271a9c1442819e956f7fcdcb5da535ed027db Reviewed-on: https://cr.bazel.build/9110 PiperOrigin-RevId: 148751072 MOS_MIGRATED_REVID=148751072
* MSVC wrapper: support -I gcc flagGravatar Laszlo Csomor2017-02-28
| | | | | | | | See https://github.com/bazelbuild/bazel/issues/2107 -- PiperOrigin-RevId: 148750327 MOS_MIGRATED_REVID=148750327
* Fix paths of binaries in .deb packages. Gravatar John Cater2017-02-28
| | | | | | | | | | | | To be cherry-picked for #2472. Fixes #2605. -- Change-Id: Idfd1bf264ceb696ca766268c8a16891476ee33b1 Reviewed-on: https://cr.bazel.build/9111 PiperOrigin-RevId: 148749784 MOS_MIGRATED_REVID=148749784
* Clean up the semantics of input discovering actions a bit by making ↵Gravatar Lukacs Berki2017-02-28
| | | | | | | | | | | | updateInputs() and inputsKnown() non-overridable and removing setInputs(). This comes at the cost of adding a flag to every action instance that's not used for non-input-discovering actions, but I think that's a deal. Simpler APIs are good, mmmmkay? Also fixed a few pre-existing issues in TestAction and ObjcCompileAction. -- PiperOrigin-RevId: 148749734 MOS_MIGRATED_REVID=148749734
* Move UnixFileSystem to lib.unix, WindowsFileSystem to lib.windowsGravatar Ulf Adams2017-02-28
| | | | | | -- PiperOrigin-RevId: 148749485 MOS_MIGRATED_REVID=148749485
* Add cc_proto_library to Bazel Build Encyclopedia.Gravatar David Chen2017-02-28
| | | | | | -- PiperOrigin-RevId: 148697913 MOS_MIGRATED_REVID=148697913
* Reimplement blaze query using an async evaluation model. Use a concurrent ↵Gravatar Nathan Harmata2017-02-28
| | | | | | | | | | | | | | | | | | | backend for SkyQueryEnvironment's implementation in order to achieve parallelism. Advantages: -New design has no flaws that the old design had. -Code is structured so that deadlocks due to thread starvation are impossible (yup!). Disadvantages: -The meat of this change needs to all be in a single CL because every single QueryFunction and QueryExpression needs to be rewritten in the async style. Still TODO: -Fully embrace the async model in all QueryFunctions (e.g. 'rdeps', 'allpaths'). -Use concurrency in BlazeQueryEnvironment to achieve parallel evaluation for (non SkyQuery) 'blaze query' and genquery. -- PiperOrigin-RevId: 148690279 MOS_MIGRATED_REVID=148690279
* BEP: Add tags and output files to TargetComplete event Gravatar Jakob Buchgraber2017-02-28
| | | | | | | | | | | | | | | A target's tags and output files are reported as part of the TargetComplete event of the build event protocol (BEP). The output files are grouped by their corresponding output group. If an output file belongs to more than one output group it appears once in each output group. -- Change-Id: Ia37db68709850d8550e478dcc30064dc7366bd1b Reviewed-on: https://cr.bazel.build/8955 PiperOrigin-RevId: 148667599 MOS_MIGRATED_REVID=148667599
* A blog post about proto_library et al.Gravatar Carmi Grushko2017-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proto_library-dep-graph.png was generated from: digraph mygraph { node [shape=box]; "//src:zip_code.proto" [style="dashed"] "//src:address.proto" [style="dashed"] "//src:person.proto" [style="dashed"] "//src:person_java_proto" [shape="ellipse"] "//src:person_cc_proto" [shape="ellipse"] "//src:person_java_proto" "//src:person_java_proto" -> "//src:person_proto" "//src:person_cc_proto" "//src:person_cc_proto" -> "//src:person_proto" "//src:person_proto" "//src:person_proto" -> "//src:address_proto" "//src:person_proto" -> "//src:person.proto" "//src:person.proto" "//src:address_proto" "//src:address_proto" -> "//src:address.proto" "//src:address_proto" -> "//src:zip_code_proto" "//src:zip_code_proto" "//src:zip_code_proto" -> "//src:zip_code.proto" "//src:zip_code.proto" "//src:address.proto" } -- PiperOrigin-RevId: 148664921 MOS_MIGRATED_REVID=148664921
* sandbox should create regular empty files, not symlink to /dev/null.Gravatar Philipp Wollermann2017-02-28
| | | | | | | | | | | | | | Adds a test based on our Python rules that makes sure that this actually fixes the issue. Thanks to @duggelz for the suggestion. It seems like our Python rules are the only place that actually provides an EmptyFilesSupplier to Runfiles, so there's probably no simpler way to test this behavior in an integration test. Fix #1458. Fix #2394. -- PiperOrigin-RevId: 148656193 MOS_MIGRATED_REVID=148656193
* Remove unnecessary python skylark rules and update example Gravatar Yu Yi2017-02-28
| | | | | | | | | | | | | | | | | | | | | | | * We already have native python rules, so the skylark ones are no longer unnecessary now * Leaving `load skylark rules` statement in the example may be misleading for newcomers Testing done: * re-compile bazel * use it to build example folder and run py target ``` shell ./compile.sh compile /usr/bin/bazel /home/yiyu/opt/bazel/output/bazel build //examples:all /home/yiyu/opt/bazel/output/bazel run //examples/py:bin ``` -- Change-Id: Icd82afff2b74e77c0bcc80687b04225baf28f6ad Reviewed-on: https://cr.bazel.build/9070 PiperOrigin-RevId: 148646895 MOS_MIGRATED_REVID=148646895
* Handle TriState type in `bazel query --output=build`Gravatar Laurent Le Brun2017-02-27
| | | | | | -- PiperOrigin-RevId: 148643993 MOS_MIGRATED_REVID=148643993
* Clean up event busGravatar Klaus Aehlig2017-02-27
| | | | | | | | ...now that the ExtendedEventHandler can serve the same purpose. -- PiperOrigin-RevId: 148640618 MOS_MIGRATED_REVID=148640618
* Bazel client: add new ReadFile/WriteFile variantsGravatar Laszlo Csomor2017-02-27
| | | | | | | | | | | | | Instead of writing from / reading to a string, these variants take a buffer and a size. These methods will be used from ijar. See https://github.com/bazelbuild/bazel/issues/2157 -- PiperOrigin-RevId: 148635487 MOS_MIGRATED_REVID=148635487
* Regression test for ActionCache shutdown roundtrip Gravatar George Gensure2017-02-27
| | | | | | | | | | | | | | Determines whether an action cache loaded after bazel daemon shutdown is accurate to prevent C++ recompilation. Demonstrates the validity of a28b540 and should prevent future regressions in the input discovery space for C++. Closes #2586. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2586 PiperOrigin-RevId: 148634934 MOS_MIGRATED_REVID=148634934
* Cleanup migration-only build variablesGravatar Marcel Hlopko2017-02-27
| | | | | | -- PiperOrigin-RevId: 148632169 MOS_MIGRATED_REVID=148632169
* Cleanup gitignore to ignore all /bazel-* directories.Gravatar John Cater2017-02-27
| | | | | | | | -- Change-Id: Ib75c9a2b86586efc07ff16dc44caa2e4f4e420c3 Reviewed-on: https://cr.bazel.build/9067 PiperOrigin-RevId: 148631186 MOS_MIGRATED_REVID=148631186
* Remove AbtractAction#getInputsForExtraAction() (the third time).Gravatar Lukacs Berki2017-02-27
| | | | | | | | | | This time, if the action discovers inputs, the extra action is made to depend on the outputs of the action so that by the time the extra action runs, the inputs of the original action are discovered. This avoids us having to think about the state the shadowed action may keep. Yes, actions should not keep state, but they do. Such is life. -- PiperOrigin-RevId: 148627715 MOS_MIGRATED_REVID=148627715
* Remove the deprecated com.google.devtools.build.lib.vfs.FileSystems classGravatar Ulf Adams2017-02-27
| | | | | | -- PiperOrigin-RevId: 148625618 MOS_MIGRATED_REVID=148625618
* More documentation for distributed caching and remote execution Gravatar Alpha Lam2017-02-27
| | | | | | | | | | | | | | Adds step by step documentation for remote caching feature and document how to run the remote execution demo. Fixes a small issue with interacting with WebDAV module of NGINX and Apache using --rest_cache_url feature. -- Change-Id: I5e98aa6707bf502eab0801ba637eae575ba26d42 Reviewed-on: https://cr.bazel.build/9031 PiperOrigin-RevId: 148546592 MOS_MIGRATED_REVID=148546592
* More stable naming scheme for lambda classes in desugared android codeGravatar Googler2017-02-27
| | | | | | | | RELNOTES: More stable naming scheme for lambda classes in desugared android code -- PiperOrigin-RevId: 148506830 MOS_MIGRATED_REVID=148506830
* Remove flag --experimental_j2objc_srcjar_processing, and always use the new ↵Gravatar Rumou Duan2017-02-27
| | | | | | | | J2ObjC source jar transpilation support. -- PiperOrigin-RevId: 148501938 MOS_MIGRATED_REVID=148501938
* Reword comment about the current implementation of ^.Gravatar Nathan Harmata2017-02-27
| | | | | | -- PiperOrigin-RevId: 148488719 MOS_MIGRATED_REVID=148488719
* RELNOTES: Activate the "dead_strip" feature if objc binary stripping is enabled.Gravatar Googler2017-02-27
| | | | | | -- PiperOrigin-RevId: 148484425 MOS_MIGRATED_REVID=148484425
* Fixes issue with ObjcCompileAction where extra action funcitonality is unableGravatar Googler2017-02-27
| | | | | | | | to generate extra action proto file. -- PiperOrigin-RevId: 148479293 MOS_MIGRATED_REVID=148479293
* Update depset constructor/method docsGravatar Jon Brandvein2017-02-27
| | | | | | -- PiperOrigin-RevId: 148469323 MOS_MIGRATED_REVID=148469323
* Remove shell highlighting which isn't supported by our version of jekyll. Gravatar John Cater2017-02-27
| | | | | | | | | | Fixes #2587. -- Change-Id: Ieaedd70c6b7561be3765fe41f81e3c3f388f9cc7 Reviewed-on: https://cr.bazel.build/9090 PiperOrigin-RevId: 148466063 MOS_MIGRATED_REVID=148466063