Merge "Remove obsolete notice property."
This commit is contained in:
@@ -194,7 +194,6 @@ func commonDefaultModules() string {
|
||||
native_coverage: false,
|
||||
system_shared_libs: [],
|
||||
stl: "none",
|
||||
notice: "custom_notice",
|
||||
}
|
||||
cc_library {
|
||||
name: "libprofile-clang-extras",
|
||||
@@ -205,7 +204,6 @@ func commonDefaultModules() string {
|
||||
native_coverage: false,
|
||||
system_shared_libs: [],
|
||||
stl: "none",
|
||||
notice: "custom_notice",
|
||||
}
|
||||
cc_library {
|
||||
name: "libprofile-extras_ndk",
|
||||
@@ -214,7 +212,6 @@ func commonDefaultModules() string {
|
||||
native_coverage: false,
|
||||
system_shared_libs: [],
|
||||
stl: "none",
|
||||
notice: "custom_notice",
|
||||
sdk_version: "current",
|
||||
}
|
||||
cc_library {
|
||||
@@ -224,7 +221,6 @@ func commonDefaultModules() string {
|
||||
native_coverage: false,
|
||||
system_shared_libs: [],
|
||||
stl: "none",
|
||||
notice: "custom_notice",
|
||||
sdk_version: "current",
|
||||
}
|
||||
|
||||
|
14
cc/vndk.go
14
cc/vndk.go
@@ -671,12 +671,8 @@ func (c *vndkSnapshotSingleton) GenerateBuildActions(ctx android.SingletonContex
|
||||
snapshotArchDir := filepath.Join(snapshotDir, ctx.DeviceConfig().DeviceArch())
|
||||
|
||||
configsDir := filepath.Join(snapshotArchDir, "configs")
|
||||
noticeDir := filepath.Join(snapshotArchDir, "NOTICE_FILES")
|
||||
includeDir := filepath.Join(snapshotArchDir, "include")
|
||||
|
||||
// set of notice files copied.
|
||||
noticeBuilt := make(map[string]bool)
|
||||
|
||||
// paths of VNDK modules for GPL license checking
|
||||
modulePaths := make(map[string]string)
|
||||
|
||||
@@ -762,16 +758,6 @@ func (c *vndkSnapshotSingleton) GenerateBuildActions(ctx android.SingletonContex
|
||||
moduleNames[stem] = ctx.ModuleName(m)
|
||||
modulePaths[stem] = ctx.ModuleDir(m)
|
||||
|
||||
if len(m.NoticeFiles()) > 0 {
|
||||
noticeName := stem + ".txt"
|
||||
// skip already copied notice file
|
||||
if _, ok := noticeBuilt[noticeName]; !ok {
|
||||
noticeBuilt[noticeName] = true
|
||||
snapshotOutputs = append(snapshotOutputs, combineNoticesRule(
|
||||
ctx, m.NoticeFiles(), filepath.Join(noticeDir, noticeName)))
|
||||
}
|
||||
}
|
||||
|
||||
if ctx.Config().VndkSnapshotBuildArtifacts() {
|
||||
headers = append(headers, m.SnapshotHeaders()...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user