aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2016-01-07 18:16:02 -0800
committerDan Albert <danalbert@google.com>2016-01-08 13:45:35 -0800
commit35cf8796ff265a1e1657e0be485a6dfc7d55ceea (patch)
tree2081a58bd0842c4661112e6b97eeab6815904589
parent154f44057be811936e225cad7dd357b6c6fb4c1a (diff)
downloadndk-35cf8796ff265a1e1657e0be485a6dfc7d55ceea.tar.gz
Package NOTICE file for gnustl.
Bug: http://b/25592257 Change-Id: I19570642cee6811d539df84f6cc89942b4c1fe7f
-rw-r--r--sources/cxx-stl/gnu-libstdc++/.gitignore1
-rwxr-xr-xsources/cxx-stl/gnu-libstdc++/build-gnu-libstdc++.sh4
2 files changed, 5 insertions, 0 deletions
diff --git a/sources/cxx-stl/gnu-libstdc++/.gitignore b/sources/cxx-stl/gnu-libstdc++/.gitignore
index 7d54aaee8..4378c6aa4 100644
--- a/sources/cxx-stl/gnu-libstdc++/.gitignore
+++ b/sources/cxx-stl/gnu-libstdc++/.gitignore
@@ -4,3 +4,4 @@
libs/
include/
/repo.prop
+/NOTICE
diff --git a/sources/cxx-stl/gnu-libstdc++/build-gnu-libstdc++.sh b/sources/cxx-stl/gnu-libstdc++/build-gnu-libstdc++.sh
index c12484455..d354afc5e 100755
--- a/sources/cxx-stl/gnu-libstdc++/build-gnu-libstdc++.sh
+++ b/sources/cxx-stl/gnu-libstdc++/build-gnu-libstdc++.sh
@@ -467,6 +467,10 @@ if [ -n "$PACKAGE_DIR" ] ; then
make_repo_prop "$NDK_DIR/$STL_DIR/$GNUSTL_DIR"
FILES="$FILES $GNUSTL_DIR/repo.prop"
+ cp "$ANDROID_BUILD_TOP/toolchain/gcc/gcc-4.9/COPYING" \
+ "$NDK_DIR/$STL_DIR/$GNUSTL_DIR/NOTICE"
+ FILES="$FILES $GNUSTL_DIR/NOTICE"
+
PACKAGE="$PACKAGE_DIR/gnustl-${VERSION}.zip"
dump "Packaging: $PACKAGE"
pack_archive "$PACKAGE" "$NDK_DIR/$STL_DIR" "$FILES"