| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 import("//testing/libfuzzer/fuzzer_test.gni") | 6 import("//testing/libfuzzer/fuzzer_test.gni") |
| 7 | 7 |
| 8 static_library("webcrypto") { | 8 static_library("webcrypto") { |
| 9 sources = [ | 9 sources = [ |
| 10 "algorithm_dispatch.cc", | 10 "algorithm_dispatch.cc", |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 sources = [ | 103 sources = [ |
| 104 "fuzzer_support.cc", | 104 "fuzzer_support.cc", |
| 105 "fuzzer_support.h", | 105 "fuzzer_support.h", |
| 106 ] | 106 ] |
| 107 deps = [ | 107 deps = [ |
| 108 ":webcrypto", | 108 ":webcrypto", |
| 109 "//base", | 109 "//base", |
| 110 "//crypto", | 110 "//crypto", |
| 111 "//crypto:platform", | 111 "//crypto:platform", |
| 112 "//third_party/WebKit/public:blink", | 112 "//third_party/WebKit/public:blink", |
| 113 | |
| 114 # This contains a helper function for initializing Blink (needed for | |
| 115 # PartitionAlloc initialization). | |
| 116 "//components/test_runner:test_runner", | |
| 117 ] | 113 ] |
| 118 } | 114 } |
| 119 | 115 |
| 120 # Tests the import of PKCS8 formatted EC keys. | 116 # Tests the import of PKCS8 formatted EC keys. |
| 121 fuzzer_test("webcrypto_ec_import_key_pkcs8_fuzzer") { | 117 fuzzer_test("webcrypto_ec_import_key_pkcs8_fuzzer") { |
| 122 sources = [ | 118 sources = [ |
| 123 "ec_import_key_pkcs8_fuzzer.cc", | 119 "ec_import_key_pkcs8_fuzzer.cc", |
| 124 ] | 120 ] |
| 125 deps = [ | 121 deps = [ |
| 126 ":fuzzer_support", | 122 ":fuzzer_support", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 157 fuzzer_test("webcrypto_rsa_import_key_spki_fuzzer") { | 153 fuzzer_test("webcrypto_rsa_import_key_spki_fuzzer") { |
| 158 sources = [ | 154 sources = [ |
| 159 "rsa_import_key_pkcs8_fuzzer.cc", | 155 "rsa_import_key_pkcs8_fuzzer.cc", |
| 160 ] | 156 ] |
| 161 deps = [ | 157 deps = [ |
| 162 ":fuzzer_support", | 158 ":fuzzer_support", |
| 163 ":webcrypto", | 159 ":webcrypto", |
| 164 "//third_party/WebKit/public:blink_headers", | 160 "//third_party/WebKit/public:blink_headers", |
| 165 ] | 161 ] |
| 166 } | 162 } |
| OLD | NEW |