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

Side by Side Diff: build/config/BUILD.gn

Issue 2517953003: Move enable_webrtc to a buildflag header. (Closed)
Patch Set: Fix Created 4 years 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 | « android_webview/lib/main/aw_main_delegate.cc ('k') | build/config/features.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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/chromecast_build.gni") 7 import("//build/config/chromecast_build.gni")
8 import("//build/config/crypto.gni") 8 import("//build/config/crypto.gni")
9 import("//build/config/dcheck_always_on.gni") 9 import("//build/config/dcheck_always_on.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } 133 }
134 if (is_msan) { 134 if (is_msan) {
135 defines += [ "MEMORY_SANITIZER" ] 135 defines += [ "MEMORY_SANITIZER" ]
136 } 136 }
137 if (is_ubsan || is_ubsan_null || is_ubsan_vptr || is_ubsan_security) { 137 if (is_ubsan || is_ubsan_null || is_ubsan_vptr || is_ubsan_security) {
138 defines += [ "UNDEFINED_SANITIZER" ] 138 defines += [ "UNDEFINED_SANITIZER" ]
139 } 139 }
140 if (use_external_popup_menu) { 140 if (use_external_popup_menu) {
141 defines += [ "USE_EXTERNAL_POPUP_MENU=1" ] 141 defines += [ "USE_EXTERNAL_POPUP_MENU=1" ]
142 } 142 }
143 if (enable_webrtc) {
144 defines += [ "ENABLE_WEBRTC=1" ]
145 }
146 if (!enable_nacl) { 143 if (!enable_nacl) {
147 defines += [ "DISABLE_NACL" ] 144 defines += [ "DISABLE_NACL" ]
148 } 145 }
149 if (enable_task_manager) { 146 if (enable_task_manager) {
150 defines += [ "ENABLE_TASK_MANAGER=1" ] 147 defines += [ "ENABLE_TASK_MANAGER=1" ]
151 } 148 }
152 if (enable_themes) { 149 if (enable_themes) {
153 defines += [ "ENABLE_THEMES=1" ] 150 defines += [ "ENABLE_THEMES=1" ]
154 } 151 }
155 if (enable_rlz) { 152 if (enable_rlz) {
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 # file doesn't exist, no error will be generated (probably MS tested this 409 # file doesn't exist, no error will be generated (probably MS tested this
413 # case but forgot the other one?). To reproduce this error, do a build, 410 # case but forgot the other one?). To reproduce this error, do a build,
414 # then delete the precompile.c.obj file, then build again. 411 # then delete the precompile.c.obj file, then build again.
415 cflags_c = [ "/wd4206" ] 412 cflags_c = [ "/wd4206" ]
416 } else if (is_mac) { 413 } else if (is_mac) {
417 precompiled_header = "build/precompile.h" 414 precompiled_header = "build/precompile.h"
418 precompiled_source = "//build/precompile.h" 415 precompiled_source = "//build/precompile.h"
419 } 416 }
420 } 417 }
421 } 418 }
OLDNEW
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698