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

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

Issue 288203003: Hook up base unit tests and allocator to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: tfarina review, android build fix Created 6 years, 7 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
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. It should theoretically be in the 5 # This file contains UI-related build flags. It should theoretically be in the
6 # src/ui directory and only things that depend on the ui module should get the 6 # src/ui directory and only things that depend on the ui module should get the
7 # definitions. 7 # definitions.
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. 10 # e.g. base, so they need to be global.
(...skipping 26 matching lines...) Expand all
37 # These variables depend on other variables and can't be set externally. 37 # These variables depend on other variables and can't be set externally.
38 38
39 if (is_linux) { 39 if (is_linux) {
40 use_cairo = true 40 use_cairo = true
41 use_pango = true 41 use_pango = true
42 } else { 42 } else {
43 use_cairo = false 43 use_cairo = false
44 use_pango = false 44 use_pango = false
45 } 45 }
46 46
47 # Indicates if the UI toolkit depends on GTK.
48 toolkit_uses_gtk = is_linux && !is_chromeos && !use_aura && !use_ozone
49
50 # Use GPU accelerated cross process image transport by default on linux builds 47 # Use GPU accelerated cross process image transport by default on linux builds
51 # with the Aura window manager. 48 # with the Aura window manager.
52 ui_compositor_image_transport = use_aura && is_linux 49 ui_compositor_image_transport = use_aura && is_linux
53 50
54 use_default_render_theme = use_aura || is_linux 51 use_default_render_theme = use_aura || is_linux
55 52
56 # Indicates if the UI toolkit depends on X11. 53 # Indicates if the UI toolkit depends on X11.
57 use_x11 = is_linux && !use_ozone 54 use_x11 = is_linux && !use_ozone
58 55
59 use_glib = is_linux 56 use_glib = is_linux
60 57
61 use_clipboard_aurax11 = is_linux && use_aura && use_x11 58 use_clipboard_aurax11 = is_linux && use_aura && use_x11
62 59
63 ozone_platform_dri = use_ozone 60 ozone_platform_dri = use_ozone
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698