| 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 | 9 |
| 10 declare_args() { | 10 declare_args() { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 defines += [ "ENABLE_PEPPER_CDMS" ] | 48 defines += [ "ENABLE_PEPPER_CDMS" ] |
| 49 } | 49 } |
| 50 if (enable_browser_cdms) { | 50 if (enable_browser_cdms) { |
| 51 # TODO(brettw) should probably be "=1" | 51 # TODO(brettw) should probably be "=1" |
| 52 defines += [ "ENABLE_BROWSER_CDMS" ] | 52 defines += [ "ENABLE_BROWSER_CDMS" ] |
| 53 } | 53 } |
| 54 if (enable_plugins) { | 54 if (enable_plugins) { |
| 55 defines += [ "ENABLE_PLUGINS=1" ] | 55 defines += [ "ENABLE_PLUGINS=1" ] |
| 56 } | 56 } |
| 57 if (printing_mode > 0) { | 57 if (printing_mode > 0) { |
| 58 defines += [ "ENABLE_PRINTING=1" ] | 58 defines += [ "ENABLE_PRINTING=1", "ENABLE_BASIC_PRINTING=1" ] |
| 59 if (printing_mode < 2) { | 59 if (printing_mode < 2) { |
| 60 defines += [ "ENABLE_FULL_PRINTING=1" ] | 60 defines += [ "ENABLE_PRINT_PREVIEW=1" ] |
| 61 } | 61 } |
| 62 } | 62 } |
| 63 if (enable_spellcheck) { | 63 if (enable_spellcheck) { |
| 64 defines += [ "ENABLE_SPELLCHECK=1" ] | 64 defines += [ "ENABLE_SPELLCHECK=1" ] |
| 65 } | 65 } |
| 66 if (dont_embed_build_metadata) { | 66 if (dont_embed_build_metadata) { |
| 67 defines += [ "DONT_EMBED_BUILD_METADATA" ] | 67 defines += [ "DONT_EMBED_BUILD_METADATA" ] |
| 68 } | 68 } |
| 69 if (use_udev) { | 69 if (use_udev) { |
| 70 # TODO(brettw) should probably be "=1". | 70 # TODO(brettw) should probably be "=1". |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 "CoreText.framework", | 299 "CoreText.framework", |
| 300 "Foundation.framework", | 300 "Foundation.framework", |
| 301 "UIKit.framework", | 301 "UIKit.framework", |
| 302 ] | 302 ] |
| 303 } else if (is_linux) { | 303 } else if (is_linux) { |
| 304 libs = [ | 304 libs = [ |
| 305 "dl", | 305 "dl", |
| 306 ] | 306 ] |
| 307 } | 307 } |
| 308 } | 308 } |
| OLD | NEW |