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

Unified Diff: remoting/host/it2me/BUILD.gn

Issue 2093393002: Work in progress to port remoting_me2me_host_archive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make localized prefpane infoplist strings work Created 4 years, 6 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
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/remoting_version.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/it2me/BUILD.gn
diff --git a/remoting/host/it2me/BUILD.gn b/remoting/host/it2me/BUILD.gn
index c48a51e0dcecd05f7563bfbe3249f5c3aef4419d..0c70d245a1a899b988151379af01ddff4fa0f5c5 100644
--- a/remoting/host/it2me/BUILD.gn
+++ b/remoting/host/it2me/BUILD.gn
@@ -9,6 +9,9 @@ import("//remoting/remoting_srcs.gni")
if (is_win) {
import("//remoting/host/predefines_win.gni")
}
+if (is_mac) {
+ import("//build/config/mac/rules.gni")
+}
source_set("common") {
sources = rebase_path(
@@ -71,18 +74,32 @@ if (!is_chromeos && !is_android && enable_remoting_host) {
]
}
} else {
- executable("remote_assistance_host") {
+ if (is_mac) {
+ app_target_type = "mac_app_bundle"
+ } else {
+ app_target_type = "executable"
+ }
+
+ target(app_target_type, "remote_assistance_host") {
+ if (is_mac) {
+ info_plist = "remote_assistance_host-Info.plist"
+ extra_configs = [
+ "//build/config/compiler:wexit_time_destructors",
+ "//remoting:version",
+ ]
+ } else {
+ configs += [
+ "//build/config/compiler:wexit_time_destructors",
+ "//remoting:version",
+ ]
+ }
+
sources = [
"it2me_native_messaging_host_entry_point.cc",
"it2me_native_messaging_host_main.cc",
"it2me_native_messaging_host_main.h",
]
- configs += [
- "//build/config/compiler:wexit_time_destructors",
- "//remoting:version",
- ]
-
deps = [
":common",
"//build/config/sanitizers:deps",
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/remoting_version.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698