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

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

Issue 1042543003: add video hole support to the gn build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: copy gyp's video hole comment Created 5 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 | « no previous file | 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/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/module_args/v8.gni") 9 import("//build/module_args/v8.gni")
10 10
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 } 221 }
222 if (v8_use_external_startup_data) { 222 if (v8_use_external_startup_data) {
223 defines += [ "V8_USE_EXTERNAL_STARTUP_DATA" ] 223 defines += [ "V8_USE_EXTERNAL_STARTUP_DATA" ]
224 } 224 }
225 if (enable_background) { 225 if (enable_background) {
226 defines += [ "ENABLE_BACKGROUND=1" ] 226 defines += [ "ENABLE_BACKGROUND=1" ]
227 } 227 }
228 if (enable_pre_sync_backup) { 228 if (enable_pre_sync_backup) {
229 defines += [ "ENABLE_PRE_SYNC_BACKUP" ] 229 defines += [ "ENABLE_PRE_SYNC_BACKUP" ]
230 } 230 }
231 if (enable_video_hole) {
232 defines += [ "VIDEO_HOLE=1" ]
233 }
231 } 234 }
232 235
233 # Debug/release ---------------------------------------------------------------- 236 # Debug/release ----------------------------------------------------------------
234 237
235 config("debug") { 238 config("debug") {
236 defines = [ 239 defines = [
237 "_DEBUG", 240 "_DEBUG",
238 "DYNAMIC_ANNOTATIONS_ENABLED=1", 241 "DYNAMIC_ANNOTATIONS_ENABLED=1",
239 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 242 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
240 ] 243 ]
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 "CoreFoundation.framework", 331 "CoreFoundation.framework",
329 "CoreGraphics.framework", 332 "CoreGraphics.framework",
330 "CoreText.framework", 333 "CoreText.framework",
331 "Foundation.framework", 334 "Foundation.framework",
332 "UIKit.framework", 335 "UIKit.framework",
333 ] 336 ]
334 } else if (is_linux) { 337 } else if (is_linux) {
335 libs = [ "dl" ] 338 libs = [ "dl" ]
336 } 339 }
337 } 340 }
OLDNEW
« no previous file with comments | « no previous file | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698