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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 if (current_cpu == "x64") { | 56 if (current_cpu == "x64") { |
57 sources = gypi_values.boringssl_win_x86_64_sources | 57 sources = gypi_values.boringssl_win_x86_64_sources |
58 } else if (current_cpu == "x86") { | 58 } else if (current_cpu == "x86") { |
59 sources = gypi_values.boringssl_win_x86_sources | 59 sources = gypi_values.boringssl_win_x86_sources |
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 defines = [] |
66 sources = [] | 67 sources = [] |
67 asmflags = [] | 68 asmflags = [] |
68 include_dirs = [ "src/include" ] | 69 include_dirs = [ "src/include" ] |
69 | 70 |
70 if (current_cpu == "arm" && is_clang) { | 71 if (current_cpu == "arm" && is_clang) { |
71 # TODO(hans) Enable integrated-as (crbug.com/124610). | 72 # TODO(hans) Enable integrated-as (crbug.com/124610). |
72 asmflags += [ "-fno-integrated-as" ] | 73 asmflags += [ "-fno-integrated-as" ] |
73 if (is_android) { | 74 if (is_android) { |
74 rebased_android_toolchain_root = | 75 rebased_android_toolchain_root = |
75 rebase_path(android_toolchain_root, root_build_dir) | 76 rebase_path(android_toolchain_root, root_build_dir) |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 188 |
188 fuzzer_test("boringssl_server_fuzzer") { | 189 fuzzer_test("boringssl_server_fuzzer") { |
189 sources = [ | 190 sources = [ |
190 "src/fuzz/server.cc", | 191 "src/fuzz/server.cc", |
191 ] | 192 ] |
192 deps = [ | 193 deps = [ |
193 ":boringssl_fuzzer", | 194 ":boringssl_fuzzer", |
194 ] | 195 ] |
195 seed_corpus = "src/fuzz/server_corpus" | 196 seed_corpus = "src/fuzz/server_corpus" |
196 } | 197 } |
OLD | NEW |