aboutsummaryrefslogtreecommitdiffstats
path: root/cc/androidmk.go
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-04-04 14:13:45 -0700
committerDan Willemsen <dwillemsen@google.com>2017-04-04 14:59:57 -0700
commit866810db9f2328fd14b4572f86a365a31ba714b0 (patch)
treef073f2b8a1c6746813a0ca2ebf1f029307b8d4c6 /cc/androidmk.go
parentac01ff5447518986f778be5b5c5a7bb0bf354e9c (diff)
downloadbuild_soong-866810db9f2328fd14b4572f86a365a31ba714b0.tar.gz
build_soong-866810db9f2328fd14b4572f86a365a31ba714b0.tar.bz2
build_soong-866810db9f2328fd14b4572f86a365a31ba714b0.zip
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
Diffstat (limited to 'cc/androidmk.go')
-rw-r--r--cc/androidmk.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/androidmk.go b/cc/androidmk.go
index 705ac90a..50e97b12 100644
--- a/cc/androidmk.go
+++ b/cc/androidmk.go
@@ -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