diff options
author | xingao <xingao@google.com> | 2017-11-01 13:03:40 -0400 |
---|---|---|
committer | John Cater <jcater@google.com> | 2017-11-02 10:04:04 -0400 |
commit | 1f0f1f1cd0d76af1b9a3cc9ee7c9a5a5717766b6 (patch) | |
tree | cbe1153858e7c6241318539226febc346efc61cf /src | |
parent | 4ad39f1301f29b1024e6c970765ab9721cac8be0 (diff) |
Enable switching singlejar and ijar targets for remote execution.
When --define EXECUTOR=remote is specified in bazel command, embedded tool singlejar and ijar will be compiled remotely from source.
PiperOrigin-RevId: 174195094
Diffstat (limited to 'src')
-rw-r--r-- | src/BUILD | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -385,6 +385,12 @@ config_setting( visibility = ["//visibility:public"], ) +config_setting( + name = "remote", + values = {"define": "EXECUTOR=remote"}, + visibility = ["//visibility:public"], +) + filegroup( name = "srcs", srcs = glob(["**"]) + [ |