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

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

Issue 2152033002: Convert third_party source sets to static libraries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios Created 4 years, 5 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 | « chrome/third_party/mozilla_security_manager/BUILD.gn ('k') | third_party/ced/BUILD.gn » ('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("//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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 if (is_win && !is_msan) { 53 if (is_win && !is_msan) {
54 import("//third_party/yasm/yasm_assemble.gni") 54 import("//third_party/yasm/yasm_assemble.gni")
55 yasm_assemble("boringssl_asm") { 55 yasm_assemble("boringssl_asm") {
56 if (current_cpu == "x64") { 56 if (current_cpu == "x64") {
57 sources = crypto_sources_win_x86_64 57 sources = crypto_sources_win_x86_64
58 } else if (current_cpu == "x86") { 58 } else if (current_cpu == "x86") {
59 sources = crypto_sources_win_x86 59 sources = crypto_sources_win_x86
60 } 60 }
61 } 61 }
62 } else { 62 } else {
63 # This has no sources on some platforms so must be a source_set.
63 source_set("boringssl_asm") { 64 source_set("boringssl_asm") {
64 visibility = [ ":*" ] # Only targets in this file can depend on this. 65 visibility = [ ":*" ] # Only targets in this file can depend on this.
65 66
66 defines = [] 67 defines = []
67 sources = [] 68 sources = []
68 asmflags = [] 69 asmflags = []
69 include_dirs = [ "src/include" ] 70 include_dirs = [ "src/include" ]
70 71
71 if ((current_cpu == "arm" || current_cpu == "arm64") && is_clang) { 72 if ((current_cpu == "arm" || current_cpu == "arm64") && is_clang) {
72 if (current_cpu == "arm") { 73 if (current_cpu == "arm") {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 } else if ("read_pem" == fuzzer) { 204 } else if ("read_pem" == fuzzer) {
204 libfuzzer_options = [ "max_len=512" ] 205 libfuzzer_options = [ "max_len=512" ]
205 } else if ("server" == fuzzer) { 206 } else if ("server" == fuzzer) {
206 libfuzzer_options = [ "max_len=4096" ] 207 libfuzzer_options = [ "max_len=4096" ]
207 } else if ("spki" == fuzzer) { 208 } else if ("spki" == fuzzer) {
208 libfuzzer_options = [ "max_len=1024" ] 209 libfuzzer_options = [ "max_len=1024" ]
209 } 210 }
210 } 211 }
211 } 212 }
212 } 213 }
OLDNEW
« no previous file with comments | « chrome/third_party/mozilla_security_manager/BUILD.gn ('k') | third_party/ced/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698