aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Remove deprecated objc_options.Gravatar Dave MacLachlan2016-03-17
| | | | | | | RELNOTES[INC]: Any project that depended on the objc_options rule will be broken. Can be fixed by adding attrs (infoplists,copts) directly to rules depending on the options. -- MOS_MIGRATED_REVID=117393853
* Compile base classpaths for Bazel Jack support in android_sdk.Gravatar Michael Staib2016-03-17
| | | | | | | | | | | | | | | | | | | | | | | | This also enables Jack support to compile with the Java bootclasspath when running over non-Android rules. This is akin to how normal javac support works - android_ rules are compiled with android.jar, while java_libraries are compiled with special flags but the normal compile time bootclasspath. As of this change, the android_jack attribute on android_sdk is now deprecated, and has no further effect. Because it was always optional, this isn't really much of a change, it just means that now it does nothing even if you DO specify it. Because Jack support is still experimental, this should have no effect on most users. RELNOTES[INC]: android_sdk now compiles android_jack on the fly from android_jar, which means android_jar must be a jar and android_jack is now deprecated. The Jack tools (jack, jill, resource_extractor) must be specified. -- MOS_MIGRATED_REVID=117386373
* Make help documentation for --experimental_output_tree_tracking more general.Gravatar Nathan Harmata2016-03-17
| | | | | -- MOS_MIGRATED_REVID=117383853
* Add default_ios_sdk_version attribute to xcode_version rules.Gravatar Chris Parsons2016-03-17
| | | | | | | This will set the default value for the iOS SDK version configuration value. Users can override this by specifying ios_sdk_version themselves. -- MOS_MIGRATED_REVID=117377043
* Add merge() methods to some Java providers.Gravatar Carmi Grushko2016-03-17
| | | | | -- MOS_MIGRATED_REVID=117375231
* Fix glob performance regression introduced by commit ↵Gravatar Nathan Harmata2016-03-17
| | | | | | | | | | | | | 3a95f353704dc2f7061e2c0786c2459ac1db0fd1. AbstractSet#removeAll has unexpected, yet oddly intentional (and documented), performance characteristics. Suppose we are evaluating 'set.removeAll(collection)' and 'collection.contains(x)' is 'O(e)'. Then 'set.removeAll(collection)' is 'O(set.size())' when 'set.size() <= collection.size()' and 'O(set.size()) * e' otherwise. When 'collection' is e.g. an ArrayList, 'e' is 'collection.size()' and so 'set.removeAll(collection)' is 'O(set.size() * collection.size())', which is bad. This meant we had poor performance when the excludes patterns of a glob matched more files than the includes patterns. Note that, while GlobCache#glob() *did* also use removeAll (potentially inefficiently), it was doing so for each list of exclude glob matches individually. So legacy globbing would have suboptimal performance for 'glob(includes=[i_1, i_2, ...i_k], excludes = [e_1, e_2, ..., e_j])' whenever the result of any e_i was larger than the union of all the includes matches. (But skyframe hybrid globbing has the performance issue when the union of the excludes matches is larger than the union of the includes matches, which is more likely to happen in practice.) I fixed this hypothetical problem too. -- MOS_MIGRATED_REVID=117367755
* sandbox:Gravatar Yue Gan2016-03-17
| | | | | | | | | | | | - add flag --sandbox_add_path, which takes a list of additional paths as argument and mount these paths to sandbox. Fixes #884. - mount target of /etc/resolv.conf if it is a symlink. Fixes #738. RELNOTES: - add flag --sandbox_add_path, which takes a list of additional paths as argument and mount these paths to sandbox. - mount target of /etc/resolv.conf if it is a symlink. -- MOS_MIGRATED_REVID=117364211
* Mask turbine classes from the processor classpath to avoid version skewGravatar Liam Miller-Cushon2016-03-17
| | | | | | | | This prevents processors from seeing turbine's version of e.g. guava. javac is still available becuase Blaze puts it on the bootstrap classpath. -- MOS_MIGRATED_REVID=117363448
* Introduces apple_cc_toolchain.Gravatar Cal Peyser2016-03-17
| | | | | -- MOS_MIGRATED_REVID=117361388
* Remove magic terminal width 97Gravatar Klaus Aehlig2016-03-17
| | | | | | | | | | | | | | | | | Bazel expects to be told the width of the terminal; during bootstrap, we do not have a good mechanism of determining it, so we have to resort to a hard-coded value. However, 97 is a not very well motivated value (and actually not a very useful value either) which is hard to guess that this is a default value. Resorting to Bazel's built-in default of 80 is only slightly more useful, but, at least, it is easily recognizable as a default value, as 80 is the width of the famous VT100, the standard punch card, etc. -- Change-Id: I62403ca37ee74a090067a5a4248028e3d624b7c6 Reviewed-on: https://bazel-review.googlesource.com/#/c/3082 MOS_MIGRATED_REVID=117346018
* Make ProguardLibrary.collectLocalProguardSpecs and ↵Gravatar Carmi Grushko2016-03-17
| | | | | | | collectProguardSpecsFromAttribute work with attributes added by Aspects. -- MOS_MIGRATED_REVID=117343880
* Add content encoding detection for downloaderGravatar Kristina Chodorow2016-03-17
| | | | | -- MOS_MIGRATED_REVID=117340875
* Fixed html formatting in maven_jar descriptionGravatar David Mankin2016-03-17
| | | | | | | -- Change-Id: Ib7d2e97a62fab06e47d3c1504f47c5e30933524e Reviewed-on: https://bazel-review.googlesource.com/#/c/3073/ MOS_MIGRATED_REVID=117340155
* Make bootstrap process wrapper honor '-' as stdout/stderrGravatar Klaus Aehlig2016-03-17
| | | | | | | | | | | | | | For the process wrapper the value '-' has a special meaning as file name to which stdout/stderr are to be redirected: do not redirect. However, the simple shell script that serves as process wrapper during the bootstrap phase was not aware of this special meaning, resulting in loss of useful process output, which is especially annoying during bootstrap. Fix this. -- Change-Id: Ifcf84e9000d74dafc69b675f192c1fc1cce484e8 Reviewed-on: https://bazel-review.googlesource.com/#/c/3081 MOS_MIGRATED_REVID=117338558
* Add Python protobuf to Bazel third_party and move all protobuf targets intoGravatar David Chen2016-03-17
| | | | | | | //third_party/protobuf. -- MOS_MIGRATED_REVID=117336377
* Rename getGeneratingAction (which returns a SpawnAction) to ↵Gravatar Carmi Grushko2016-03-17
| | | | | | | getGeneratingSpawnAction. -- MOS_MIGRATED_REVID=117290280
* Expose feature list in SkylarkRuleContext.Gravatar Dmitry Lomov2016-03-17
| | | | | -- MOS_MIGRATED_REVID=117277091
* Add APPLE_COVERAGE env variable to coverage tools.Gravatar Dmitry Shevchenko2016-03-15
| | | | | | | | | This makes it possible to isolate coverage runs for Apple platforms and perform a different set of operations. RELNOTES: -- MOS_MIGRATED_REVID=117269972
* Separate download library so it can be reused by generate_workspaceGravatar Kristina Chodorow2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117268295
* Enable overriding jsonnet binaries and stdlib for Jsonnet rules.Gravatar David Chen2016-03-15
| | | | | | | RELNOTES: Enable overriding jsonnet binaries and stdlib for Jsonnet rules. -- MOS_MIGRATED_REVID=117267276
* Make manual multidex incompatible with .dex sharding.Gravatar Lukacs Berki2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117262661
* Allow java_toolchain.ijar to be a fileGravatar Liam Miller-Cushon2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117260412
* cc_configure: fallback to static crosstool for unsupported platformGravatar Damien Martin-Guillerez2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117258091
* Fix repository names for GroovyGravatar Erik Kuefler2016-03-15
| | | | | | | -- Change-Id: I1831a657552a661a555c7f8bef54e8f46ddd482d Reviewed-on: https://bazel-review.googlesource.com/#/c/3050/ MOS_MIGRATED_REVID=117238730
* Update the java_langtools flag to default to @bazel_tools//tools/jdk:langtools.Gravatar Luis Fernando Pino Duque2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117238298
* Adds bazel_version to the native module for workspace macros.Gravatar Damien Martin-Guillerez2016-03-15
| | | | | | | | | | | | | | | | | | | | | One can now invoke native.bazel_version to get the version of Bazel from the WORKSPACE file. This can be used to do version check, for instance: version.bzl: def check_version(x): if native.bazel_version < x: fail("Current Bazel version is {}, expected at least {}".format(native.bazel_version, x)) WORKSPACE: load("//:version.bzl", "check_bersion") check_version("0.2") Fixes #1014. -- MOS_MIGRATED_REVID=117231557
* Add an integration test for --experimental_uiGravatar Klaus Aehlig2016-03-15
| | | | | | | | | | | | | | | | Add end-to-end tests for very basic properties of the new experimental UI. - At some point during a successful build, we should see an N / M actions progress bar status indicator. - Curses are used to erase some lines. - On a successful test, PASS is written in green. - On a failed test, FAIL is written in red bold. -- Change-Id: I0130017949330882ca6b33552cd288286a4f5b6f Reviewed-on: https://bazel-review.googlesource.com/#/c/3080 MOS_MIGRATED_REVID=117230615
* fix typo: "is produce" -> "is produced"Gravatar Cal Peyser2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117202268
* Incremental dexing for sharded android_binary targetsGravatar Googler2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117186609
* Refer to CharMatcher.javaLetterOrDigit() in a comment.Gravatar Michael Zhou2016-03-15
| | | | | | | | | | | This was a leftover from the global cleanup change to replace the usages of static final fields on Guava's CharMatcher with their equivalent static factory methods. -- Change-Id: I9ee765a2545eabdd01b00e4ea924801b7a88898a Reviewed-on: https://bazel-review.googlesource.com/#/c/3060 MOS_MIGRATED_REVID=117160725
* Update header compilation to handle implicit attribute suffixesGravatar Liam Miller-Cushon2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117153381
* Description redacted.Gravatar Liam Miller-Cushon2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117151379
* Description redacted.Gravatar Janak Ramakrishnan2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117139503
* Roll-forward of commit 4bf0018ed1cf8616297b951dc03dbde3f0db2503 with code to ↵Gravatar Janak Ramakrishnan2016-03-15
| | | | | | | preserve order of glob matches: Parallelize fetches of symlink file values, subdirectory globs, and subdirectory package lookup values. This should improve change pruning speed when we have to check a glob. It also keeps GlobFunction closer to the contract of Skyframe, because in order to avoid quadratic restarts, it wasn't checking for missing deps between getValue calls. -- MOS_MIGRATED_REVID=117139471
* Move dump_syms from //tools/objc to //tools/osx. This will allow it to be ↵Gravatar Cal Peyser2016-03-15
| | | | | | | referenced from the crosstool without crossing package boundaries. -- MOS_MIGRATED_REVID=117137594
* Fix a small typo.Gravatar Googler2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117130300
* Add Six 1.10.0 to third_party/py.Gravatar David Z. Chen2016-03-14
|
* Add protobuf .proto sources to third_party/protobuf.Gravatar David Z. Chen2016-03-14
|
* Expose more documentation to Skylark.Gravatar Dmitry Lomov2016-03-14
| | | | | -- MOS_MIGRATED_REVID=117123912
* Add semantic tests for ExperimentalStateTrackerGravatar Klaus Aehlig2016-03-14
| | | | | | | | | | | | | | | | | | | | | | | Now that the experimental UI has the first properties we want to keep in the long run, add a test asserting the following semantic properties. - Whenever only one action is running, it is shown somehow in the progress bar. - Completed actions should not be shown in the progress bar. - The earliest-started still running action should be visible in the progress bar. While there, also drop the assumption in the ExperimentalStateTracker that the ExecutionProgressReceiverAvailableEvent has to come before any actions that has not been finished yet. -- Change-Id: Ica52eb12546703e4f8f9d9c64928208621d19ced Reviewed-on: https://bazel-review.googlesource.com/#/c/3048 MOS_MIGRATED_REVID=117121300
* Add the last Bazel version number to ./compile.shGravatar Damien Martin-Guillerez2016-03-14
| | | | | | | | | | | All Bazel should now contain the latest version with a date modifier to ensure we can track all Bazel builds out there. It is especially important for #1014. -- Change-Id: I8d17d9e1660b104c2b8623d5a8a06d010d044ea7 Reviewed-on: https://bazel-review.googlesource.com/3070 MOS_MIGRATED_REVID=117120584
* Fix ClasspathConfiguredFragment bootclasspath collectionGravatar Liam Miller-Cushon2016-03-14
| | | | | | | | | | Previously it was only collecting custom per-rule bootclasspaths (e.g. from android_library, which uses android.jar instead of the default Java bootclasspath). This allows the java.compilation_info.boot_classpath Skylark provider to work for regular Java rules. -- MOS_MIGRATED_REVID=117031832
* Update ios_framework rule doc to emphasize the current issues.Gravatar Dmitry Shevchenko2016-03-14
| | | | | -- MOS_MIGRATED_REVID=117018073
* Add a test for getDefaultJavacOptsFromRuleGravatar Liam Miller-Cushon2016-03-14
| | | | | | | java_toolchain.jvm_opts was being used instead of javac options. -- MOS_MIGRATED_REVID=117016052
* Use repository_ctx for each usage of repository context.Gravatar Damien Martin-Guillerez2016-03-14
| | | | | | | | This will avoid confusion with the normal Skylark rule context. Also fixed indentation of cc_configure.bzl -- MOS_MIGRATED_REVID=117011107
* Add repository_ctx.name to get the name of the repositoryGravatar Damien Martin-Guillerez2016-03-14
| | | | | | | Fixes #1030. -- MOS_MIGRATED_REVID=117009021
* Makes the xctest_app attribute of ios_test only accept ios_applications. It ↵Gravatar Dave MacLachlan2016-03-14
| | | | | | | | | used to accept obc_binaries as well. RELNOTES: You can no longer use objc_binary targets for the xctest_app attribute of an ios_test rule. -- MOS_MIGRATED_REVID=117004358
* Remove infoplists from objc_options. They aren't used anymore (last case ↵Gravatar Dave MacLachlan2016-03-14
| | | | | | | removed with unknown commit) -- MOS_MIGRATED_REVID=117003728
* Add grpc-java 0.13.2 to //third_party/grpc.Gravatar Philipp Wollermann2016-03-11
|
* Removes restriction on having both a launchimage and a launchstoryboard in a ↵Gravatar Dave MacLachlan2016-03-11
| | | | | | | given application as there are cases where you want both. -- MOS_MIGRATED_REVID=116998425