Exclude ndk stubs from notice file list
Set LOCAL_NO_NOTICE_FILE so that we don't list them in the third party notices: out/soong/ndk/platforms/android-10/arch-arm/usr/lib/libc.so out/soong/ndk/platforms/android-10/arch-arm/usr/lib/liblog.so ... These are just stub libraries, and aren't distributed on the device. The real versions of these libraries will be distributed on the device, and already have the license information. Bug: 36867708 Test: Diff aosp_arm's system/etc/NOTICE.html.gz file before/after Change-Id: Ib647c64e9ce55f700738b00d2ff685e784ed3801
This commit is contained in:
parent
ac01ff5447
commit
866810db9f
1 changed files with 1 additions and 0 deletions
|
@ -294,6 +294,7 @@ func (c *stubDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkDa
|
|||
fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+outputFile.Ext())
|
||||
fmt.Fprintln(w, "LOCAL_MODULE_PATH := "+path)
|
||||
fmt.Fprintln(w, "LOCAL_MODULE_STEM := "+stem)
|
||||
fmt.Fprintln(w, "LOCAL_NO_NOTICE_FILE := true")
|
||||
|
||||
// Prevent make from installing the libraries to obj/lib (since we have
|
||||
// dozens of libraries with the same name, they'll clobber each other
|
||||
|
|
Loading…
Reference in a new issue