diff options
author | Colin Cross <ccross@android.com> | 2016-09-16 12:51:30 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2016-09-16 12:53:59 -0700 |
commit | f09c8437f9cb080d88475df0ad5988b5e221c30a (patch) | |
tree | 316bee0554440ab2d51e272dbe0410a007b9a529 /cc/ndk_sysroot.go | |
parent | 702b561ee585f01ccd523615e168bbb40196eead (diff) | |
download | build_soong-f09c8437f9cb080d88475df0ad5988b5e221c30a.tar.gz build_soong-f09c8437f9cb080d88475df0ad5988b5e221c30a.tar.bz2 build_soong-f09c8437f9cb080d88475df0ad5988b5e221c30a.zip |
Make ndk.timestamp optional
Singleton rules need to manually specify Optional: true, or they will be
built for any ninja invocation that has no targets specified.
Test: m -j on tradefed build
Change-Id: Ifc060b25bc32e664c48731eb8a0d963b73574591
Diffstat (limited to 'cc/ndk_sysroot.go')
-rw-r--r-- | cc/ndk_sysroot.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/ndk_sysroot.go b/cc/ndk_sysroot.go index 04dce7b1..144d91c2 100644 --- a/cc/ndk_sysroot.go +++ b/cc/ndk_sysroot.go @@ -108,5 +108,6 @@ func (n *ndkSingleton) GenerateBuildActions(ctx blueprint.SingletonContext) { Rule: android.Touch, Outputs: []string{getNdkSysrootTimestampFile(ctx).String()}, Implicits: installPaths, + Optional: true, }) } |