| 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("//testing/libfuzzer/fuzzer_test.gni") | 6 import("//testing/libfuzzer/fuzzer_test.gni") |
| 7 | 7 |
| 8 assert(!is_ios) | 8 assert(!is_ios) |
| 9 | 9 |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 } | 160 } |
| 161 | 161 |
| 162 fuzzer_test("usb_descriptors_fuzzer") { | 162 fuzzer_test("usb_descriptors_fuzzer") { |
| 163 sources = [ | 163 sources = [ |
| 164 "usb_descriptors_fuzzer.cc", | 164 "usb_descriptors_fuzzer.cc", |
| 165 ] | 165 ] |
| 166 deps = [ | 166 deps = [ |
| 167 ":usb", | 167 ":usb", |
| 168 "//device/usb/mojo", | 168 "//device/usb/mojo", |
| 169 "//device/usb/public/interfaces", | 169 "//device/usb/public/interfaces", |
| 170 "//mojo/edk/system", | |
| 171 "//mojo/public/cpp/bindings", | 170 "//mojo/public/cpp/bindings", |
| 172 ] | 171 ] |
| 173 seed_corpus = "fuzz_corpus" | 172 seed_corpus = "fuzz_corpus" |
| 174 libfuzzer_options = [ "max_len=2048" ] | 173 libfuzzer_options = [ "max_len=2048" ] |
| 175 } | 174 } |
| 176 | 175 |
| 177 fuzzer_test("usb_string_read_fuzzer") { | 176 fuzzer_test("usb_string_read_fuzzer") { |
| 178 sources = [ | 177 sources = [ |
| 179 "usb_string_read_fuzzer.cc", | 178 "usb_string_read_fuzzer.cc", |
| 180 ] | 179 ] |
| (...skipping 20 matching lines...) Expand all Loading... |
| 201 jni_package = "device" | 200 jni_package = "device" |
| 202 } | 201 } |
| 203 | 202 |
| 204 android_library("java") { | 203 android_library("java") { |
| 205 java_files = java_sources_needing_jni | 204 java_files = java_sources_needing_jni |
| 206 deps = [ | 205 deps = [ |
| 207 "//base:base_java", | 206 "//base:base_java", |
| 208 ] | 207 ] |
| 209 } | 208 } |
| 210 } | 209 } |
| OLD | NEW |