OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 if (current_cpu == "arm") { | 8 if (current_cpu == "arm") { |
9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 } | 10 } |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 if (is_android) { | 162 if (is_android) { |
163 defines += [ | 163 defines += [ |
164 "SK_BUILD_FOR_ANDROID", | 164 "SK_BUILD_FOR_ANDROID", |
165 "USE_CHROMIUM_SKIA", | 165 "USE_CHROMIUM_SKIA", |
166 ] | 166 ] |
167 } | 167 } |
168 | 168 |
169 if (is_mac) { | 169 if (is_mac) { |
170 defines += [ "SK_BUILD_FOR_MAC" ] | 170 defines += [ "SK_BUILD_FOR_MAC" ] |
171 } | 171 } |
| 172 |
| 173 if (is_win) { |
| 174 defines += [ "GR_GL_FUNCTION_TYPE=__stdcall" ] |
| 175 } |
172 } | 176 } |
173 | 177 |
174 # Internal-facing config for Skia library code. | 178 # Internal-facing config for Skia library code. |
175 config("skia_library_config") { | 179 config("skia_library_config") { |
176 # These include directories are only included for Skia code and are not | 180 # These include directories are only included for Skia code and are not |
177 # exported to dependents. It's not clear if this is on purpose, but this | 181 # exported to dependents. It's not clear if this is on purpose, but this |
178 # matches the GYP build. | 182 # matches the GYP build. |
179 include_dirs = [ | 183 include_dirs = [ |
180 "//third_party/skia/include/private", | 184 "//third_party/skia/include/private", |
181 "//third_party/skia/src/core", | 185 "//third_party/skia/src/core", |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", | 645 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", |
642 ] | 646 ] |
643 | 647 |
644 deps = [ | 648 deps = [ |
645 ":skia", | 649 ":skia", |
646 "//base", | 650 "//base", |
647 "//base/test:test_support", | 651 "//base/test:test_support", |
648 ] | 652 ] |
649 } | 653 } |
650 } | 654 } |
OLD | NEW |