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("ash.gyp") ], | 10 [ rebase_path("ash.gyp") ], |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 "system/tray/media_security/multi_profile_media_tray_item.h", | 101 "system/tray/media_security/multi_profile_media_tray_item.h", |
102 ] | 102 ] |
103 } | 103 } |
104 | 104 |
105 if (!use_x11 || !is_chromeos) { | 105 if (!use_x11 || !is_chromeos) { |
106 sources -= [ | 106 sources -= [ |
107 "touch/touch_transformer_controller.cc", | 107 "touch/touch_transformer_controller.cc", |
108 "touch/touch_transformer_controller.h", | 108 "touch/touch_transformer_controller.h", |
109 ] | 109 ] |
110 } | 110 } |
| 111 |
| 112 if (!use_ozone) { |
| 113 sources -= [ |
| 114 "display/mouse_cursor_event_filter_ozone.cc", |
| 115 ] |
| 116 } |
111 } | 117 } |
112 | 118 |
113 component("ash_with_content") { | 119 component("ash_with_content") { |
114 sources = [ | 120 sources = [ |
115 "content_support/ash_with_content_export.h", | 121 "content_support/ash_with_content_export.h", |
116 "content_support/gpu_support_impl.cc", | 122 "content_support/gpu_support_impl.cc", |
117 "content_support/gpu_support_impl.h", | 123 "content_support/gpu_support_impl.h", |
118 "screensaver/screensaver_view.cc", | 124 "screensaver/screensaver_view.cc", |
119 "screensaver/screensaver_view.h", | 125 "screensaver/screensaver_view.h", |
120 "keyboard_overlay/keyboard_overlay_delegate.cc", | 126 "keyboard_overlay/keyboard_overlay_delegate.cc", |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 #'../components/components.gyp:user_manager', TODO(GYP) | 361 #'../components/components.gyp:user_manager', TODO(GYP) |
356 #'../content/content_shell_and_tests.gyp:test_support_content', TODO(GYP) | 362 #'../content/content_shell_and_tests.gyp:test_support_content', TODO(GYP) |
357 ] | 363 ] |
358 | 364 |
359 if (is_chromeos) { | 365 if (is_chromeos) { |
360 deps += [ "//ui/display" ] | 366 deps += [ "//ui/display" ] |
361 } | 367 } |
362 } | 368 } |
363 | 369 |
364 } # if false | 370 } # if false |
OLD | NEW |