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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'ui_touch_selection', | 11 'target_name': 'ui_touch_selection', |
12 'type': '<(component)', | 12 'type': '<(component)', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../../base/base.gyp:base', | 14 '../../base/base.gyp:base', |
| 15 '../aura/aura.gyp:aura', |
| 16 '../aura_extra/aura_extra.gyp:aura_extra', |
15 '../base/ui_base.gyp:ui_base', | 17 '../base/ui_base.gyp:ui_base', |
| 18 '../compositor/compositor.gyp:compositor', |
16 '../events/events.gyp:events', | 19 '../events/events.gyp:events', |
17 '../events/events.gyp:gesture_detection', | 20 '../events/events.gyp:gesture_detection', |
| 21 '../gfx/gfx.gyp:gfx', |
18 '../gfx/gfx.gyp:gfx_geometry', | 22 '../gfx/gfx.gyp:gfx_geometry', |
19 ], | 23 ], |
20 'defines': [ | 24 'defines': [ |
21 'UI_TOUCH_SELECTION_IMPLEMENTATION', | 25 'UI_TOUCH_SELECTION_IMPLEMENTATION', |
22 ], | 26 ], |
23 'sources': [ | 27 'sources': [ |
24 'selection_event_type.h', | 28 'selection_event_type.h', |
25 'touch_handle.cc', | 29 'touch_handle.cc', |
26 'touch_handle.h', | 30 'touch_handle.h', |
| 31 'touch_handle_drawable_aura.cc', |
| 32 'touch_handle_drawable_aura.h', |
27 'touch_handle_orientation.h', | 33 'touch_handle_orientation.h', |
28 'touch_selection_controller.cc', | 34 'touch_selection_controller.cc', |
29 'touch_selection_controller.h', | 35 'touch_selection_controller.h', |
| 36 'touch_selection_menu_runner.cc', |
| 37 'touch_selection_menu_runner.h', |
30 'ui_touch_selection_export.h', | 38 'ui_touch_selection_export.h', |
31 ], | 39 ], |
32 'include_dirs': [ | 40 'include_dirs': [ |
33 '../..', | 41 '../..', |
34 ], | 42 ], |
| 43 'conditions': [ |
| 44 ['use_aura==0', { |
| 45 'dependencies!': [ |
| 46 '../aura/aura.gyp:aura', |
| 47 '../aura_extra/aura_extra.gyp:aura_extra', |
| 48 '../compositor/compositor.gyp:compositor', |
| 49 '../gfx/gfx.gyp:gfx', |
| 50 ], |
| 51 'sources!': [ |
| 52 'touch_handle_drawable_aura.cc', |
| 53 'touch_handle_drawable_aura.h', |
| 54 'touch_selection_menu_runner.cc', |
| 55 'touch_selection_menu_runner.h', |
| 56 ], |
| 57 }], |
| 58 ], |
35 }, | 59 }, |
36 { | 60 { |
37 'target_name': 'ui_touch_selection_unittests', | 61 'target_name': 'ui_touch_selection_unittests', |
38 'type': '<(gtest_target_type)', | 62 'type': '<(gtest_target_type)', |
39 'dependencies': [ | 63 'dependencies': [ |
40 '../../base/base.gyp:base', | 64 '../../base/base.gyp:base', |
41 '../../base/base.gyp:run_all_unittests', | 65 '../../base/base.gyp:run_all_unittests', |
42 '../../base/base.gyp:test_support_base', | 66 '../../base/base.gyp:test_support_base', |
43 '../../testing/gmock.gyp:gmock', | 67 '../../testing/gmock.gyp:gmock', |
44 '../../testing/gtest.gyp:gtest', | 68 '../../testing/gtest.gyp:gtest', |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 'dependencies': [ | 139 'dependencies': [ |
116 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 140 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
117 ], | 141 ], |
118 }], | 142 }], |
119 ], | 143 ], |
120 }, | 144 }, |
121 ], | 145 ], |
122 }], | 146 }], |
123 ], | 147 ], |
124 } | 148 } |
OLD | NEW |