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("//device/vr/features.gni") |
6 import("//testing/test.gni") | 7 import("//testing/test.gni") |
7 import("//testing/libfuzzer/fuzzer_test.gni") | 8 import("//testing/libfuzzer/fuzzer_test.gni") |
8 | 9 |
9 if (is_android) { | 10 if (is_android) { |
10 import("//build/config/android/config.gni") | 11 import("//build/config/android/config.gni") |
11 import("//build/config/android/rules.gni") | 12 import("//build/config/android/rules.gni") |
12 } | 13 } |
13 | 14 |
14 # Several targets want to include this header file, and some of them are | 15 # Several targets want to include this header file, and some of them are |
15 # child dependencies of "gfx". Therefore, we separate it out here so multiple | 16 # child dependencies of "gfx". Therefore, we separate it out here so multiple |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 | 324 |
324 deps += [ ":gfx_jni_headers" ] | 325 deps += [ ":gfx_jni_headers" ] |
325 libs = [ | 326 libs = [ |
326 "android", | 327 "android", |
327 "jnigraphics", | 328 "jnigraphics", |
328 ] | 329 ] |
329 } else if (!is_ios) { | 330 } else if (!is_ios) { |
330 sources -= [ "canvas_notimplemented.cc" ] | 331 sources -= [ "canvas_notimplemented.cc" ] |
331 } | 332 } |
332 | 333 |
333 # Desktop only. | 334 # Desktop and Android+VR only. |
334 if (use_aura || (!is_ios && !is_android)) { | 335 if (use_aura || (!is_ios && !is_android) || (is_android && enable_vr)) { |
335 sources += [ | 336 sources += [ |
336 "paint_vector_icon.cc", | 337 "paint_vector_icon.cc", |
337 "paint_vector_icon.h", | 338 "paint_vector_icon.h", |
338 "vector_icon_types.h", | 339 "vector_icon_types.h", |
339 ] | 340 ] |
340 } | 341 } |
341 | 342 |
342 # Windows. | 343 # Windows. |
343 if (is_win) { | 344 if (is_win) { |
344 libs = [ | 345 libs = [ |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 | 763 |
763 fuzzer_test("color_transform_fuzztest") { | 764 fuzzer_test("color_transform_fuzztest") { |
764 sources = [ | 765 sources = [ |
765 "color_transform_fuzzer.cc", | 766 "color_transform_fuzzer.cc", |
766 ] | 767 ] |
767 deps = [ | 768 deps = [ |
768 ":gfx", | 769 ":gfx", |
769 ] | 770 ] |
770 libfuzzer_options = [ "max_len=1024" ] | 771 libfuzzer_options = [ "max_len=1024" ] |
771 } | 772 } |
OLD | NEW |