Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: skia/skia_chrome.gypi

Issue 23030005: Android: exclude dead code from android build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't exclude vector_canvas Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 # This gypi file contains all the Chrome-specific enhancements to Skia. 6 # This gypi file contains all the Chrome-specific enhancements to Skia.
7 # In component mode (shared_lib) it is folded into a single shared library with 7 # In component mode (shared_lib) it is folded into a single shared library with
8 # the Skia files but in all other cases it is a separate library. 8 # the Skia files but in all other cases it is a separate library.
9 { 9 {
10 'dependencies': [ 10 'dependencies': [
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 'ext/skia_utils_mac.h', 71 'ext/skia_utils_mac.h',
72 'ext/skia_utils_win.cc', 72 'ext/skia_utils_win.cc',
73 'ext/skia_utils_win.h', 73 'ext/skia_utils_win.h',
74 'ext/vector_canvas.cc', 74 'ext/vector_canvas.cc',
75 'ext/vector_canvas.h', 75 'ext/vector_canvas.h',
76 'ext/vector_platform_device_emf_win.cc', 76 'ext/vector_platform_device_emf_win.cc',
77 'ext/vector_platform_device_emf_win.h', 77 'ext/vector_platform_device_emf_win.h',
78 'ext/vector_platform_device_skia.cc', 78 'ext/vector_platform_device_skia.cc',
79 'ext/vector_platform_device_skia.h', 79 'ext/vector_platform_device_skia.h',
80 ], 80 ],
81
82 'conditions': [ 81 'conditions': [
83 # For POSIX platforms, prefer the Mutex implementation provided by Skia 82 # For POSIX platforms, prefer the Mutex implementation provided by Skia
84 # since it does not generate static initializers. 83 # since it does not generate static initializers.
85 # TODO: should check if SK_USE_POSIX_THREADS is defined instead 84 # TODO: should check if SK_USE_POSIX_THREADS is defined instead
86 [ 'OS == "android" or OS == "linux" or OS == "mac" or OS == "ios"', { 85 [ 'OS == "android" or OS == "linux" or OS == "mac" or OS == "ios"', {
87 'sources!': [ 86 'sources!': [
88 'ext/SkThread_chrome.cc', 87 'ext/SkThread_chrome.cc',
89 ], 88 ],
90 }], 89 }],
91 [ 'OS == "android" and enable_printing == 0', { 90 [ 'OS == "android" and enable_printing == 0', {
92 'sources!': [ 91 'sources!': [
92 'ext/skia_utils_base.cc',
93 'ext/vector_platform_device_skia.cc', 93 'ext/vector_platform_device_skia.cc',
94 ], 94 ],
95 }], 95 }],
96 ['OS == "ios"', { 96 ['OS == "ios"', {
97 'sources/': [ 97 'sources/': [
98 ['exclude', '^ext/vector_platform_device_skia\\.'], 98 ['exclude', '^ext/vector_platform_device_skia\\.'],
99 ], 99 ],
100 'dependencies!': [ 100 'dependencies!': [
101 'skia_chrome_opts', 101 'skia_chrome_opts',
102 ], 102 ],
(...skipping 20 matching lines...) Expand all
123 'target_conditions': [ 123 'target_conditions': [
124 # Pull in specific linux files for android (which have been filtered out 124 # Pull in specific linux files for android (which have been filtered out
125 # by file name rules). 125 # by file name rules).
126 [ 'OS == "android"', { 126 [ 'OS == "android"', {
127 'sources/': [ 127 'sources/': [
128 ['include', 'ext/platform_device_linux\\.cc$'], 128 ['include', 'ext/platform_device_linux\\.cc$'],
129 ], 129 ],
130 }], 130 }],
131 ], 131 ],
132 } 132 }
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | ui/ui.gyp » ('j') | ui/ui.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698