Chromium Code Reviews| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 72 } | 72 } |
| 73 | 73 |
| 74 if (!rtc_build_ssl) { | 74 if (!rtc_build_ssl) { |
| 75 config("external_ssl_library") { | 75 config("external_ssl_library") { |
| 76 assert(rtc_ssl_root != "", | 76 assert(rtc_ssl_root != "", |
| 77 "You must specify rtc_ssl_root when rtc_build_ssl==0.") | 77 "You must specify rtc_ssl_root when rtc_build_ssl==0.") |
| 78 include_dirs = [ rtc_ssl_root ] | 78 include_dirs = [ rtc_ssl_root ] |
| 79 } | 79 } |
| 80 } | 80 } |
| 81 | 81 |
| 82 # TODO(mbonadei): wrap into an if to check if rtc_enable_protobuf is true? | |
|
kjellander_webrtc
2017/03/14 21:28:05
Yes, put this inside an if(rtc_enable_protobuf) co
mbonadei
2017/03/15 10:08:05
Done.
| |
| 83 source_set("protobuf_utils") { | |
| 84 sources = [ | |
| 85 "protobuf_utils.h", | |
| 86 ] | |
| 87 include_dirs = [ "//third_party/protobuf/src" ] | |
|
kjellander_webrtc
2017/03/14 21:28:05
I think you should replace this with a deps entry
mbonadei
2017/03/15 10:08:05
Done.
| |
| 88 } | |
| 89 | |
| 82 # The subset of rtc_base approved for use outside of libjingle. | 90 # The subset of rtc_base approved for use outside of libjingle. |
| 83 rtc_static_library("rtc_base_approved") { | 91 rtc_static_library("rtc_base_approved") { |
| 84 defines = [] | 92 defines = [] |
| 85 libs = [] | 93 libs = [] |
| 86 deps = [] | 94 deps = [] |
| 87 all_dependent_configs = [ ":rtc_base_approved_all_dependent_config" ] | 95 all_dependent_configs = [ ":rtc_base_approved_all_dependent_config" ] |
| 88 | 96 |
| 89 sources = [ | 97 sources = [ |
| 90 "array_view.h", | 98 "array_view.h", |
| 91 "arraysize.h", | 99 "arraysize.h", |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 881 | 889 |
| 882 if (is_android) { | 890 if (is_android) { |
| 883 android_library("base_java") { | 891 android_library("base_java") { |
| 884 java_files = [ | 892 java_files = [ |
| 885 "java/src/org/webrtc/Logging.java", | 893 "java/src/org/webrtc/Logging.java", |
| 886 "java/src/org/webrtc/Size.java", | 894 "java/src/org/webrtc/Size.java", |
| 887 "java/src/org/webrtc/ThreadUtils.java", | 895 "java/src/org/webrtc/ThreadUtils.java", |
| 888 ] | 896 ] |
| 889 } | 897 } |
| 890 } | 898 } |
| OLD | NEW |