| 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/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
| 10 } | 10 } |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 test("ui_touch_selection_unittests") { | 35 test("ui_touch_selection_unittests") { |
| 36 sources = [ | 36 sources = [ |
| 37 "touch_handle_unittest.cc", | 37 "touch_handle_unittest.cc", |
| 38 "touch_selection_controller_unittest.cc", | 38 "touch_selection_controller_unittest.cc", |
| 39 ] | 39 ] |
| 40 | 40 |
| 41 deps = [ | 41 deps = [ |
| 42 ":touch_selection", | 42 ":touch_selection", |
| 43 "//base/test:run_all_unittests", | 43 "//base/test:run_all_unittests", |
| 44 "//testing/gmock:gmock", |
| 44 "//testing/gtest:gtest", | 45 "//testing/gtest:gtest", |
| 45 "//ui/base:base", | 46 "//ui/base:base", |
| 46 "//ui/events:test_support", | 47 "//ui/events:test_support", |
| 47 "//ui/gfx:gfx", | 48 "//ui/gfx:gfx", |
| 48 "//ui/gfx:test_support", | 49 "//ui/gfx:test_support", |
| 49 ] | 50 ] |
| 50 } | 51 } |
| 51 | 52 |
| 52 if (is_android) { | 53 if (is_android) { |
| 53 java_cpp_enum("ui_touch_selection_enums_srcjar") { | 54 java_cpp_enum("ui_touch_selection_enums_srcjar") { |
| 54 sources = [ | 55 sources = [ |
| 55 "selection_event_type.h", | 56 "selection_event_type.h", |
| 56 ] | 57 ] |
| 57 outputs = [ | 58 outputs = [ |
| 58 "org/chromium/ui/touch_selection/SelectionEventType.java", | 59 "org/chromium/ui/touch_selection/SelectionEventType.java", |
| 59 ] | 60 ] |
| 60 } | 61 } |
| 61 } | 62 } |
| OLD | NEW |