| 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 | 8 |
| 8 if (is_android) { | 9 if (is_android) { |
| 9 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
| 10 import("//build/config/android/rules.gni") | 11 import("//build/config/android/rules.gni") |
| 11 } | 12 } |
| 12 | 13 |
| 13 # Several targets want to include this header file, and some of them are | 14 # Several targets want to include this header file, and some of them are |
| 14 # child dependencies of "gfx". Therefore, we separate it out here so multiple | 15 # child dependencies of "gfx". Therefore, we separate it out here so multiple |
| 15 # targets can all have a dependency for header checking purposes without | 16 # targets can all have a dependency for header checking purposes without |
| 16 # creating circular dependencies. | 17 # creating circular dependencies. |
| (...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 if (is_android) { | 732 if (is_android) { |
| 732 generate_jni("gfx_jni_headers") { | 733 generate_jni("gfx_jni_headers") { |
| 733 sources = [ | 734 sources = [ |
| 734 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 735 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 735 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 736 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 736 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 737 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 737 ] | 738 ] |
| 738 jni_package = "gfx" | 739 jni_package = "gfx" |
| 739 } | 740 } |
| 740 } | 741 } |
| 742 |
| 743 fuzzer_test("color_transform_fuzztest") { |
| 744 sources = [ |
| 745 "color_transform_fuzzer.cc", |
| 746 ] |
| 747 deps = [ |
| 748 ":gfx", |
| 749 ] |
| 750 libfuzzer_options = [ "max_len=1024" ] |
| 751 } |
| OLD | NEW |