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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 'ext/skia_utils_base.h', | 76 'ext/skia_utils_base.h', |
77 'ext/skia_utils_ios.mm', | 77 'ext/skia_utils_ios.mm', |
78 'ext/skia_utils_ios.h', | 78 'ext/skia_utils_ios.h', |
79 'ext/skia_utils_mac.mm', | 79 'ext/skia_utils_mac.mm', |
80 'ext/skia_utils_mac.h', | 80 'ext/skia_utils_mac.h', |
81 'ext/skia_utils_win.cc', | 81 'ext/skia_utils_win.cc', |
82 'ext/skia_utils_win.h', | 82 'ext/skia_utils_win.h', |
83 'ext/vector_canvas.h', | 83 'ext/vector_canvas.h', |
84 'ext/vector_platform_device_emf_win.cc', | 84 'ext/vector_platform_device_emf_win.cc', |
85 'ext/vector_platform_device_emf_win.h', | 85 'ext/vector_platform_device_emf_win.h', |
86 'ext/vector_platform_device_skia.cc', | |
87 'ext/vector_platform_device_skia.h', | |
88 ], | 86 ], |
89 'conditions': [ | 87 'conditions': [ |
90 [ 'OS == "android" and enable_printing == 0', { | 88 [ 'OS == "android" and enable_printing == 0', { |
91 'sources!': [ | 89 'sources!': [ |
92 'ext/skia_utils_base.cc', | 90 'ext/skia_utils_base.cc', |
93 ], | 91 ], |
94 }], | 92 }], |
95 [ 'enable_printing == 0', { | |
96 'sources!': [ | |
97 'ext/vector_platform_device_skia.cc', | |
98 ], | |
99 }], | |
100 ['OS == "ios"', { | 93 ['OS == "ios"', { |
101 'sources/': [ | |
102 ['exclude', '^ext/vector_platform_device_skia\\.'], | |
103 ], | |
104 'dependencies!': [ | 94 'dependencies!': [ |
105 'skia_chrome_opts', | 95 'skia_chrome_opts', |
106 ], | 96 ], |
107 }], | 97 }], |
108 [ 'OS != "android" and (OS != "linux" or use_cairo==1)', { | 98 [ 'OS != "android" and (OS != "linux" or use_cairo==1)', { |
109 'sources!': [ | 99 'sources!': [ |
110 'ext/bitmap_platform_device_skia.cc', | 100 'ext/bitmap_platform_device_skia.cc', |
111 ], | 101 ], |
112 }], | 102 }], |
113 ], | 103 ], |
114 | 104 |
115 'target_conditions': [ | 105 'target_conditions': [ |
116 # Pull in specific linux files for android (which have been filtered out | 106 # Pull in specific linux files for android (which have been filtered out |
117 # by file name rules). | 107 # by file name rules). |
118 [ 'OS == "android"', { | 108 [ 'OS == "android"', { |
119 'sources/': [ | 109 'sources/': [ |
120 ['include', 'ext/platform_device_linux\\.cc$'], | 110 ['include', 'ext/platform_device_linux\\.cc$'], |
121 ], | 111 ], |
122 }], | 112 }], |
123 ], | 113 ], |
124 } | 114 } |
OLD | NEW |