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

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

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/sqlite/BUILD.gn ('k') | third_party/zlib/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/crypto.gni") 5 import("//build/config/crypto.gni")
6 6
7 config("usrsctp_config") { 7 config("usrsctp_config") {
8 include_dirs = [ 8 include_dirs = [
9 "usrsctplib", 9 "usrsctplib",
10 "usrsctplib/netinet", 10 "usrsctplib/netinet",
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 defines = [ 80 defines = [
81 "SCTP_PROCESS_LEVEL_LOCKS", 81 "SCTP_PROCESS_LEVEL_LOCKS",
82 "SCTP_SIMPLE_ALLOCATOR", 82 "SCTP_SIMPLE_ALLOCATOR",
83 "__Userspace__", 83 "__Userspace__",
84 # "SCTP_DEBUG", # Uncomment for SCTP debugging. 84 # "SCTP_DEBUG", # Uncomment for SCTP debugging.
85 ] 85 ]
86 86
87 configs -= [ "//build/config/compiler:chromium_code" ] 87 configs -= [ "//build/config/compiler:chromium_code" ]
88 configs += [ "//build/config/compiler:no_chromium_code" ] 88 configs += [ "//build/config/compiler:no_chromium_code" ]
89 89
90 direct_dependent_configs = [ ":usrsctp_config" ] 90 public_configs = [ ":usrsctp_config" ]
91 91
92 if (use_openssl) { 92 if (use_openssl) {
93 defines += [ "SCTP_USE_OPENSSL_SHA1" ] 93 defines += [ "SCTP_USE_OPENSSL_SHA1" ]
94 } else { 94 } else {
95 defines += [ "SCTP_USE_NSS_SHA1" ] 95 defines += [ "SCTP_USE_NSS_SHA1" ]
96 } 96 }
97 97
98 if (is_linux || is_android) { 98 if (is_linux || is_android) {
99 defines += [ "__Userspace_os_Linux" ] 99 defines += [ "__Userspace_os_Linux" ]
100 } else if (is_mac || is_ios) { 100 } else if (is_mac || is_ios) {
(...skipping 19 matching lines...) Expand all
120 } 120 }
121 121
122 if (is_clang) { 122 if (is_clang) {
123 cflags = [ "-Wno-incompatible-pointer-types" ] 123 cflags = [ "-Wno-incompatible-pointer-types" ]
124 } 124 }
125 125
126 deps = [ 126 deps = [
127 "//crypto:platform", 127 "//crypto:platform",
128 ] 128 ]
129 } 129 }
OLDNEW
« no previous file with comments | « third_party/sqlite/BUILD.gn ('k') | third_party/zlib/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698