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

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

Issue 2050383002: Roll src/third_party/boringssl/src 0fc7df55c..166958944 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: roll a little further Created 4 years, 6 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 | « DEPS ('k') | third_party/boringssl/BUILD.generated.gni » ('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 12 matching lines...) Expand all
23 defines = [ 23 defines = [
24 "BORINGSSL_IMPLEMENTATION", 24 "BORINGSSL_IMPLEMENTATION",
25 "BORINGSSL_NO_STATIC_INITIALIZER", 25 "BORINGSSL_NO_STATIC_INITIALIZER",
26 "OPENSSL_SMALL", 26 "OPENSSL_SMALL",
27 ] 27 ]
28 configs = [ 28 configs = [
29 # TODO(davidben): Fix size_t truncations in BoringSSL. 29 # TODO(davidben): Fix size_t truncations in BoringSSL.
30 # https://crbug.com/429039 30 # https://crbug.com/429039
31 "//build/config/compiler:no_size_t_to_int_warning", 31 "//build/config/compiler:no_size_t_to_int_warning",
32 ] 32 ]
33 if (is_posix) {
34 cflags_c = [ "-std=c99" ]
35 defines += [ "_XOPEN_SOURCE=700" ]
36 }
33 } 37 }
34 38
35 config("no_asm_config") { 39 config("no_asm_config") {
36 visibility = [ ":*" ] # Only targets in this file can depend on this. 40 visibility = [ ":*" ] # Only targets in this file can depend on this.
37 defines = [ "OPENSSL_NO_ASM" ] 41 defines = [ "OPENSSL_NO_ASM" ]
38 } 42 }
39 43
40 config("fuzzer_config") { 44 config("fuzzer_config") {
41 visibility = [ ":*" ] # Only targets in this file can depend on this. 45 visibility = [ ":*" ] # Only targets in this file can depend on this.
42 defines = [ "BORINGSSL_UNSAFE_FUZZER_MODE" ] 46 defines = [ "BORINGSSL_UNSAFE_FUZZER_MODE" ]
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 } else if ("read_pem" == fuzzer) { 203 } else if ("read_pem" == fuzzer) {
200 libfuzzer_options = [ "max_len=512" ] 204 libfuzzer_options = [ "max_len=512" ]
201 } else if ("server" == fuzzer) { 205 } else if ("server" == fuzzer) {
202 libfuzzer_options = [ "max_len=4096" ] 206 libfuzzer_options = [ "max_len=4096" ]
203 } else if ("spki" == fuzzer) { 207 } else if ("spki" == fuzzer) {
204 libfuzzer_options = [ "max_len=1024" ] 208 libfuzzer_options = [ "max_len=1024" ]
205 } 209 }
206 } 210 }
207 } 211 }
208 } 212 }
OLDNEW
« no previous file with comments | « DEPS ('k') | third_party/boringssl/BUILD.generated.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698