aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
Commit message (Collapse)AuthorAge
...
* Generate proper filenames for .deb packagesGravatar Benjamin Staffin2015-11-24
| | | | | | | | | | | | | Various tools will break if deb filenames don't follow the right format. Retains a symlink from the <rulename>.deb to the new filename for compatibility. -- Change-Id: Ib8ba5b61fcbfe95469f0d9296a932b2a468bc4c2 Reviewed-on: https://bazel-review.googlesource.com/#/c/2290 MOS_MIGRATED_REVID=108590335
* Fix leftovers from copy/paste.Gravatar Nathan Harmata2015-11-20
| | | | | -- MOS_MIGRATED_REVID=108326014
* Rollback of commit 07475c7b3812d6194602213a69e6e9f70643b32a.Gravatar Damien Martin-Guillerez2015-11-20
| | | | | | | | | | | | *** Reason for rollback *** Roll-forward with fixes: - Tests were missing for xzcat - xz output was not supported - bz2 input was missing declaration -- MOS_MIGRATED_REVID=108325435
* Append '/' to the root prefix when missing for tar mergingGravatar Damien Martin-Guillerez2015-11-20
| | | | | | | Fixes #624. -- MOS_MIGRATED_REVID=108259228
* Update go_binary and go_test rules to copy files in the "data"Gravatar David Santiago2015-11-18
| | | | | | | | | | attribute to runfiles. Add shell-based unit test for runfile support by these rules. -- Change-Id: Ia97278059d104b9728d53aa75c0987fc3c47b640 Reviewed-on: https://bazel-review.git.corp.google.com/#/c/2265/ MOS_MIGRATED_REVID=108139011
* Tweak the bootstrapping and build process so that the prebuilt tools under ↵Gravatar Lukacs Berki2015-11-18
| | | | | | | | | tools/jdk are not necessary anymore. Fixes #508. -- MOS_MIGRATED_REVID=108123264
* Rollback of commit 976211dd45215a6146e0ab312186de0eaa955a75.Gravatar Googler2015-11-18
| | | | | | | | | | | | | | | | | *** Reason for rollback *** broke Speckle and Dataflow *** Original change description *** [docker] Print a clearer message when xzcat cannot be found and is needed Also use the default shell env for docker deb files. Fixes #611. -- MOS_MIGRATED_REVID=108105646
* When computing the transitive config fragments required by a target,Gravatar Greg Estren2015-11-18
| | | | | | | | | | | | | | | include Skylark-declared requirements (which use names instead of fragment class, e.g. "cpp" vs. CppConfiguration.class). Also add "cpp" to Skylark java_* definitions, since java_* rules are used to trigger LipoDataTransitions and thus expected to have a CppConfiguration fragment. Test coverage: skylark.BindTest with --experimental_dynamic_configs=1. (and other Skylark tests). -- MOS_MIGRATED_REVID=108041244
* More fixing breakage of the go rule tests.Gravatar Damien Martin-Guillerez2015-11-18
| | | | | | | The test itself is still failing. I don't understand why (seems to be the fixture that is wrong). -- MOS_MIGRATED_REVID=108038743
* [docker] Print a clearer message when xzcat cannot be found and is neededGravatar Damien Martin-Guillerez2015-11-18
| | | | | | | | | Also use the default shell env for docker deb files. Fixes #611. -- MOS_MIGRATED_REVID=108035989
* Fix breakage caused by visibility.Gravatar Damien Martin-Guillerez2015-11-17
| | | | | | | See build http://ci.bazel.io/job/Bazel/221/ -- MOS_MIGRATED_REVID=108032099
* Flesh out documentation for .NET rules. Minor formatting changes toGravatar David Z. Chen2015-11-17
| | | | | | | | | csharp.bzl. -- Change-Id: Ie2a98cafdd76a7d8994f25d280d18ec848732aaa Reviewed-on: https://bazel-review.googlesource.com/#/c/2320/ MOS_MIGRATED_REVID=107987176
* Apply the docker_build directory option to tars as well as files.Gravatar Googler2015-11-17
| | | | | | | | * It enables tar packages to be placed at "/usr/local", say, and removes the need for the current workaround of repackaging the original tars. -- MOS_MIGRATED_REVID=107983091
* [docker] Fixes parsing of data_path for './'Gravatar Damien Martin-Guillerez2015-11-17
| | | | | | | Fixes #604. -- MOS_MIGRATED_REVID=107972542
* Add missing load statement in docker_build documentationGravatar Damien Martin-Guillerez2015-11-17
| | | | | | | Fixes #603. -- MOS_MIGRATED_REVID=107959662
* Allow udeb as input of docker debsGravatar Damien Martin-Guillerez2015-11-17
| | | | | | | Fixes #618. -- MOS_MIGRATED_REVID=107957576
* Add srcs for Go rules.Gravatar Han-Wen Nienhuys2015-11-17
| | | | | -- MOS_MIGRATED_REVID=107939664
* Remove android:hasCode from AndroidManifest.xml in stubify_manifest.py.Gravatar Lukacs Berki2015-11-13
| | | | | | | | | Stubifying an app always injects the stub application, so the incremental APK will have code in it even if the original app didn't. This came about from #595 (it wouldn't have been reported if we did this) -- MOS_MIGRATED_REVID=107781748
* Fix some minor errors in the Groovy READMEGravatar Erik Kuefler2015-11-13
| | | | | | | -- Change-Id: Ibe3978cd85749f9dadbdfc6e0469a25325bd1b69 Reviewed-on: https://bazel-review.googlesource.com/#/c/2263/ MOS_MIGRATED_REVID=107689272
* Make groovy_binary implicitly depend on the groovy core language jar.Gravatar Erik Kuefler2015-11-13
| | | | | | | | | | | | It's not obvious that this is necessary when writing a simple Groovy class that doesn't directly reference anything from the Groovy runtime, but failure to include it will result in a mysterious failure to find the main class. This can trip people up who are writing simple Hello World apps. -- Change-Id: I8064e537293fa9218efa3ce351dbd693868d0242 Reviewed-on: https://bazel-review.googlesource.com/#/c/2264/ MOS_MIGRATED_REVID=107687283
* Fix tools/build_defs/pkg:build_testGravatar Damien Martin-Guillerez2015-11-11
| | | | | | | | | | This is a fallout from race between https://bazel-review.googlesource.com/#/c/2222/ and https://bazel-review.googlesource.com/#/c/2212/ -- MOS_MIGRATED_REVID=107512322
* Fix //tools/build_defs/docker:build_testGravatar Damien Martin-Guillerez2015-11-11
| | | | | | | This is a fallout of https://bazel-review.googlesource.com/#/c/2212/ -- MOS_MIGRATED_REVID=107496707
* Add dotnet csharp support to bazel.Gravatar Jeremy Wall2015-11-10
| | | | | | | | | Adds rules for csharp_binary, csharp_library, and csharp_nunit_test. -- Change-Id: I51e448a399c535554353b3f40bf090bb602f647f Reviewed-on: https://bazel-review.googlesource.com/#/c/2270/ MOS_MIGRATED_REVID=107399181
* Add xcrunwrapper to deal with DEVELOPER_DIR and SDKROOT.Gravatar Dave MacLachlan2015-11-06
| | | | | | | | | Replace uses of $SDKROOT and $DEVELOPER_DIR values in compile paths with __DEVELOPER_DIR__ and __SDKROOT__ to that xcrunwrapper can deal with them appropriately. RELNOTES:none -- MOS_MIGRATED_REVID=107259512
* Fix bash completion script location in the Debian packageGravatar Brian Silverman2015-11-06
| | | | | | | | | | | | It was ending up installed as /bazel. Also, the documented way of telling pkg_tar not to strip off the prefix didn't work. -- Change-Id: I593d17690526c614697369cab543aff1ba67de0a Reviewed-on: https://bazel-review.googlesource.com/#/c/2222/ MOS_MIGRATED_REVID=107229260
* Add xcrun support to ios_test.sh so that the simulator path isn't hardcoded.Gravatar Dave MacLachlan2015-11-05
| | | | | -- MOS_MIGRATED_REVID=107081793
* [scala] Add attribute documentation.Gravatar David Chen2015-11-05
| | | | | -- MOS_MIGRATED_REVID=107063684
* [groovy] Add missing </table> tag.Gravatar David Chen2015-11-04
| | | | | -- MOS_MIGRATED_REVID=106971971
* [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
* Create directories for all the files in tarballs.Gravatar Brian Silverman2015-11-02
| | | | | | | | | | dpkg fails to install packages without the directories listed before the files in the data tarball. -- Change-Id: I839ce82de5414d3bf6ed98ec81f576eddcc66bee Reviewed-on: https://bazel-review.googlesource.com/#/c/2212 MOS_MIGRATED_REVID=106693757
* Error out if no src files are provided to GroovyGravatar Erik Kuefler2015-11-02
| | | | | | | | | Otherwise you get groovyc's usage message spammed to stdout -- Change-Id: I04bcfd9166adb6c9287839035f025f93d805e738 Reviewed-on: https://bazel-review.googlesource.com/#/c/2251/ MOS_MIGRATED_REVID=106693428
* 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
* [jsonnet] Fix jsonnet_to_json rule to read code_vars from code_vars instead ↵Gravatar Googler2015-10-30
| | | | | | | | | of vars. RELNOTES: [jsonnet] Fix jsonnet_to_json rule to read code_vars from code_vars instead of vars. -- MOS_MIGRATED_REVID=106678289
* Allow any includes on the Mac for now.Gravatar Ulf Adams2015-10-30
| | | | | -- MOS_MIGRATED_REVID=106584736
* [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
* Set sharding and tmpdir environment variables for googletestGravatar Brian Silverman2015-10-22
| | | | | | | | | | The patch for googletest to prefer GTEST_TMP_DIR is google/googletest#619 and should be merged soon. -- Change-Id: If48220e8e1e4e78a8768aeb14b5b58e4f246c8c3 Reviewed-on: https://bazel-review.googlesource.com/#/c/2170/ MOS_MIGRATED_REVID=106043714
* [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code.Gravatar David Chen2015-10-22
| | | | | | | RELNOTES: [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code. -- MOS_MIGRATED_REVID=106040951
* Include memleaks plugin support for experimental_ios_testGravatar Chris Parsons2015-10-21
| | | | | -- MOS_MIGRATED_REVID=105876178
* 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 java_import for pre-compiled jarsGravatar Liam Miller-Cushon2015-10-20
| | | | | -- MOS_MIGRATED_REVID=105760024
* Add Spock support to Groovy rules.Gravatar Erik Kuefler2015-10-16
| | | | | | | | | | | | | Spock is a popular unit testing framework for Java and Groovy applications, see https://code.google.com/p/spock/ for details. This build rule is just a wrapper around java and groovy libraries and tests that makes it convenient to define a spock-based test using a single BUILD target containing the test specs and any supporting Groovy and Java code. -- Change-Id: Ia70346a87762f89d587310cf9578daa9d7d9f34a Reviewed-on: https://bazel-review.googlesource.com/#/c/2010/ MOS_MIGRATED_REVID=105529540
* [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to allow ↵Gravatar David Chen2015-10-13
| | | | | | | | | passing external variables to Jsonnet via --var and --code_var. RELNOTES: [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to allow passing external variables to Jsonnet via --var and --code_var. -- MOS_MIGRATED_REVID=105305323
* [jsonnet] Update to Jsonnet 0.8.1Gravatar David Chen2015-10-13
| | | | | | | RELNOTES: [jsonnet] Update to Jsonnet 0.8.1. -- MOS_MIGRATED_REVID=105303487
* Tweak the BUILD file for Damien's .deb rules so that they depend on gflags ↵Gravatar Lukacs Berki2015-10-13
| | | | | | | properly. -- MOS_MIGRATED_REVID=105301992
* 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
* Added an example that uses resources to scala/test.Gravatar John Sullivan2015-10-13
| | | | | | | -- Change-Id: Icd13926ff293c0db36d7731e0d961eb42bbaca6d Reviewed-on: https://bazel-review.googlesource.com/#/c/2122/1 MOS_MIGRATED_REVID=105217047