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 { |
(...skipping 18 matching lines...) Expand all Loading... |
29 'ui_touch_selection_export.h', | 29 'ui_touch_selection_export.h', |
30 ], | 30 ], |
31 'include_dirs': [ | 31 'include_dirs': [ |
32 '../..', | 32 '../..', |
33 ], | 33 ], |
34 }, | 34 }, |
35 { | 35 { |
36 'target_name': 'ui_touch_selection_unittests', | 36 'target_name': 'ui_touch_selection_unittests', |
37 'type': '<(gtest_target_type)', | 37 'type': '<(gtest_target_type)', |
38 'dependencies': [ | 38 'dependencies': [ |
| 39 '../../base/base.gyp:base', |
39 '../../base/base.gyp:run_all_unittests', | 40 '../../base/base.gyp:run_all_unittests', |
| 41 '../../base/base.gyp:test_support_base', |
40 '../../testing/gtest.gyp:gtest', | 42 '../../testing/gtest.gyp:gtest', |
41 '../base/ui_base.gyp:ui_base', | 43 '../base/ui_base.gyp:ui_base', |
42 '../events/events.gyp:events_test_support', | 44 '../events/events.gyp:events_test_support', |
43 '../gfx/gfx.gyp:gfx', | 45 '../gfx/gfx.gyp:gfx', |
44 '../gfx/gfx.gyp:gfx_test_support', | 46 '../gfx/gfx.gyp:gfx_test_support', |
45 'ui_touch_selection', | 47 'ui_touch_selection', |
46 ], | 48 ], |
47 'sources': [ | 49 'sources': [ |
48 'touch_handle_unittest.cc', | 50 'touch_handle_unittest.cc', |
49 'touch_selection_controller_unittest.cc', | 51 'touch_selection_controller_unittest.cc', |
50 ], | 52 ], |
51 'include_dirs': [ | 53 'include_dirs': [ |
52 '../..', | 54 '../..', |
53 ], | 55 ], |
| 56 'conditions': [ |
| 57 ['OS == "android"', { |
| 58 'dependencies': [ |
| 59 '../../testing/android/native_test.gyp:native_test_native_code', |
| 60 ], |
| 61 }], |
| 62 ] |
54 }, | 63 }, |
55 ], | 64 ], |
56 'conditions': [ | 65 'conditions': [ |
57 ['OS == "android"', { | 66 ['OS == "android"', { |
58 'targets': [ | 67 'targets': [ |
59 { | 68 { |
60 'target_name': 'selection_event_type_java', | 69 'target_name': 'selection_event_type_java', |
61 'type': 'none', | 70 'type': 'none', |
62 'variables': { | 71 'variables': { |
63 'source_file': 'selection_event_type.h', | 72 'source_file': 'selection_event_type.h', |
64 }, | 73 }, |
65 'includes': [ '../../build/android/java_cpp_enum.gypi' ], | 74 'includes': [ '../../build/android/java_cpp_enum.gypi' ], |
66 }, | 75 }, |
67 { | 76 { |
68 'target_name': 'ui_touch_selection_unittests_apk', | 77 'target_name': 'ui_touch_selection_unittests_apk', |
69 'type': 'none', | 78 'type': 'none', |
70 'dependencies': [ | 79 'dependencies': [ |
71 'ui_touch_selection_unittests', | 80 'ui_touch_selection_unittests', |
72 ], | 81 ], |
73 'variables': { | 82 'variables': { |
74 'test_suite_name': 'ui_touch_selection_unittests', | 83 'test_suite_name': 'ui_touch_selection_unittests', |
75 }, | 84 }, |
76 'includes': [ '../../build/apk_test.gypi' ], | 85 'includes': [ '../../build/apk_test.gypi' ], |
77 }, | 86 }, |
78 ], | 87 ], |
79 }], # OS == "android" | 88 }], # OS == "android" |
80 ], | 89 ], |
81 } | 90 } |
OLD | NEW |