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

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

Issue 1486623003: Re-land: chrome: Add support for use_glib=true to wayland server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix shutdown issue Created 4 years, 10 months 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/common.gypi ('k') | chrome/browser/chrome_browser_main_extra_parts_exo.cc » ('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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 use_default_render_theme = use_aura && !is_android 66 use_default_render_theme = use_aura && !is_android
67 67
68 # Indicates if the UI toolkit depends on X11. 68 # Indicates if the UI toolkit depends on X11.
69 use_x11 = is_linux && !use_ozone 69 use_x11 = is_linux && !use_ozone
70 70
71 # Turn off glib if Ozone is enabled. 71 # Turn off glib if Ozone is enabled.
72 if (use_ozone) { 72 if (use_ozone) {
73 use_glib = false 73 use_glib = false
74 } 74 }
75 75
76 # Turn off Wayland if glib is enabled.
77 if (use_glib) {
78 enable_wayland_server = false
79 }
80
81 if (is_linux && !use_ozone) { 76 if (is_linux && !use_ozone) {
82 use_cairo = true 77 use_cairo = true
83 use_pango = true 78 use_pango = true
84 } else { 79 } else {
85 use_cairo = false 80 use_cairo = false
86 use_pango = false 81 use_pango = false
87 } 82 }
88 83
89 # Whether to use atk, the Accessibility ToolKit library 84 # Whether to use atk, the Accessibility ToolKit library
90 use_atk = is_desktop_linux && use_x11 85 use_atk = is_desktop_linux && use_x11
91 86
92 use_clipboard_aurax11 = is_linux && use_aura && use_x11 87 use_clipboard_aurax11 = is_linux && use_aura && use_x11
93 88
94 enable_hidpi = is_mac || is_win || is_linux 89 enable_hidpi = is_mac || is_win || is_linux
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/chrome_browser_main_extra_parts_exo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698