aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* Fix tree pruning inside enum constantsGravatar Liam Miller-Cushon2016-11-11
| | | | | -- MOS_MIGRATED_REVID=138831285
* Update package lookup to check for files named BUILD.bazel before files namedGravatar John Cater2016-11-11
| | | | | | | | | | | BUILD. Fixes #552. RELNOTES[NEW]: Packages are defined in BUILD.bazel as well as BUILD files. -- MOS_MIGRATED_REVID=138828981
* Add documentation that configuration is required when attribute is executable.Gravatar Googler2016-11-11
| | | | | -- MOS_MIGRATED_REVID=138822436
* Global cleanup change.Gravatar Googler2016-11-11
| | | | | -- MOS_MIGRATED_REVID=138816624
* When bootstrapping Bazel, use a proto-compiler from ↵Gravatar Carmi Grushko2016-11-11
| | | | | | | | | | | | | //third_party/protobuf/3.0.0/. The issue is that the proto-compiler in third_party/protobuf/ (not 3.0.0/) is actually 3.0.0-beta4, which lacks support for proto maps. This CL will be followed by the removal of the binaries in third_party/protobuf/. This is a temporary workaround to allow me to submit code that uses proto maps. -- MOS_MIGRATED_REVID=138815162
* Remove all node specific set-up from the Windows CI compile scriptGravatar Damien Martin-Guillerez2016-11-11
| | | | | | | | | Those set-up have been moved to the Jenkins job or simply removed. -- Change-Id: Ib687ad4ab682d81f94ea2eadacf3d145c9fcfe14 Reviewed-on: https://bazel-review.googlesource.com/7332 MOS_MIGRATED_REVID=138789683
* Blacklists for proto_lang_toolchain() no longer have to be proto_library's.Gravatar Carmi Grushko2016-11-11
| | | | | | | | | | The intention is to use filegroup's instead. The motivation is to avoid materializing the transitive srcs of a proto_library, which might be large. Using a filegroup makes it explicit that we only take the listed files into account. RELNOTES: Blacklists for proto_lang_toolchain() no longer have to be proto_library's. -- MOS_MIGRATED_REVID=138784908
* Make unittest.bash fill in testsuite infoGravatar Kristina Chodorow2016-11-11
| | | | | | | | | | It was copying $XML to $XML.bak, then piping the output of that (the empty string) through the seds. Relevant to #2070. -- MOS_MIGRATED_REVID=138783941
* Add a mechanism for bounding the number of Packages SkyQueryEnvironment's ↵Gravatar Nathan Harmata2016-11-11
| | | | | | | expensive parallel operations can operate on at once. -- MOS_MIGRATED_REVID=138779172
* Stop running chained dead code removal commands if one of them fails.Gravatar Rumou Duan2016-11-11
| | | | | | | Also stop silently creating empty archives if the output archives do not exist (!). -- MOS_MIGRATED_REVID=138778978
* Make testonly checking work through aliases.Gravatar Lukacs Berki2016-11-11
| | | | | | | Fixes #2067. -- MOS_MIGRATED_REVID=138762258
* On ci, bootstrap from a bootstrap bazelGravatar Klaus Aehlig2016-11-10
| | | | | | | | | | | | | | With the implementation of the distribution-artifact design, calling ./compile.sh on a git checkout won't work any more unless you already have the correct version of the protoc installed. To prepare for that, and to also keep the maintenance burden for the ci slaves low, we build bazel on the ci machines with the latest release of bazel as bootstrap bazel. -- Change-Id: I18953489cc7282586d6d0a3911ec94e11215a540 Reviewed-on: https://bazel-review.googlesource.com/#/c/6771 MOS_MIGRATED_REVID=138761693
* Fix a bunch of typosGravatar Jon Brandvein2016-11-10
| | | | | -- MOS_MIGRATED_REVID=138757881
* Test Encyclopedia: fix duplicate entriesGravatar Laszlo Csomor2016-11-10
| | | | | -- MOS_MIGRATED_REVID=138752213
* Bazel client: wrap some POSIX functionsGravatar Laszlo Csomor2016-11-10
| | | | | | | | | | | | | | This change: - starts using blaze_util::CanAccess and blaze_util::PathExists instead of access(2) - implements and starts using blaze_util::GetCwd instead of getcwd(2) - implements and starts using blaze_util::ChangeDirectory instead of chdir(2) - adds tests for the new wrapper methods -- MOS_MIGRATED_REVID=138750297
* Add AutoValue 1.4-rc1 to Bazel.Gravatar Carmi Grushko2016-11-10
| | | | | | | Actually using it will be done in a separate commit, as is removing the old versions. Change-Id: I049d63da3c5c206278c7d708ccb687dc78e6ea34
* Add type annotations for the benefit of Java 7Gravatar Klaus Aehlig2016-11-10
| | | | | | | -- Change-Id: Iac9d4202e83853d9c796e517847131de3ca7c5e2 Reviewed-on: https://bazel-review.googlesource.com/#/c/7331 MOS_MIGRATED_REVID=138743393
* Add comment to EnvironmentVariable proto to make it clear that values are ↵Gravatar Googler2016-11-10
| | | | | | | not quoted or escaped. -- MOS_MIGRATED_REVID=138717385
* Change error message to reflect broader syntax for assignmentsGravatar Jon Brandvein2016-11-10
| | | | | -- MOS_MIGRATED_REVID=138700111
* Adds obfuscated constant string implicit output.Gravatar Googler2016-11-10
| | | | | -- MOS_MIGRATED_REVID=138695951
* Introduce MultisetSemaphore: A concurrency primitive for managing access to ↵Gravatar Nathan Harmata2016-11-10
| | | | | | | at most K unique things at once. -- MOS_MIGRATED_REVID=138684040
* Migrate ActionOwner to @AutoValue.Gravatar Carmi Grushko2016-11-10
| | | | | -- MOS_MIGRATED_REVID=138680612
* Fix NPE when maven_jar sha1 isn't set and caching is enabledGravatar Kristina Chodorow2016-11-10
| | | | | -- MOS_MIGRATED_REVID=138669967
* --Gravatar Jon Brandvein2016-11-10
| | | | MOS_MIGRATED_REVID=138643916
* Bazel FAQ: update information about WindowsGravatar Laszlo Csomor2016-11-10
| | | | | -- MOS_MIGRATED_REVID=138636874
* Increase shard size for ↵Gravatar Klaus Aehlig2016-11-09
| | | | | | | | | | | //src/test/java/com/google/devtools/build/lib:analysis_test ...to avoid occasional timeout failures on CI. -- Change-Id: I176b5265284ffd89bcbe85c74b2a5bdc43857c6d Reviewed-on: https://bazel-review.googlesource.com/#/c/7224 MOS_MIGRATED_REVID=138628567
* Implemented default providerGravatar Vladimir Moskva2016-11-09
| | | | | -- MOS_MIGRATED_REVID=138625702
* Remove the dependency on AutoValue from the Java test runner so that it ↵Gravatar Lukacs Berki2016-11-09
| | | | | | | | | doesn't conflict with whatever AutoValue version the code under test has. Fixes #2044. -- MOS_MIGRATED_REVID=138618191
* Rollback of commit ed792bc4a99bb8125f28ce6f614b49e9e28be91e.Gravatar Klaus Aehlig2016-11-09
| | | | | | | | | | | | | | | *** Reason for rollback *** Broke bazel with java 7 see http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/982/ *** Original change description *** Have Bazel use the the prebuilt guava jars from the 21.0-20161101 daily build. See https://bazel-review.googlesource.com/#/c/7270/ for details (do not submit until that commit occurs). -- MOS_MIGRATED_REVID=138618115
* blaze_utils: fork file handling for platformsGravatar Laszlo Csomor2016-11-09
| | | | | | | | | | | | | | | | | | | This commit repurposes file_posix.cc to be the POSIX API file handling implementation, and adds file_windows.cc for the Win32 API implementations. Furthermore it introduces file_platform.h that declares the interface. Subsequent changes will replace POSIX API calls in the rest of the C++ code with these abstract methods. Motivation: our code is so littered with POSIX-isms that we need an abstraction layer if we hope to compile it with MSVC. -- MOS_MIGRATED_REVID=138615822
* Windows, bazel client: compile more with MSVCGravatar Laszlo Csomor2016-11-09
| | | | | | | | | | | | In this commit: - update GetOutputRoot with a MSVC-specific code path, plus add more env vars to check for the temp directory path in the MSYS-specific code path - add error handling to GetSelfPath -- MOS_MIGRATED_REVID=138611621
* Creates maven_aar rule to generate aar_import for AARs from Maven.Gravatar Adam Michael2016-11-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/bazelbuild/bazel/issues/561. To use this rule, you will need to include the following line in your WORKSPACE file: load("@bazel_tools//tools/build_defs/repo:maven_rules.bzl", "maven_aar") After that, you can use the maven_aar repository rule in your WORKSPACE file as such: maven_aar( name = "facebook_android_sdk", artifact = "com.facebook.android:facebook-android-sdk:3.19.0", ) Then in your BUILD files, your android_library and android_binary targets can depend on the AAR with the following syntax: android_binary( name = "my_app", ... deps = [ "@facebook_android_sdk//aar", ... ], ) The resources, classes and native libs from the AAR will be provided. Note however that some features of AAR files are not yet supported, including assets, Proguard maps and lint jars. -- MOS_MIGRATED_REVID=138575421
* When --experimental_extra_action_top_level_only, Bazel to report ↵Gravatar Carmi Grushko2016-11-09
| | | | | | | | | | | extra-actions for actions registered by Aspects injected by a top-level rule. Because we can't know whether an aspect was injected by a top-level target or one of its children, we approximate it by only reporting extra-actions from Aspects that the top-level target could have injected. RELNOTES: When --experimental_extra_action_top_level_only, Bazel reports extra-actions for actions registered by Aspects injected by a top-level rule (approximately). -- MOS_MIGRATED_REVID=138570606
* Add SkylarkAspect to SkylarkRuleContext for aspectsGravatar Dmitry Lomov2016-11-09
| | | | | -- MOS_MIGRATED_REVID=138556910
* Have Bazel use the the prebuilt guava jars from the 21.0-20161101 daily ↵Gravatar Nathan Harmata2016-11-09
| | | | | | | build. See https://bazel-review.googlesource.com/#/c/7270/ for details (do not submit until that commit occurs). -- MOS_MIGRATED_REVID=138553338
* Precompute the universe key in SkyQueryEnvironment. Since it's a function of ↵Gravatar Janak Ramakrishnan2016-11-09
| | | | | | | the scope and the parser prefix, both of which are final, it never changes. -- MOS_MIGRATED_REVID=138536185
* Loosen visibility and finality of *QueryEnvironment fields.Gravatar Janak Ramakrishnan2016-11-09
| | | | | -- MOS_MIGRATED_REVID=138534021
* Fall back to the transitive classpath for -Xdoclint:reference errorsGravatar Liam Miller-Cushon2016-11-09
| | | | | | | | -Xlintdoc:reference causes javac to load symbols referenced in javadoc, which may fail with the reduced classpath optimization enabled. -- MOS_MIGRATED_REVID=138529301
* Prepare ExtraActionInfo to expose information about Aspects, when they are ↵Gravatar Carmi Grushko2016-11-09
| | | | | | | owners of actions. -- MOS_MIGRATED_REVID=138522535
* Rollback of commit b91fac3b1f0f5142a906aa12280de936f29fb607.Gravatar Luis Fernando Pino Duque2016-11-09
| | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks several tests under //devtools/ide/eclipse/aspects as shown by the nightly []: [] *** Original change description *** Restrict google_glob_information to eclipse_aspect. '--legacy_expose_globs' flag has no effect now. -- MOS_MIGRATED_REVID=138517258
* Make aar_embedded_jar_extractor.py not try to recreate the output directory.Gravatar Adam Michael2016-11-09
| | | | | -- MOS_MIGRATED_REVID=138516288
* Upload the prebuilt guava jars from the 21.0-20161101 daily build.Gravatar Nathan Harmata2016-11-08
| | | | | | | | | | | | | | | | | | | | | | | | | (downloaded from https://oss.sonatype.org/content/repositories/snapshots/com/google/guava/guava-testlib/21.0-SNAPSHOT/), in order to get https://github.com/google/guava/commit/ef386251e5cc485fb72890fff67830340635e44b. nharmata@nharmata1:~/bazel$ grep InternerBuilder third_party/guava/guava-19.0.jar nharmata@nharmata1:~/bazel$ grep InternerBuilder third_party/guava/guava-21.0-20161101.jar Binary file third_party/guava/guava-21.0-20161101.jar matches nharmata@nharmata1:~/bazel$ I want to use the new InternerBuilder api in Bazel. nharmata@nharmata1:~/bazel$ md5sum third_party/guava/*.jar b31066276b1352cf720254b3d1342b11 third_party/guava/guava-21.0-20161101.jar 16def9388e9482eee2454a7f9d019697 third_party/guava/guava-testlib-21.0-20161101.jar nharmata@nharmata1:~/bazel$ Change-Id: I7784acaf1c194a78a073eb37d18787326dbb2293
* Allow .lib as cpp static library extensionGravatar Yun Peng2016-11-08
| | | | | | | -- Change-Id: I908020889a0c573af401d67e988c41d33c654015 Reviewed-on: https://bazel-review.googlesource.com/#/c/7223 MOS_MIGRATED_REVID=138508319
* Declare bazel_repository_cache_test as largeGravatar Klaus Aehlig2016-11-08
| | | | | | | | | ...to avoid occasional timeouts on ci. -- Change-Id: Ic3fcd90a0a3dc7cbdf5d3669733417d181df6491 Reviewed-on: https://bazel-review.googlesource.com/#/c/7222 MOS_MIGRATED_REVID=138506715
* Bazel, Windows: implement a precise clockGravatar Laszlo Csomor2016-11-08
| | | | | | | | | | | | | | | | | The simplest clock on Windows is timeGetTime(), but its precision is ~15ms, which is not good enough. This commit implements blaze_util::WindowsClock that wraps a more precise clock, accessible through QueryPerformanceCounter. This change also deletes blaze_util_msvc.cc which was recently forked off blaze_util_mingw.cc, because forking didn't turn out to be necessary. As part of this merging, I also renamed the file to blaze_util_windows.cc -- MOS_MIGRATED_REVID=138506308
* Introduce explicit iterate_over field for flag_group in CrosstoolGravatar Marcel Hlopko2016-11-08
| | | | | | | | | | | | Now flag_group can be marked with iterate_over field, that denotes for which sequence variable the flag_group will be expanded repeatedly. This cl does that in backwards compatible way as before, the iteration happened implicitly when the used variable was found to be sequence at runtime. Because of that it adds some extra code that will be removed once all the crosstools are migrated to the explicit iteration. -- MOS_MIGRATED_REVID=138501033
* Add two startup options:Gravatar Lukacs Berki2016-11-08
| | | | | | | | - --client_debug that turns out debug logging from the client - --connect_timeout_secs that controls the timeout of the initial Ping() RPC from the client to the server -- MOS_MIGRATED_REVID=138491791
* Rollback of commit b043fafb957ae8038088e427ff27a5c9f951c979.Gravatar Carmi Grushko2016-11-08
| | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Use proto_lang_toolchain() in java_proto_library, after fixing breakage. Verified on Jenkins, http://ci.bazel.io/job/Gerrit-bazel-tests/169/ *** Original change description *** Automated [] rollback of commit a396b070ae36032a973672e11145533621c39edc. *** Reason for rollback *** Breaks tests on latest, as proto_lang_toolchain didn't make it into the 0.4.0 release see http://ci.bazel.io/job/bazel-tests/306/BAZEL_VERSION=latest,PLATFORM_NAME=linux-x86_64/console *** Original change description *** Use proto_lang_toolchain() in java_proto_library. -- MOS_MIGRATED_REVID=138432193
* Expand ios_test to accept xctest_app targets that provide an XcTestAppProvider.Gravatar Sergio Campama2016-11-08
| | | | | -- MOS_MIGRATED_REVID=138417384
* Restrict google_glob_information to eclipse_aspect.Gravatar Dmitry Lomov2016-11-08
| | | | | | | '--legacy_expose_globs' flag has no effect now. -- MOS_MIGRATED_REVID=138410651