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 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
10 [ rebase_path("views.gyp") ], | 10 [ rebase_path("views.gyp") ], |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 "//ui/gfx/x", | 95 "//ui/gfx/x", |
96 ] | 96 ] |
97 } | 97 } |
98 | 98 |
99 if (use_aura) { | 99 if (use_aura) { |
100 sources += gypi_values.views_aura_sources | 100 sources += gypi_values.views_aura_sources |
101 if (!is_chromeos) { | 101 if (!is_chromeos) { |
102 sources += gypi_values.views_desktop_aura_sources | 102 sources += gypi_values.views_desktop_aura_sources |
103 if (use_x11) { | 103 if (use_x11) { |
104 sources += gypi_values.views_desktop_aura_x11_sources | 104 sources += gypi_values.views_desktop_aura_x11_sources |
| 105 configs += [ "//build/config/linux:atk" ] |
105 } else if (is_win) { | 106 } else if (is_win) { |
106 sources += gypi_values.views_desktop_aura_win_sources | 107 sources += gypi_values.views_desktop_aura_win_sources |
107 } else if (use_ozone) { | 108 } else if (use_ozone) { |
108 sources += gypi_values.views_desktop_aura_ozone_sources | 109 sources += gypi_values.views_desktop_aura_ozone_sources |
109 } | 110 } |
110 if (is_linux) { | 111 if (is_linux) { |
111 sources += gypi_values.views_desktop_aura_linux_sources | 112 sources += gypi_values.views_desktop_aura_linux_sources |
112 } | 113 } |
113 } | 114 } |
114 } | 115 } |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 "//testing/gtest", | 278 "//testing/gtest", |
278 "//ui/aura", | 279 "//ui/aura", |
279 "//ui/compositor", | 280 "//ui/compositor", |
280 "//ui/resources", | 281 "//ui/resources", |
281 "//ui/resources:ui_test_pak", | 282 "//ui/resources:ui_test_pak", |
282 "//ui/strings", | 283 "//ui/strings", |
283 "//ui/wm", | 284 "//ui/wm", |
284 ] | 285 ] |
285 } | 286 } |
286 } | 287 } |
OLD | NEW |