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

Side by Side Diff: services/test/BUILD.gn

Issue 2829003005: Test service as minimum repro for sharing memory handle (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « services/BUILD.gn ('k') | services/test/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//services/service_manager/public/cpp/service.gni")
6 import("//services/service_manager/public/service_manifest.gni")
7 import("//services/service_manager/public/tools/test/service_test.gni")
8 import("//testing/test.gni")
9
10 service("test") {
11 sources = [
12 "service_impl.cc",
13 "service_impl.h",
14 "service_main.cc",
15 ]
16
17 deps = [
18 "//mojo/public/cpp/system",
19 "//services/service_manager/public/cpp",
20 "//services/test/public/interfaces",
21 ]
22 }
23
24 service_manifest("manifest") {
25 name = "test"
26 source = "service_manifest.json"
27 }
28
29 source_set("tests") {
30 testonly = true
31
32 sources = [
33 "service_unittest.cc",
34 ]
35
36 deps = [
37 ":test",
38 "//base/test:test_support",
39 "//services/service_manager/public/cpp",
40 "//services/service_manager/public/cpp:service_test_support",
41 "//services/test/public/interfaces",
42 "//testing/gmock",
43 "//testing/gtest",
44 ]
45
46 data_deps = [
47 ":test",
48 ]
49 }
50
51 service_manifest("unittest_manifest") {
52 name = "test_unittests"
53 source = "service_unittest_manifest.json"
54 }
55
56 catalog("tests_catalog") {
57 embedded_services = [ ":unittest_manifest" ]
58 standalone_services = [ ":manifest" ]
59 }
OLDNEW
« no previous file with comments | « services/BUILD.gn ('k') | services/test/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698