OLD | NEW |
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/crypto.gni") | 7 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//build/module_args/v8.gni") | 10 import("//build/module_args/v8.gni") |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 defines += [ "OFFICIAL_BUILD" ] | 262 defines += [ "OFFICIAL_BUILD" ] |
263 } | 263 } |
264 if (is_chrome_branded) { | 264 if (is_chrome_branded) { |
265 defines += [ "GOOGLE_CHROME_BUILD" ] | 265 defines += [ "GOOGLE_CHROME_BUILD" ] |
266 } else { | 266 } else { |
267 defines += [ "CHROMIUM_BUILD" ] | 267 defines += [ "CHROMIUM_BUILD" ] |
268 } | 268 } |
269 if (enable_media_router) { | 269 if (enable_media_router) { |
270 defines += [ "ENABLE_MEDIA_ROUTER=1" ] | 270 defines += [ "ENABLE_MEDIA_ROUTER=1" ] |
271 } | 271 } |
272 if (enable_webvr) { | |
273 defines += [ "ENABLE_WEBVR" ] | |
274 } | |
275 } | 272 } |
276 | 273 |
277 # Debug/release ---------------------------------------------------------------- | 274 # Debug/release ---------------------------------------------------------------- |
278 | 275 |
279 config("debug") { | 276 config("debug") { |
280 defines = [ | 277 defines = [ |
281 "_DEBUG", | 278 "_DEBUG", |
282 "DYNAMIC_ANNOTATIONS_ENABLED=1", | 279 "DYNAMIC_ANNOTATIONS_ENABLED=1", |
283 "WTF_USE_DYNAMIC_ANNOTATIONS=1", | 280 "WTF_USE_DYNAMIC_ANNOTATIONS=1", |
284 ] | 281 ] |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 "CoreFoundation.framework", | 386 "CoreFoundation.framework", |
390 "CoreGraphics.framework", | 387 "CoreGraphics.framework", |
391 "CoreText.framework", | 388 "CoreText.framework", |
392 "Foundation.framework", | 389 "Foundation.framework", |
393 "UIKit.framework", | 390 "UIKit.framework", |
394 ] | 391 ] |
395 } else if (is_linux) { | 392 } else if (is_linux) { |
396 libs = [ "dl" ] | 393 libs = [ "dl" ] |
397 } | 394 } |
398 } | 395 } |
OLD | NEW |