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

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

Issue 1868563002: GN: Fix iOS build for BoringSSL (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | no next file » | 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698