diff options
author | gunsch@chromium.org <gunsch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 18:39:54 +0000 |
---|---|---|
committer | gunsch@chromium.org <gunsch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 18:39:54 +0000 |
commit | b9e0d854fe3824ffe84895e3b26bdcea883cb2ea (patch) | |
tree | bfbeff0736dc2975e9e8e2df7a409cd2ae758a59 /build | |
parent | ac5f0244deb462f825d006fbd73009d8f7fc90e3 (diff) | |
download | chromium_src-b9e0d854fe3824ffe84895e3b26bdcea883cb2ea.zip chromium_src-b9e0d854fe3824ffe84895e3b26bdcea883cb2ea.tar.gz chromium_src-b9e0d854fe3824ffe84895e3b26bdcea883cb2ea.tar.bz2 |
Removes "copy" action for extra_native_libs in java_apk.gypi.
Since the output lib file is already generated by
strip_native_libraries, the 'copy' action will result in the
unstripped version overwriting the stripped one and getting
packaged in the final APK.
Before change:
$ ninja -C out/Debug -j32 content_shell_apk
[snipped]
$ ls -l out/Debug/apks/ContentShell.apk
-rw-r----- 1 gunsch eng 27M Apr 3 15:09 out/Debug/apks/ContentShell.apk
$ unzip -l out/Debug/apks/ContentShell.apk | grep lib/
264772 2014-04-03 14:54 lib/armeabi-v7a/gdbserver
16030344 2014-04-03 15:00 lib/armeabi-v7a/libosmesa.so
38423836 2014-04-03 15:09 lib/armeabi-v7a/libcontent_shell_content_view.so
$ ls -l out/Debug/lib
total 2.2G
-rwxr-x--- 1 gunsch eng 2.2G Apr 3 15:09 libcontent_shell_content_view.so
-rw-r----- 1 gunsch eng 5.7K Apr 3 15:09 libcontent_shell_content_view.so.TOC
-rwxr-x--- 1 gunsch eng 26K Mar 28 14:25 libmojo_system.so
-rw-r----- 1 gunsch eng 714 Mar 28 14:25 libmojo_system.so.TOC
-rwxr-x--- 2 gunsch eng 16M Apr 3 15:00 libosmesa.so
$ ls -l out/Debug/content_shell_apk/libs/armeabi-v7a/
total 53M
-rwxr-x--- 2 gunsch eng 259K Apr 3 14:54 gdbserver
-rwxr-x--- 1 gunsch eng 37M Apr 3 15:09 libcontent_shell_content_view.so
-rwxr-x--- 2 gunsch eng 16M Apr 3 15:00 libosmesa.so
After change:
$ ls -l out/Debug/apks/ContentShell.apk
-rw-r----- 1 gunsch eng 21M Apr 3 15:31 out/Debug/apks/ContentShell.apk
$ unzip -l out/Debug/apks/ContentShell.apk | grep lib/
264772 2014-04-03 14:54 lib/armeabi-v7a/gdbserver
2289816 2014-04-03 15:31 lib/armeabi-v7a/libosmesa.so
38423836 2014-04-03 15:31 lib/armeabi-v7a/libcontent_shell_content_view.so
$ ls -l out/Debug/lib
total 2.2G
-rwxr-x--- 1 gunsch eng 2.2G Apr 3 15:31 libcontent_shell_content_view.so
-rw-r----- 1 gunsch eng 5.7K Apr 3 15:31 libcontent_shell_content_view.so.TOC
-rwxr-x--- 1 gunsch eng 16M Apr 3 15:30 libosmesa.so
$ ls -l out/Debug/content_shell_apk/libs/armeabi-v7a/
total 40M
-rwxr-x--- 2 gunsch eng 259K Apr 3 14:54 gdbserver
-rwxr-x--- 1 gunsch eng 37M Apr 3 15:31 libcontent_shell_content_view.so
-rwxr-x--- 1 gunsch eng 2.2M Apr 3 15:31 libosmesa.so
BUG=
R=peter@chromium.org
Review URL: https://codereview.chromium.org/224673002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262461 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/java_apk.gypi | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/build/java_apk.gypi b/build/java_apk.gypi index 8512810..8e9e7a2 100644 --- a/build/java_apk.gypi +++ b/build/java_apk.gypi @@ -199,7 +199,6 @@ 'destination': '<(apk_package_native_libs_dir)/<(android_app_abi)', 'files': [ '<(android_gdbserver)', - '<@(extra_native_libs)', ], }, ], |