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 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1029 sources += [ | 1029 sources += [ |
1030 "win32_unittest.cc", | 1030 "win32_unittest.cc", |
1031 "win32window_unittest.cc", | 1031 "win32window_unittest.cc", |
1032 ] | 1032 ] |
1033 } | 1033 } |
1034 if (is_mac) { | 1034 if (is_mac) { |
1035 sources += [ "macutils_unittest.cc" ] | 1035 sources += [ "macutils_unittest.cc" ] |
1036 } | 1036 } |
1037 if (is_posix) { | 1037 if (is_posix) { |
1038 sources += [ | 1038 sources += [ |
| 1039 "openssladapter_unittest.cc", |
1039 "ssladapter_unittest.cc", | 1040 "ssladapter_unittest.cc", |
1040 "sslidentity_unittest.cc", | 1041 "sslidentity_unittest.cc", |
1041 "sslstreamadapter_unittest.cc", | 1042 "sslstreamadapter_unittest.cc", |
1042 ] | 1043 ] |
1043 } | 1044 } |
1044 deps = [ | 1045 deps = [ |
1045 ":rtc_base_tests_main", | 1046 ":rtc_base_tests_main", |
1046 ":rtc_base_tests_utils", | 1047 ":rtc_base_tests_utils", |
1047 "../test:test_support", | 1048 "../test:test_support", |
1048 ] | 1049 ] |
1049 public_deps = [ | 1050 public_deps = [ |
1050 ":rtc_base", | 1051 ":rtc_base", |
1051 ] | 1052 ] |
1052 configs += [ ":rtc_base_unittests_config" ] | 1053 configs += [ ":rtc_base_unittests_config" ] |
1053 if (!build_with_chromium && is_clang) { | 1054 if (!build_with_chromium && is_clang) { |
1054 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1055 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1055 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1056 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1056 } | 1057 } |
| 1058 if (build_with_chromium) { |
| 1059 include_dirs = [ "../../boringssl/src/include" ] |
| 1060 } |
| 1061 if (rtc_build_ssl) { |
| 1062 deps += [ "//third_party/boringssl" ] |
| 1063 } else { |
| 1064 configs += [ ":external_ssl_library" ] |
| 1065 } |
1057 } | 1066 } |
1058 } | 1067 } |
1059 | 1068 |
1060 if (is_android) { | 1069 if (is_android) { |
1061 android_library("base_java") { | 1070 android_library("base_java") { |
1062 java_files = [ | 1071 java_files = [ |
1063 "java/src/org/webrtc/ContextUtils.java", | 1072 "java/src/org/webrtc/ContextUtils.java", |
1064 "java/src/org/webrtc/Logging.java", | 1073 "java/src/org/webrtc/Logging.java", |
1065 "java/src/org/webrtc/Size.java", | 1074 "java/src/org/webrtc/Size.java", |
1066 "java/src/org/webrtc/ThreadUtils.java", | 1075 "java/src/org/webrtc/ThreadUtils.java", |
1067 ] | 1076 ] |
1068 | 1077 |
1069 # TODO(sakal): Fix build hooks crbug.com/webrtc/8148 | 1078 # TODO(sakal): Fix build hooks crbug.com/webrtc/8148 |
1070 no_build_hooks = true | 1079 no_build_hooks = true |
1071 } | 1080 } |
1072 } | 1081 } |
OLD | NEW |