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

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

Issue 382633002: Fix use_canvas_skia = 0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Style fix Created 6 years, 5 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 | « no previous file | ui/gfx/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. 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 29 matching lines...) Expand all
40 # These variables depend on other variables and can't be set externally. 40 # These variables depend on other variables and can't be set externally.
41 41
42 if (is_linux) { 42 if (is_linux) {
43 use_cairo = true 43 use_cairo = true
44 use_pango = true 44 use_pango = true
45 } else { 45 } else {
46 use_cairo = false 46 use_cairo = false
47 use_pango = false 47 use_pango = false
48 } 48 }
49 49
50 if(is_android){
brettw 2014/07/23 20:50:32 use_canvas_skia is only ever used once in the enti
zhaoze.zhou 2014/07/24 14:28:45 Hi, I am not clear what you mean. Do you mean I ne
51 use_canvas_skia = false
52 } else {
53 use_canvas_skia = true
54 }
55
50 # Use GPU accelerated cross process image transport by default on linux builds 56 # Use GPU accelerated cross process image transport by default on linux builds
51 # with the Aura window manager. 57 # with the Aura window manager.
52 ui_compositor_image_transport = use_aura && is_linux 58 ui_compositor_image_transport = use_aura && is_linux
53 59
54 use_default_render_theme = use_aura || is_linux 60 use_default_render_theme = use_aura || is_linux
55 61
56 # Indicates if the UI toolkit depends on X11. 62 # Indicates if the UI toolkit depends on X11.
57 use_x11 = is_linux && !use_ozone 63 use_x11 = is_linux && !use_ozone
58 64
59 use_ozone_evdev = use_ozone 65 use_ozone_evdev = use_ozone
60 66
61 use_glib = is_linux 67 use_glib = is_linux
62 68
63 use_clipboard_aurax11 = is_linux && use_aura && use_x11 69 use_clipboard_aurax11 = is_linux && use_aura && use_x11
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698