aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* Only install bazel-distfile.zip on linuxGravatar Klaus Aehlig2016-11-11
| | | | | | | | | | | ...since we only build it on this architecture. And as it is an architecture-independent artifact anyway, it is enough to build it once. -- Change-Id: I31a108154d20a190260ca5842947b6319d434735 Reviewed-on: https://bazel-review.googlesource.com/#/c/7333 MOS_MIGRATED_REVID=138859209
* Implement build tag filtering.Gravatar Lukacs Berki2016-11-11
| | | | | | | If the --build_tag_filters option is specified, targets built will be filtered according to their tags (at least one included, none excluded) -- MOS_MIGRATED_REVID=138856195
* Add the distribution artifact to the list of release filesGravatar Klaus Aehlig2016-11-11
| | | | | | | -- Change-Id: I09053cbd476e5f8bb5bdb9f272ad414d165f6d9f Reviewed-on: https://bazel-review.googlesource.com/#/c/7131 MOS_MIGRATED_REVID=138855685
* Fix build rule visibility.Gravatar Laszlo Csomor2016-11-11
| | | | | | | | | | Introduced by commit 9c95196bf21e42bf46df9436a84d263c26e972d2. Tested: "bazel build --nobuild //src/{main,test}/cpp/...:all" -- MOS_MIGRATED_REVID=138855659
* Rollback of commit 33ad37612ab7edc32d5e82c3912acebacaef42dc.Gravatar Irina Iancu2016-11-11
| | | | | | | | | | | | | *** Reason for rollback *** junitrunner/java/com/google/testing/junit/runner/sharding/weighted has an internal reference that is not easy to open-source. For now it makes more sense to roll this back and keep this package just internally. *** Original change description *** Open sourcing junitrunner/java/com/google/testing/junit/runner/sharding/weighted. -- MOS_MIGRATED_REVID=138852305
* Introduce structured build variables in CrosstoolGravatar Marcel Hlopko2016-11-11
| | | | | | | | | | | | | | | | | | | | This cl adds a 3rd type of build variable - structs. Structs have fields, which can hold any build variable type (including structs). In the CROSSTOOl, the fields are accessed by the dot-notation, e.g.: flag_group { iterate_over: "libraries_to_link flag_group { iterate_over: "libraries_to_link.libraries" flag: "-L%{libraries_to_link.libraries.directory}" } } As a memory optimization, we also add StructureSequences. These save us from the overhead of individual StructureValue objects. -- MOS_MIGRATED_REVID=138851774
* Expose aspect-related information in the extra-action proto that Bazel hands ↵Gravatar Carmi Grushko2016-11-11
| | | | | | | | | to action_listener() rules. RELNOTES: Extra actions now contain aspect-related information. -- MOS_MIGRATED_REVID=138832922
* 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