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

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

Issue 2004743002: [iOS/GN] Fix the compilation of "all" on iOS with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « third_party/WebKit/Source/wtf/BUILD.gn ('k') | ui/events/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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 configs = [ 133 configs = [
134 ":internal_config", 134 ":internal_config",
135 "//build/config/compiler:no_chromium_code", 135 "//build/config/compiler:no_chromium_code",
136 ] 136 ]
137 deps = [ 137 deps = [
138 ":boringssl", 138 ":boringssl",
139 "//build/win:default_exe_manifest", 139 "//build/win:default_exe_manifest",
140 ] 140 ]
141 } 141 }
142 142
143 test("boringssl_unittests") { 143 if (!is_ios) {
144 deps = [ 144 test("boringssl_unittests") {
145 ":boringssl_tests", 145 deps = [
146 "//base", 146 ":boringssl_tests",
147 "//base/test:run_all_unittests", 147 "//base",
148 "//base/test:test_support", 148 "//base/test:run_all_unittests",
149 "//testing/gtest", 149 "//base/test:test_support",
150 ] 150 "//testing/gtest",
151 sources = [ 151 ]
152 "boringssl_unittest.cc", 152 sources = [
153 ] 153 "boringssl_unittest.cc",
154 ]
155 }
154 } 156 }
155 157
156 # The same as boringssl, but builds with BORINGSSL_UNSAFE_FUZZER_MODE. 158 # The same as boringssl, but builds with BORINGSSL_UNSAFE_FUZZER_MODE.
157 component("boringssl_fuzzer") { 159 component("boringssl_fuzzer") {
158 visibility = [ ":*" ] # Only targets in this file can depend on this. 160 visibility = [ ":*" ] # Only targets in this file can depend on this.
159 161
160 sources = all_sources 162 sources = all_sources
161 deps = [ 163 deps = [
162 ":boringssl_asm", 164 ":boringssl_asm",
163 ] 165 ]
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 } else if ("privkey" == fuzzer) { 197 } else if ("privkey" == fuzzer) {
196 libfuzzer_options = [ "max_len=2048" ] 198 libfuzzer_options = [ "max_len=2048" ]
197 } else if ("server" == fuzzer) { 199 } else if ("server" == fuzzer) {
198 libfuzzer_options = [ "max_len=4096" ] 200 libfuzzer_options = [ "max_len=4096" ]
199 } else if ("spki" == fuzzer) { 201 } else if ("spki" == fuzzer) {
200 libfuzzer_options = [ "max_len=1024" ] 202 libfuzzer_options = [ "max_len=1024" ]
201 } 203 }
202 } 204 }
203 } 205 }
204 } 206 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/BUILD.gn ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698