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

Side by Side Diff: tools/gn/secondary/crypto/ssl/BUILD.gn

Issue 231673006: Add SSL support to the GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes for minimal Created 6 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 | Annotate | Revision Log
« no previous file with comments | « tools/gn/secondary/crypto/BUILD.gn ('k') | tools/gn/secondary/net/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
(Empty)
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/config/crypto.gni")
6 import("//build/config/linux/pkg_config.gni")
7
8 config("ssl_preprocessor_flags") {
9 if (use_openssl) {
10 defines = [ "USE_OPENSSL" ]
11 } else if (use_nss) {
12 defines = [ "USE_NSS" ]
13 }
14 }
15
16 # This meta-target will include the SSL library according to the build flags.
17 group("metassl") {
18 direct_dependent_configs = [ ":ssl_preprocessor_flags" ]
19
20 if (use_openssl) {
21 assert(is_linux)
22 deps = [ "//third_party/openssl" ]
23 } else {
24 deps = [ "//net/third_party/nss:ssl" ]
25 }
26
27 forward_dependent_configs_from = deps
28 }
OLDNEW
« no previous file with comments | « tools/gn/secondary/crypto/BUILD.gn ('k') | tools/gn/secondary/net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698