| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 configs -= [ "//build/config/compiler:chromium_code" ] | 120 configs -= [ "//build/config/compiler:chromium_code" ] |
| 121 configs += [ "//build/config/compiler:no_chromium_code" ] | 121 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 122 | 122 |
| 123 if (is_nacl) { | 123 if (is_nacl) { |
| 124 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] | 124 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] |
| 125 } | 125 } |
| 126 } | 126 } |
| 127 | 127 |
| 128 if (build_with_chromium) { | 128 if (build_with_chromium) { |
| 129 create_tests("boringssl_tests") { | 129 create_tests("boringssl_tests") { |
| 130 configs = [ ":internal_config" ] | 130 configs_exclude = [ "//build/config/compiler:chromium_code" ] |
| 131 configs = [ |
| 132 ":internal_config", |
| 133 "//build/config/compiler:no_chromium_code", |
| 134 ] |
| 131 deps = [ | 135 deps = [ |
| 132 ":boringssl", | 136 ":boringssl", |
| 133 ] | 137 ] |
| 134 } | 138 } |
| 135 | 139 |
| 136 test("boringssl_unittests") { | 140 test("boringssl_unittests") { |
| 137 deps = [ | 141 deps = [ |
| 138 ":boringssl_tests", | 142 ":boringssl_tests", |
| 139 "//base", | 143 "//base", |
| 140 "//base/test:run_all_unittests", | 144 "//base/test:run_all_unittests", |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 } else if ("client" == fuzzer) { | 188 } else if ("client" == fuzzer) { |
| 185 libfuzzer_options = [ "max_len=20000" ] | 189 libfuzzer_options = [ "max_len=20000" ] |
| 186 } else if ("privkey" == fuzzer) { | 190 } else if ("privkey" == fuzzer) { |
| 187 libfuzzer_options = [ "max_len=2048" ] | 191 libfuzzer_options = [ "max_len=2048" ] |
| 188 } else if ("server" == fuzzer) { | 192 } else if ("server" == fuzzer) { |
| 189 libfuzzer_options = [ "max_len=4096" ] | 193 libfuzzer_options = [ "max_len=4096" ] |
| 190 } | 194 } |
| 191 } | 195 } |
| 192 } | 196 } |
| 193 } | 197 } |
| OLD | NEW |