OLD | NEW |
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 # ============================================= | 5 # ============================================= |
6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE |
7 # ============================================= | 7 # ============================================= |
8 # | 8 # |
9 # These flags are effectively global. Your feature flag should go near the | 9 # These flags are effectively global. Your feature flag should go near the |
10 # code it controls. Most of these items are here now because they control | 10 # code it controls. Most of these items are here now because they control |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 declare_args() { | 46 declare_args() { |
47 # True means the UI is built using the "views" framework. | 47 # True means the UI is built using the "views" framework. |
48 toolkit_views = | 48 toolkit_views = |
49 (is_mac || is_win || is_chromeos || use_aura) && !is_chromecast | 49 (is_mac || is_win || is_chromeos || use_aura) && !is_chromecast |
50 } | 50 } |
51 | 51 |
52 # Additional dependent variables ----------------------------------------------- | 52 # Additional dependent variables ----------------------------------------------- |
53 # | 53 # |
54 # These variables depend on other variables and can't be set externally. | 54 # These variables depend on other variables and can't be set externally. |
55 | 55 |
56 # Use GPU accelerated cross process image transport by default on linux builds | |
57 # with the Aura window manager. | |
58 ui_compositor_image_transport = use_aura && is_linux | |
59 | |
60 # Indicates if the UI toolkit depends on X11. | 56 # Indicates if the UI toolkit depends on X11. |
61 use_x11 = is_linux && !use_ozone | 57 use_x11 = is_linux && !use_ozone |
62 | 58 |
63 # Turn off glib if Ozone is enabled. | 59 # Turn off glib if Ozone is enabled. |
64 if (use_ozone) { | 60 if (use_ozone) { |
65 use_glib = false | 61 use_glib = false |
66 } | 62 } |
67 | 63 |
68 if (is_linux && !use_ozone) { | 64 if (is_linux && !use_ozone) { |
69 use_cairo = true | 65 use_cairo = true |
70 use_pango = true | 66 use_pango = true |
71 } else { | 67 } else { |
72 use_cairo = false | 68 use_cairo = false |
73 use_pango = false | 69 use_pango = false |
74 } | 70 } |
75 | 71 |
76 # Whether to use atk, the Accessibility ToolKit library | 72 # Whether to use atk, the Accessibility ToolKit library |
77 use_atk = is_desktop_linux && use_x11 | 73 use_atk = is_desktop_linux && use_x11 |
78 # ============================================= | 74 # ============================================= |
79 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 75 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE |
80 # ============================================= | 76 # ============================================= |
81 # | 77 # |
82 # See comment at the top. | 78 # See comment at the top. |
OLD | NEW |