Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Side by Side Diff: services/BUILD.gn

Issue 2875573003: Create a new GN target //services/service_junit_tests, and enable it in bots. (Closed)
Patch Set: services_junit* => service_junit* Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//services/catalog/public/tools/catalog.gni") 5 import("//services/catalog/public/tools/catalog.gni")
6 import("//services/service_manager/public/tools/test/service_test.gni") 6 import("//services/service_manager/public/tools/test/service_test.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 # One Big Target for services to register their unit test sources. This exists 9 # One Big Target for services to register their unit test sources. This exists
10 # to avoid having to maintain a separate test binary for every service. 10 # to avoid having to maintain a separate test binary for every service.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 catalog("service_unittests_catalog") { 43 catalog("service_unittests_catalog") {
44 testonly = true 44 testonly = true
45 catalog_deps = [ 45 catalog_deps = [
46 "//services/device:tests_catalog", 46 "//services/device:tests_catalog",
47 "//services/identity:tests_catalog", 47 "//services/identity:tests_catalog",
48 "//services/preferences:tests_catalog", 48 "//services/preferences:tests_catalog",
49 "//services/video_capture:tests_catalog", 49 "//services/video_capture:tests_catalog",
50 ] 50 ]
51 } 51 }
52
53 if (is_android) {
54 junit_binary("service_junit_tests") {
55 java_files = [ "device/generic_sensor/android/junit/src/org/chromium/device/ sensors/PlatformSensorAndProviderTest.java" ]
56 deps = [
57 "//base:base_java",
58 "//base:base_java_test_support",
59 "//device/generic_sensor:java",
60 "//device/generic_sensor/public/interfaces:interfaces_java",
61 "//mojo/public/java:bindings_java",
62 "//third_party/android_tools:android_support_annotations_java",
63 ]
64 }
65 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698