object files depend only on NDK headers
* shared libraries and binaries can depend on NDK share libraries Bug: 208310402 Test: WITH_TIDY=1 make tidy-soong Test: WITH_TIDY=1 make droid Change-Id: I88ca8555c62d5ca49e36ca089749722166afec30
This commit is contained in:
@@ -637,9 +637,9 @@ var gnuToCReplacer = strings.NewReplacer("gnu", "c")
|
||||
|
||||
func ndkPathDeps(ctx ModuleContext) android.Paths {
|
||||
if ctx.Module().(*Module).IsSdkVariant() {
|
||||
// The NDK sysroot timestamp file depends on all the NDK sysroot files
|
||||
// (headers and libraries).
|
||||
return android.Paths{getNdkBaseTimestampFile(ctx)}
|
||||
// The NDK sysroot timestamp file depends on all the NDK sysroot header files
|
||||
// for compiling src to obj files.
|
||||
return android.Paths{getNdkHeadersTimestampFile(ctx)}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user