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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 if (dont_embed_build_metadata) { | 83 if (dont_embed_build_metadata) { |
84 defines += [ "DONT_EMBED_BUILD_METADATA" ] | 84 defines += [ "DONT_EMBED_BUILD_METADATA" ] |
85 } | 85 } |
86 if (dcheck_always_on) { | 86 if (dcheck_always_on) { |
87 defines += [ "DCHECK_ALWAYS_ON=1" ] | 87 defines += [ "DCHECK_ALWAYS_ON=1" ] |
88 } | 88 } |
89 if (use_udev) { | 89 if (use_udev) { |
90 # TODO(brettw) should probably be "=1". | 90 # TODO(brettw) should probably be "=1". |
91 defines += [ "USE_UDEV" ] | 91 defines += [ "USE_UDEV" ] |
92 } | 92 } |
| 93 if (toolkit_views) { |
| 94 defines += [ "TOOLKIT_VIEWS=1" ] |
| 95 } |
93 if (ui_compositor_image_transport) { | 96 if (ui_compositor_image_transport) { |
94 # TODO(brettw) should probably be "=1". | 97 # TODO(brettw) should probably be "=1". |
95 defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ] | 98 defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ] |
96 } | 99 } |
97 if (use_ash) { | 100 if (use_ash) { |
98 defines += [ "USE_ASH=1" ] | 101 defines += [ "USE_ASH=1" ] |
99 } | 102 } |
100 if (use_aura) { | 103 if (use_aura) { |
101 defines += [ "USE_AURA=1" ] | 104 defines += [ "USE_AURA=1" ] |
102 } | 105 } |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 "CoreFoundation.framework", | 389 "CoreFoundation.framework", |
387 "CoreGraphics.framework", | 390 "CoreGraphics.framework", |
388 "CoreText.framework", | 391 "CoreText.framework", |
389 "Foundation.framework", | 392 "Foundation.framework", |
390 "UIKit.framework", | 393 "UIKit.framework", |
391 ] | 394 ] |
392 } else if (is_linux) { | 395 } else if (is_linux) { |
393 libs = [ "dl" ] | 396 libs = [ "dl" ] |
394 } | 397 } |
395 } | 398 } |
OLD | NEW |