aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Fixed the issue that hard links are handled improperly when bazel ↵Gravatar Googler2016-09-08
| | | | | | | | | decompresses tarballs. Issue link: https://github.com/bazelbuild/bazel/issues/574 -- MOS_MIGRATED_REVID=132434278
* Making the PathFragment interned segments list public, to be used later inGravatar Googler2016-09-08
| | | | | | | generating the directory tree nodes efficiently. -- MOS_MIGRATED_REVID=132433991
* Remove some unused code from the Python rules.Gravatar Lukacs Berki2016-09-08
| | | | | -- MOS_MIGRATED_REVID=132433369
* Remove some dead code from PythonConfigurationLoader.Gravatar Ulf Adams2016-09-08
| | | | | | | | | There doesn't seem to be any need for a C++ toolchain to create a Python config anymore. I looked through the change history, but didn't find any obvious culprits / reasons for the current code. -- MOS_MIGRATED_REVID=132429818
* Precompiled headers are added as compile action inputs forGravatar Cal Peyser2016-09-08
| | | | | | | experimental_objc_library. -- MOS_MIGRATED_REVID=132429745
* Adds protobuf 3.0.0 to third_partyGravatar Alex Humesky2016-09-07
| | | | Change-Id: I91f5b85852cabff0da8b1c68bf432596d7dc341d
* Fix indentation in StdRedirect.cGravatar Googler2016-09-07
| | | | | -- MOS_MIGRATED_REVID=132423268
* Rollback of commit 900202fe4418490abca96afd7ebf2b92268be244.Gravatar Damien Martin-Guillerez2016-09-07
| | | | | | | | | *** Reason for rollback *** Rollback, broke Bazel bootstrap on OS X. -- MOS_MIGRATED_REVID=132422954
* Global cleanup change.Gravatar Vladimir Moskva2016-09-07
| | | | | -- MOS_MIGRATED_REVID=132422029
* Use named parameters for function in SkylarkRepositoryContext when it make senseGravatar Damien Martin-Guillerez2016-09-07
| | | | | | | | | | | | | | RELNOTES[INC]: repository_ctx.{download,download_and_extract,execute} API now use named parameters for optional parameters and no longer uses argument type to distinguished between arguments (executable attribute name must be specified when preceding optional arguments are missing). Fixes #1426. -- Change-Id: I41d174cd9fd5c47edf4e2e9a86ce7f6c7882a104 Reviewed-on: https://bazel-review.googlesource.com/#/c/5673 MOS_MIGRATED_REVID=132421955
* Windows, tests: more refactoring in testsGravatar Laszlo Csomor2016-09-07
| | | | | | | | | Move more logic from FilesFileOperationsTest into WindowsTestUtil, and further separate test files in the BUILD file. -- MOS_MIGRATED_REVID=132417714
* Fixes breakage on CI with "sandbox-exec: ↵Gravatar Yue Gan2016-09-07
| | | | | | | external/bazel_tools/tools/cpp/osx_cc_wrapper.sh: No such file or directory" -- MOS_MIGRATED_REVID=132415409
* Disable pruning header modules for FakeCppCompileActions. Those currently run aGravatar Googler2016-09-07
| | | | | | | | build first before discovering their inputs and this build doesn't properly declare its inputs if we do pruning. -- MOS_MIGRATED_REVID=132414200
* Remove support for filegroup-based C++ toolchains:Gravatar Lukacs Berki2016-09-07
| | | | | | | RELNOTES[INC]: filegroup-based C++ toolchains are not supported anymore. --*_crosstool_top options must always point to a cc_toolchain_suite rule (or an alias of one). -- MOS_MIGRATED_REVID=132410829
* Windows, tests: move code into WindowsTestUtilGravatar Laszlo Csomor2016-09-07
| | | | | | | | | | | | Additionally: - clean up the corresponding BUILD file a bit - add a comment to Path A subsequent change will add tests for WindowsFileSystem, then fix a bug there. -- MOS_MIGRATED_REVID=132408212
* Removes all traces of the, now enabled by default, ↵Gravatar Sergio Campama2016-09-07
| | | | | | | experimental_auto_top_level_union_objc_protos flag. -- MOS_MIGRATED_REVID=132395070
* Use c++ action configs in experimental_objc_library.Gravatar Cal Peyser2016-09-07
| | | | | -- MOS_MIGRATED_REVID=132358544
* Re-add support for watchOS in swift_library.Gravatar Dmitry Shevchenko2016-09-07
| | | | | | | RELNOTES: swift_library can be used to build watchOS apps. -- MOS_MIGRATED_REVID=132355955
* Remove dependency on gnu sedGravatar Paul Cody Johnston2016-09-07
| | | | | | | | | | BSD sed (the default on osx) does not support the -r --regexp-extended flag. Fixes #1651 Closes #1716. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1716 MOS_MIGRATED_REVID=132350276
* Don't verify include paths automatically. This enables objc to disable ↵Gravatar Cal Peyser2016-09-07
| | | | | | | include paths. -- MOS_MIGRATED_REVID=132345416
* Fix docker_build() run when using Docker < 1.8Gravatar Sam Guymer2016-09-07
| | | | | | | | | | | The docker version command does not have a format flag until Docker 1.8, so if it exits with a non zero exit code default to Docker version 1.5 instead of 1.10. -- Change-Id: I971bb0d8d0108e4bb6076710be5e9dfe1893e472 Reviewed-on: https://bazel-review.googlesource.com/#/c/5771 MOS_MIGRATED_REVID=132341532
* Properly avoid aliases when invoking grep. Using $(which grep) instead of ↵Gravatar Googler2016-09-07
| | | | | | | | | plain grep does not avoid alias interference, it merely trades problems when "grep" is an alias for problems when "which" is an alias (both are commonly defined as aliases). A more reliable way to turn off alias expansion is to simply quote the command name, which is what I'm doing here. -- MOS_MIGRATED_REVID=132338563
* Change default apple toolchain from darwin_x86_64 to ios_x86_64.Gravatar Cal Peyser2016-09-07
| | | | | | | | | This means that in the absence of "--config=" (or the "--cpu=" and "--ios_cpu=" flags that it indicates), c++ code using //tools/osx/crosstool will default to being built for ios_x86_64 instead of darwin_x86_64. This is necessary to ensure that once the crosstool is used for objc, the default behavior of objc_library building for ios_x86_64 will be maintained. -- MOS_MIGRATED_REVID=132326009
* Update all tests so that they use a cc_toolchain_suite instead of a ↵Gravatar Lukacs Berki2016-09-06
| | | | | | | | | filegroup to declare C++ toolchains. Tested by actually removing support for filegroups; it's a ~5-line change, but it's better to do that separately so that it can be rolled back easily if need be. -- MOS_MIGRATED_REVID=132320198
* Updates date for the roadmapGravatar Damien Martin-Guillerez2016-09-06
| | | | | -- MOS_MIGRATED_REVID=132320173
* Skylark no longer crashes when the default value of an attribute is a label ↵Gravatar Florian Weikert2016-09-06
| | | | | | | | | string that points to a remote repository. Fixes #1442. -- MOS_MIGRATED_REVID=132320130
* Move bin_dir/genfiles_dir to RuleContextGravatar Kristina Chodorow2016-09-06
| | | | | | | | | | | | | | | | | | | | | This is so that the repository name can be included in the root. To avoid breaking Bazel's CI which tests the HEAD code against the latest release, none of the Skylark rules in Bazel can be updated to use ctx.{bin,genfiles}_dir yet, we will have to wait for the 0.3.2 release to actually update the call sites. However, this change is to effectively deprecate ctx.configuration.{bin,genfiles}_dir: it undocuments them and I will announce the change on the list. RELNOTES[INC]: bin_dir and genfiles_dir are now properties of ctx, not configuration. That is, to access the bin or genfiles directory from a Skylark rule, use ctx.bin_dir or ctx.genfiles_dir (not ctx.configuration.{bin,genfiles}_dir). At the moment, you can access {bin,genfiles}_dir from either, but the ctx.configuration version will stop working in a future release. -- MOS_MIGRATED_REVID=132319900
* Remove some dead code from JvmConfigurationLoader.Gravatar Ulf Adams2016-09-06
| | | | | -- MOS_MIGRATED_REVID=132317938
* Only call BlazeModule.handleOptions when we're done editing them.Gravatar Ulf Adams2016-09-06
| | | | | | | | | Previously, it was possible for us to edit the options in command.editOptions, after reporting them to the modules, though I don't have any examples of that happening. I found this just looking through the code. -- MOS_MIGRATED_REVID=132310873
* Make print() and fail() available in BUILD files to allow easier debugging.Gravatar Googler2016-09-06
| | | | | | | | | The functions were already available in Skylark extensions, but not directly in the BUILD files. RELNOTES[NEW]: print and fail are now available in BUILD files. -- MOS_MIGRATED_REVID=132307913
* Fix typoGravatar Marcel Hlopko2016-09-06
| | | | | -- MOS_MIGRATED_REVID=132261111
* Added design doc about building python on WindowsGravatar Yun Peng2016-09-06
| | | | | -- MOS_MIGRATED_REVID=132257620
* Removing Guava deps from all BUILD files in junitrunner.Gravatar Irina Iancu2016-09-06
| | | | | | | | | | All usage of Guava has been removed from junitrunner. It is now safe to also remove all deps from the BUILD files. Fixing issue #1150. -- MOS_MIGRATED_REVID=132252042
* Rollback of commit 4689c5d1d2faf902846b100b8d858d172a0ceb3d.Gravatar Cal Peyser2016-09-06
| | | | | | | | | | | | | *** Reason for rollback *** Prunes .modulemap files incorrectly. See []. *** Original change description *** Implement input pruning using .d files in objc. -- MOS_MIGRATED_REVID=132246906
* Generate documentation for named parameters for SkylarkCallableGravatar Damien Martin-Guillerez2016-09-06
| | | | | | | | | Fixes #1470. -- Change-Id: If16e32ac6e9b71680b6ed73987f1164545a99920 Reviewed-on: https://bazel-review.googlesource.com/#/c/5670/ MOS_MIGRATED_REVID=132243744
* Update windows.md about building python on WindowsGravatar Yun Peng2016-09-06
| | | | | -- MOS_MIGRATED_REVID=132241346
* Roll forward of commit 19db71413329da3f5d22b5fc7681471f3d971d88 (Skylark: ↵Gravatar Florian Weikert2016-09-06
| | | | | | | | | | | | | Replaced late bound attributes with computed default attributes) with two bug fixes: 1. Unlike SkylarkComputedDefault, SkylarkComputedDefaultTemplate did not sort the names of its attribute dependencies. Consequently, lookup operations failed when callback functions in bzl files specified the names of their required attributes in a non-alphabetical order since the order of the key tuples was different (e.g. [1, 2] vs [2, 1]). It would be less error prone to always sort the dependencies in createDependencyAssignmentTuple(), but this would impact performance. 2. SkylarkCallbackFunction ignores the legacy "cfg" parameter in callback functions. This special case should be deleted once all cfg parameters have been removed from the depot. -- MOS_MIGRATED_REVID=132235927
* Don't use fancy STL data structures (including string) in ↵Gravatar Lukacs Berki2016-09-06
| | | | | | | KillServerProcess() so that we don't call malloc() in signal handlers. -- MOS_MIGRATED_REVID=132232499
* Fix misleading warning for rule dependencyGravatar Googler2016-09-06
| | | | | | | RELNOTES: Reverts a change that lead to misleading warnings. -- MOS_MIGRATED_REVID=132230645
* Better API for creating immutable Skylark lists.Gravatar Dmitry Lomov2016-09-06
| | | | | -- MOS_MIGRATED_REVID=132226460
* Make --experimental_interleave_loading_and_analysis a no-op.Gravatar Ulf Adams2016-09-06
| | | | | | | | | | | | This is now enabled by default, and this change removes the code path where it's disabled. Remove a few tests that were testing the removed code, and rewrite some others that still seem useful. We still drop configured targets on configuration changes, so we use that to check that things are dropped from Skyframe. -- MOS_MIGRATED_REVID=132226208
* Add Documenting Rules link to skydoc.bazel.io.Gravatar David Chen2016-09-06
| | | | | -- MOS_MIGRATED_REVID=132219580
* Windows bootstrapping: Fix compile.sh with setting $TMPDIR.Gravatar Laszlo Csomor2016-09-06
| | | | | | | | | | | | | It now always uses mixed path style (drive letter + forward slashes) and expands abbreviated paths (when c:\\looongpath\\foo is abbreviated to c:\\looong~1\foo). The result will always look like c:/looongpath/foo/. Fixes https://github.com/bazelbuild/bazel/issues/1714 -- MOS_MIGRATED_REVID=132218638
* Rollback of commit a51ca6fa732af58a7d1667d408a2511ffa3199da.Gravatar Laszlo Csomor2016-09-06
| | | | | | | | | | | | | | | *** Reason for rollback *** Still broken. :( *** Original change description *** Windows bootstrapping: Fix compile.sh when $TMP is unset. Fixes https://github.com/bazelbuild/bazel/issues/1714 -- MOS_MIGRATED_REVID=132217266
* Adds a jar filter to the IntelliJ IDE aspect.Gravatar Googler2016-09-06
| | | | | | | | | | | | | | | | Any java rule that mixes generated and non-generated sources will produce a filtered jar containing only the generated output. For a java rule with only "normal" sources or only generated source files, no filtered jar is produced. This will allow the IDE to resolve those generated sources. RELNOTES:None -- MOS_MIGRATED_REVID=132113568
* Add "supports-workers" tag to JavaDeployJar action.Gravatar Philipp Wollermann2016-09-06
| | | | | -- MOS_MIGRATED_REVID=132097087
* Fix progress message for apksigner.Gravatar Adam Michael2016-09-06
| | | | | -- MOS_MIGRATED_REVID=132088164
* Tweaks to watchOS2 plist values.Gravatar Chris Parsons2016-09-06
| | | | | | | | 1. MinimumOSVersion should be for watchOS version, not iOS version. At some point we may want this specifiable to a different value, but, for now, this is set to the current watchOS SDK version. 2. WatchOS2 extension does not need UIRequiredDeviceCapabilities set, so this is removed. -- MOS_MIGRATED_REVID=132085592
* Set family to constant "watch" for watchOS2 extension and application.Gravatar Chris Parsons2016-09-06
| | | | | | | | Also, the watch2 extension rule (and future bundling rules which depend on apple_binary) now depend on the combined-arch library of that apple_binary dependency, instead of re-lipoing the binaries themselves. -- MOS_MIGRATED_REVID=132077913
* Refactor apple multi-arch platform-specific split transition and rule ↵Gravatar Chris Parsons2016-09-06
| | | | | | | classes to be reusable for apple_static_library and apple_dynamic_library -- MOS_MIGRATED_REVID=132066681