diff --git a/cc/ndk_sysroot.go b/cc/ndk_sysroot.go index 4a9601bca..2726b1a3f 100644 --- a/cc/ndk_sysroot.go +++ b/cc/ndk_sysroot.go @@ -144,13 +144,13 @@ func (n *ndkSingleton) GenerateBuildActions(ctx android.SingletonContext) { Inputs: licensePaths, }) - baseDepPaths := append(installPaths, combinedLicense, - getNdkAbiDiffTimestampFile(ctx)) + baseDepPaths := append(installPaths, combinedLicense) ctx.Build(pctx, android.BuildParams{ - Rule: android.Touch, - Output: getNdkBaseTimestampFile(ctx), - Implicits: baseDepPaths, + Rule: android.Touch, + Output: getNdkBaseTimestampFile(ctx), + Implicits: baseDepPaths, + Validation: getNdkAbiDiffTimestampFile(ctx), }) fullDepPaths := append(staticLibInstallPaths, getNdkBaseTimestampFile(ctx))