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