Chromium Code Reviews| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 71 } | 71 } |
| 72 if (is_android) { | 72 if (is_android) { |
| 73 rebased_android_toolchain_root = | 73 rebased_android_toolchain_root = |
| 74 rebase_path(android_toolchain_root, root_build_dir) | 74 rebase_path(android_toolchain_root, root_build_dir) |
| 75 | 75 |
| 76 # Else /usr/bin/as gets picked up. | 76 # Else /usr/bin/as gets picked up. |
| 77 asmflags += [ "-B${rebased_android_toolchain_root}/bin" ] | 77 asmflags += [ "-B${rebased_android_toolchain_root}/bin" ] |
| 78 } | 78 } |
| 79 } | 79 } |
| 80 | 80 |
| 81 if (is_msan) { | 81 if (is_msan || is_ios) { |
|
davidben
2016/06/06 18:41:34
This doesn't seem to have an equivalent in the oth
| |
| 82 public_configs = [ ":no_asm_config" ] | 82 public_configs = [ ":no_asm_config" ] |
| 83 } else if (current_cpu == "x64") { | 83 } else if (current_cpu == "x64") { |
| 84 if (is_mac) { | 84 if (is_mac) { |
| 85 sources += crypto_sources_mac_x86_64 | 85 sources += crypto_sources_mac_x86_64 |
| 86 } else if (is_linux || is_android) { | 86 } else if (is_linux || is_android) { |
| 87 sources += crypto_sources_linux_x86_64 | 87 sources += crypto_sources_linux_x86_64 |
| 88 } else { | 88 } else { |
| 89 public_configs = [ ":no_asm_config" ] | 89 public_configs = [ ":no_asm_config" ] |
| 90 } | 90 } |
| 91 } else if (current_cpu == "x86") { | 91 } else if (current_cpu == "x86") { |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 199 } else if ("read_pem" == fuzzer) { | 199 } else if ("read_pem" == fuzzer) { |
| 200 libfuzzer_options = [ "max_len=512" ] | 200 libfuzzer_options = [ "max_len=512" ] |
| 201 } else if ("server" == fuzzer) { | 201 } else if ("server" == fuzzer) { |
| 202 libfuzzer_options = [ "max_len=4096" ] | 202 libfuzzer_options = [ "max_len=4096" ] |
| 203 } else if ("spki" == fuzzer) { | 203 } else if ("spki" == fuzzer) { |
| 204 libfuzzer_options = [ "max_len=1024" ] | 204 libfuzzer_options = [ "max_len=1024" ] |
| 205 } | 205 } |
| 206 } | 206 } |
| 207 } | 207 } |
| 208 } | 208 } |
| OLD | NEW |