aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorRamy Medhat <abdelaal@google.com>2020-04-13 13:21:23 -0400
committerRamy Medhat <abdelaal@google.com>2020-04-16 21:18:10 -0400
commit9a90fe5e236c5aa7e17c1db40302c566c2a01988 (patch)
tree990703667df0b0354ed2895a9c69acfb2a17cb30 /Android.bp
parentf472871e0028b21501fc286c71e5f7a96a8e055a (diff)
Allow remote execution of link actions.
This CL adds a remoteexec package that allows adding a configurable RBE prefix to the template. Test: built aosp crosshatch userdebug with and without RBE_CXX_LINKS. Change-Id: Ica920c3d7f79f2996210b9cbd448126451c1707c
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp17
1 files changed, 17 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index fe776df54..97233f555 100644
--- a/Android.bp
+++ b/Android.bp
@@ -132,6 +132,7 @@ bootstrap_go_package {
pkgPath: "android/soong/cc/config",
deps: [
"soong-android",
+ "soong-remoteexec",
],
srcs: [
"cc/config/clang.go",
@@ -547,6 +548,22 @@ bootstrap_go_package {
pluginFor: ["soong_build"],
}
+bootstrap_go_package {
+ name: "soong-remoteexec",
+ pkgPath: "android/soong/remoteexec",
+ deps: [
+ "blueprint",
+ "soong-android",
+ ],
+ srcs: [
+ "remoteexec/remoteexec.go",
+ ],
+ testSrcs: [
+ "remoteexec/remoteexec_test.go",
+ ],
+ pluginFor: ["soong_build"],
+}
+
//
// Defaults to enable various configurations of host bionic
//