Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1662)

Side by Side Diff: third_party/boringssl/BUILD.gn

Issue 1809153002: Removing iOS from testing in BoringSSL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/boringssl/boringssl.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) {
83 public_configs = [ ":no_asm_config" ] 83 public_configs = [ ":no_asm_config" ]
84 } else if (current_cpu == "x64") { 84 } else if (current_cpu == "x64") {
85 if (is_mac || is_ios) { 85 if (is_ios) {
86 defines += [ "OPENSSL_NO_ASM" ]
87 } else if (is_mac) {
86 sources += gypi_values.boringssl_mac_x86_64_sources 88 sources += gypi_values.boringssl_mac_x86_64_sources
87 } else if (is_linux || is_android) { 89 } else if (is_linux || is_android) {
88 sources += gypi_values.boringssl_linux_x86_64_sources 90 sources += gypi_values.boringssl_linux_x86_64_sources
89 } else { 91 } else {
90 public_configs = [ ":no_asm_config" ] 92 public_configs = [ ":no_asm_config" ]
91 } 93 }
92 } else if (current_cpu == "x86") { 94 } else if (current_cpu == "x86") {
93 if (is_mac || is_ios) { 95 if (is_ios) {
96 defines += [ "OPENSSL_NO_ASM" ]
97 } else if (is_mac) {
94 sources += gypi_values.boringssl_mac_x86_sources 98 sources += gypi_values.boringssl_mac_x86_sources
95 } else if (is_linux || is_android) { 99 } else if (is_linux || is_android) {
96 sources += gypi_values.boringssl_linux_x86_sources 100 sources += gypi_values.boringssl_linux_x86_sources
97 } else { 101 } else {
98 public_configs = [ ":no_asm_config" ] 102 public_configs = [ ":no_asm_config" ]
99 } 103 }
100 } else if (current_cpu == "arm" && (is_linux || is_android)) { 104 } else if (current_cpu == "arm" && (is_linux || is_android)) {
101 sources += gypi_values.boringssl_linux_arm_sources 105 sources += gypi_values.boringssl_linux_arm_sources
102 } else if (current_cpu == "arm64" && (is_linux || is_android)) { 106 } else if (current_cpu == "arm64" && (is_linux || is_android)) {
103 sources += gypi_values.boringssl_linux_aarch64_sources 107 sources += gypi_values.boringssl_linux_aarch64_sources
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 187
184 fuzzer_test("boringssl_server_bio_write_fuzzer") { 188 fuzzer_test("boringssl_server_bio_write_fuzzer") {
185 sources = [ 189 sources = [
186 "src/fuzz/server.cc", 190 "src/fuzz/server.cc",
187 ] 191 ]
188 deps = [ 192 deps = [
189 ":boringssl_fuzzer", 193 ":boringssl_fuzzer",
190 ] 194 ]
191 seed_corpus = "src/fuzz/server_corpus" 195 seed_corpus = "src/fuzz/server_corpus"
192 } 196 }
OLDNEW
« no previous file with comments | « no previous file | third_party/boringssl/boringssl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698