aboutsummaryrefslogtreecommitdiffstats
path: root/cc/ndk_library.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-08-29 16:14:13 -0700
committerColin Cross <ccross@android.com>2016-08-31 09:48:08 -0700
commit9d45bb78c52d160d5bf73f2a485401d394f559b9 (patch)
tree67bf21333066406fd7edc618a20d32cac0b1908d /cc/ndk_library.go
parent3cfaba1654e12fed152844d94a92a8d8aec668f0 (diff)
downloadbuild_soong-9d45bb78c52d160d5bf73f2a485401d394f559b9.tar.gz
build_soong-9d45bb78c52d160d5bf73f2a485401d394f559b9.tar.bz2
build_soong-9d45bb78c52d160d5bf73f2a485401d394f559b9.zip
Enable goma in soong
When the UseGoma flag is set, put all rules except the C compilation rule in an externally defined local_pool, which will have been created by kati. The gomacc wrapper will already be in the CC_WRAPPER environment variable. Bug: 31142427 Change-Id: I699d4edff2e302eee398dad8692ceb14721a628c
Diffstat (limited to 'cc/ndk_library.go')
-rw-r--r--cc/ndk_library.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/ndk_library.go b/cc/ndk_library.go
index b0fd398f..37ce2687 100644
--- a/cc/ndk_library.go
+++ b/cc/ndk_library.go
@@ -28,7 +28,7 @@ import (
var (
toolPath = pctx.SourcePathVariable("toolPath", "build/soong/cc/gen_stub_libs.py")
- genStubSrc = pctx.StaticRule("genStubSrc",
+ genStubSrc = pctx.AndroidStaticRule("genStubSrc",
blueprint.RuleParams{
Command: "$toolPath --arch $arch --api $apiLevel $in $out",
Description: "genStubSrc $out",