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/common/font_list_android.cc | |
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/common/font_list_android.cc')
-rw-r--r-- | content/common/font_list_android.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/content/common/font_list_android.cc b/content/common/font_list_android.cc deleted file mode 100644 index c296657..0000000 --- a/content/common/font_list_android.cc +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "content/common/font_list.h" - -#include "base/values.h" - -namespace content { - -scoped_ptr<ListValue> GetFontList_SlowBlocking() { - return scoped_ptr<ListValue>(new ListValue); -} - -} // namespace content |