Revert "Verify that ndk_headers headers are valid C."
Revert submission 3207854-ensure-c-ndk-headers Reason for revert: Droidmonitor created revert due to b/358445530. Reverted changes: /q/submissionid:3207854-ensure-c-ndk-headers Change-Id: I649941a4d063d76a1c6a8e58fb885da2c44331c0
This commit is contained in:
committed by
Gerrit Code Review
parent
a866829885
commit
181934cc26
@@ -18,7 +18,6 @@ import (
|
||||
"path/filepath"
|
||||
|
||||
"android/soong/android"
|
||||
|
||||
"github.com/google/blueprint"
|
||||
)
|
||||
|
||||
@@ -45,7 +44,7 @@ func init() {
|
||||
}
|
||||
|
||||
// Returns the NDK base include path for use with sdk_version current. Usable with -I.
|
||||
func getCurrentIncludePath(ctx android.PathContext) android.OutputPath {
|
||||
func getCurrentIncludePath(ctx android.ModuleContext) android.OutputPath {
|
||||
return getNdkSysrootBase(ctx).Join(ctx, "usr/include")
|
||||
}
|
||||
|
||||
@@ -74,13 +73,6 @@ type headerProperties struct {
|
||||
|
||||
// Path to the NOTICE file associated with the headers.
|
||||
License *string `android:"path"`
|
||||
|
||||
// Set to true if the headers installed by this module should skip
|
||||
// verification. This step ensures that each header is self-contained (can
|
||||
// be #included alone) and is valid C. This should not be disabled except in
|
||||
// rare cases. Outside bionic and external, if you're using this option
|
||||
// you've probably made a mistake.
|
||||
Skip_verification *bool
|
||||
}
|
||||
|
||||
type headerModule struct {
|
||||
@@ -317,13 +309,6 @@ type preprocessedHeadersProperties struct {
|
||||
|
||||
// Path to the NOTICE file associated with the headers.
|
||||
License *string
|
||||
|
||||
// Set to true if the headers installed by this module should skip
|
||||
// verification. This step ensures that each header is self-contained (can
|
||||
// be #included alone) and is valid C. This should not be disabled except in
|
||||
// rare cases. Outside bionic and external, if you're using this option
|
||||
// you've probably made a mistake.
|
||||
Skip_verification *bool
|
||||
}
|
||||
|
||||
type preprocessedHeadersModule struct {
|
||||
|
Reference in New Issue
Block a user