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 } | |
254 } | 251 } |
255 | 252 |
256 # Debug/release ---------------------------------------------------------------- | 253 # Debug/release ---------------------------------------------------------------- |
257 | 254 |
258 config("debug") { | 255 config("debug") { |
259 defines = [ | 256 defines = [ |
260 "_DEBUG", | 257 "_DEBUG", |
261 "DYNAMIC_ANNOTATIONS_ENABLED=1", | 258 "DYNAMIC_ANNOTATIONS_ENABLED=1", |
262 "WTF_USE_DYNAMIC_ANNOTATIONS=1", | 259 "WTF_USE_DYNAMIC_ANNOTATIONS=1", |
263 ] | 260 ] |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 "CoreFoundation.framework", | 360 "CoreFoundation.framework", |
364 "CoreGraphics.framework", | 361 "CoreGraphics.framework", |
365 "CoreText.framework", | 362 "CoreText.framework", |
366 "Foundation.framework", | 363 "Foundation.framework", |
367 "UIKit.framework", | 364 "UIKit.framework", |
368 ] | 365 ] |
369 } else if (is_linux) { | 366 } else if (is_linux) { |
370 libs = [ "dl" ] | 367 libs = [ "dl" ] |
371 } | 368 } |
372 } | 369 } |
OLD | NEW |