| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 }], | 159 }], |
| 160 ['use_udev==0', { | 160 ['use_udev==0', { |
| 161 'sources!': [ | 161 'sources!': [ |
| 162 'ozone/evdev/device_manager_udev.cc', | 162 'ozone/evdev/device_manager_udev.cc', |
| 163 'ozone/evdev/device_manager_udev.h', | 163 'ozone/evdev/device_manager_udev.h', |
| 164 ], | 164 ], |
| 165 }], | 165 }], |
| 166 ], | 166 ], |
| 167 }, | 167 }, |
| 168 { | 168 { |
| 169 'target_name': 'gesture_detection', |
| 170 'type': '<(component)', |
| 171 'dependencies': [ |
| 172 '<(DEPTH)/base/base.gyp:base', |
| 173 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
| 174 '../gfx/gfx.gyp:gfx', |
| 175 '../gfx/gfx.gyp:gfx_geometry', |
| 176 'events_base', |
| 177 ], |
| 178 'defines': [ |
| 179 'GESTURE_DETECTION_IMPLEMENTATION', |
| 180 ], |
| 181 'sources': [ |
| 182 'gesture_detection/bitset_32.h', |
| 183 'gesture_detection/gesture_detection_export.h', |
| 184 'gesture_detection/gesture_detector.cc', |
| 185 'gesture_detection/gesture_detector.h', |
| 186 'gesture_detection/gesture_event_params.cc', |
| 187 'gesture_detection/gesture_event_params.h', |
| 188 'gesture_detection/gesture_config_helper.h', |
| 189 'gesture_detection/gesture_config_helper_aura.cc', |
| 190 'gesture_detection/gesture_config_helper_android.cc', |
| 191 'gesture_detection/gesture_provider.cc', |
| 192 'gesture_detection/gesture_provider.h', |
| 193 'gesture_detection/motion_event.h', |
| 194 'gesture_detection/scale_gesture_detector.cc', |
| 195 'gesture_detection/scale_gesture_detector.h', |
| 196 'gesture_detection/snap_scroll_controller.cc', |
| 197 'gesture_detection/snap_scroll_controller.h', |
| 198 'gesture_detection/velocity_tracker_state.cc', |
| 199 'gesture_detection/velocity_tracker_state.h', |
| 200 'gesture_detection/velocity_tracker.cc', |
| 201 'gesture_detection/velocity_tracker.h', |
| 202 ], |
| 203 'conditions': [ |
| 204 ['use_aura==1', { |
| 205 'dependencies': [ |
| 206 'events' |
| 207 ], |
| 208 }], |
| 209 ['use_aura!=1 and OS!="android"', { |
| 210 'sources': [ |
| 211 'gesture_detection/gesture_config_helper.cc', |
| 212 ], |
| 213 }], |
| 214 ], |
| 215 }, |
| 216 { |
| 169 'target_name': 'events_test_support', | 217 'target_name': 'events_test_support', |
| 170 'type': 'static_library', | 218 'type': 'static_library', |
| 171 'dependencies': [ | 219 'dependencies': [ |
| 172 'events', | 220 'events', |
| 173 'events_base', | 221 'events_base', |
| 174 ], | 222 ], |
| 175 'sources': [ | 223 'sources': [ |
| 176 'test/cocoa_test_event_utils.h', | 224 'test/cocoa_test_event_utils.h', |
| 177 'test/cocoa_test_event_utils.mm', | 225 'test/cocoa_test_event_utils.mm', |
| 178 'test/events_test_utils.cc', | 226 'test/events_test_utils.cc', |
| (...skipping 24 matching lines...) Expand all Loading... |
| 203 '<(DEPTH)/base/base.gyp:base', | 251 '<(DEPTH)/base/base.gyp:base', |
| 204 '<(DEPTH)/base/base.gyp:run_all_unittests', | 252 '<(DEPTH)/base/base.gyp:run_all_unittests', |
| 205 '<(DEPTH)/base/base.gyp:test_support_base', | 253 '<(DEPTH)/base/base.gyp:test_support_base', |
| 206 '<(DEPTH)/testing/gtest.gyp:gtest', | 254 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 207 '../gfx/gfx.gyp:gfx', | 255 '../gfx/gfx.gyp:gfx', |
| 208 '../gfx/gfx.gyp:gfx_geometry', | 256 '../gfx/gfx.gyp:gfx_geometry', |
| 209 'dom4_keycode_converter', | 257 'dom4_keycode_converter', |
| 210 'events', | 258 'events', |
| 211 'events_base', | 259 'events_base', |
| 212 'events_test_support', | 260 'events_test_support', |
| 261 'gesture_detection' |
| 213 ], | 262 ], |
| 214 'sources': [ | 263 'sources': [ |
| 215 'cocoa/cocoa_event_utils_unittest.mm', | 264 'cocoa/cocoa_event_utils_unittest.mm', |
| 216 'event_dispatcher_unittest.cc', | 265 'event_dispatcher_unittest.cc', |
| 217 'event_processor_unittest.cc', | 266 'event_processor_unittest.cc', |
| 218 'event_unittest.cc', | 267 'event_unittest.cc', |
| 219 'gestures/velocity_calculator_unittest.cc', | 268 'gestures/velocity_calculator_unittest.cc', |
| 269 'gesture_detection/bitset_32_unittest.cc', |
| 270 'gesture_detection/gesture_provider_unittest.cc', |
| 271 'gesture_detection/mock_motion_event.h', |
| 272 'gesture_detection/mock_motion_event.cc', |
| 273 'gesture_detection/velocity_tracker_unittest.cc', |
| 220 'keycodes/dom4/keycode_converter_unittest.cc', | 274 'keycodes/dom4/keycode_converter_unittest.cc', |
| 221 'latency_info_unittest.cc', | 275 'latency_info_unittest.cc', |
| 222 'ozone/evdev/key_event_converter_evdev_unittest.cc', | 276 'ozone/evdev/key_event_converter_evdev_unittest.cc', |
| 223 'ozone/evdev/touch_event_converter_evdev_unittest.cc', | 277 'ozone/evdev/touch_event_converter_evdev_unittest.cc', |
| 224 'x/events_x_unittest.cc', | 278 'x/events_x_unittest.cc', |
| 225 ], | 279 ], |
| 226 'conditions': [ | 280 'conditions': [ |
| 227 ['OS=="linux" and linux_use_tcmalloc==1', { | 281 ['OS=="linux" and linux_use_tcmalloc==1', { |
| 228 'dependencies': [ | 282 'dependencies': [ |
| 229 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | 283 '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
| 230 ], | 284 ], |
| 231 }], | 285 }], |
| 286 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 287 'dependencies': [ |
| 288 '../../testing/android/native_test.gyp:native_test_native_code', |
| 289 ], |
| 290 }], |
| 232 ], | 291 ], |
| 233 }, | 292 }, |
| 234 ], | 293 ], |
| 294 'conditions': [ |
| 295 # Special target to wrap a gtest_target_type==shared_library |
| 296 # ui_unittests into an android apk for execution. |
| 297 # See base.gyp for TODO(jrg)s about this strategy. |
| 298 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 299 'targets': [ |
| 300 { |
| 301 'target_name': 'events_unittests_apk', |
| 302 'type': 'none', |
| 303 'dependencies': [ |
| 304 'events_unittests', |
| 305 ], |
| 306 'variables': { |
| 307 'test_suite_name': 'events_unittests', |
| 308 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)events_un
ittests<(SHARED_LIB_SUFFIX)', |
| 309 }, |
| 310 'includes': [ '../../build/apk_test.gypi' ], |
| 311 }, |
| 312 ], |
| 313 }], |
| 314 ], |
| 235 } | 315 } |
| OLD | NEW |