aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* Rollback of commit 27895101ce3d8e88b80e53f98fccf1d72310b54d.Gravatar Googler2017-01-09
| | | | | | | | | | | | | | *** Reason for rollback *** Breaks mac integration test *** Original change description *** Create indirections to intellij_info.bzl. -- PiperOrigin-RevId: 143802424 MOS_MIGRATED_REVID=143802424
* Create indirections to intellij_info.bzl.Gravatar Googler2017-01-09
| | | | | | -- PiperOrigin-RevId: 143793200 MOS_MIGRATED_REVID=143793200
* Updates Android flag documentation.Gravatar Alex Humesky2017-01-09
| | | | | | -- PiperOrigin-RevId: 143792017 MOS_MIGRATED_REVID=143792017
* Unsynchronize InMemoryNodeEntry#isDone. The buildingState variable's state ↵Gravatar Shreya Bhattarai2017-01-09
| | | | | | | | changes are visibile to all other threads by volatility and we don't read the variable at any intermediate or inconsistent state (simply check against null or a constant). reverseDepsToSignal is also made volatile for subclasses that need volatile reads to it. -- PiperOrigin-RevId: 143787032 MOS_MIGRATED_REVID=143787032
* Doc: fix tutorial text to be in sync with the sample. Gravatar Steren2017-01-06
| | | | | | | | | | | https://bazel-review.googlesource.com/#/c/8092/ updated the sample to download App Engine rules, but the text was not updated. Closes #2341. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2341 PiperOrigin-RevId: 143776849 MOS_MIGRATED_REVID=143776849
* Add an "integration" test (rather, just a test that exercises the relevant ↵Gravatar Janak Ramakrishnan2017-01-06
| | | | | | | | package-evaluation code) for []. -- PiperOrigin-RevId: 143744672 MOS_MIGRATED_REVID=143744672
* Remove some cases of inferring configuration and platform from ruleContext ↵Gravatar Chris Parsons2017-01-06
| | | | | | | | outside of rule implementation. -- PiperOrigin-RevId: 143720112 MOS_MIGRATED_REVID=143720112
* Use the new turbine implementation with BazelGravatar Liam Miller-Cushon2017-01-06
| | | | | | | | | This improves performance with --java_header_compilation enabled compared to javac-turbine, and lays groundwork for some future optimizations. -- PiperOrigin-RevId: 143719507 MOS_MIGRATED_REVID=143719507
* Update apple_binary documentation to match support for multiple platforms ↵Gravatar Chris Parsons2017-01-06
| | | | | | | | and 3 different binary types. -- PiperOrigin-RevId: 143718198 MOS_MIGRATED_REVID=143718198
* These API levels were removed in NDK r12.Gravatar Adam Michael2017-01-06
| | | | | | | | | | | | | | TESTED= $ ls android-ndk-r12b/platforms android-12 android-15 android-18 android-22 android-9 android-13 android-16 android-19 android-23 android-14 android-17 android-21 android-24 RELNOTES: Removed broken api levels 3, 4 and 5 from Android NDK 12. -- PiperOrigin-RevId: 143710544 MOS_MIGRATED_REVID=143710544
* Revert "blaze_util_windows: use CreateFileW" Gravatar John Cater2017-01-06
| | | | | | | | | | | | This is for #2344. This reverts commit 116d039ccb49ec71c2ea9626d8a0a0aee5cbabc0. -- Change-Id: I4a8bc697c608c0f61af5bef8ff41faea96424ac3 Reviewed-on: https://cr.bazel.build/8095 PiperOrigin-RevId: 143708707 MOS_MIGRATED_REVID=143708707
* Remove conditionals in skylark apple rules for presence of ↵Gravatar Chris Parsons2017-01-06
| | | | | | | | objc.dynamic_framework_dir -- PiperOrigin-RevId: 143700968 MOS_MIGRATED_REVID=143700968
* Rollforward: Update depot version of ResourceUsageAnalyzer.java from the ↵Gravatar Andrew Pellegrini2017-01-06
| | | | | | | | | | | | | | | | | public Gradle source. This version includes: - support for tools attributes (whitelist) - analysis of non-xml text files for resource references - better obfuscation handling - bug fixes NEW: switching to 'strict' resource usage analysis as default. https://android.googlesource.com/platform/tools/base/+/gradle_2.0.0/build-system/gradle-core/src/main/groovy/com/android/build/gradle/tasks/ResourceUsageAnalyzer.java -- PiperOrigin-RevId: 143700078 MOS_MIGRATED_REVID=143700078
* Revert "Jarjar the third-party dependencies of the Jacoco test runner." Gravatar John Cater2017-01-05
| | | | | | | | | | | | JarJar is not working on Windows, see #2343. This reverts commit 823091f7516abf7d854021edc765daf1467f1647. -- Change-Id: I141d40f09e2f0c7c256915404058512d309386b4 Reviewed-on: https://cr.bazel.build/8094 PiperOrigin-RevId: 143697534 MOS_MIGRATED_REVID=143697534
* Provide Skylark imports, even if the package has some errors.Gravatar Laurent Le Brun2017-01-05
| | | | | | | | | | | Since we evaluate the BUILD file despite errors (e.g. parse errors), we should provide the .bzl dependencies to the BUILD file. This change removes some confusing/irrelevant error messages. -- PiperOrigin-RevId: 143696291 MOS_MIGRATED_REVID=143696291
* Use _ instead of $ on Windows to avoid shell expansion issues. Gravatar John Cater2017-01-05
| | | | | | | | | | Fixes #2342. -- Change-Id: I4e6511a5d65a534757bdb6b4b05c9e1bd43ad2d8 Reviewed-on: https://cr.bazel.build/8093 PiperOrigin-RevId: 143695463 MOS_MIGRATED_REVID=143695463
* Rollback of commit 70c5790e4fb01db382d61d457596a46b68ba8d13.Gravatar Janak Ramakrishnan2017-01-05
| | | | | | | | | | | | | | | | (Tests kept.) *** Reason for rollback *** [] *** Original change description *** When --experimental_oom_more_eagerly is enabled, tell Bazel to exit with an OutOfMemoryError and have the JVM send Bazel a SIGUSR2 when it detects an OOM. This should help in certain pathological cases when Bazel GC thrashes for some time after an OOM has been detected. -- PiperOrigin-RevId: 143694970 MOS_MIGRATED_REVID=143694970
* Add a "dylib" binary type to apple_binary, and deprecate apple_dynamic_libraryGravatar Chris Parsons2017-01-05
| | | | | | -- PiperOrigin-RevId: 143694257 MOS_MIGRATED_REVID=143694257
* Disable legacy Skylark IDE tests.Gravatar Googler2017-01-05
| | | | | | | | | The tests are now frozen, and will continue to protect the frozen native aspect until this is deleted. -- PiperOrigin-RevId: 143691221 MOS_MIGRATED_REVID=143691221
* Some little changes to prep for rolling forward the execroot changeGravatar Kristina Chodorow2017-01-05
| | | | | | | | | | This are random little nits that aren't dependent on changing the directory structure, so it makes the (rather large) CL that is coming cleaner. -- PiperOrigin-RevId: 143690681 MOS_MIGRATED_REVID=143690681
* Document --build_tag_filters flagGravatar Googler2017-01-05
| | | | | | -- PiperOrigin-RevId: 143689724 MOS_MIGRATED_REVID=143689724
* Make path attribute optional for android_sdk_repository and ↵Gravatar Adam Michael2017-01-05
| | | | | | | | | | | | | | android_ndk_repository. Read from ANDROID_{NDK_}HOME if not set. Note that the repository is NOT invalidated if ANDROID_{NDK_}HOME is changed. Once https://bazel.build/designs/2016/10/18/repository-invalidation.htm is implemented, that will no longer be the case. This is one piece of https://github.com/bazelbuild/bazel/issues/2284. RELNOTES: android_sdk_repository and android_ndk_repository now read $ANDROID_HOME and $ANDROID_NDK_HOME if the path attribute is not set. -- PiperOrigin-RevId: 143686964 MOS_MIGRATED_REVID=143686964
* Force debug info output into Swift modulesGravatar Dmitry Shevchenko2017-01-05
| | | | | | | | * This makes sure that all swiftmodule artifacts contain debug information needed for LLDB to recreate the module at runtime. -- PiperOrigin-RevId: 143685225 MOS_MIGRATED_REVID=143685225
* Fix cycle detection between .bzl files.Gravatar Laurent Le Brun2017-01-05
| | | | | | | | | The code assumed that the last element before a cycle was a BUILD file. It can also be a .bzl file. -- PiperOrigin-RevId: 143673940 MOS_MIGRATED_REVID=143673940
* Split tools/android/BUILD into BUILD and BUILD.tools.Gravatar Adam Michael2017-01-05
| | | | | | | | | | | | | | This should help clear up the confusion that caused https://github.com/bazelbuild/bazel/issues/2283. Now all of the following work: bazel build //tools/android/... bazel test //tools/android/... bazel build @bazel_tools//tools/android/... -- PiperOrigin-RevId: 143666995 MOS_MIGRATED_REVID=143666995
* Exempt config_setting from license checking.Gravatar Greg Estren2017-01-05
| | | | | | -- PiperOrigin-RevId: 143666208 MOS_MIGRATED_REVID=143666208
* Introduce is_cc_test_link_action build variableGravatar Marcel Hlopko2017-01-05
| | | | | | -- PiperOrigin-RevId: 143664295 MOS_MIGRATED_REVID=143664295
* blaze_util_windows: use CreateFileWGravatar Laszlo Csomor2017-01-05
| | | | | | | | | See https://github.com/bazelbuild/bazel/issues/2107 See https://github.com/bazelbuild/bazel/issues/2181 -- PiperOrigin-RevId: 143655738 MOS_MIGRATED_REVID=143655738
* blaze_util_windows: remove AsWpathGravatar Laszlo Csomor2017-01-05
| | | | | | | | Use blaze_util::AsWindowsPath instead. -- PiperOrigin-RevId: 143652527 MOS_MIGRATED_REVID=143652527
* Bazel client: implement PathExists on WindowsGravatar Laszlo Csomor2017-01-05
| | | | | | | | | | | | | | | | | | | | Checking if a path exists is surprisingly hard on Windows. The most convenient API functions are PathFileExists and GetFileAttributes but neither of them follows junctions. To check if a junction is dangling, we have to resolve it all the way. This change adds a JunctionResolver class to file_windows, which can resolve junctions (if they aren't dangling) and non-junctions (in this case just checks their existence). See https://github.com/bazelbuild/bazel/issues/2107 See https://github.com/bazelbuild/bazel/issues/2181 -- PiperOrigin-RevId: 143645274 MOS_MIGRATED_REVID=143645274
* Jarjar the third-party dependencies of the Jacoco test runner.Gravatar Lukacs Berki2017-01-05
| | | | | | | | This prevents conflicts if the code under test also contains these dependencies but with different versions. -- PiperOrigin-RevId: 143642538 MOS_MIGRATED_REVID=143642538
* Do not pass a null pointer to Analyzer to avoid a NPE.Gravatar Lukacs Berki2017-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stack trace is as follows: java.io.IOException: Error while analyzing <CLASS>: at org.jacoco.core.analysis.Analyzer.analyzerError(Analyzer.java:155) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:130) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:147) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:185) at org.jacoco.core.analysis.Analyzer.analyzeZip(Analyzer.java:257) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:188) at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:218) at com.google.testing.coverage.JacocoCoverageRunner.analyzeBranch(JacocoCoverageRunner.java:143) at com.google.testing.coverage.JacocoCoverageRunner.create(JacocoCoverageRunner.java:84) at com.google.testing.coverage.JacocoCoverageRunner$2.run(JacocoCoverageRunner.java:258) Caused by: java.lang.NullPointerException at org.jacoco.core.analysis.Analyzer$1.visitEnd(Analyzer.java:96) at jarjar.org.objectweb.asm.ClassVisitor.visitEnd(Unknown Source) at org.jacoco.core.internal.flow.ClassProbesAdapter.visitEnd(ClassProbesAdapter.java:98) at jarjar.org.objectweb.asm.ClassReader.accept(Unknown Source) at jarjar.org.objectweb.asm.ClassReader.accept(Unknown Source) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:111) at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:127) ... 8 more I don't know why this happens, but this change sure fixes it. -- PiperOrigin-RevId: 143639907 MOS_MIGRATED_REVID=143639907
* Avoid linking objc protos that are transitively in the "dylibs" attributeGravatar Chris Parsons2017-01-05
| | | | | | -- PiperOrigin-RevId: 143601292 MOS_MIGRATED_REVID=143601292
* Update the tutorial to use the best way to load rules_appengine.Gravatar John Cater2017-01-04
| | | | | | | | -- Change-Id: Ide481cbbd0d404aab144833efc09c0b48a8b968a Reviewed-on: https://cr.bazel.build/8092 PiperOrigin-RevId: 143589969 MOS_MIGRATED_REVID=143589969
* Handle huge (>4GB) output jars.Gravatar Sasha Smundak2017-01-04
| | | | | | | | RELNOTES: singlejar can now create jar files larger than 4GB. -- PiperOrigin-RevId: 143588105 MOS_MIGRATED_REVID=143588105
* Refactor ResourceContainer: make top level and use AutoValue Builder support.Gravatar Michael Staib2017-01-04
| | | | | | | | | | | | | | | | This merges the AndroidResourceContainerBuilder (which it's not even clear is related to the nested ResourceContainer!) into the newly generated ResourceContainer.Builder. It also seemed ridiculous for ResourceContainer to get so large and still be subordinate to AndroidResourcesProvider, especially when it's getting passed around in a lot of other places (look how many imports needed fixing!). This CL makes it its own top level class. This allows for easy modification of an existing instance: call toBuilder on it, set the properties you want set, and then call build. -- PiperOrigin-RevId: 143574468 MOS_MIGRATED_REVID=143574468
* Fix an obscure crash scenario with static configs and BuildConfiguration.equals.Gravatar Greg Estren2017-01-04
| | | | | | | | | | See OutputFileConfiguredTargetTest for deep details. Also more strongly enforce the expectation that all output files have generating rules. -- PiperOrigin-RevId: 143570028 MOS_MIGRATED_REVID=143570028
* Add an experimental option to reduce header compilation classpathsGravatar Liam Miller-Cushon2017-01-04
| | | | | | | | to only contain direct dependencies. -- PiperOrigin-RevId: 143557048 MOS_MIGRATED_REVID=143557048
* Add a few more open-source projects to the list of Bazel users.Gravatar Googler2017-01-04
| | | | | | -- PiperOrigin-RevId: 143555992 MOS_MIGRATED_REVID=143555992
* Fix Label() for @short repository labelsGravatar Justine Tunney2017-01-04
| | | | | | -- PiperOrigin-RevId: 143555554 MOS_MIGRATED_REVID=143555554
* Improve cycle reporting error message.Gravatar Laurent Le Brun2017-01-04
| | | | | | -- PiperOrigin-RevId: 143547986 MOS_MIGRATED_REVID=143547986
* Minor improvements to error messages.Gravatar Laurent Le Brun2017-01-04
| | | | | | | | In case of conflict, show the location of the original rule. -- PiperOrigin-RevId: 143541281 MOS_MIGRATED_REVID=143541281
* Change target key aspect id from String to List<String>.Gravatar Googler2017-01-04
| | | | | | -- PiperOrigin-RevId: 143482476 MOS_MIGRATED_REVID=143482476
* Add turbine to third_partyGravatar Liam Miller-Cushon2017-01-04
| | | | Change-Id: I671f5399da726588c2a0e566f66de8aabf387294
* Adds javapoetGravatar Yue Gan2017-01-04
|
* Remove the auto-punctuator because it is causing more problems than itGravatar John Cater2017-01-03
| | | | | | | | | | solved. -- Change-Id: Ie9314cabda8b5542979f58cdb2ab7a41e6cd26ad Reviewed-on: https://cr.bazel.build/8091 PiperOrigin-RevId: 143470985 MOS_MIGRATED_REVID=143470985
* Manually add periods to documentation strings where needed.Gravatar John Cater2017-01-03
| | | | | | | | -- Change-Id: I9ec3209a69ba5a51943b334f278ba93d67d4f9f4 Reviewed-on: https://cr.bazel.build/8090 PiperOrigin-RevId: 143470915 MOS_MIGRATED_REVID=143470915
* xcode locator prefers xcodes installed under /Applications/Gravatar Chris Parsons2017-01-03
| | | | | | -- PiperOrigin-RevId: 143463741 MOS_MIGRATED_REVID=143463741
* Doc: Update wording for local run and 'Google Cloud Console' nameGravatar Steren2017-01-03
| | | | | | | | | | | | | * The official App Engine docs do not use the term "deploy" when running the app locally (https://cloud.google.com/appengine/docs/java/tools/devserver). It's better to only use the word "deploy" when deploying to App Engine. * The Console where users can setup App Engine is the Google Cloud Console (https://console.cloud.google.com), not the Developer Console Closes #2329. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2329 PiperOrigin-RevId: 143460661 MOS_MIGRATED_REVID=143460661
* Add www.bazel.io --> bazel.build redirectGravatar David Stanke2017-01-03
| | | | | | | | | | | Extending js redirect to catch "www.bazel.io" in addition to "bazel.io" Closes #2328. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2328 PiperOrigin-RevId: 143457246 MOS_MIGRATED_REVID=143457246