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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 "You must specify rtc_ssl_root when rtc_build_ssl==0.") | 87 "You must specify rtc_ssl_root when rtc_build_ssl==0.") |
88 include_dirs = [ rtc_ssl_root ] | 88 include_dirs = [ rtc_ssl_root ] |
89 } | 89 } |
90 } | 90 } |
91 | 91 |
92 # The subset of rtc_base approved for use outside of libjingle. | 92 # The subset of rtc_base approved for use outside of libjingle. |
93 rtc_static_library("rtc_base_approved") { | 93 rtc_static_library("rtc_base_approved") { |
94 defines = [] | 94 defines = [] |
95 libs = [] | 95 libs = [] |
96 deps = [] | 96 deps = [] |
97 public_configs = [ "..:common_inherited_config" ] | |
98 all_dependent_configs = [ ":rtc_base_approved_all_dependent_config" ] | 97 all_dependent_configs = [ ":rtc_base_approved_all_dependent_config" ] |
99 | 98 |
100 sources = [ | 99 sources = [ |
101 "array_view.h", | 100 "array_view.h", |
102 "atomicops.h", | 101 "atomicops.h", |
103 "bind.h", | 102 "bind.h", |
104 "bitbuffer.cc", | 103 "bitbuffer.cc", |
105 "bitbuffer.h", | 104 "bitbuffer.h", |
106 "buffer.h", | 105 "buffer.h", |
107 "bufferqueue.cc", | 106 "bufferqueue.cc", |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 public_deps = [ | 275 public_deps = [ |
277 ":rtc_base_approved", | 276 ":rtc_base_approved", |
278 ] | 277 ] |
279 | 278 |
280 configs += [ | 279 configs += [ |
281 ":openssl_config", | 280 ":openssl_config", |
282 ":rtc_base_config", | 281 ":rtc_base_config", |
283 ] | 282 ] |
284 | 283 |
285 public_configs = [ | 284 public_configs = [ |
286 "..:common_inherited_config", | |
287 ":openssl_config", | 285 ":openssl_config", |
288 ":rtc_base_config", | 286 ":rtc_base_config", |
289 ] | 287 ] |
290 | 288 |
291 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] | 289 all_dependent_configs = [ ":rtc_base_all_dependent_config" ] |
292 defines = [ "LOGGING=1" ] | 290 defines = [ "LOGGING=1" ] |
293 | 291 |
294 sources = [ | 292 sources = [ |
295 "arraysize.h", | 293 "arraysize.h", |
296 "asyncfile.cc", | 294 "asyncfile.cc", |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 "faketaskrunner.h", | 723 "faketaskrunner.h", |
726 "gunit.h", | 724 "gunit.h", |
727 "test/faketiming.h", | 725 "test/faketiming.h", |
728 "testbase64.h", | 726 "testbase64.h", |
729 "testechoserver.h", | 727 "testechoserver.h", |
730 "testutils.h", | 728 "testutils.h", |
731 "timedelta.h", | 729 "timedelta.h", |
732 "unittest_main.cc", | 730 "unittest_main.cc", |
733 ] | 731 ] |
734 configs += [ ":rtc_base_tests_utils_warnings_config" ] | 732 configs += [ ":rtc_base_tests_utils_warnings_config" ] |
735 public_configs = [ | 733 public_configs = [ ":rtc_base_tests_utils_exported_config" ] |
736 "..:common_inherited_config", | |
737 ":rtc_base_tests_utils_exported_config", | |
738 ] | |
739 deps = [ | 734 deps = [ |
740 ":rtc_base", | 735 ":rtc_base", |
741 "../test:field_trial", | 736 "../test:field_trial", |
742 "../test:test_support", | 737 "../test:test_support", |
743 ] | 738 ] |
744 public_deps = [ | 739 public_deps = [ |
745 "//testing/gtest", | 740 "//testing/gtest", |
746 ] | 741 ] |
747 | 742 |
748 if (is_clang) { | 743 if (is_clang) { |
749 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 744 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
750 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 745 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
751 } | 746 } |
752 } | 747 } |
753 } | 748 } |
754 | 749 |
755 if (is_android) { | 750 if (is_android) { |
756 android_library("base_java") { | 751 android_library("base_java") { |
757 java_files = [ | 752 java_files = [ |
758 "java/src/org/webrtc/Logging.java", | 753 "java/src/org/webrtc/Logging.java", |
759 "java/src/org/webrtc/Size.java", | 754 "java/src/org/webrtc/Size.java", |
760 "java/src/org/webrtc/ThreadUtils.java", | 755 "java/src/org/webrtc/ThreadUtils.java", |
761 ] | 756 ] |
762 | 757 |
763 deps = [ | 758 deps = [ |
764 "//base:base_java", | 759 "//base:base_java", |
765 ] | 760 ] |
766 } | 761 } |
767 } | 762 } |
OLD | NEW |