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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #'../ui/views/views.gyp:views' TODO(GYP), | 49 #'../ui/views/views.gyp:views' TODO(GYP), |
50 ] | 50 ] |
51 | 51 |
52 forward_dependent_configs_from = [ | 52 forward_dependent_configs_from = [ |
53 "//ash/resources", | 53 "//ash/resources", |
54 "//ash/strings", | 54 "//ash/strings", |
55 ] | 55 ] |
56 | 56 |
57 if (is_win) { | 57 if (is_win) { |
58 sources -= [ | 58 sources -= [ |
| 59 "host/window_tree_host_factory.cc", |
59 "sticky_keys/sticky_keys_controller.cc", | 60 "sticky_keys/sticky_keys_controller.cc", |
60 "sticky_keys/sticky_keys_controller.h", | 61 "sticky_keys/sticky_keys_controller.h", |
61 ] | 62 ] |
62 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 63 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
63 cflags = [ "/wd4267" ] | 64 cflags = [ "/wd4267" ] |
64 } | 65 } |
65 | 66 |
66 if (use_x11) { | 67 if (use_x11) { |
67 configs += [ | 68 configs += [ |
68 "//build/config/linux:xfixes", | 69 "//build/config/linux:xfixes", |
69 ] | 70 ] |
70 } else { | 71 } else { |
71 sources -= [ | 72 sources -= [ |
72 "accelerators/key_hold_detector.cc", | 73 "accelerators/key_hold_detector.cc", |
73 "accelerators/key_hold_detector.h", | 74 "accelerators/key_hold_detector.h", |
74 "accelerators/magnifier_key_scroller.cc", | 75 "accelerators/magnifier_key_scroller.cc", |
75 "accelerators/magnifier_key_scroller.h", | 76 "accelerators/magnifier_key_scroller.h", |
76 "accelerators/spoken_feedback_toggler.cc", | 77 "accelerators/spoken_feedback_toggler.cc", |
77 "accelerators/spoken_feedback_toggler.h", | 78 "accelerators/spoken_feedback_toggler.h", |
| 79 "touch/touch_transformer_controller.cc", |
| 80 "touch/touch_transformer_controller.h", |
78 ] | 81 ] |
79 } | 82 } |
80 | 83 |
81 if (is_chromeos) { | 84 if (is_chromeos) { |
82 deps += [ | 85 deps += [ |
83 #'../chromeos/chromeos.gyp:chromeos', TODO(GYP) | 86 #'../chromeos/chromeos.gyp:chromeos', TODO(GYP) |
84 # Ash #includes power_supply_properties.pb.h directly. | 87 # Ash #includes power_supply_properties.pb.h directly. |
85 #'../chromeos/chromeos.gyp:power_manager_proto', TODO(GYP) | 88 #'../chromeos/chromeos.gyp:power_manager_proto', TODO(GYP) |
86 #'../device/bluetooth/bluetooth.gyp:device_bluetooth', TODO(GYP) | 89 #'../device/bluetooth/bluetooth.gyp:device_bluetooth', TODO(GYP) |
87 #'../ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources', TODO(GYP) | 90 #'../ui/chromeos/ui_chromeos.gyp:ui_chromeos_resources', TODO(GYP) |
88 #'../ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings', TODO(GYP) | 91 #'../ui/chromeos/ui_chromeos.gyp:ui_chromeos_strings', TODO(GYP) |
89 #'../ui/chromeos/ui_chromeos.gyp:ui_chromeos', TODO(GYP) | 92 #'../ui/chromeos/ui_chromeos.gyp:ui_chromeos', TODO(GYP) |
90 #'../ui/display/display.gyp:display', TODO(GYP) | 93 #'../ui/display/display.gyp:display', TODO(GYP) |
91 #'../ui/display/display.gyp:display_util', TODO(GYP) | 94 #'../ui/display/display.gyp:display_util', TODO(GYP) |
92 ] | 95 ] |
93 } else { | 96 } else { |
94 sources -= [ | 97 sources -= [ |
95 "display/display_configurator_animation.cc", | 98 "display/display_configurator_animation.cc", |
96 "display/display_configurator_animation.h", | 99 "display/display_configurator_animation.h", |
97 "display/resolution_notification_controller.cc", | 100 "display/resolution_notification_controller.cc", |
98 "display/resolution_notification_controller.h", | 101 "display/resolution_notification_controller.h", |
99 "system/tray/media_security/media_capture_observer.h", | 102 "system/tray/media_security/media_capture_observer.h", |
100 "system/tray/media_security/multi_profile_media_tray_item.cc", | 103 "system/tray/media_security/multi_profile_media_tray_item.cc", |
101 "system/tray/media_security/multi_profile_media_tray_item.h", | 104 "system/tray/media_security/multi_profile_media_tray_item.h", |
102 ] | |
103 } | |
104 | |
105 if (!use_x11 || !is_chromeos) { | |
106 sources -= [ | |
107 "touch/touch_transformer_controller.cc", | 105 "touch/touch_transformer_controller.cc", |
108 "touch/touch_transformer_controller.h", | 106 "touch/touch_transformer_controller.h", |
109 ] | 107 ] |
110 } | 108 } |
111 } | 109 } |
112 | 110 |
113 component("ash_with_content") { | 111 component("ash_with_content") { |
114 sources = [ | 112 sources = [ |
115 "content_support/ash_with_content_export.h", | 113 "content_support/ash_with_content_export.h", |
116 "content_support/gpu_support_impl.cc", | 114 "content_support/gpu_support_impl.cc", |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 #'../components/components.gyp:user_manager', TODO(GYP) | 353 #'../components/components.gyp:user_manager', TODO(GYP) |
356 #'../content/content_shell_and_tests.gyp:test_support_content', TODO(GYP) | 354 #'../content/content_shell_and_tests.gyp:test_support_content', TODO(GYP) |
357 ] | 355 ] |
358 | 356 |
359 if (is_chromeos) { | 357 if (is_chromeos) { |
360 #deps += [ "//ui/display" ] TODO(GYP) | 358 #deps += [ "//ui/display" ] TODO(GYP) |
361 } | 359 } |
362 } | 360 } |
363 | 361 |
364 } # if false | 362 } # if false |
OLD | NEW |