OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'targets': [ |
| 10 { |
| 11 'target_name': 'ui_touch_selection', |
| 12 'type': '<(component)', |
| 13 'dependencies': [ |
| 14 '../../base/base.gyp:base', |
| 15 '../base/ui_base.gyp:ui_base', |
| 16 '../events/events.gyp:events', |
| 17 '../events/events.gyp:gesture_detection', |
| 18 '../gfx/gfx.gyp:gfx_geometry', |
| 19 ], |
| 20 'defines': [ |
| 21 'UI_TOUCH_SELECTION_IMPLEMENTATION', |
| 22 ], |
| 23 'sources': [ |
| 24 'selection_event_type.h', |
| 25 'touch_handle.cc', |
| 26 'touch_handle.h', |
| 27 'touch_selection_controller.cc', |
| 28 'touch_selection_controller.h', |
| 29 'ui_touch_selection_export.h', |
| 30 ], |
| 31 'include_dirs': [ |
| 32 '../..', |
| 33 ], |
| 34 }, |
| 35 { |
| 36 'target_name': 'ui_touch_selection_unittests', |
| 37 'type': '<(gtest_target_type)', |
| 38 'dependencies': [ |
| 39 '../../base/base.gyp:run_all_unittests', |
| 40 '../../testing/gtest.gyp:gtest', |
| 41 '../base/ui_base.gyp:ui_base', |
| 42 '../events/events.gyp:events_test_support', |
| 43 '../gfx/gfx.gyp:gfx', |
| 44 '../gfx/gfx.gyp:gfx_test_support', |
| 45 'ui_touch_selection', |
| 46 ], |
| 47 'sources': [ |
| 48 'touch_handle_unittest.cc', |
| 49 'touch_selection_controller_unittest.cc', |
| 50 ], |
| 51 'include_dirs': [ |
| 52 '../..', |
| 53 ], |
| 54 }, |
| 55 ], |
| 56 'conditions': [ |
| 57 ['OS == "android"', { |
| 58 'targets': [ |
| 59 { |
| 60 'target_name': 'selection_event_type_java', |
| 61 'type': 'none', |
| 62 'variables': { |
| 63 'source_file': 'selection_event_type.h', |
| 64 }, |
| 65 'includes': [ '../../build/android/java_cpp_enum.gypi' ], |
| 66 }, |
| 67 { |
| 68 'target_name': 'ui_touch_selection_unittests_apk', |
| 69 'type': 'none', |
| 70 'dependencies': [ |
| 71 'ui_touch_selection_unittests', |
| 72 ], |
| 73 'variables': { |
| 74 'test_suite_name': 'ui_touch_selection_unittests', |
| 75 }, |
| 76 'includes': [ '../../build/apk_test.gypi' ], |
| 77 }, |
| 78 ], |
| 79 }], # OS == "android" |
| 80 ], |
| 81 } |
OLD | NEW |