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

Side by Side Diff: skia/skia_chrome.gypi

Issue 19477005: Improve Skia configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Use os_posix for posix tests. Created 7 years, 2 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 | « skia/skia.gyp ('k') | skia/skia_common.gypi » ('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': [
11 'skia_library', 11 'skia_library',
12 'skia_chrome_opts', 12 'skia_chrome_opts',
13 '../base/base.gyp:base', 13 '../base/base.gyp:base',
14 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations', 14 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations',
15 ], 15 ],
16 16
17 'direct_dependent_settings': { 17 'direct_dependent_settings': {
18 'include_dirs': [ 18 'include_dirs': [
19 'ext', 19 'ext',
20 ], 20 ],
21 }, 21 },
22 22
23 'include_dirs': [
24 '..',
25 ],
26
27 'sources': [ 23 'sources': [
28 'ext/analysis_canvas.cc', 24 'ext/analysis_canvas.cc',
29 'ext/analysis_canvas.h', 25 'ext/analysis_canvas.h',
30 'ext/benchmarking_canvas.cc', 26 'ext/benchmarking_canvas.cc',
31 'ext/benchmarking_canvas.h', 27 'ext/benchmarking_canvas.h',
32 'ext/bitmap_platform_device.h', 28 'ext/bitmap_platform_device.h',
33 'ext/bitmap_platform_device_android.cc', 29 'ext/bitmap_platform_device_android.cc',
34 'ext/bitmap_platform_device_android.h', 30 'ext/bitmap_platform_device_android.h',
35 'ext/bitmap_platform_device_data.h', 31 'ext/bitmap_platform_device_data.h',
36 'ext/bitmap_platform_device_linux.cc', 32 'ext/bitmap_platform_device_linux.cc',
37 'ext/bitmap_platform_device_linux.h', 33 'ext/bitmap_platform_device_linux.h',
38 'ext/bitmap_platform_device_mac.cc', 34 'ext/bitmap_platform_device_mac.cc',
39 'ext/bitmap_platform_device_mac.h', 35 'ext/bitmap_platform_device_mac.h',
40 'ext/bitmap_platform_device_win.cc', 36 'ext/bitmap_platform_device_win.cc',
41 'ext/bitmap_platform_device_win.h', 37 'ext/bitmap_platform_device_win.h',
42 'ext/convolver.cc', 38 'ext/convolver.cc',
43 'ext/convolver.h', 39 'ext/convolver.h',
44 'ext/google_logging.cc', 40 'ext/google_logging.cc',
45 'ext/image_operations.cc', 41 'ext/image_operations.cc',
46 'ext/image_operations.h', 42 'ext/image_operations.h',
47 'ext/lazy_pixel_ref.cc', 43 'ext/lazy_pixel_ref.cc',
48 'ext/lazy_pixel_ref.h', 44 'ext/lazy_pixel_ref.h',
49 'ext/lazy_pixel_ref_utils.cc', 45 'ext/lazy_pixel_ref_utils.cc',
50 'ext/lazy_pixel_ref_utils.h', 46 'ext/lazy_pixel_ref_utils.h',
51 'ext/SkThread_chrome.cc',
52 'ext/opacity_draw_filter.cc', 47 'ext/opacity_draw_filter.cc',
53 'ext/opacity_draw_filter.h', 48 'ext/opacity_draw_filter.h',
54 'ext/paint_simplifier.cc', 49 'ext/paint_simplifier.cc',
55 'ext/paint_simplifier.h', 50 'ext/paint_simplifier.h',
56 'ext/platform_canvas.cc', 51 'ext/platform_canvas.cc',
57 'ext/platform_canvas.h', 52 'ext/platform_canvas.h',
58 'ext/platform_device.cc', 53 'ext/platform_device.cc',
59 'ext/platform_device.h', 54 'ext/platform_device.h',
60 'ext/platform_device_linux.cc', 55 'ext/platform_device_linux.cc',
61 'ext/platform_device_mac.cc', 56 'ext/platform_device_mac.cc',
(...skipping 14 matching lines...) Expand all
76 'ext/skia_utils_win.cc', 71 'ext/skia_utils_win.cc',
77 'ext/skia_utils_win.h', 72 'ext/skia_utils_win.h',
78 'ext/vector_canvas.cc', 73 'ext/vector_canvas.cc',
79 'ext/vector_canvas.h', 74 'ext/vector_canvas.h',
80 'ext/vector_platform_device_emf_win.cc', 75 'ext/vector_platform_device_emf_win.cc',
81 'ext/vector_platform_device_emf_win.h', 76 'ext/vector_platform_device_emf_win.h',
82 'ext/vector_platform_device_skia.cc', 77 'ext/vector_platform_device_skia.cc',
83 'ext/vector_platform_device_skia.h', 78 'ext/vector_platform_device_skia.h',
84 ], 79 ],
85 'conditions': [ 80 'conditions': [
86 # For POSIX platforms, prefer the Mutex implementation provided by Skia
87 # since it does not generate static initializers.
88 # TODO: should check if SK_USE_POSIX_THREADS is defined instead
89 [ 'OS == "android" or OS == "linux" or OS == "mac" or OS == "ios"', {
90 'sources!': [
91 'ext/SkThread_chrome.cc',
92 ],
93 }],
94 [ 'OS == "android" and enable_printing == 0', { 81 [ 'OS == "android" and enable_printing == 0', {
95 'sources!': [ 82 'sources!': [
96 'ext/skia_utils_base.cc', 83 'ext/skia_utils_base.cc',
97 'ext/vector_platform_device_skia.cc', 84 'ext/vector_platform_device_skia.cc',
98 ], 85 ],
99 }], 86 }],
100 ['OS == "ios"', { 87 ['OS == "ios"', {
101 'sources/': [ 88 'sources/': [
102 ['exclude', '^ext/vector_platform_device_skia\\.'], 89 ['exclude', '^ext/vector_platform_device_skia\\.'],
103 ], 90 ],
104 'dependencies!': [ 91 'dependencies!': [
105 'skia_chrome_opts', 92 'skia_chrome_opts',
106 ], 93 ],
107 }], 94 }],
108 [ 'OS == "win"', {
109 'sources!': [
110 'ext/SkThread_chrome.cc',
111 ],
112 }],
113 # TODO(scottmg): http://crbug.com/177306 95 # TODO(scottmg): http://crbug.com/177306
114 ['clang==1', { 96 ['clang==1', {
115 'xcode_settings': { 97 'xcode_settings': {
116 'WARNING_CFLAGS!': [ 98 'WARNING_CFLAGS!': [
117 # Don't warn about string->bool used in asserts. 99 # Don't warn about string->bool used in asserts.
118 '-Wstring-conversion', 100 '-Wstring-conversion',
119 ], 101 ],
120 }, 102 },
121 'cflags!': [ 103 'cflags!': [
122 '-Wstring-conversion', 104 '-Wstring-conversion',
123 ], 105 ],
124 }], 106 }],
125 ], 107 ],
126 108
127 'target_conditions': [ 109 'target_conditions': [
128 # Pull in specific linux files for android (which have been filtered out 110 # Pull in specific linux files for android (which have been filtered out
129 # by file name rules). 111 # by file name rules).
130 [ 'OS == "android"', { 112 [ 'OS == "android"', {
131 'sources/': [ 113 'sources/': [
132 ['include', 'ext/platform_device_linux\\.cc$'], 114 ['include', 'ext/platform_device_linux\\.cc$'],
133 ], 115 ],
134 }], 116 }],
135 ], 117 ],
136 } 118 }
OLDNEW
« no previous file with comments | « skia/skia.gyp ('k') | skia/skia_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698