| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 if (enable_mdns) { | 45 if (enable_mdns) { |
| 46 defines += [ "ENABLE_MDNS=1" ] | 46 defines += [ "ENABLE_MDNS=1" ] |
| 47 } | 47 } |
| 48 if (enable_pepper_cdms) { | 48 if (enable_pepper_cdms) { |
| 49 # TODO(brettw) should probably be "=1" | 49 # TODO(brettw) should probably be "=1" |
| 50 defines += [ "ENABLE_PEPPER_CDMS" ] | 50 defines += [ "ENABLE_PEPPER_CDMS" ] |
| 51 } | 51 } |
| 52 if (enable_plugins) { | 52 if (enable_plugins) { |
| 53 defines += [ "ENABLE_PLUGINS=1" ] | 53 defines += [ "ENABLE_PLUGINS=1" ] |
| 54 } | 54 } |
| 55 if (printing_mode > 0) { | 55 if (enable_printing > 0) { |
| 56 defines += [ "ENABLE_PRINTING=1" ] | 56 defines += [ "ENABLE_PRINTING=1" ] |
| 57 if (printing_mode < 2) { | 57 if (enable_printing < 2) { |
| 58 defines += [ "ENABLE_FULL_PRINTING=1" ] | 58 defines += [ "ENABLE_FULL_PRINTING=1" ] |
| 59 } | 59 } |
| 60 } | 60 } |
| 61 if (enable_spellcheck) { | 61 if (enable_spellcheck) { |
| 62 defines += [ "ENABLE_SPELLCHECK=1" ] | 62 defines += [ "ENABLE_SPELLCHECK=1" ] |
| 63 } | 63 } |
| 64 if (dont_embed_build_metadata) { | 64 if (dont_embed_build_metadata) { |
| 65 defines += [ "DONT_EMBED_BUILD_METADATA" ] | 65 defines += [ "DONT_EMBED_BUILD_METADATA" ] |
| 66 } | 66 } |
| 67 if (use_udev) { | 67 if (use_udev) { |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 "CoreText.framework", | 278 "CoreText.framework", |
| 279 "Foundation.framework", | 279 "Foundation.framework", |
| 280 "UIKit.framework", | 280 "UIKit.framework", |
| 281 ] | 281 ] |
| 282 } else if (is_linux) { | 282 } else if (is_linux) { |
| 283 libs = [ | 283 libs = [ |
| 284 "dl", | 284 "dl", |
| 285 ] | 285 ] |
| 286 } | 286 } |
| 287 } | 287 } |
| OLD | NEW |