OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//testing/libfuzzer/fuzzer_test.gni") | 7 import("//testing/libfuzzer/fuzzer_test.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 "scoped_ns_graphics_context_save_gstate_mac.h", | 159 "scoped_ns_graphics_context_save_gstate_mac.h", |
160 "scoped_ns_graphics_context_save_gstate_mac.mm", | 160 "scoped_ns_graphics_context_save_gstate_mac.mm", |
161 "scoped_ui_graphics_push_context_ios.h", | 161 "scoped_ui_graphics_push_context_ios.h", |
162 "scoped_ui_graphics_push_context_ios.mm", | 162 "scoped_ui_graphics_push_context_ios.mm", |
163 "scrollbar_size.cc", | 163 "scrollbar_size.cc", |
164 "scrollbar_size.h", | 164 "scrollbar_size.h", |
165 "selection_model.cc", | 165 "selection_model.cc", |
166 "selection_model.h", | 166 "selection_model.h", |
167 "sequential_id_generator.cc", | 167 "sequential_id_generator.cc", |
168 "sequential_id_generator.h", | 168 "sequential_id_generator.h", |
169 "shadow_util.cc", | |
170 "shadow_util.h", | |
171 "shadow_value.cc", | 169 "shadow_value.cc", |
172 "shadow_value.h", | 170 "shadow_value.h", |
173 "skbitmap_operations.cc", | 171 "skbitmap_operations.cc", |
174 "skbitmap_operations.h", | 172 "skbitmap_operations.h", |
175 "skia_util.cc", | 173 "skia_util.cc", |
176 "skia_util.h", | 174 "skia_util.h", |
177 "switches.cc", | 175 "switches.cc", |
178 "switches.h", | 176 "switches.h", |
179 "sys_color_change_listener.cc", | 177 "sys_color_change_listener.cc", |
180 "sys_color_change_listener.h", | 178 "sys_color_change_listener.h", |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 "canvas_skia.cc", | 224 "canvas_skia.cc", |
227 "canvas_skia_paint.h", | 225 "canvas_skia_paint.h", |
228 "image/canvas_image_source.cc", | 226 "image/canvas_image_source.cc", |
229 "image/canvas_image_source.h", | 227 "image/canvas_image_source.h", |
230 "image/image_skia_operations.cc", | 228 "image/image_skia_operations.cc", |
231 "image/image_skia_operations.h", | 229 "image/image_skia_operations.h", |
232 "paint_throbber.cc", | 230 "paint_throbber.cc", |
233 "paint_throbber.h", | 231 "paint_throbber.h", |
234 "scoped_canvas.cc", | 232 "scoped_canvas.cc", |
235 "scoped_canvas.h", | 233 "scoped_canvas.h", |
| 234 "shadow_util.cc", |
| 235 "shadow_util.h", |
| 236 "skia_paint_util.cc", |
| 237 "skia_paint_util.h", |
236 ] | 238 ] |
237 } | 239 } |
238 | 240 |
239 configs += [ | 241 configs += [ |
240 "//build/config:precompiled_headers", | 242 "//build/config:precompiled_headers", |
241 | 243 |
242 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 244 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
243 "//build/config/compiler:no_size_t_to_int_warning", | 245 "//build/config/compiler:no_size_t_to_int_warning", |
244 ] | 246 ] |
245 | 247 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 if (is_mac) { | 397 if (is_mac) { |
396 libs = [ | 398 libs = [ |
397 "AppKit.framework", | 399 "AppKit.framework", |
398 "CoreFoundation.framework", | 400 "CoreFoundation.framework", |
399 "CoreGraphics.framework", | 401 "CoreGraphics.framework", |
400 "CoreText.framework", | 402 "CoreText.framework", |
401 "IOSurface.framework", | 403 "IOSurface.framework", |
402 ] | 404 ] |
403 } | 405 } |
404 | 406 |
405 if (!use_aura) { | 407 if ((!use_aura && !toolkit_views) || is_ios) { |
406 if (!toolkit_views) { | 408 sources -= [ |
407 sources -= [ | 409 "nine_image_painter.cc", |
408 "nine_image_painter.cc", | 410 "nine_image_painter.h", |
409 "nine_image_painter.h", | 411 ] |
410 ] | |
411 } | |
412 } | 412 } |
413 | 413 |
414 if (use_x11) { | 414 if (use_x11) { |
415 deps += [ "//ui/gfx/x" ] | 415 deps += [ "//ui/gfx/x" ] |
416 configs += [ "//build/config/linux:x11" ] | 416 configs += [ "//build/config/linux:x11" ] |
417 } else { | 417 } else { |
418 sources -= [ | 418 sources -= [ |
419 "icc_profile_x11.cc", | 419 "icc_profile_x11.cc", |
420 "path_x11.cc", | 420 "path_x11.cc", |
421 ] | 421 ] |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 | 761 |
762 fuzzer_test("color_transform_fuzztest") { | 762 fuzzer_test("color_transform_fuzztest") { |
763 sources = [ | 763 sources = [ |
764 "color_transform_fuzzer.cc", | 764 "color_transform_fuzzer.cc", |
765 ] | 765 ] |
766 deps = [ | 766 deps = [ |
767 ":gfx", | 767 ":gfx", |
768 ] | 768 ] |
769 libfuzzer_options = [ "max_len=1024" ] | 769 libfuzzer_options = [ "max_len=1024" ] |
770 } | 770 } |
OLD | NEW |