OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'conditions': [ | 6 'conditions': [ |
7 # In component mode (shared_lib), we build all of skia as a single DLL. | 7 # In component mode (shared_lib), we build all of skia as a single DLL. |
8 # However, in the static mode, we need to build skia as multiple targets | 8 # However, in the static mode, we need to build skia as multiple targets |
9 # in order to support the use case where a platform (e.g. Android) may | 9 # in order to support the use case where a platform (e.g. Android) may |
10 # already have a copy of skia as a system library. | 10 # already have a copy of skia as a system library. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 { | 58 { |
59 'target_name': 'skia', | 59 'target_name': 'skia', |
60 'type': 'shared_library', | 60 'type': 'shared_library', |
61 'includes': [ | 61 'includes': [ |
62 'skia_library.gypi', | 62 'skia_library.gypi', |
63 'skia_chrome.gypi', | 63 'skia_chrome.gypi', |
64 'skia_common.gypi', | 64 'skia_common.gypi', |
65 ], | 65 ], |
66 'defines': [ | 66 'defines': [ |
67 'SKIA_DLL', | 67 'SKIA_DLL', |
68 'GR_DLL=1', | |
69 'GR_IMPLEMENTATION=1', | |
70 'SKIA_IMPLEMENTATION=1', | 68 'SKIA_IMPLEMENTATION=1', |
71 ], | 69 ], |
72 'direct_dependent_settings': { | 70 'direct_dependent_settings': { |
73 'defines': [ | 71 'defines': [ |
74 'SKIA_DLL', | 72 'SKIA_DLL', |
75 'GR_DLL=1', | |
76 ], | 73 ], |
77 }, | 74 }, |
78 }, | 75 }, |
79 { | 76 { |
80 'target_name': 'skia_library', | 77 'target_name': 'skia_library', |
81 'type': 'none', | 78 'type': 'none', |
82 }, | 79 }, |
83 { | 80 { |
84 'target_name': 'skia_chrome', | 81 'target_name': 'skia_chrome', |
85 'type': 'none', | 82 'type': 'none', |
86 }, | 83 }, |
87 ], | 84 ], |
88 }], | 85 }], |
89 ], | 86 ], |
90 | 87 |
91 # targets that are not dependent upon the component type | 88 # targets that are not dependent upon the component type |
92 'targets': [ | 89 'targets': [ |
93 { | 90 { |
94 'target_name': 'skia_chrome_opts', | 91 'target_name': 'skia_chrome_opts', |
95 'type': 'static_library', | 92 'type': 'static_library', |
96 'include_dirs': [ | 93 'include_dirs': [ |
97 '..', | 94 '..', |
98 'config', | 95 'config', |
99 '../third_party/skia/include/config', | 96 '../third_party/skia/include/config', |
100 '../third_party/skia/include/core', | 97 '../third_party/skia/include/core', |
(...skipping 29 matching lines...) Expand all Loading... |
130 ], | 127 ], |
131 'include_dirs': [ | 128 'include_dirs': [ |
132 '..', | 129 '..', |
133 ], | 130 ], |
134 'sources': [ | 131 'sources': [ |
135 'ext/image_operations_bench.cc', | 132 'ext/image_operations_bench.cc', |
136 ], | 133 ], |
137 }, | 134 }, |
138 ], | 135 ], |
139 } | 136 } |
OLD | NEW |