Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Side by Side Diff: build/config/ui.gni

Issue 1412093006: components: Add Exosphere component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove some ifdefs Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # This file contains UI-related build flags (see features.gni for Chrome 5 # This file contains UI-related build flags (see features.gni for Chrome
6 # feature-related ones). These should theoretically be moved to the ui 6 # feature-related ones). These should theoretically be moved to the ui
7 # directory. 7 # directory.
8 # 8 #
9 # However, today we have many "bad" dependencies on some of these flags from, 9 # However, today we have many "bad" dependencies on some of these flags from,
10 # e.g. base, so they need to be global to match the GYP configuration. Also, 10 # e.g. base, so they need to be global to match the GYP configuration. Also,
(...skipping 28 matching lines...) Expand all
39 mac_views_browser = false 39 mac_views_browser = false
40 40
41 # Whether we should use GTKv3 instead of GTKv2. 41 # Whether we should use GTKv3 instead of GTKv2.
42 use_gtk3 = false 42 use_gtk3 = false
43 43
44 # Optional system libraries. 44 # Optional system libraries.
45 use_xkbcommon = false 45 use_xkbcommon = false
46 46
47 # Whether we should use glib, a low level C utility library. 47 # Whether we should use glib, a low level C utility library.
48 use_glib = is_linux 48 use_glib = is_linux
49
50 # Indicates if Wayland display server support is enabled.
51 enable_wayland_server = is_chromeos
49 } 52 }
50 53
51 # Additional dependent variables ----------------------------------------------- 54 # Additional dependent variables -----------------------------------------------
52 # 55 #
53 # These variables depend on other variables and can't be set externally. 56 # These variables depend on other variables and can't be set externally.
54 57
55 # Use GPU accelerated cross process image transport by default on linux builds 58 # Use GPU accelerated cross process image transport by default on linux builds
56 # with the Aura window manager. 59 # with the Aura window manager.
57 ui_compositor_image_transport = use_aura && is_linux 60 ui_compositor_image_transport = use_aura && is_linux
58 61
59 use_default_render_theme = use_aura && !is_android 62 use_default_render_theme = use_aura && !is_android
60 63
61 # Indicates if the UI toolkit depends on X11. 64 # Indicates if the UI toolkit depends on X11.
62 use_x11 = is_linux && !use_ozone 65 use_x11 = is_linux && !use_ozone
63 66
64 # Turn off glib if Ozone is enabled. 67 # Turn off glib if Ozone is enabled.
65 if (use_ozone) { 68 if (use_ozone) {
66 use_glib = false 69 use_glib = false
67 } 70 }
68 71
72 # Turn off Wayland if glib is enabled.
73 if (use_glib) {
74 enable_wayland_server = false
75 }
76
69 if (is_linux && !use_ozone) { 77 if (is_linux && !use_ozone) {
70 use_cairo = true 78 use_cairo = true
71 use_pango = true 79 use_pango = true
72 } else { 80 } else {
73 use_cairo = false 81 use_cairo = false
74 use_pango = false 82 use_pango = false
75 } 83 }
76 84
77 # Whether to use atk, the Accessibility ToolKit library 85 # Whether to use atk, the Accessibility ToolKit library
78 use_atk = is_desktop_linux && use_x11 86 use_atk = is_desktop_linux && use_x11
79 87
80 use_clipboard_aurax11 = is_linux && use_aura && use_x11 88 use_clipboard_aurax11 = is_linux && use_aura && use_x11
81 89
82 enable_hidpi = is_mac || is_win || is_linux 90 enable_hidpi = is_mac || is_win || is_linux
83 91
84 enable_topchrome_md = is_chromeos || is_win || is_linux 92 enable_topchrome_md = is_chromeos || is_win || is_linux
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698