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

Side by Side Diff: services/service_manager/public/cpp/standalone_service/BUILD.gn

Issue 2566663004: Revert of Build services as standalone executables (Closed)
Patch Set: Created 4 years 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
(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 source_set("standalone_service") {
6 sources = [
7 "standalone_service.cc",
8 "standalone_service.h",
9 "switches.cc",
10 "switches.h",
11 ]
12
13 deps = [
14 "//mojo/edk/system",
15 "//mojo/public/cpp/system",
16 "//services/service_manager/public/cpp",
17 "//services/service_manager/runner:init",
18 "//services/service_manager/runner/common",
19 ]
20
21 public_deps = [
22 "//base",
23 "//services/service_manager/public/interfaces",
24 ]
25
26 if (is_linux && !is_android) {
27 sources += [
28 "linux_sandbox.cc",
29 "linux_sandbox.h",
30 ]
31
32 deps += [
33 "//sandbox/linux:sandbox",
34 "//sandbox/linux:sandbox_services",
35 "//sandbox/linux:seccomp_bpf",
36 ]
37 }
38
39 if (is_mac) {
40 sources += [
41 "mach_broker.cc",
42 "mach_broker.h",
43 ]
44 }
45 }
46
47 # Service executable targets should link against this to get a boilerplate entry
48 # point which accepts canonical command-line arguments to establish a connection
49 # to the Service Manager. In order to link properly, dependents must ensure that
50 # they define a ServiceMain() symbol which matches the signature in
51 # //services/service_manager/public/c/main.h.
52 source_set("main") {
53 sources = [
54 "main.cc",
55 ]
56
57 deps = [
58 ":standalone_service",
59 "//base",
60 "//base:i18n",
61 "//services/service_manager/runner:init",
62 ]
63 }
OLDNEW
« no previous file with comments | « services/service_manager/public/cpp/service.gni ('k') | services/service_manager/public/cpp/standalone_service/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698