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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 "//third_party/skia/include/config", | 121 "//third_party/skia/include/config", |
122 "//third_party/skia/include/core", | 122 "//third_party/skia/include/core", |
123 "//third_party/skia/include/effects", | 123 "//third_party/skia/include/effects", |
124 "//third_party/skia/include/images", | 124 "//third_party/skia/include/images", |
125 "//third_party/skia/include/lazy", | 125 "//third_party/skia/include/lazy", |
126 "//third_party/skia/include/pathops", | 126 "//third_party/skia/include/pathops", |
127 "//third_party/skia/include/pdf", | 127 "//third_party/skia/include/pdf", |
128 "//third_party/skia/include/pipe", | 128 "//third_party/skia/include/pipe", |
129 "//third_party/skia/include/ports", | 129 "//third_party/skia/include/ports", |
130 "//third_party/skia/include/utils", | 130 "//third_party/skia/include/utils", |
131 | |
132 # need to move this to internal. see crbug.com/457691 | |
133 "//third_party/skia/src/core", | |
134 ] | 131 ] |
135 | 132 |
136 defines = gypi_blink_skia_defines.blink_skia_defines | 133 defines = gypi_blink_skia_defines.blink_skia_defines |
137 defines += gypi_skia_defines.skia_for_chromium_defines | 134 defines += gypi_skia_defines.skia_for_chromium_defines |
138 | 135 |
139 defines += [] | 136 defines += [] |
140 | 137 |
141 if (component_mode == "shared_library") { | 138 if (component_mode == "shared_library") { |
142 defines += [ | 139 defines += [ |
143 "SKIA_DLL", | 140 "SKIA_DLL", |
(...skipping 22 matching lines...) Expand all Loading... |
166 defines += [ "SK_BUILD_FOR_MAC" ] | 163 defines += [ "SK_BUILD_FOR_MAC" ] |
167 } | 164 } |
168 } | 165 } |
169 | 166 |
170 # Internal-facing config for Skia library code. | 167 # Internal-facing config for Skia library code. |
171 config("skia_library_config") { | 168 config("skia_library_config") { |
172 # These include directories are only included for Skia code and are not | 169 # These include directories are only included for Skia code and are not |
173 # exported to dependents. It's not clear if this is on purpose, but this | 170 # exported to dependents. It's not clear if this is on purpose, but this |
174 # matches the GYP build. | 171 # matches the GYP build. |
175 include_dirs = [ | 172 include_dirs = [ |
| 173 "//third_party/skia/src/core", |
176 "//third_party/skia/src/image", | 174 "//third_party/skia/src/image", |
177 "//third_party/skia/src/opts", | 175 "//third_party/skia/src/opts", |
178 "//third_party/skia/src/pdf", | 176 "//third_party/skia/src/pdf", |
179 "//third_party/skia/src/ports", | 177 "//third_party/skia/src/ports", |
180 "//third_party/skia/src/sfnt", | 178 "//third_party/skia/src/sfnt", |
181 "//third_party/skia/src/utils", | 179 "//third_party/skia/src/utils", |
182 "//third_party/skia/src/lazy", | 180 "//third_party/skia/src/lazy", |
183 ] | 181 ] |
184 if (is_mac || is_ios) { | 182 if (is_mac || is_ios) { |
185 include_dirs += [ "//third_party/skia/include/utils/mac" ] | 183 include_dirs += [ "//third_party/skia/include/utils/mac" ] |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 sources = [ | 647 sources = [ |
650 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", | 648 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", |
651 ] | 649 ] |
652 | 650 |
653 deps = [ | 651 deps = [ |
654 ":skia", | 652 ":skia", |
655 "//base", | 653 "//base", |
656 ] | 654 ] |
657 } | 655 } |
658 } | 656 } |
OLD | NEW |