Chromium Code Reviews| 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/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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 45 defines += [ "ENABLE_NOTIFICATIONS" ] | 45 defines += [ "ENABLE_NOTIFICATIONS" ] |
| 46 } | 46 } |
| 47 if (enable_pepper_cdms) { | 47 if (enable_pepper_cdms) { |
| 48 # TODO(brettw) should probably be "=1" | 48 # TODO(brettw) should probably be "=1" |
| 49 defines += [ "ENABLE_PEPPER_CDMS" ] | 49 defines += [ "ENABLE_PEPPER_CDMS" ] |
| 50 } | 50 } |
| 51 if (enable_browser_cdms) { | 51 if (enable_browser_cdms) { |
| 52 # TODO(brettw) should probably be "=1" | 52 # TODO(brettw) should probably be "=1" |
| 53 defines += [ "ENABLE_BROWSER_CDMS" ] | 53 defines += [ "ENABLE_BROWSER_CDMS" ] |
| 54 } | 54 } |
| 55 if (enable_mojo_media_renderer) { | |
| 56 # TODO(brettw) should probably be "=1" | |
| 57 defines += [ "ENABLE_MOJO_MEDIA_RENDERER" ] | |
|
DaleCurtis
2014/12/16 20:59:20
Just use =1 now then :)
| |
| 58 } | |
| 55 if (enable_plugins) { | 59 if (enable_plugins) { |
| 56 defines += [ "ENABLE_PLUGINS=1" ] | 60 defines += [ "ENABLE_PLUGINS=1" ] |
| 57 } | 61 } |
| 58 if (enable_basic_printing || enable_print_preview) { | 62 if (enable_basic_printing || enable_print_preview) { |
| 59 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. | 63 # Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW. |
| 60 defines += [ "ENABLE_PRINTING=1" ] | 64 defines += [ "ENABLE_PRINTING=1" ] |
| 61 if (enable_basic_printing) { | 65 if (enable_basic_printing) { |
| 62 # Enable basic printing support and UI. | 66 # Enable basic printing support and UI. |
| 63 defines += [ "ENABLE_BASIC_PRINTING=1" ] | 67 defines += [ "ENABLE_BASIC_PRINTING=1" ] |
| 64 } | 68 } |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 307 "CoreFoundation.framework", | 311 "CoreFoundation.framework", |
| 308 "CoreGraphics.framework", | 312 "CoreGraphics.framework", |
| 309 "CoreText.framework", | 313 "CoreText.framework", |
| 310 "Foundation.framework", | 314 "Foundation.framework", |
| 311 "UIKit.framework", | 315 "UIKit.framework", |
| 312 ] | 316 ] |
| 313 } else if (is_linux) { | 317 } else if (is_linux) { |
| 314 libs = [ "dl" ] | 318 libs = [ "dl" ] |
| 315 } | 319 } |
| 316 } | 320 } |
| OLD | NEW |