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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 use_xkbcommon = false | 47 use_xkbcommon = false |
48 | 48 |
49 # Whether we should use glib, a low level C utility library. | 49 # Whether we should use glib, a low level C utility library. |
50 use_glib = is_linux | 50 use_glib = is_linux |
51 | 51 |
52 # Indicates if Wayland display server support is enabled. | 52 # Indicates if Wayland display server support is enabled. |
53 enable_wayland_server = is_chromeos | 53 enable_wayland_server = is_chromeos |
54 | 54 |
55 # Enable experimental vulkan backend. | 55 # Enable experimental vulkan backend. |
56 enable_vulkan = false | 56 enable_vulkan = false |
57 | |
58 # Allow aura to access x11 clipboard. | |
59 enable_clipboard_aurax11 = false | |
60 } | 57 } |
61 | 58 |
62 # Additional dependent variables ----------------------------------------------- | 59 # Additional dependent variables ----------------------------------------------- |
63 # | 60 # |
64 # These variables depend on other variables and can't be set externally. | 61 # These variables depend on other variables and can't be set externally. |
65 | 62 |
66 # Use GPU accelerated cross process image transport by default on linux builds | 63 # Use GPU accelerated cross process image transport by default on linux builds |
67 # with the Aura window manager. | 64 # with the Aura window manager. |
68 ui_compositor_image_transport = use_aura && is_linux | 65 ui_compositor_image_transport = use_aura && is_linux |
69 | 66 |
70 use_default_render_theme = use_aura && !is_android | |
71 | |
72 # Indicates if the UI toolkit depends on X11. | 67 # Indicates if the UI toolkit depends on X11. |
73 use_x11 = is_linux && !use_ozone | 68 use_x11 = is_linux && !use_ozone |
74 | 69 |
75 # Turn off glib if Ozone is enabled. | 70 # Turn off glib if Ozone is enabled. |
76 if (use_ozone) { | 71 if (use_ozone) { |
77 use_glib = false | 72 use_glib = false |
78 } | 73 } |
79 | 74 |
80 if (is_linux && !use_ozone) { | 75 if (is_linux && !use_ozone) { |
81 use_cairo = true | 76 use_cairo = true |
82 use_pango = true | 77 use_pango = true |
83 } else { | 78 } else { |
84 use_cairo = false | 79 use_cairo = false |
85 use_pango = false | 80 use_pango = false |
86 } | 81 } |
87 | 82 |
88 # Whether to use atk, the Accessibility ToolKit library | 83 # Whether to use atk, the Accessibility ToolKit library |
89 use_atk = is_desktop_linux && use_x11 | 84 use_atk = is_desktop_linux && use_x11 |
90 | |
91 use_clipboard_aurax11 = | |
92 (is_desktop_linux && use_aura && use_x11) || enable_clipboard_aurax11 | |
93 # ============================================= | 85 # ============================================= |
94 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 86 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE |
95 # ============================================= | 87 # ============================================= |
96 # | 88 # |
97 # See comment at the top. | 89 # See comment at the top. |
OLD | NEW |