diff options
author | anton@chromium.org <anton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-02 21:12:52 +0000 |
---|---|---|
committer | anton@chromium.org <anton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-02 21:12:52 +0000 |
commit | 81bdab2e3efe3885f48ed67239a1324544eb3f53 (patch) | |
tree | 8e0d6eee844fa27c8f5539abaf29b9580a45ae9f /content/content_common.gypi | |
parent | 58b1eb2fce058d56e3f1cacee078143ea306115a (diff) | |
download | chromium_src-81bdab2e3efe3885f48ed67239a1324544eb3f53.zip chromium_src-81bdab2e3efe3885f48ed67239a1324544eb3f53.tar.gz chromium_src-81bdab2e3efe3885f48ed67239a1324544eb3f53.tar.bz2 |
Android: exclude dead code from android build
Dead code is found examining symbols in the final targets of the 'All' build target.
Note, Ninja/Gyp combination does not provide a mechanism to
blocking include files. A later change could make something undead and the developer would get a link error, where they might expect a compile error.
I didn't modify GYP files were there was currently no branching or where there was already a very complex set of conditional configurations. Other than these cases which are minor, the majority of remaining dead code is because we link third party libraries with whole-archive flag.
BUG=
Review URL: https://chromiumcodereview.appspot.com/23030005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220856 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_common.gypi')
-rw-r--r-- | content/content_common.gypi | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/content/content_common.gypi b/content/content_common.gypi index 409a9d8..631bd74 100644 --- a/content/content_common.gypi +++ b/content/content_common.gypi @@ -167,15 +167,12 @@ 'common/file_utilities_messages.h', 'common/fileapi/file_system_messages.h', 'common/fileapi/webblob_messages.h', - 'common/find_match_rect_android.cc', - 'common/find_match_rect_android.h', 'common/font_cache_dispatcher_win.cc', 'common/font_cache_dispatcher_win.h', 'common/font_config_ipc_linux.cc', 'common/font_config_ipc_linux.h', 'common/font_list.cc', 'common/font_list.h', - 'common/font_list_android.cc', 'common/font_list_mac.mm', 'common/font_list_pango.cc', 'common/font_list_win.cc', @@ -426,6 +423,11 @@ }, }], ['OS=="android"',{ + 'sources!': [ + 'common/font_list.cc', + 'common/sandbox_util.cc', + 'public/common/child_process_host_delegate.cc', + ], 'link_settings': { 'libraries': [ '-landroid', # ANativeWindow |