| 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/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
| 7 import("//build_overrides/build.gni") | 7 import("//build_overrides/build.gni") |
| 8 import("//testing/libfuzzer/fuzzer_test.gni") | 8 import("//testing/libfuzzer/fuzzer_test.gni") |
| 9 import("BUILD.generated.gni") | 9 import("BUILD.generated.gni") |
| 10 import("BUILD.generated_tests.gni") | 10 import("BUILD.generated_tests.gni") |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 if (build_with_chromium) { | 128 if (build_with_chromium) { |
| 129 create_tests("boringssl_tests") { | 129 create_tests("boringssl_tests") { |
| 130 configs_exclude = [ "//build/config/compiler:chromium_code" ] | 130 configs_exclude = [ "//build/config/compiler:chromium_code" ] |
| 131 configs = [ | 131 configs = [ |
| 132 ":internal_config", | 132 ":internal_config", |
| 133 "//build/config/compiler:no_chromium_code", | 133 "//build/config/compiler:no_chromium_code", |
| 134 ] | 134 ] |
| 135 deps = [ | 135 deps = [ |
| 136 ":boringssl", | 136 ":boringssl", |
| 137 "//build/win:default_exe_manifest", |
| 137 ] | 138 ] |
| 138 } | 139 } |
| 139 | 140 |
| 140 test("boringssl_unittests") { | 141 test("boringssl_unittests") { |
| 141 deps = [ | 142 deps = [ |
| 142 ":boringssl_tests", | 143 ":boringssl_tests", |
| 143 "//base", | 144 "//base", |
| 144 "//base/test:run_all_unittests", | 145 "//base/test:run_all_unittests", |
| 145 "//base/test:test_support", | 146 "//base/test:test_support", |
| 146 "//testing/gtest", | 147 "//testing/gtest", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 } else if ("client" == fuzzer) { | 189 } else if ("client" == fuzzer) { |
| 189 libfuzzer_options = [ "max_len=20000" ] | 190 libfuzzer_options = [ "max_len=20000" ] |
| 190 } else if ("privkey" == fuzzer) { | 191 } else if ("privkey" == fuzzer) { |
| 191 libfuzzer_options = [ "max_len=2048" ] | 192 libfuzzer_options = [ "max_len=2048" ] |
| 192 } else if ("server" == fuzzer) { | 193 } else if ("server" == fuzzer) { |
| 193 libfuzzer_options = [ "max_len=4096" ] | 194 libfuzzer_options = [ "max_len=4096" ] |
| 194 } | 195 } |
| 195 } | 196 } |
| 196 } | 197 } |
| 197 } | 198 } |
| OLD | NEW |