OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("//build/config/crypto.gni") | 9 import("//build/config/crypto.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 cflags = [] | 181 cflags = [] |
182 cflags_cc = [] | 182 cflags_cc = [] |
183 libs = [] | 183 libs = [] |
184 deps = [] | 184 deps = [] |
185 public_deps = [ | 185 public_deps = [ |
186 ":rtc_base_approved", | 186 ":rtc_base_approved", |
187 ] | 187 ] |
188 | 188 |
189 configs += [ | 189 configs += [ |
190 "..:common_config", | 190 "..:common_config", |
| 191 ":openssl_config", |
191 ":rtc_base_config", | 192 ":rtc_base_config", |
192 ] | 193 ] |
193 | 194 |
194 public_configs = [ | 195 public_configs = [ |
195 "..:common_inherited_config", | 196 "..:common_inherited_config", |
| 197 ":openssl_config", |
196 ":rtc_base_config", | 198 ":rtc_base_config", |
197 ] | 199 ] |
198 | 200 |
199 defines = [ "LOGGING=1" ] | 201 defines = [ "LOGGING=1" ] |
200 | 202 |
201 sources = [ | 203 sources = [ |
202 "arraysize.h", | 204 "arraysize.h", |
203 "asyncfile.cc", | 205 "asyncfile.cc", |
204 "asyncfile.h", | 206 "asyncfile.h", |
205 "asyncinvoker-inl.h", | 207 "asyncinvoker-inl.h", |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 # TODO(henrike): issue 3307, make rtc_base build with the Chromium default | 480 # TODO(henrike): issue 3307, make rtc_base build with the Chromium default |
479 # compiler settings. | 481 # compiler settings. |
480 configs -= [ "//build/config/compiler:chromium_code" ] | 482 configs -= [ "//build/config/compiler:chromium_code" ] |
481 configs += [ "//build/config/compiler:no_chromium_code" ] | 483 configs += [ "//build/config/compiler:no_chromium_code" ] |
482 if (!is_win) { | 484 if (!is_win) { |
483 cflags += [ "-Wno-uninitialized" ] | 485 cflags += [ "-Wno-uninitialized" ] |
484 cflags_cc += [ "-Wno-non-virtual-dtor" ] | 486 cflags_cc += [ "-Wno-non-virtual-dtor" ] |
485 } | 487 } |
486 | 488 |
487 if (use_openssl) { | 489 if (use_openssl) { |
488 public_configs += [ ":openssl_config" ] | |
489 if (rtc_build_ssl) { | 490 if (rtc_build_ssl) { |
490 deps += [ "//third_party/boringssl" ] | 491 deps += [ "//third_party/boringssl" ] |
491 } else { | 492 } else { |
492 configs += [ "external_ssl_library" ] | 493 configs += [ "external_ssl_library" ] |
493 } | 494 } |
494 sources += [ | 495 sources += [ |
495 "openssl.h", | 496 "openssl.h", |
496 "openssladapter.cc", | 497 "openssladapter.cc", |
497 "openssladapter.h", | 498 "openssladapter.h", |
498 "openssldigest.cc", | 499 "openssldigest.cc", |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 "objc/RTCUIApplication.mm", | 653 "objc/RTCUIApplication.mm", |
653 ] | 654 ] |
654 } | 655 } |
655 } | 656 } |
656 | 657 |
657 source_set("gtest_prod") { | 658 source_set("gtest_prod") { |
658 sources = [ | 659 sources = [ |
659 "gtest_prod_util.h", | 660 "gtest_prod_util.h", |
660 ] | 661 ] |
661 } | 662 } |
OLD | NEW |