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