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" || current_cpu == "arm64") { | 8 if (current_cpu == "arm" || current_cpu == "arm64") { |
9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 } | 10 } |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 126 |
127 if (is_android) { | 127 if (is_android) { |
128 defines += [ | 128 defines += [ |
129 "SK_BUILD_FOR_ANDROID", | 129 "SK_BUILD_FOR_ANDROID", |
130 "USE_CHROMIUM_SKIA", | 130 "USE_CHROMIUM_SKIA", |
131 ] | 131 ] |
132 } | 132 } |
133 | 133 |
134 if (is_mac) { | 134 if (is_mac) { |
135 defines += [ "SK_BUILD_FOR_MAC" ] | 135 defines += [ "SK_BUILD_FOR_MAC" ] |
136 } | 136 } else if (is_ios) { |
137 | |
138 if (is_ios) { | |
139 defines += [ "SK_BUILD_FOR_IOS" ] | 137 defines += [ "SK_BUILD_FOR_IOS" ] |
| 138 } else { |
| 139 defines += [ "SK_BUILD_FOR_UNIX" ] |
140 } | 140 } |
141 } | 141 } |
142 | 142 |
143 # Internal-facing config for Skia library code. | 143 # Internal-facing config for Skia library code. |
144 config("skia_library_config") { | 144 config("skia_library_config") { |
145 # These include directories are only included for Skia code and are not | 145 # These include directories are only included for Skia code and are not |
146 # exported to dependents. It's not clear if this is on purpose, but this | 146 # exported to dependents. It's not clear if this is on purpose, but this |
147 # matches the GYP build. | 147 # matches the GYP build. |
148 include_dirs = [ | 148 include_dirs = [ |
149 "//third_party/skia/include/private", | 149 "//third_party/skia/include/private", |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
663 sources = [ | 663 sources = [ |
664 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", | 664 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", |
665 ] | 665 ] |
666 | 666 |
667 deps = [ | 667 deps = [ |
668 ":skia", | 668 ":skia", |
669 "//base", | 669 "//base", |
670 ] | 670 ] |
671 } | 671 } |
672 } | 672 } |
OLD | NEW |