aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* --Gravatar Damien Martin-Guillerez2016-12-21
| | | | | PiperOrigin-RevId: 142666783 MOS_MIGRATED_REVID=142666783
* Remove --experimental_disable_native_swift_rules flag.Gravatar Dmitry Shevchenko2016-12-21
| | | | | | -- PiperOrigin-RevId: 142666176 MOS_MIGRATED_REVID=142666176
* Increases stack memory to 4m when executing j2objc to match what Blaze usesGravatar Googler2016-12-21
| | | | | | | | when compiling Java sources. -- PiperOrigin-RevId: 142665504 MOS_MIGRATED_REVID=142665504
* Bazel tests: fix j/c/g/.../lib:windows-testsGravatar Laszlo Csomor2016-12-21
| | | | | | -- PiperOrigin-RevId: 142664504 MOS_MIGRATED_REVID=142664504
* Allow url & output arguments to be namedGravatar Kristina Chodorow2016-12-21
| | | | | | | | This makes the skylark repository rules a little more flexible. -- PiperOrigin-RevId: 142663731 MOS_MIGRATED_REVID=142663731
* Bazel client, Windows: implement ReadFileGravatar Laszlo Csomor2016-12-21
| | | | | | | | | | | | | | | | Implement blaze_util::ReadFile on top of the ::ReadFile Windows API function. Also implement blaze_util::AsWindowsPath so we can convert MSYS paths to Windows widechar paths. Add tests. See https://github.com/bazelbuild/bazel/issues/2107 -- PiperOrigin-RevId: 142659955 MOS_MIGRATED_REVID=142659955
* Bazel client, POSIX test: fix compilation errorGravatar Laszlo Csomor2016-12-21
| | | | | | -- PiperOrigin-RevId: 142654978 MOS_MIGRATED_REVID=142654978
* Include ObjcProvider in generated Skylark documentation.Gravatar Florian Weikert2016-12-21
| | | | | | | | Fixes #1768 -- PiperOrigin-RevId: 142654511 MOS_MIGRATED_REVID=142654511
* Remove some unused third party JARs.Gravatar Adam Michael2016-12-21
| | | | Change-Id: I39e19a968b068ca5c0a9b95b56ca7df00e4ee97c
* Remove broken and unused third party target.Gravatar Adam Michael2016-12-21
| | | | Change-Id: I15e4514ce50479c733242bdec0560fd2c81e9950
* fix use of test: && is a GNU extensionGravatar Klaus Aehlig2016-12-21
| | | | | | | | -- Change-Id: I7a88e72ac6645b17a89b4cee038e06f6ffda1df9 Reviewed-on: https://cr.bazel.build/8041 PiperOrigin-RevId: 142652919 MOS_MIGRATED_REVID=142652919
* Bazel client: remove blaze_util::WhichGravatar Laszlo Csomor2016-12-21
| | | | | | | | | This is only used in blaze_util_linux so move the method there. -- PiperOrigin-RevId: 142652521 MOS_MIGRATED_REVID=142652521
* Fix GNUism in the use of touchGravatar Klaus Aehlig2016-12-21
| | | | | | | | | | | | The --date long option is a GNU extension of the touch(1) tool. Replace by the equivalent standard option, to have the test not break on other systems, like darwin. -- Change-Id: I73d935a82d20d7c3a0308aedaa5faf76bf0d206c Reviewed-on: https://cr.bazel.build/8040 PiperOrigin-RevId: 142651354 MOS_MIGRATED_REVID=142651354
* Bazel client; implement NormalizePathGravatar Laszlo Csomor2016-12-21
| | | | | | | | | | | | | | | | | | | | | | | | This method can normalize paths with "." and ".." and multiple "/" characters. E.g. normalize("../foo/./bar/../baz") = "foo/baz" This method enables us implementing PathExists on Windows. If the path to check is too long, we need to prefix it with "\\?\" for the Windows API functions to work, but then the path must be fully normalized and in Windows format. We already have functions to convert a path to Windows format but that doesn't normalize; with this function we can finally convert paths like "/c/foo/../bar" to L"\\?\c:\foo" and check if it exists. See https://github.com/bazelbuild/bazel/issues/2107 See https://github.com/bazelbuild/bazel/issues/2181 -- PiperOrigin-RevId: 142648194 MOS_MIGRATED_REVID=142648194
* Propagate along the "test" attribute of web_test.Gravatar Googler2016-12-21
| | | | | | -- PiperOrigin-RevId: 142625447 MOS_MIGRATED_REVID=142625447
* Update the Bazel docs for java_binary and java_test to give more information ↵Gravatar Googler2016-12-21
| | | | | | | | on how the "launcher" attribute affects builds. -- PiperOrigin-RevId: 142619261 MOS_MIGRATED_REVID=142619261
* Remove dead code referencing deleted "suites" attribute.Gravatar Greg Estren2016-12-21
| | | | | | | | | This used to be how test_suites depended on other test_suites. Now they just go in "tests". -- PiperOrigin-RevId: 142607603 MOS_MIGRATED_REVID=142607603
* Introduce a distinguisher for cpu value as set in --experimental_multi_cpu.Gravatar Cal Peyser2016-12-21
| | | | | | | | | This is required for a configuration transtion to set cpu. Without a distinguisher, such a transition will lead to two identical configurations. -- PiperOrigin-RevId: 142603930 MOS_MIGRATED_REVID=142603930
* Global cleanup change.Gravatar Kristina Chodorow2016-12-21
| | | | | | -- PiperOrigin-RevId: 142596233 MOS_MIGRATED_REVID=142596233
* Cast to ConfiguredTarget instead of AbstractConfiguredTarget for obtaining ↵Gravatar Chris Parsons2016-12-21
| | | | | | | | | | the target type This allows us to correctly analyze the type of alias targets -- PiperOrigin-RevId: 142582188 MOS_MIGRATED_REVID=142582188
* Enable threaded Whole Module OptimizationGravatar Dmitry Shevchenko2016-12-21
| | | | | | | | * This seems to fix an issue with dsymutil and lldb not getting correct debug maps out of binaries built with WMO enabled. -- PiperOrigin-RevId: 142578572 MOS_MIGRATED_REVID=142578572
* Set last modified time when files are extractedGravatar Kristina Chodorow2016-12-21
| | | | | | | | Part of rolling forward commit b9f914fa56a00530d38b597dc853aad50d1decfb. -- PiperOrigin-RevId: 142576787 MOS_MIGRATED_REVID=142576787
* Rollback of commit e0a330577d9fe98169645cb68d9fc22cc787eeb6.Gravatar Janak Ramakrishnan2016-12-21
| | | | | | | | | | *** Reason for rollback *** Investigating if causes deadlock/thread starvation. -- PiperOrigin-RevId: 142575769 MOS_MIGRATED_REVID=142575769
* Delete Bazel local version ResourceShrinker.java.Gravatar Andrew Pellegrini2016-12-21
| | | | | | -- PiperOrigin-RevId: 142573704 MOS_MIGRATED_REVID=142573704
* Power supportGravatar Nishidha Panpaliya2016-12-21
| | | | | | | | | Closes #2139. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2139 PiperOrigin-RevId: 142570236 MOS_MIGRATED_REVID=142570236
* Clean-up of the integration test environmentGravatar Damien Martin-Guillerez2016-12-21
| | | | | | | | -- Change-Id: I670a89eac5622c38415a76bc74343ff53178c511 Reviewed-on: https://cr.bazel.build/7970 PiperOrigin-RevId: 142570044 MOS_MIGRATED_REVID=142570044
* Reactivate bazel_coverage_testGravatar Damien Martin-Guillerez2016-12-21
| | | | | | | | | | | | | This test was deactivated due to #2227 but the recent fix in our coverage tooling actually fixed the test to. Fixes #2227. -- Change-Id: I3e0e979c57cd198252cbe14369971027630bac66 Reviewed-on: https://cr.bazel.build/8038 PiperOrigin-RevId: 142564037 MOS_MIGRATED_REVID=142564037
* Revert "Revert "Fix repositories to use 'BUILD.bazel' as the name for the ↵Gravatar John Cater2016-12-21
| | | | | | | | | | | | symlinked/new build file, which has less changes of causing conflicts. Fixes #2226."" This reverts commit fa3f55a8785c28253b2f836ddc84e994e48edd7f. -- Change-Id: Ife393ebf4966cfaf2a487c80c67a781ca7ee69b0 Reviewed-on: https://cr.bazel.build/8051 PiperOrigin-RevId: 142555911 MOS_MIGRATED_REVID=142555911
* Disable sandboxing for XibCompile actions.Gravatar Philipp Wollermann2016-12-21
| | | | | | | | | | Fixes #2189. The other idea of making the path that ibtoold wants to write to read-write in the sandbox strategy didn't seem to help (but I don't know why) - it randomly works or doesn't work, with or without that change. -- PiperOrigin-RevId: 142553982 MOS_MIGRATED_REVID=142553982
* Fix typo in test nameGravatar Klaus Aehlig2016-12-20
| | | | | | | | | | | | | While names of tests do no matter for the actual testing process, people often look for tests matching certain names; so they miss that test if it does not contain "bootstrap" (spelled correctly) in the name. -- Change-Id: Idba6c378e568c77d5010d8733c621168af2a68c6 Reviewed-on: https://cr.bazel.build/8039 PiperOrigin-RevId: 142546670 MOS_MIGRATED_REVID=142546670
* Fix the tool mocking for Java code coverageGravatar Damien Martin-Guillerez2016-12-20
| | | | | | | | | | | The recent fixes in Java coverage changed the place of the code coverage tooling but did not updated the BazelAnalysisMock. -- Change-Id: I2badeeb2944753bc6de720986a8e36bb6f42d31c Reviewed-on: https://cr.bazel.build/8037 PiperOrigin-RevId: 142546324 MOS_MIGRATED_REVID=142546324
* Add customized path mounting in Bazel sandbox.Gravatar Xin Gao2016-12-20
| | | | | | | | | | RELNOTES: New flag --sandbox_add_mount_pair to specify customized source:target path pairs to bind mount inside the sandbox. -- Change-Id: Ifbacfc0e16bbaedcf5b6d3937799710f2cfa3d58 Reviewed-on: https://cr.bazel.build/7150 PiperOrigin-RevId: 142542381 MOS_MIGRATED_REVID=142542381
* Debian repository: override section and priority fieldsGravatar Damien Martin-Guillerez2016-12-20
| | | | | | | | | | | | | | | | | | Those field are not added to the dsc file and reprepro has started failing. Reproducing the whole set-up is almost impossible so I am sending this and will trigger a test release. Also use release label instead of release name so we get the rc number (for some reason this was not included in previous release). Fixes #2256. To be cherry-picked for #2246 -- Change-Id: Ia0b879a24f1288cbbbb843013d41725fb1ddb569 Reviewed-on: https://cr.bazel.build/8032 PiperOrigin-RevId: 142537787 MOS_MIGRATED_REVID=142537787
* Fix cycle in dependency graph during bootstrapGravatar Damien Martin-Guillerez2016-12-20
| | | | | | | | | | | | | | | | This cycle was due to JacocoCoverage_deploy.jar being an implicit dependency of java_binary. We do not need the binary during bootstrap because we are not running with coverage but we need the target. Simply move it to exists as a java_import in tools/jdk. Fixes #2269. To be cherry-picked for #2246. -- Change-Id: I63aee0e76b305833ac0c0c2cae5abe1cbad5e6d1 Reviewed-on: https://cr.bazel.build/8036 PiperOrigin-RevId: 142537244 MOS_MIGRATED_REVID=142537244
* WindowsFileSystem: use JNI impl. of isJunctionGravatar Laszlo Csomor2016-12-20
| | | | | | | | | | | | | | | | | | | Also build the JNI library while bootstraping. This was once submitted in commit 4a249b6962d32ed4cfd4165dfdae4a555b00bb69 but got rolled back due to some test breakage that's long since fixed. In this change I'm slightly modifying the original code in compile.sh. Using JNI methods however is necessary because we can't implement WindowsFileOperations.GetLongPath in native Java, and having that code is a prerequisite for the fix of https://github.com/bazelbuild/bazel/issues/2145 See also https://github.com/bazelbuild/bazel/issues/2238 -- PiperOrigin-RevId: 142535019 MOS_MIGRATED_REVID=142535019
* Gives detailed error message when fail to re-create directories during ↵Gravatar Yue Gan2016-12-20
| | | | | | | | | | testing. Also fixes bazel_test_test. Fixes #2228. -- PiperOrigin-RevId: 142532524 MOS_MIGRATED_REVID=142532524
* Bazel client, Windows: implement AsWindowsPathGravatar Laszlo Csomor2016-12-20
| | | | | | | | | | | | | | | | | | | | This method converts MSYS paths to Windows path. It uses the BAZEL_SH envvar to obtain the MSYS root directory, to which all Unix paths (except for mounts) are relative. We cannot handle mounts because we don't want to read /etc/mtab every time there's a file operation so we simply apply a heuristic similar to https://github.com/bazelbuild/bazel/blob/cd4cc09fa6ef96380a3d0888f825dfd1dbada651/src/main/java/com/google/devtools/build/lib/vfs/WindowsFileSystem.java#L52-L63 Also clean up the #ifdefs surrounding SyncFile. See https://github.com/bazelbuild/bazel/issues/2107 -- PiperOrigin-RevId: 142531986 MOS_MIGRATED_REVID=142531986
* Revert "Revert "Fix scripts/packages/convert_changelog to read the changelog ↵Gravatar Damien Martin-Guillerez2016-12-20
| | | | | | | | | | | | | | | | correctly"" Roll-forward with fix: the original change did not produced any changelog if this was not a release branch, use a default, empty one in that case. The debian version number will then be LAST_VERSION~HEAD This reverts commit e4cf9aa8b63173326cfe72ba76be4303bc038def. -- Change-Id: I9e19b1132570ea20d90053734418f2703b1a641e Reviewed-on: https://cr.bazel.build/7976 PiperOrigin-RevId: 142525180 MOS_MIGRATED_REVID=142525180
* Release script: if master branch does not exist, fall back on origin/masterGravatar Damien Martin-Guillerez2016-12-20
| | | | | | | | | | | | | | | On ci.bazel.io local branch names are not set, so the release script was not finding information about the master branch. If the master ref does not exist, this change fall backs to looking at origin/master instead. Fixes #2263. To be cherry-picked for #2246. -- Change-Id: Ibe4f3533e529d79917233d89951f88cb58d14ce3 Reviewed-on: https://cr.bazel.build/8033 PiperOrigin-RevId: 142524954 MOS_MIGRATED_REVID=142524954
* Fix release notes in emailsGravatar Damien Martin-Guillerez2016-12-20
| | | | | | | | | | To be cherry-picked for #2246. -- Change-Id: I50bbd7dc00e4305f36d9a2a3a8841d6d9bcd2bd7 Reviewed-on: https://cr.bazel.build/8034 PiperOrigin-RevId: 142524920 MOS_MIGRATED_REVID=142524920
* Avoids NullPointerException when running `bazel coverage //:xxx`, since ↵Gravatar Yue Gan2016-12-20
| | | | | | | | | | PathFragment.getParentDirectory() may return null. Fixes #2212. Also adds coverage-specific attributes to the java_binary rule. -- PiperOrigin-RevId: 142516883 MOS_MIGRATED_REVID=142516883
* Allow ResourceShrinkerAction to support splits.Gravatar Michael Staib2016-12-20
| | | | | | | | | | This is needed to support both shrinking and splitting at the same time, which will become the default for any android_binary which has splits defined on it once shrinking becomes default (if it hasn't already). -- PiperOrigin-RevId: 142497302 MOS_MIGRATED_REVID=142497302
* Update call sites to FileWriteAction to use the ↵Gravatar Jon Brandvein2016-12-20
| | | | | | | | | | --experimental_transparent_compression flag Also add test to ensure lazy strings aren't forced. -- PiperOrigin-RevId: 142496520 MOS_MIGRATED_REVID=142496520
* Remove usages of build_tools_version attribute.Gravatar Adam Michael2016-12-20
| | | | | | -- PiperOrigin-RevId: 142494003 MOS_MIGRATED_REVID=142494003
* Cleanup FileWriteAction and add a flag that will guard transparent compressionGravatar Jon Brandvein2016-12-20
| | | | | | | | This clarifies documentation, renames or rearranges constructors, and defines a BuildConfiguration option that will be made to control transparent compression in a follow-up CL. The follow-up updates call sites to use the new create() factory method. -- PiperOrigin-RevId: 142491333 MOS_MIGRATED_REVID=142491333
* Make android_sdk_repository build_tools_version attribute optional.Gravatar Adam Michael2016-12-20
| | | | | | | | | | | | If none is specified, the highest version installed in <sdk>/build-tools/ will be used. RELNOTES: android_sdk_repository build_tools_version is now optional. The highest installed build-tools will be used if none is specified. -- PiperOrigin-RevId: 142490569 MOS_MIGRATED_REVID=142490569
* Update Bazel third_party android_common library to include lint-checks and ↵Gravatar Andrew Pellegrini2016-12-20
| | | | | | | | lint-api. -- PiperOrigin-RevId: 142489545 MOS_MIGRATED_REVID=142489545
* Clarify potentially confusing documentation relating to blaze server processes.Gravatar Shreya Bhattarai2016-12-20
| | | | | | -- PiperOrigin-RevId: 142489262 MOS_MIGRATED_REVID=142489262
* Switch Bazel to use ResourceUsageAnalyzer.java instead of ResourceShrinker.java.Gravatar Andrew Pellegrini2016-12-19
| | | | | | -- PiperOrigin-RevId: 142484589 MOS_MIGRATED_REVID=142484589
* Rollback of commit b9f914fa56a00530d38b597dc853aad50d1decfb.Gravatar Kristina Chodorow2016-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks CI "Parameter 'url' has no default value", see http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=linux-x86_64/1104/console. *** Original change description *** Make Bazel build dot This change has several parts, it: * Adds a "make" repository rule, which runs ./configure && make on a repository. * Modifies the tar.gz decompressor to restore timestamps. This was an issue with dot, as make examines the timestamp to determine if files need to be rebuilt. Because Bazel was not preserving the archive's timestamp, it was rebuilding things that it did not need to (and, I think, exposed some bugs in dot's Makefile). * Actually add dot as an externa... *** -- PiperOrigin-RevId: 142469299 MOS_MIGRATED_REVID=142469299