diff options
author | Colin Cross <ccross@android.com> | 2016-08-29 16:14:13 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2016-08-31 09:48:08 -0700 |
commit | 9d45bb78c52d160d5bf73f2a485401d394f559b9 (patch) | |
tree | 67bf21333066406fd7edc618a20d32cac0b1908d /cc/ndk_library.go | |
parent | 3cfaba1654e12fed152844d94a92a8d8aec668f0 (diff) | |
download | build_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.go | 2 |
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", |