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

Side by Side Diff: build/secondary/third_party/libsrtp/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, 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
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 declare_args() { 5 declare_args() {
6 use_system_libsrtp = false 6 use_system_libsrtp = false
7 } 7 }
8 8
9 config("libsrtp_config") { 9 config("libsrtp_config") {
10 defines = [ 10 defines = [
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 60 }
61 } 61 }
62 62
63 config("system_libsrtp_config") { 63 config("system_libsrtp_config") {
64 defines = [ "USE_SYSTEM_LIBSRTP" ] 64 defines = [ "USE_SYSTEM_LIBSRTP" ]
65 include_dirs = [ "/usr/include/srtp" ] 65 include_dirs = [ "/usr/include/srtp" ]
66 } 66 }
67 67
68 if (use_system_libsrtp) { 68 if (use_system_libsrtp) {
69 group("libsrtp") { 69 group("libsrtp") {
70 direct_dependent_configs = [ ":libsrtp_config", ":system_libsrtp_config" ] 70 public_configs = [ ":libsrtp_config", ":system_libsrtp_config" ]
71 libs = [ "-lsrtp" ] 71 libs = [ "-lsrtp" ]
72 } 72 }
73 } else { 73 } else {
74 static_library("libsrtp") { 74 static_library("libsrtp") {
75 configs -= [ "//build/config/compiler:chromium_code" ] 75 configs -= [ "//build/config/compiler:chromium_code" ]
76 configs += [ "//build/config/compiler:no_chromium_code" ] 76 configs += [ "//build/config/compiler:no_chromium_code" ]
77 direct_dependent_configs = [ ":libsrtp_config" ] 77 public_configs = [ ":libsrtp_config" ]
78 78
79 sources = [ 79 sources = [
80 # includes 80 # includes
81 "srtp/include/ekt.h", 81 "srtp/include/ekt.h",
82 "srtp/include/getopt_s.h", 82 "srtp/include/getopt_s.h",
83 "srtp/include/rtp.h", 83 "srtp/include/rtp.h",
84 "srtp/include/rtp_priv.h", 84 "srtp/include/rtp_priv.h",
85 "srtp/include/srtp.h", 85 "srtp/include/srtp.h",
86 "srtp/include/srtp_priv.h", 86 "srtp/include/srtp_priv.h",
87 "srtp/include/ut_sim.h", 87 "srtp/include/ut_sim.h",
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 ":srtp_test_stat_driver", 301 ":srtp_test_stat_driver",
302 ":srtp_test_sha1_driver", 302 ":srtp_test_sha1_driver",
303 ":srtp_test_kernel_driver", 303 ":srtp_test_kernel_driver",
304 ":srtp_test_aes_calc", 304 ":srtp_test_aes_calc",
305 ":srtp_test_rand_gen", 305 ":srtp_test_rand_gen",
306 ":srtp_test_env", 306 ":srtp_test_env",
307 ] 307 ]
308 } 308 }
309 } 309 }
310 } 310 }
OLDNEW
« no previous file with comments | « build/secondary/third_party/libjpeg_turbo/BUILD.gn ('k') | build/secondary/third_party/nss/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698