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

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: Fixes for build breakage Created 7 years, 3 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
« no previous file with comments | « content/content_renderer.gypi ('k') | ui/ui.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 'ext/skia_utils_mac.h', 75 'ext/skia_utils_mac.h',
76 'ext/skia_utils_win.cc', 76 'ext/skia_utils_win.cc',
77 'ext/skia_utils_win.h', 77 'ext/skia_utils_win.h',
78 'ext/vector_canvas.cc', 78 'ext/vector_canvas.cc',
79 'ext/vector_canvas.h', 79 'ext/vector_canvas.h',
80 'ext/vector_platform_device_emf_win.cc', 80 'ext/vector_platform_device_emf_win.cc',
81 'ext/vector_platform_device_emf_win.h', 81 'ext/vector_platform_device_emf_win.h',
82 'ext/vector_platform_device_skia.cc', 82 'ext/vector_platform_device_skia.cc',
83 'ext/vector_platform_device_skia.h', 83 'ext/vector_platform_device_skia.h',
84 ], 84 ],
85
86 'conditions': [ 85 'conditions': [
87 # For POSIX platforms, prefer the Mutex implementation provided by Skia 86 # For POSIX platforms, prefer the Mutex implementation provided by Skia
88 # since it does not generate static initializers. 87 # since it does not generate static initializers.
89 # TODO: should check if SK_USE_POSIX_THREADS is defined instead 88 # TODO: should check if SK_USE_POSIX_THREADS is defined instead
90 [ 'OS == "android" or OS == "linux" or OS == "mac" or OS == "ios"', { 89 [ 'OS == "android" or OS == "linux" or OS == "mac" or OS == "ios"', {
91 'sources!': [ 90 'sources!': [
92 'ext/SkThread_chrome.cc', 91 'ext/SkThread_chrome.cc',
93 ], 92 ],
94 }], 93 }],
95 [ 'OS == "android" and enable_printing == 0', { 94 [ 'OS == "android" and enable_printing == 0', {
96 'sources!': [ 95 'sources!': [
96 'ext/skia_utils_base.cc',
97 'ext/vector_platform_device_skia.cc', 97 'ext/vector_platform_device_skia.cc',
98 ], 98 ],
99 }], 99 }],
100 ['OS == "ios"', { 100 ['OS == "ios"', {
101 'sources/': [ 101 'sources/': [
102 ['exclude', '^ext/vector_platform_device_skia\\.'], 102 ['exclude', '^ext/vector_platform_device_skia\\.'],
103 ], 103 ],
104 'dependencies!': [ 104 'dependencies!': [
105 'skia_chrome_opts', 105 'skia_chrome_opts',
106 ], 106 ],
(...skipping 20 matching lines...) Expand all
127 'target_conditions': [ 127 'target_conditions': [
128 # Pull in specific linux files for android (which have been filtered out 128 # Pull in specific linux files for android (which have been filtered out
129 # by file name rules). 129 # by file name rules).
130 [ 'OS == "android"', { 130 [ 'OS == "android"', {
131 'sources/': [ 131 'sources/': [
132 ['include', 'ext/platform_device_linux\\.cc$'], 132 ['include', 'ext/platform_device_linux\\.cc$'],
133 ], 133 ],
134 }], 134 }],
135 ], 135 ],
136 } 136 }
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698