| 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 source_set("webcrypto") { | 8 source_set("webcrypto") { |
| 9 sources = [ | 9 sources = [ |
| 10 "algorithm_dispatch.cc", | 10 "algorithm_dispatch.cc", |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 testonly = true | 102 testonly = true |
| 103 | 103 |
| 104 sources = [ | 104 sources = [ |
| 105 "fuzzer_support.cc", | 105 "fuzzer_support.cc", |
| 106 "fuzzer_support.h", | 106 "fuzzer_support.h", |
| 107 ] | 107 ] |
| 108 deps = [ | 108 deps = [ |
| 109 ":webcrypto", | 109 ":webcrypto", |
| 110 "//crypto", | 110 "//crypto", |
| 111 "//crypto:platform", | 111 "//crypto:platform", |
| 112 | 112 "//third_party/WebKit/public:blink", |
| 113 # The "blink_for_unittests" includes a dependency on Mojo, which otherwise | |
| 114 # public:blink lacks and would result in a linker error. | |
| 115 "//third_party/WebKit/public:blink_for_unittests", | |
| 116 | 113 |
| 117 # This contains a helper function for initializing Blink (needed for | 114 # This contains a helper function for initializing Blink (needed for |
| 118 # PartitionAlloc initialization). | 115 # PartitionAlloc initialization). |
| 119 "//components/test_runner:test_runner", | 116 "//components/test_runner:test_runner", |
| 120 ] | 117 ] |
| 121 } | 118 } |
| 122 | 119 |
| 123 # Tests the import of PKCS8 formatted EC keys. | 120 # Tests the import of PKCS8 formatted EC keys. |
| 124 fuzzer_test("webcrypto_ec_import_key_pkcs8_fuzzer") { | 121 fuzzer_test("webcrypto_ec_import_key_pkcs8_fuzzer") { |
| 125 sources = [ | 122 sources = [ |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 fuzzer_test("webcrypto_rsa_import_key_spki_fuzzer") { | 157 fuzzer_test("webcrypto_rsa_import_key_spki_fuzzer") { |
| 161 sources = [ | 158 sources = [ |
| 162 "rsa_import_key_pkcs8_fuzzer.cc", | 159 "rsa_import_key_pkcs8_fuzzer.cc", |
| 163 ] | 160 ] |
| 164 deps = [ | 161 deps = [ |
| 165 ":fuzzer_support", | 162 ":fuzzer_support", |
| 166 ":webcrypto", | 163 ":webcrypto", |
| 167 "//third_party/WebKit/public:blink_headers", | 164 "//third_party/WebKit/public:blink_headers", |
| 168 ] | 165 ] |
| 169 } | 166 } |
| OLD | NEW |