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("//testing/libfuzzer/fuzzer_test.gni") | 7 import("//testing/libfuzzer/fuzzer_test.gni") |
| 8 | 8 |
| 9 # Config for us and everybody else depending on BoringSSL. | 9 # Config for us and everybody else depending on BoringSSL. |
| 10 config("external_config") { | 10 config("external_config") { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 60 } | 60 } |
| 61 } | 61 } |
| 62 } else { | 62 } else { |
| 63 source_set("boringssl_asm") { | 63 source_set("boringssl_asm") { |
| 64 visibility = [ ":*" ] # Only targets in this file can depend on this. | 64 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 65 | 65 |
| 66 sources = [] | 66 sources = [] |
| 67 asmflags = [] | 67 asmflags = [] |
| 68 include_dirs = [ "src/include" ] | 68 include_dirs = [ "src/include" ] |
| 69 | 69 |
| 70 if (current_cpu == "arm" && is_clang) { | 70 if ((current_cpu == "arm" || current_cpu == "arm64") && is_clang) { |
| 71 # TODO(hans) Enable integrated-as (crbug.com/124610). | 71 # TODO(hans) Enable integrated-as (crbug.com/124610). |
| 72 asmflags += [ "-fno-integrated-as" ] | 72 # asmflags += [ "-fno-integrated-as" ] |
|
Nico
2016/05/12 20:46:43
?
| |
| 73 if (is_android) { | 73 if (is_android) { |
| 74 rebased_android_toolchain_root = | 74 rebased_android_toolchain_root = |
| 75 rebase_path(android_toolchain_root, root_build_dir) | 75 rebase_path(android_toolchain_root, root_build_dir) |
| 76 | 76 |
| 77 # Else /usr/bin/as gets picked up. | 77 # Else /usr/bin/as gets picked up. |
| 78 asmflags += [ "-B${rebased_android_toolchain_root}/bin" ] | 78 asmflags += [ "-B${rebased_android_toolchain_root}/bin" ] |
| 79 } | 79 } |
| 80 } | 80 } |
| 81 | 81 |
| 82 if (is_msan) { | 82 if (is_msan) { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 183 | 183 |
| 184 fuzzer_test("boringssl_server_bio_write_fuzzer") { | 184 fuzzer_test("boringssl_server_bio_write_fuzzer") { |
| 185 sources = [ | 185 sources = [ |
| 186 "src/fuzz/server.cc", | 186 "src/fuzz/server.cc", |
| 187 ] | 187 ] |
| 188 deps = [ | 188 deps = [ |
| 189 ":boringssl_fuzzer", | 189 ":boringssl_fuzzer", |
| 190 ] | 190 ] |
| 191 seed_corpus = "src/fuzz/server_corpus" | 191 seed_corpus = "src/fuzz/server_corpus" |
| 192 } | 192 } |
| OLD | NEW |