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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 | 7 |
8 gypi_values = exec_script( | 8 gypi_values = exec_script( |
9 "//build/gypi_to_gn.py", | 9 "//build/gypi_to_gn.py", |
10 [ rebase_path("views.gyp") ], | 10 [ rebase_path("views.gyp") ], |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 "//build/config/linux:xrandr", | 90 "//build/config/linux:xrandr", |
91 ] | 91 ] |
92 deps += [ | 92 deps += [ |
93 "//ui/events/platform/x11", | 93 "//ui/events/platform/x11", |
94 ] | 94 ] |
95 } | 95 } |
96 | 96 |
97 if (use_aura) { | 97 if (use_aura) { |
98 sources += gypi_values.views_aura_sources | 98 sources += gypi_values.views_aura_sources |
99 if (!is_chromeos) { | 99 if (!is_chromeos) { |
| 100 sources += gypi_values.views_desktop_aura_sources |
100 if (use_x11) { | 101 if (use_x11) { |
101 sources += gypi_values.views_desktop_aura_x11_sources | 102 sources += gypi_values.views_desktop_aura_x11_sources |
102 } else if (is_win) { | 103 } else if (is_win) { |
103 sources += gypi_values.views_desktop_aura_win_sources | 104 sources += gypi_values.views_desktop_aura_win_sources |
104 } else if (use_ozone) { | 105 } else if (use_ozone) { |
105 sources += gypi_values.views_desktop_aura_ozone_sources | 106 sources += gypi_values.views_desktop_aura_ozone_sources |
106 } | 107 } |
107 } | 108 } |
108 } | 109 } |
109 } | 110 } |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 "//ui/compositor", | 256 "//ui/compositor", |
256 "//ui/resources", | 257 "//ui/resources", |
257 "//ui/resources:ui_test_pak", | 258 "//ui/resources:ui_test_pak", |
258 "//ui/string", | 259 "//ui/string", |
259 "//ui/wm", | 260 "//ui/wm", |
260 ] | 261 ] |
261 } | 262 } |
262 } | 263 } |
263 | 264 |
264 } # if false | 265 } # if false |
OLD | NEW |