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
This commit is contained in:
parent
702b561ee5
commit
f09c8437f9
|
@ -108,5 +108,6 @@ func (n *ndkSingleton) GenerateBuildActions(ctx blueprint.SingletonContext) {
|
|||
Rule: android.Touch,
|
||||
Outputs: []string{getNdkSysrootTimestampFile(ctx).String()},
|
||||
Implicits: installPaths,
|
||||
Optional: true,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue