| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 "//crypto:platform", | 111 "//crypto:platform", |
| 112 | 112 |
| 113 # The "blink_for_unittests" includes a dependency on Mojo, which otherwise | 113 # The "blink_for_unittests" includes a dependency on Mojo, which otherwise |
| 114 # public:blink lacks and would result in a linker error. | 114 # public:blink lacks and would result in a linker error. |
| 115 "//third_party/WebKit/public:blink_for_unittests", | 115 "//third_party/WebKit/public:blink_for_unittests", |
| 116 | 116 |
| 117 # This contains a helper function for initializing Blink (needed for | 117 # This contains a helper function for initializing Blink (needed for |
| 118 # PartitionAlloc initialization). | 118 # PartitionAlloc initialization). |
| 119 "//components/test_runner:test_runner", | 119 "//components/test_runner:test_runner", |
| 120 ] | 120 ] |
| 121 |
| 122 # These should be generated by the blink_headers target but they don't yet. |
| 123 # TODO(ortuno): Remove once blink_headers generates bindings. |
| 124 # http://crbug.com/600384 |
| 125 public_deps = [ |
| 126 "//third_party/WebKit/public:mojo_bindings", |
| 127 ] |
| 121 } | 128 } |
| 122 | 129 |
| 123 # Tests the import of PKCS8 formatted EC keys. | 130 # Tests the import of PKCS8 formatted EC keys. |
| 124 fuzzer_test("webcrypto_ec_import_key_pkcs8_fuzzer") { | 131 fuzzer_test("webcrypto_ec_import_key_pkcs8_fuzzer") { |
| 125 sources = [ | 132 sources = [ |
| 126 "ec_import_key_pkcs8_fuzzer.cc", | 133 "ec_import_key_pkcs8_fuzzer.cc", |
| 127 ] | 134 ] |
| 128 deps = [ | 135 deps = [ |
| 129 ":fuzzer_support", | 136 ":fuzzer_support", |
| 130 ":webcrypto", | 137 ":webcrypto", |
| (...skipping 29 matching lines...) Expand all Loading... |
| 160 fuzzer_test("webcrypto_rsa_import_key_spki_fuzzer") { | 167 fuzzer_test("webcrypto_rsa_import_key_spki_fuzzer") { |
| 161 sources = [ | 168 sources = [ |
| 162 "rsa_import_key_pkcs8_fuzzer.cc", | 169 "rsa_import_key_pkcs8_fuzzer.cc", |
| 163 ] | 170 ] |
| 164 deps = [ | 171 deps = [ |
| 165 ":fuzzer_support", | 172 ":fuzzer_support", |
| 166 ":webcrypto", | 173 ":webcrypto", |
| 167 "//third_party/WebKit/public:blink_headers", | 174 "//third_party/WebKit/public:blink_headers", |
| 168 ] | 175 ] |
| 169 } | 176 } |
| OLD | NEW |