aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_rules
Commit message (Collapse)AuthorAge
* [go] Add attribute documentation.Gravatar David Chen2015-11-03
| | | | | -- MOS_MIGRATED_REVID=106918682
* Update links in Bazel docs to point to new BE pages.Gravatar David Chen2015-11-02
| | | | | | | Fixes #529 -- MOS_MIGRATED_REVID=106883457
* Don't overwrite existing __init__.py files in py_binary zipsGravatar Benjamin Staffin2015-10-30
| | | | | | | | | | | | This switches zip from "add" to "update" mode, and only adds __init__.py where it's not already present. Fixes: #542 -- Change-Id: Id65632d1448b403ad328e4a1619c0d4e8ebfdcb4 Reviewed-on: https://bazel-review.googlesource.com/#/c/2250 MOS_MIGRATED_REVID=106690985
* [rust] Add linker flags from cpp configuration.Gravatar David Chen2015-10-28
| | | | | -- MOS_MIGRATED_REVID=106459854
* Put all of pkg/ into the go toolchain, so it works on Darwin too.Gravatar Han-Wen Nienhuys2015-10-27
| | | | | -- MOS_MIGRATED_REVID=106418596
* Tweak styling of Skylark rule READMEs to be consistent when viewed onGravatar David Chen2015-10-23
| | | | | | | external site. -- MOS_MIGRATED_REVID=106135529
* Fix go toolchain reliance on the bazel src directoryGravatar Benjamin Staffin2015-10-22
| | | | | | | | | | | This follows the pattern used in tools/build_defs/d/BUILD and tools/build_rules/rust/BUILD, and makes it possible to use the golang rules in a workspace other than the Bazel source tree itself. -- Change-Id: I2b3cdb3a2cede84bea195bd6530efccbd4fe9714 Reviewed-on: https://bazel-review.googlesource.com/#/c/2190/ MOS_MIGRATED_REVID=106057033
* Add e2e test for Go support.Gravatar Han-Wen Nienhuys2015-10-20
| | | | | | | -- Change-Id: I6b76e1fe76ae8a640b2ab7d70cc8bfda50801b74 Reviewed-on: https://bazel-review.googlesource.com/#/c/2160 MOS_MIGRATED_REVID=105854761
* Use default_visibility instead of visibility in package()Gravatar Brian Silverman2015-10-13
| | | | | | | -- Change-Id: I81b4e688b8cf57b2e4a3078f3460c323acd65097 Reviewed-on: https://bazel-review.googlesource.com/#/c/2130 MOS_MIGRATED_REVID=105301546
* Make Bazel use tools that are embedded in its binary.Gravatar Lukacs Berki2015-10-12
| | | | | | | This requires changing all "//tools/language:target" implicit dependencies to "@tools//tools/language:target". -- MOS_MIGRATED_REVID=105193805
* Add Darwin toolchain to Go rules.Gravatar Han-Wen Nienhuys2015-10-12
| | | | | -- MOS_MIGRATED_REVID=105076173
* RELNOTES: Go rules for Bazel.Gravatar Han-Wen Nienhuys2015-10-09
| | | | | -- MOS_MIGRATED_REVID=105062625
* Add commons-lang artifact to the default appengine WORKSPACEGravatar Kristina Chodorow2015-10-09
| | | | | | | appengine.bzl depends on it, but it was missing. -- MOS_MIGRATED_REVID=104984668
* [rust] Add rust_bench_test and rust_doc_test rules and improve usability of ↵Gravatar David Chen2015-10-05
| | | | | | | | | | | | | | rust_test rule. * Add rust_bench_test rule to run benchmark tests * Add rust_doc_test rule to run Rust documentation tests. * Enable rust_test and rust_bench_test to depend directly on a rust_library target. * Rename rust_docs rule to rust_doc for consistency. RELNOTES: [rust] Add rust_bench_test and rust_doc_test rules and improve usability of rust_test tule. -- MOS_MIGRATED_REVID=104648497
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Add rust_docs ruleGravatar David Chen2015-09-24
| | | | | | | | | | | | Additional updates to Rust rules: * Consolidate BUILD files for Rust distribution. * Prevent rust_binary from depending directly on cc_library. * Update Rust version to 1.3.0 RELNOTES: [rust] Add rust_docs rule for generating rustdoc. -- MOS_MIGRATED_REVID=103827592
* Enable compression for Groovy and AppEngine rules.Gravatar Erik Kuefler2015-09-09
| | | | | | | -- Change-Id: I22c82e4a24839e0832cf5148e13fc6f0eafc0f2b Reviewed-on: https://bazel-review.googlesource.com/#/c/1952/ MOS_MIGRATED_REVID=102640555
* Fixes #414: Add rustc + libs to action inputs, add LD_LIBRARY_PATH so that ↵Gravatar Philipp Wollermann2015-09-08
| | | | | | | rustc finds its libs on Linux, too. -- MOS_MIGRATED_REVID=102362939
* Fix AppEngine build when sandboxed execution is enabledGravatar Damien Martin-Guillerez2015-09-03
| | | | | | | Some inputs were undeclared. -- MOS_MIGRATED_REVID=102238651
* Add missing tools directory in the filegroup to packageGravatar Damien Martin-Guillerez2015-09-03
| | | | | | | A lot of build rules weren't shiped in the Bazel binary because of those missing filegroups -- MOS_MIGRATED_REVID=102223626
* Get rid of javac warning spam when building java protos.Gravatar Nathan Harmata2015-09-02
| | | | | | | | | Idea courtesy of @pgr0ss. Fixes #416 -- MOS_MIGRATED_REVID=102161620
* Set DYLD_LIBRARY_PATH correctly for rustc.Gravatar David Chen2015-09-02
| | | | | -- MOS_MIGRATED_REVID=102121504
* Fix path for input fileGravatar Googler2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101485838
* Use sorted lists instead of sets for generated file list comparisonGravatar Googler2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101482632
* Ignore ordering for generated files checkGravatar Googler2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101470280
* 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
* 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
* 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
* Improve the JDK and JRE filegroups to include all the necessary parts. Then ↵Gravatar Philipp Wollermann2015-08-24
| | | | | | | fix the Skylark rules and tests that so far failed to declare dependencies on the JVM. -- MOS_MIGRATED_REVID=101215495
* Remove errant paths from crosstool test files.Gravatar Alex Humesky2015-08-20
| | | | | | | | | | | | | | | | | | | Also includes the following changes: Introduce a helper class for low-boilerplate time measurements and logging. -- Removed attribute "args" from java_test. -- Adds the arm64, mips, mips64, x86, and x86_64 toolchains in the Android NDK This adds the precited targets to the crosstools file generated by the android_ndk_repository rule. The crosstools support NDK revision r10e-rc4. RELNOTES: arm64, mips, mips64, x86, and x86_64 NDK toolchains added to android_ndk_repository in Bazel -- MOS_MIGRATED_REVID=100953441
* Updated some bazel files to reflect the new way of how configuration ↵Gravatar Florian Weikert2015-08-20
| | | | | | | fragments can be accessed. -- MOS_MIGRATED_REVID=100923388
* Add closure_library target to closure.WORKSPACE and update to the latest ↵Gravatar Kamil Jiwa2015-08-14
| | | | | | | versions of Closure Compiler and Closure Templates. -- MOS_MIGRATED_REVID=100681323
* Remove the Skylark data configuration accessor and the only repositoryGravatar Greg Estren2015-08-05
| | | | | | | | | | | use of that accessor. Data configuration access here complicates the first phase of dynamic configuration support. And the current use doesn't specifically need this configuration. We can always add support back in if there's demand. -- MOS_MIGRATED_REVID=99938987
* Restore Rust examples and add Rust rule tests that were inadvertently excluded.Gravatar David Chen2015-07-30
| | | | | -- MOS_MIGRATED_REVID=99464781
* Introduce trivial rust testsGravatar Francois-Rene Rideau2015-07-29
| | | | | -- MOS_MIGRATED_REVID=99378104
* Move BUILD file for Rust to tools/build_rules/rust.Gravatar David Chen2015-07-27
| | | | | -- MOS_MIGRATED_REVID=99163435
* Add tools dependencies for Rust rules.Gravatar David Chen2015-07-27
| | | | | | | TESTED=manual -- MOS_MIGRATED_REVID=99161344
* Skylark: Remove flags in attributesGravatar Laurent Le Brun2015-07-27
| | | | | -- MOS_MIGRATED_REVID=99025960
* Fix symlink test flagGravatar Kristina Chodorow2015-07-21
| | | | | | | -l isn't actually an option test takes. -- MOS_MIGRATED_REVID=98731906
* Improvements to skylark testsGravatar Francois-Rene Rideau2015-07-21
| | | | | | | | | | Debug the rule_test generates feature. Implement the rule_test provides feature, using regexp on the provider repr. Also, add docstrings and reformat to comply with Google python style guide. -- MOS_MIGRATED_REVID=98687673
* Rename the "unobfuscated" compilation level to "whitespace_only" to match ↵Gravatar Kamil Jiwa2015-07-13
| | | | | | | names used with Closure Compiler -- MOS_MIGRATED_REVID=98076079
* Exclude third-party tests from closure_library js_library.Gravatar Kamil Jiwa2015-07-10
| | | | | -- MOS_MIGRATED_REVID=97814117
* Global cleanup change.Gravatar Googler2015-07-10
| | | | | -- MOS_MIGRATED_REVID=97780353
* Added a deploy target to AppEngine supportGravatar Damien Martin-Guillerez2015-07-08
| | | | | | | | This target enable deploying to AppEngine directly. This change also use template_action instead of file_action for clarity. -- MOS_MIGRATED_REVID=97763347
* Basic dashboard for build resultsGravatar Kristina Chodorow2015-07-07
| | | | | -- MOS_MIGRATED_REVID=97675174
* Add support for externs files.Gravatar Kamil Jiwa2015-07-02
| | | | | -- MOS_MIGRATED_REVID=97334355
* Add a CSS library target for Closure Library CSS files.Gravatar Kamil Jiwa2015-07-01
| | | | | -- MOS_MIGRATED_REVID=97258889
* Add basic support for building Java AppEngine WARGravatar Damien Martin-Guillerez2015-06-29
| | | | | | | | This support is based on kchodorow@'s genrule to build the Bazel's dashboard AppEngine and was tested with it. -- MOS_MIGRATED_REVID=97135934
* Add Closure JS rules to Bazel.Gravatar Kamil Jiwa2015-06-23
| | | | | -- MOS_MIGRATED_REVID=96406988