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

Unified Diff: services/service_manager/embedder/BUILD.gn

Issue 2613653003: Move some basic early process init into Service Manager (Closed)
Patch Set: . Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: services/service_manager/embedder/BUILD.gn
diff --git a/services/service_manager/embedder/BUILD.gn b/services/service_manager/embedder/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..527b995999806cb4f3a41eab4eb17a628eea0f56
--- /dev/null
+++ b/services/service_manager/embedder/BUILD.gn
@@ -0,0 +1,40 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+component("embedder") {
+ output_name = "service_manager_embedder"
+
+ sources = [
+ "main.cc",
+ "main.h",
+ "main_delegate.h",
+ "service_manager_embedder_export.h",
+ "set_process_title.cc",
+ "set_process_title.h",
+ "set_process_title_linux.cc",
+ "set_process_title_linux.h",
+ "shared_file_util.cc",
+ "shared_file_util.h",
+ "switches.cc",
+ "switches.h",
+ ]
+
+ if (is_mac) {
+ sources += [
+ "mac_init.h",
+ "mac_init.mm",
+ ]
+
+ libs = [ "Foundation.framework" ]
+ }
+
+ deps = [
+ "//base",
+ "//base/allocator:features",
+ "//mojo/edk/system",
+ "//ui/base",
+ ]
+
+ defines = [ "SERVICE_MANAGER_EMBEDDER_IMPL" ]
+}

Powered by Google App Engine
This is Rietveld 408576698