diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2017-08-22 17:40:37 +0200 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2017-08-23 13:27:04 +0200 |
commit | 0baff0f51ecbc7956086d21e5c01201bc6672df9 (patch) | |
tree | e09dabf5827526de65e3033824d2035398c7bd87 /WORKSPACE | |
parent | ab58a9244bfccbc80fc3970329a36ce6ee3d4006 (diff) |
Make the srcs test be a Bazel test
./compile.sh srcs has been broken at several time because this
test cannot run on our internal presubmit (more precisely, don't see
most breakage on our internal presubmit). Making this test a Bazel
test should fix that at the same time reducing the scope of ./compile.sh
(with the other move of the determinism test, this make compile.sh
being only the bootstrapping script).
To do so, we fetch the list of sources in the repository through
a skylark repository and use genquery to interrogate the list of
sources in //:srcs filegroup.
Change-Id: If83af28a366cc0c52a7327ce9ed2489c7e88532f
PiperOrigin-RevId: 166064682
Diffstat (limited to 'WORKSPACE')
-rw-r--r-- | WORKSPACE | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -39,6 +39,10 @@ docker_repository() load("//src/test/docker:flavours.bzl", "pull_images_for_docker_tests") pull_images_for_docker_tests() +# For src/test/shell/bazel:test_srcs +load("//src/test/shell/bazel:list_source_repository.bzl", "list_source_repository") +list_source_repository(name = "local_bazel_source_list") + # To run the Android integration tests in //src/test/shell/bazel/android:all or # build the Android sample app in //examples/android/java/bazel:hello_world # |