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

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

Issue 544423002: Convert GN visibility variables to lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years, 3 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 | « skia/BUILD.gn ('k') | third_party/cld/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 # Config for us and everybody else depending on BoringSSL. 5 # Config for us and everybody else depending on BoringSSL.
6 config("openssl_config") { 6 config("openssl_config") {
7 include_dirs = [] 7 include_dirs = []
8 include_dirs += [ "src/include" ] 8 include_dirs += [ "src/include" ]
9 if (is_component_build) { 9 if (is_component_build) {
10 defines = [ 10 defines = [
11 "BORINGSSL_SHARED_LIBRARY", 11 "BORINGSSL_SHARED_LIBRARY",
12 ] 12 ]
13 } 13 }
14 } 14 }
15 15
16 # Config internal to this build file. 16 # Config internal to this build file.
17 config("openssl_internal_config") { 17 config("openssl_internal_config") {
18 visibility = ":*" # Only targets in this file can depend on this. 18 visibility = [ ":*" ] # Only targets in this file can depend on this.
19 } 19 }
20 20
21 # The list of BoringSSL files is kept in boringssl.gypi. 21 # The list of BoringSSL files is kept in boringssl.gypi.
22 gypi_values = exec_script( 22 gypi_values = exec_script(
23 "//build/gypi_to_gn.py", 23 "//build/gypi_to_gn.py",
24 [ rebase_path("//third_party/boringssl/boringssl.gypi") ], 24 [ rebase_path("//third_party/boringssl/boringssl.gypi") ],
25 "scope", 25 "scope",
26 [ "//third_party/boringssl/boringssl.gypi" ]) 26 [ "//third_party/boringssl/boringssl.gypi" ])
27 27
28 component("boringssl") { 28 component("boringssl") {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 sources += gypi_values.boringssl_linux_x86_sources 67 sources += gypi_values.boringssl_linux_x86_sources
68 } else { 68 } else {
69 defines += [ "OPENSSL_NO_ASM" ] 69 defines += [ "OPENSSL_NO_ASM" ]
70 } 70 }
71 } else if (cpu_arch == "arm") { 71 } else if (cpu_arch == "arm") {
72 sources += gypi_values.boringssl_linux_arm_sources 72 sources += gypi_values.boringssl_linux_arm_sources
73 } else { 73 } else {
74 defines += [ "OPENSSL_NO_ASM" ] 74 defines += [ "OPENSSL_NO_ASM" ]
75 } 75 }
76 } 76 }
OLDNEW
« no previous file with comments | « skia/BUILD.gn ('k') | third_party/cld/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698