| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
--
Change-Id: Ia70ca1b8482e10bc1ac91799aa238f8613e5c824
Reviewed-on: https://bazel-review.googlesource.com/#/c/1801
MOS_MIGRATED_REVID=100476467
|
|
|
|
|
|
|
|
|
|
|
| |
This is a slightly cleaned-up version of the rules from
https://github.com/ekuefler/bazel-groovy, which my team has been using for a few
months. I'll add the test rules from there separately.
--
Change-Id: I07b5270bfdada5244ed82dee617b4997855747d8
Reviewed-on: https://bazel-review.googlesource.com/#/c/1590/
MOS_MIGRATED_REVID=100476149
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some debs file actually does use the LZMA compression and reading
that format requires python 3. Backports of LZMA to python 2 are
using native deps which might be hard for the user to setup and
our support of python 3 is not really functional (it needs 2to3
to use gflags for instance). Until we fix Bazel's python 3 support,
we shell out to xzcat for supporting LZMA compressed file.
Also added test for the archive library. These tests shows some
wrong handling in the AR format padding, fixed.
--
MOS_MIGRATED_REVID=100474498
|
|
|
|
|
|
|
|
|
| |
Image generated by docker build might put "null" as entry
value in the JSON metadata. Ignore those value when doing
the deep copy to avoid error on assigning to "NoneType".
--
MOS_MIGRATED_REVID=100145909
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=100125974
|
|
|
|
|
|
|
|
|
|
|
| |
use of that accessor. Data configuration access here complicates
the first phase of dynamic configuration support. And the current
use doesn't specifically need this configuration.
We can always add support back in if there's demand.
--
MOS_MIGRATED_REVID=99938987
|
|
|
|
|
|
|
|
| |
Before the leading slash were not striped before appending the
path prefix, leading to a double slash at that point.
--
MOS_MIGRATED_REVID=99807605
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the file is generated, by a genrule for instance, then
the stripping of the prefix was incorrect because the used path
was containing 'bazel-out/...' prefix. This change moved the prefix
stripping to the Skylark rule so we can use "short_path".
Also fix the test paths.
Tested by bazel test //tools/build_defs/docker:build_test.
--
Change-Id: Ia3eb98268505002bade1f6b0dd916e1a9767a530
Reviewed-on: https://bazel-review.googlesource.com/1770
MOS_MIGRATED_REVID=99710676
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99567637
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This introduces a new way to stop applications when deploying incremental
changes that saves the current app state for the next run. This allows things
like the back stack, and View/Fragment/Activity saved state to be restored when
the app next launches, making it easier to quickly iterate on code changes.
It adds a "--start" flag to mobile-install that replaces "--start_app".
--start accepts an argument describing the mode: no, cold, or warm. "no" is
now the equivalent of "--nostart_app", "cold" is the equivalent of
"--start_app", and "warm" is the new start mode.
Note that this is only useful with incremental installs, as Android clears out
any previously saved state when an APK is replaced.
--
MOS_MIGRATED_REVID=99508790
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99464781
|
|
|
|
|
|
|
| |
This makes things a bit more robust.
--
MOS_MIGRATED_REVID=99464712
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99378104
|
|
|
|
|
|
|
|
|
| |
Also tweak the Android NDK CROSSTOOL file a bit so that it actually works.
Fixes #335.
--
MOS_MIGRATED_REVID=99377509
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This packager can be called by the release scripts to generate
a self-extractable bash installer for Bazel. This script was
tested by hand as extra arguments can be specified to change
the default install of Bazel (default is system-wide and
with the argument you can make a user install).
This will be the only packager for now since GitHub is offering
the possibility to download the source tree as a ZIP. Hopefully,
before the end of the year we could build some more package kind.
--
Change-Id: I1a2d0cd39b9e4adcaf6c984ec4c855a04213b61a
Reviewed-on: https://bazel-review.googlesource.com/1581
MOS_MIGRATED_REVID=99258828
|
|
|
|
|
|
|
| |
installing native libraries.
--
MOS_MIGRATED_REVID=99257598
|
|
|
|
|
|
|
|
|
|
| |
Docker pulled image do not have the 'top' file but does have a one entry
repositories files. To enable using them as input to the docker_build rule,
we read the repositories file if no 'top' file is present and use the first
declared image as the parent name.
--
MOS_MIGRATED_REVID=99181235
|
|
|
|
|
|
|
| |
s/package/packages/
--
MOS_MIGRATED_REVID=99175780
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99163435
|
|
|
|
|
|
|
| |
TESTED=manual
--
MOS_MIGRATED_REVID=99161344
|
|
|
|
|
|
|
|
| |
docker_build is a Skylark rule that describe a docker image. You can
replace Dockerfile by a docker_build to use Bazel's incrementality model.
--
MOS_MIGRATED_REVID=99160762
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99025960
|
|
|
|
|
|
|
|
|
| |
Change CcLibrary to work both with and without declared outputs.
This fixed #61 - header-only libraries now compile on MacOS.
--
MOS_MIGRATED_REVID=99007746
|
|
|
|
|
|
|
| |
-l isn't actually an option test takes.
--
MOS_MIGRATED_REVID=98731906
|
|
|
|
|
|
|
|
|
|
| |
Debug the rule_test generates feature.
Implement the rule_test provides feature, using regexp on the provider repr.
Also, add docstrings and reformat to comply with Google python style guide.
--
MOS_MIGRATED_REVID=98687673
|
|
|
|
|
|
|
|
|
| |
Fixes #99.
--
Change-Id: I9b81be7f8efc7f7e57b458fe91cfbabcaaee419d
Reviewed-on: https://bazel-review.googlesource.com/#/c/1632
MOS_MIGRATED_REVID=98472498
|
|
|
|
|
|
|
| |
Tested by patched in my local Bazel.
--
MOS_MIGRATED_REVID=98401341
|
|
|
|
|
|
|
| |
names used with Closure Compiler
--
MOS_MIGRATED_REVID=98076079
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=97814117
|
|
|
|
|
|
|
| |
Adds a jar output to Java and Android rules which contains the class files for source files generated from Java annotation processors. For a java_binary foo, the jar will be foo-gen.jar, and for a java_library foo the jar will be libfoo-gen.jar, and similarly for Android. Also adds a binary serialized proto manifest file output to Java and Android rules which describes the contents of the output class jar of those rules, which is used to create the -gen.jar. See src/main/protobuf/java_compilation.proto.
--
MOS_MIGRATED_REVID=97793715
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=97780353
|
|
|
|
|
|
|
|
|
| |
--crosstool_top=@androidndk//:toolchain --host_crosstool_top=//tools/cpp:toolchain.
I feel dirty.
--
MOS_MIGRATED_REVID=97769925
|
|
|
|
|
|
|
|
| |
This target enable deploying to AppEngine directly. This change also
use template_action instead of file_action for clarity.
--
MOS_MIGRATED_REVID=97763347
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
script(controled by workspace_status_command option, default to
tools/buildstamp/get_workspace_status) to emit addtional workspace
information to stable-status.txt.
This should address #216.
--
Change-Id: Iffb06482489f0d55393e27b0764e6e127fedbc20
Reviewed-on: https://bazel-review.git.corp.google.com/#/c/1550
MOS_MIGRATED_REVID=97678871
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=97675174
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=97334355
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=97258889
|
|
|
|
|
|
|
| |
This stubs out all Android support, but that's okay, because in order to test Android stuff, we need a way to get the NDK and the SDK somehow, which we don't know yet how to do.
--
MOS_MIGRATED_REVID=97222940
|
|
|
|
|
|
|
| |
and aar_generator.sh to the tools directory and make stub applications proper android_library rules instead of stub filegroups.
--
MOS_MIGRATED_REVID=97206853
|
|
|
|
|
|
|
|
| |
This support is based on kchodorow@'s genrule to build the Bazel's dashboard
AppEngine and was tested with it.
--
MOS_MIGRATED_REVID=97135934
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96883818
|
|
|
|
|
|
|
| |
Fixes #260
--
MOS_MIGRATED_REVID=96806898
|
|
|
|
|
|
|
| |
-client is now the only default JVM options of JavaBuilder
--
MOS_MIGRATED_REVID=96762330
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96406988
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96404668
|
|
|
|
|
|
|
|
|
| |
Now that we are using the error-prone javac, there is no need
to impose Java 8. However, because some of our tests are targetting
Java 8, developer should still use a JDK 8 to tests.
--
MOS_MIGRATED_REVID=96400914
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96365813
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Todo:
* Implement rust_bench_test for running benchmarks
* Enable rust_test to depend solely on a rust_library (since many projects
intermix #[test] methods in lib source).
* Improve error checking and handling and prevent rust_binary from directly
depending on cc_library.
* Implement rust_doc for generating rustdoc.
--
MOS_MIGRATED_REVID=96297772
|
|
|
|
|
|
|
|
|
| |
actually work. This is a temporary measure until these targets are integrated into android_sdk .
Also make handling invalid tools/android/jack packages in JackCompilationHelper a bit more robust.
--
MOS_MIGRATED_REVID=96202009
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Swift sources whitelisted
* Swift compilation and module merging actions
* Swift stdlib copying into IPA action
* Special case for signing embedded swift stdlib dylibs during bundle signing
* Works with mixed ObjC/Swift sources
* Doesn't support working with dependencies from Swift code.
* Requires Xcode 6.3.1 for swift compiler and tooling.
--
MOS_MIGRATED_REVID=96141887
|