aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
Commit message (Collapse)AuthorAge
* Global cleanup change.Gravatar Vladimir Moskva2016-09-07
| | | | | -- MOS_MIGRATED_REVID=132422029
* 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
* 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
* 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
* 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 BUILD target for bazel apksigner and BUILD.tools so that it can be used inGravatar Adam Michael2016-09-02
| | | | | | | | | | the embedded_tools repo. Do not submit until https://bazel-review.googlesource.com/#/c/5630/6 is merged. Also do not submit until unknown commit goes in. -- MOS_MIGRATED_REVID=131950953
* Disable references to single_arch_{cpu,platform}.Gravatar Julio Merino2016-09-01
| | | | | | | | | These two Skylark symbols are functions, not variables. I attempted to correct the references to match the symbol type, but I cannot get the tests to fully pass -- so better disable this until properly fixed. -- MOS_MIGRATED_REVID=131942175
* Python bits split from 130443322Gravatar Googler2016-09-01
| | | | | | | | Improve build determinism by squashing timestamps. -) Set ZERO_AR_DATE for ar invocations. -- MOS_MIGRATED_REVID=131861235
* xcode_configure repository rule for determining locally installed versions ↵Gravatar Chris Parsons2016-09-01
| | | | | | | | | | | of xcode to select between, relaxing the requirement that users specify --xcode_version and --ios_sdk_version even if they have only one version installed. RELNOTES: On mac devices, detect locally installed versions of xcode to: 1. Use a sensible default if xcode is required but --xcode_version is unspecified. 2. Use sensible default iOS SDK version for the targeted version of xcode if ios_sdk_version is unspecified. -- MOS_MIGRATED_REVID=131841587
* pkg_deb: Make distribution and urgency adjustableGravatar Benjamin Staffin2016-08-31
| | | | | | | -- Change-Id: Ib2066597f3aeec2b160dd56fd19c60d618cb925d Reviewed-on: https://bazel-review.googlesource.com/#/c/4280 MOS_MIGRATED_REVID=131699503
* Add support for watchOS in swift_libraryGravatar Dmitry Shevchenko2016-08-30
| | | | | -- MOS_MIGRATED_REVID=131631222
* Add a resource validator action for android_libraryGravatar Googler2016-08-30
| | | | | | | | | | | | | | | | | | Part 3 of the 3 new proposed android_library res processing actions. Pulls a zip file from the merging action, unpacks it, and then validates the results with aapt. Get an R.txt and srcjar w/ javadocs from aapt. In order to the get the R.txt, I think you need to ask for the R.java sources anyway. Split the processResources() into a runAapt() function that can be reused. Hookup in bazel coming separately. -- MOS_MIGRATED_REVID=131618410
* Add a lightweight resource merge action.Gravatar Googler2016-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | Part 2 of the 3 new proposed android_library res processing actions. The primary and deps are all assumed to be parsed+summarized in a protobuf. Represent that with a new class (similar to DependencyAndroidData but w/out R.txt). Avoid having "manifest" artifacts as deps input, and instead use "label", since that is only used in a warning. DepAD still uses the manifest for #asSymbolFileProvider, so we keep it there. Move loading the primary out of the merge function so that we can share the merge function with this style of primary data, and the existing style of of primary data (UnvalidatedAndroidData). This produces an R class.jar and a zip file to pass along to a future validation action. Images are stubbed out since they are irrelevant to the validation action. -- MOS_MIGRATED_REVID=131604421
* Add conffiles support to pkg_debGravatar Michal Rydlo2016-08-26
| | | | | | | | | | | | | pkg_deb can have either conffiles or conffiles_file parameter that propagates the list of conffiles into the deb archive. Also the tests in //tools/build_defs/pkg were fixed to run against the rules from the source tree and not from the bazel distribtution. -- Change-Id: I61c447feef16511acbb0078d91954dcd7d3375f4 Reviewed-on: https://bazel-review.googlesource.com/#/c/5610 MOS_MIGRATED_REVID=131391925
* Merge xmlns decls in old manifest merger to help transitionGravatar Googler2016-08-26
| | | | | | | | | | | | | | | The old manifest merger doesn't merge xmlns decls. That could be a problem if a library has xmlns:tools but the binary doesn't (and we don't strip tools:). Library manifests may end up with more xmlns:tools annotations while transitioning from the old manifest merger to the new. It would be a problem if the same manifest is used by both the old and new merger. An alternative may be to strip the tools annotations after merging w/ this old merger... other options? -- MOS_MIGRATED_REVID=131332171
* Add external reference for android customtabsGravatar Simon Horlick2016-08-25
| | | | | | | -- Change-Id: If9b46439d0c0df36737030c9d78c201a87f1a4e9 Reviewed-on: https://bazel-review.googlesource.com/c/5590/ MOS_MIGRATED_REVID=131317750
* Remove support for thin archives.Gravatar Lukacs Berki2016-08-23
| | | | | -- MOS_MIGRATED_REVID=130938527
* Use -fno-canonical-system-headers when supportedGravatar Brian Silverman2016-08-18
| | | | | | | | | | This makes the same change to cc_configure.bzl made to the hard-coded CROSSTOOL in 763f1397155fc7c12e1f1071a1bc942f91b867c4 to fix #1642 -- Change-Id: Ia05788243d0128ea4921f12c437ef6cebd83a4ff Reviewed-on: https://bazel-review.git.corp.google.com/#/c/5450/ MOS_MIGRATED_REVID=130636065
* Delete unused empty file.Gravatar Adam Michael2016-08-18
| | | | | | | The filegroup using this file was deleted in commit c9d4fae25137cf480e83566d992bef813fcad7ee -- MOS_MIGRATED_REVID=130553843
* Replaces sh_binary redirects with aliases in Bazel.Gravatar Adam Michael2016-08-18
| | | | | -- MOS_MIGRATED_REVID=130549870
* Include the location of the current swiftmodule for LLDB.Gravatar Dmitry Shevchenko2016-08-12
| | | | | | | * LLDB spawns an instance of Swift compiler under the hood, which is configured via command line flags recorded in DWARF at the time of compilation. In order for LLDB to properly import the module for the target being built, that command line has to provide a path to that module. -- MOS_MIGRATED_REVID=130045157
* Remove all temporary detrius upon exiting objc action scripts.Gravatar Peter Schmitt2016-08-11
| | | | | -- MOS_MIGRATED_REVID=129867284
* fixed strip_prefix related with issue#1604Gravatar Zhexuan Yang2016-08-08
| | | | | | | -- Change-Id: I49d4bcdb60052a5cf94049f962732ee2167828f1 Reviewed-on: https://bazel-review.googlesource.com/#/c/4300 MOS_MIGRATED_REVID=129615052
* StandaloneTestStrategy: Pass relative JAVA_RUNFILES and PYTHON_RUNFILES to testsGravatar Yue Gan2016-08-01
| | | | | | | -- Change-Id: I97319dc2c676100fb8f1224b9dcd6fbc8ec7e5e5 Reviewed-on: https://bazel-review.googlesource.com/#/c/4200/3 MOS_MIGRATED_REVID=128973499
* Add a way to set build configuration values (defines) on swift_library targets.Gravatar Dmitry Shevchenko2016-08-01
| | | | | -- MOS_MIGRATED_REVID=128838998
* workers: Use workers by default for Javac.Gravatar Philipp Wollermann2016-07-29
| | | | | | | RELNOTES: Persistent workers are now used by default for Java compilation in Bazel, which should speed up your Java builds by ~4x. You can switch back to the old behavior via --strategy=Javac=standalone. Check out http://www.bazel.io/blog/2015/12/10/java-workers.html for more details. -- MOS_MIGRATED_REVID=128801059
* executable attribute on apple_genrule, which allows users to run ↵Gravatar Chris Parsons2016-07-29
| | | | | | | | | apple_genrule targets on the command line. If an apple_genrule target is both executable and has more than one output, an error is thrown. -- MOS_MIGRATED_REVID=128714692
* Add a resource parsing action.Gravatar Googler2016-07-28
| | | | | | | | | | | | | | | | | | | | | | Part of 3 proposed new actions: - parsing action - merging action - validating action Dependencies (directData and transitiveData) expect the symbol files. If the merge action produces the symbol files, then each merge action depends on each other. Instead, produce it in an action with just source resources as prereqs to allow more parallelism. Technically, we don't need a manifest as part of the parameters. I debated about whether to introduce a basic version of UnvalidatedAndroidData or not. -- MOS_MIGRATED_REVID=128599714
* J2ObjC wrapper support for java annotation support with unpredictable ↵Gravatar Rumou Duan2016-07-27
| | | | | | | inputs/outputs. -- MOS_MIGRATED_REVID=128485838
* Typo fixes in markdown and javadoc as suggested by intellij typo inspection.Gravatar Googler2016-07-27
| | | | | -- MOS_MIGRATED_REVID=128476121
* Add Skylark definitions of {new_,}git_repository.Gravatar Nelson Elhage2016-07-27
| | | | | | | -- Change-Id: I2c5f09b10430963a1668ec7c842992bc89bfd7b4 Reviewed-on: https://bazel-review.googlesource.com/#/c/3982 MOS_MIGRATED_REVID=128453417
* Description redacted.Gravatar Googler2016-07-25
| | | | | -- MOS_MIGRATED_REVID=128258430
* Export xcode_locator's source file under tools/osx/ to make it available for ↵Gravatar Chris Parsons2016-07-21
| | | | | | | reference by future repository rules. Removes the xcode-locator binary file under tools/objc. Originally, the precompiled binary was going to be referenced, but it's easier to build from source in the repository rule. -- MOS_MIGRATED_REVID=128063694
* Rollback of commit 6b1856c0da95ccea97b13890b2617bd0635f4291.Gravatar Tobias Werth2016-07-21
| | | | | -- MOS_MIGRATED_REVID=128038062
* Make [] happy again by adding a test with the same name as the one whose ↵Gravatar Tobias Werth2016-07-21
| | | | | | | deletion it did not notice, //third_party/bazel/tools/build_defs/test:swift_lib_test . -- MOS_MIGRATED_REVID=128033534
* cc_configure.bzl: Output error message when executing a command failsGravatar Yun Peng2016-07-20
| | | | | | | -- Change-Id: I9ccc29369a0b3b704b21737127de5744f2a94a59 Reviewed-on: https://bazel-review.googlesource.com/#/c/4102 MOS_MIGRATED_REVID=127945552
* Fix tests under build_defs/apple/test.Gravatar Dmitry Shevchenko2016-07-20
| | | | | -- MOS_MIGRATED_REVID=127851051
* Adding default value for environment variables and python binaryGravatar Yun Peng2016-07-18
| | | | | | | | | Also output more clear and useful information during auto configuration -- Change-Id: I7ea893ce8765d813b026bccc2c86e7aa2106baac Reviewed-on: https://bazel-review.googlesource.com/#/c/4051 MOS_MIGRATED_REVID=127703994
* When running Javac and related tools, use -XX:+TieredCompilation ↵Gravatar Philipp Wollermann2016-07-18
| | | | | | | | | -XX:TieredStopAtLevel=1 instead of -client, as the latter is ignored on 64-bit JVMs since at least JDK 6. The new flags have been shown to cut down CPU time by 50% due to reduced time spent in JIT and improving overall run time for short running actions, some times also cutting them in half. -- MOS_MIGRATED_REVID=127536578
* Fix Windows tests.Gravatar Dmitry Lomov2016-07-15
| | | | | | | -- Change-Id: Ib480661ebbc522007edd77b374d6720d216b4508 Reviewed-on: https://bazel-review.googlesource.com/#/c/4050 MOS_MIGRATED_REVID=127534581
* Fixed repository.which() on WindowsGravatar Yun Peng2016-07-15
| | | | | | | | | Also removed previous workaround in cc_configure.bzl -- Change-Id: I6dcd039fc5e18af8f2d21969641d6bbd05c8badc Reviewed-on: https://bazel-review.googlesource.com/#/c/4034 MOS_MIGRATED_REVID=127518922
* StandaloneTestStrategy: Use relative paths for environmental variables ↵Gravatar Philipp Wollermann2016-07-14
| | | | | | | | | | | related to tests. This allows for better caching and also makes it easy to run tests in a different directory than the global execroot. The paths are rewritten to absolute paths in test-setup.sh, because Test Encyclopedia says that we pass absolute paths to tests in these variables. -- MOS_MIGRATED_REVID=127432675
* Remove a TODO for a closed bug.Gravatar Dmitry Shevchenko2016-07-13
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=127208093
* Autoconfigure MSVC CROSSTOOLGravatar Yun Peng2016-07-13
| | | | | | | -- Change-Id: I55b2c567a3fc6be15f29d03c5c6e9891ef540072 Reviewed-on: https://bazel-review.googlesource.com/#/c/4012 MOS_MIGRATED_REVID=127184463
* Enable @testable import in swift_libraryGravatar Dmitry Shevchenko2016-07-11
| | | | | | | * Debug and fastbuild compilation modes now pass -enable-testing flag enabling internal symbol imports in test code. -- MOS_MIGRATED_REVID=126925229
* Make swift_library explicitly specify the module maps it is using.Gravatar Dmitry Shevchenko2016-07-11
| | | | | | | * This seems to fix an issue with Clang loading the same header twice when it's discovering module maps implicitly. Also makes the command line cleaner. -- MOS_MIGRATED_REVID=126922449
* RELNOTES: use xcrun simctl instead of iossim to launch the app for "blaze run".Gravatar Googler2016-07-08
| | | | | -- MOS_MIGRATED_REVID=126837234
* More pieces of RClassGeneratorActionGravatar Googler2016-07-08
| | | | | | | | | | | | Add the rclass_generator.sh, and fill in the boiler-plate for mock tools, etc. Mostly cargo- culting references to resources_processor.sh. Rename earlier pieces to use RClassGenerator prefix instead of AndroidResourceCompilation. -- MOS_MIGRATED_REVID=126831848
* Switch swift_library to using swiftc instead of swift -frontend.Gravatar Dmitry Shevchenko2016-07-08
| | | | | | | | | * Adds output file map support, to handle compiler outputs with multiple inputs such as Whole Module Optimization compilation. * Properly archives object file outputs into a static library. -- MOS_MIGRATED_REVID=126811405