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

Side by Side Diff: webrtc/p2p/BUILD.gn

Issue 2832283002: Remove the expat and jsoncpp to reduce the binary size. (Closed)
Patch Set: Remove the expat and jsoncpp. Created 3 years, 8 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
« no previous file with comments | « webrtc/examples/BUILD.gn ('k') | webrtc/webrtc.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 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("../webrtc.gni") 9 import("../webrtc.gni")
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 "client/socketmonitor.cc", 81 "client/socketmonitor.cc",
82 "client/socketmonitor.h", 82 "client/socketmonitor.h",
83 ] 83 ]
84 84
85 defines = [] 85 defines = []
86 86
87 deps = [ 87 deps = [
88 "../base:rtc_base", 88 "../base:rtc_base",
89 ] 89 ]
90 90
91 if (rtc_build_expat) {
92 deps += [ "//third_party/expat" ]
93 public_deps = [
94 "//third_party/expat",
95 ]
96 }
97
98 public_configs = [ ":rtc_p2p_inherited_config" ] 91 public_configs = [ ":rtc_p2p_inherited_config" ]
99 92
100 if (build_with_chromium) { 93 if (build_with_chromium) {
101 if (is_nacl) { 94 if (is_nacl) {
102 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] 95 deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
103 } 96 }
104 } else { 97 } else {
105 sources += [ 98 sources += [
106 "base/relayserver.cc", 99 "base/relayserver.cc",
107 "base/relayserver.h", 100 "base/relayserver.h",
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 "//testing/gmock", 237 "//testing/gmock",
245 "//testing/gtest", 238 "//testing/gtest",
246 ] 239 ]
247 if (!build_with_chromium && is_clang) { 240 if (!build_with_chromium && is_clang) {
248 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 241 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
249 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 242 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
250 } 243 }
251 defines = [ "GTEST_RELATIVE_PATH" ] 244 defines = [ "GTEST_RELATIVE_PATH" ]
252 } 245 }
253 } 246 }
OLDNEW
« no previous file with comments | « webrtc/examples/BUILD.gn ('k') | webrtc/webrtc.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698