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 24 matching lines...) Expand all Loading... |
35 "//ui/gfx/geometry", | 35 "//ui/gfx/geometry", |
36 "//ui/native_theme", | 36 "//ui/native_theme", |
37 "//ui/resources", | 37 "//ui/resources", |
38 "//ui/strings", | 38 "//ui/strings", |
39 "//ui/wm", | 39 "//ui/wm", |
40 "//url", | 40 "//url", |
41 ] | 41 ] |
42 | 42 |
43 forward_dependent_configs_from = [ "//ui/accessibility:ax_gen" ] | 43 forward_dependent_configs_from = [ "//ui/accessibility:ax_gen" ] |
44 | 44 |
45 if (!use_ash) { | |
46 sources -= [ | |
47 "bubble/tray_bubble_view.cc", | |
48 "bubble/tray_bubble_view.h", | |
49 ] | |
50 } | |
51 if (use_x11 && !is_chromeos) { | 45 if (use_x11 && !is_chromeos) { |
52 deps += [ "//ui/display/util" ] | 46 deps += [ "//ui/display/util" ] |
53 } | 47 } |
54 if (is_linux && !is_chromeos) { | 48 if (is_linux && !is_chromeos) { |
55 sources -= [ "window/window_button_order_provider.cc" ] | 49 sources -= [ "window/window_button_order_provider.cc" ] |
56 deps += [ "//ui/shell_dialogs" ] | 50 deps += [ "//ui/shell_dialogs" ] |
57 } else { | 51 } else { |
58 sources -= [ | 52 sources -= [ |
59 "linux_ui/linux_ui.h", | 53 "linux_ui/linux_ui.h", |
60 "linux_ui/linux_ui.cc", | 54 "linux_ui/linux_ui.cc", |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 "//ui/compositor", | 250 "//ui/compositor", |
257 "//ui/resources", | 251 "//ui/resources", |
258 "//ui/resources:ui_test_pak", | 252 "//ui/resources:ui_test_pak", |
259 "//ui/string", | 253 "//ui/string", |
260 "//ui/wm", | 254 "//ui/wm", |
261 ] | 255 ] |
262 } | 256 } |
263 } | 257 } |
264 | 258 |
265 } # if false | 259 } # if false |
OLD | NEW |