Remove versioned_ndk_headers module type.
No longer used. Bug: None Test: treehugger Change-Id: I74e89ff2e7ffb7d81a0b123507df5a973f9400d4
This commit is contained in:
@@ -79,7 +79,6 @@ func init() {
|
||||
func RegisterNdkModuleTypes(ctx android.RegistrationContext) {
|
||||
ctx.RegisterModuleType("ndk_headers", NdkHeadersFactory)
|
||||
ctx.RegisterModuleType("ndk_library", NdkLibraryFactory)
|
||||
ctx.RegisterModuleType("versioned_ndk_headers", VersionedNdkHeadersFactory)
|
||||
ctx.RegisterModuleType("preprocessed_ndk_headers", preprocessedNdkHeadersFactory)
|
||||
ctx.RegisterParallelSingletonType("ndk", NdkSingleton)
|
||||
}
|
||||
@@ -230,17 +229,6 @@ func (n *ndkSingleton) GenerateBuildActions(ctx android.SingletonContext) {
|
||||
licensePaths = append(licensePaths, m.licensePath)
|
||||
}
|
||||
|
||||
if m, ok := module.(*versionedHeaderModule); ok {
|
||||
headerSrcPaths = append(headerSrcPaths, m.srcPaths...)
|
||||
headerInstallPaths = append(headerInstallPaths, m.installPaths...)
|
||||
// Verification intentionally not done for headers that go through
|
||||
// versioner. It'd be nice to have, but the only user is bionic, and
|
||||
// that one module would also need to use skip_verification, so it
|
||||
// wouldn't help at all.
|
||||
installPaths = append(installPaths, m.installPaths...)
|
||||
licensePaths = append(licensePaths, m.licensePath)
|
||||
}
|
||||
|
||||
if m, ok := module.(*preprocessedHeadersModule); ok {
|
||||
headerSrcPaths = append(headerSrcPaths, m.srcPaths...)
|
||||
headerInstallPaths = append(headerInstallPaths, m.installPaths...)
|
||||
|
Reference in New Issue
Block a user