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