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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 defines += [ "SAFE_BROWSING_SERVICE" ] | 241 defines += [ "SAFE_BROWSING_SERVICE" ] |
242 } | 242 } |
243 if (is_official_build) { | 243 if (is_official_build) { |
244 defines += [ "OFFICIAL_BUILD" ] | 244 defines += [ "OFFICIAL_BUILD" ] |
245 } | 245 } |
246 if (is_chrome_branded) { | 246 if (is_chrome_branded) { |
247 defines += [ "GOOGLE_CHROME_BUILD" ] | 247 defines += [ "GOOGLE_CHROME_BUILD" ] |
248 } else { | 248 } else { |
249 defines += [ "CHROMIUM_BUILD" ] | 249 defines += [ "CHROMIUM_BUILD" ] |
250 } | 250 } |
| 251 if (enable_media_router) { |
| 252 defines += [ "ENABLE_MEDIA_ROUTER=1" ] |
| 253 } |
251 } | 254 } |
252 | 255 |
253 # Debug/release ---------------------------------------------------------------- | 256 # Debug/release ---------------------------------------------------------------- |
254 | 257 |
255 config("debug") { | 258 config("debug") { |
256 defines = [ | 259 defines = [ |
257 "_DEBUG", | 260 "_DEBUG", |
258 "DYNAMIC_ANNOTATIONS_ENABLED=1", | 261 "DYNAMIC_ANNOTATIONS_ENABLED=1", |
259 "WTF_USE_DYNAMIC_ANNOTATIONS=1", | 262 "WTF_USE_DYNAMIC_ANNOTATIONS=1", |
260 ] | 263 ] |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 "CoreFoundation.framework", | 363 "CoreFoundation.framework", |
361 "CoreGraphics.framework", | 364 "CoreGraphics.framework", |
362 "CoreText.framework", | 365 "CoreText.framework", |
363 "Foundation.framework", | 366 "Foundation.framework", |
364 "UIKit.framework", | 367 "UIKit.framework", |
365 ] | 368 ] |
366 } else if (is_linux) { | 369 } else if (is_linux) { |
367 libs = [ "dl" ] | 370 libs = [ "dl" ] |
368 } | 371 } |
369 } | 372 } |
OLD | NEW |