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

Side by Side Diff: webrtc/webrtc.gni

Issue 2728643003: Setting is_component_build to false by default (Closed)
Patch Set: Updating assertion error message. Created 3 years, 9 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 | « tools-webrtc/mb/mb_config.pyl ('k') | no next file » | 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) 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/arm.gni") 9 import("//build/config/arm.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
11 import("//build/config/mips.gni") 11 import("//build/config/mips.gni")
12 import("//build/config/sanitizers/sanitizers.gni") 12 import("//build/config/sanitizers/sanitizers.gni")
13 import("//build/config/ui.gni") 13 import("//build/config/ui.gni")
14 import("//build_overrides/build.gni") 14 import("//build_overrides/build.gni")
15 import("//testing/test.gni") 15 import("//testing/test.gni")
16
17 if (is_component_build) {
18 print("The Gn argument `is_component_build` is currently " +
19 "ignored for WebRTC builds.")
20 print("Component builds are supported by Chromium and the argument " +
21 "`is_component_build` makes it possible to create shared libraries " +
22 "instead of static libraries.")
23 print("If an app depends on WebRTC it makes sense to just depend on the " +
24 "WebRTC static library, so there is no difference between " +
25 "`is_component_build=true` and `is_component_build=false`.")
26 print(
27 "More info about component builds at: " + "https://chromium.googlesource.c om/chromium/src/+/master/docs/component_build.md")
28 assert(!is_component_build, "Component builds are not supported in WebRTC.")
tommi 2017/03/04 00:14:05 Although webrtc ignores the switch, we can't break
29 }
30
16 if (is_ios) { 31 if (is_ios) {
17 import("//build/config/ios/rules.gni") 32 import("//build/config/ios/rules.gni")
18 } 33 }
19 34
20 declare_args() { 35 declare_args() {
21 # Disable this to avoid building the Opus audio codec. 36 # Disable this to avoid building the Opus audio codec.
22 rtc_include_opus = true 37 rtc_include_opus = true
23 38
24 # Enable this if the Opus version upon which WebRTC is built supports direct 39 # Enable this if the Opus version upon which WebRTC is built supports direct
25 # encoding of 120 ms packets. 40 # encoding of 120 ms packets.
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 configs += invoker.configs 365 configs += invoker.configs
351 configs -= rtc_remove_configs 366 configs -= rtc_remove_configs
352 configs -= invoker.suppressed_configs 367 configs -= invoker.suppressed_configs
353 public_configs = [ rtc_common_inherited_config ] 368 public_configs = [ rtc_common_inherited_config ]
354 if (defined(invoker.public_configs)) { 369 if (defined(invoker.public_configs)) {
355 public_configs += invoker.public_configs 370 public_configs += invoker.public_configs
356 } 371 }
357 } 372 }
358 } 373 }
359 } 374 }
OLDNEW
« no previous file with comments | « tools-webrtc/mb/mb_config.pyl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698