OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |