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

Side by Side 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, 5 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 | « remoting/host/BUILD.gn ('k') | remoting/remoting_version.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//remoting/remoting_enable.gni") 6 import("//remoting/remoting_enable.gni")
7 import("//remoting/remoting_srcs.gni") 7 import("//remoting/remoting_srcs.gni")
8 8
9 if (is_win) { 9 if (is_win) {
10 import("//remoting/host/predefines_win.gni") 10 import("//remoting/host/predefines_win.gni")
11 } 11 }
12 if (is_mac) {
13 import("//build/config/mac/rules.gni")
14 }
12 15
13 source_set("common") { 16 source_set("common") {
14 sources = rebase_path( 17 sources = rebase_path(
15 remoting_host_srcs_gypi_values.remoting_it2me_host_static_sources, 18 remoting_host_srcs_gypi_values.remoting_it2me_host_static_sources,
16 ".", 19 ".",
17 "//remoting") 20 "//remoting")
18 21
19 if (is_android) { 22 if (is_android) {
20 sources -= [ 23 sources -= [
21 "it2me_native_messaging_host.cc", 24 "it2me_native_messaging_host.cc",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 rebase_path("../win/common-controls.manifest", root_build_dir), 67 rebase_path("../win/common-controls.manifest", root_build_dir),
65 "/MANIFESTINPUT:" + 68 "/MANIFESTINPUT:" +
66 rebase_path("../win/dpi_aware.manifest", root_build_dir), 69 rebase_path("../win/dpi_aware.manifest", root_build_dir),
67 70
68 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in 71 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in
69 # GYP does not take effect? 72 # GYP does not take effect?
70 "comctl32.lib", 73 "comctl32.lib",
71 ] 74 ]
72 } 75 }
73 } else { 76 } else {
74 executable("remote_assistance_host") { 77 if (is_mac) {
78 app_target_type = "mac_app_bundle"
79 } else {
80 app_target_type = "executable"
81 }
82
83 target(app_target_type, "remote_assistance_host") {
84 if (is_mac) {
85 info_plist = "remote_assistance_host-Info.plist"
86 extra_configs = [
87 "//build/config/compiler:wexit_time_destructors",
88 "//remoting:version",
89 ]
90 } else {
91 configs += [
92 "//build/config/compiler:wexit_time_destructors",
93 "//remoting:version",
94 ]
95 }
96
75 sources = [ 97 sources = [
76 "it2me_native_messaging_host_entry_point.cc", 98 "it2me_native_messaging_host_entry_point.cc",
77 "it2me_native_messaging_host_main.cc", 99 "it2me_native_messaging_host_main.cc",
78 "it2me_native_messaging_host_main.h", 100 "it2me_native_messaging_host_main.h",
79 ] 101 ]
80 102
81 configs += [
82 "//build/config/compiler:wexit_time_destructors",
83 "//remoting:version",
84 ]
85
86 deps = [ 103 deps = [
87 ":common", 104 ":common",
88 "//build/config/sanitizers:deps", 105 "//build/config/sanitizers:deps",
89 "//remoting/host", 106 "//remoting/host",
90 "//remoting/host/native_messaging", 107 "//remoting/host/native_messaging",
91 "//remoting/proto", 108 "//remoting/proto",
92 "//ui/gfx", 109 "//ui/gfx",
93 ] 110 ]
94 111
95 if (enable_webrtc) { 112 if (enable_webrtc) {
96 deps += [ "//third_party/libjingle:libjingle_webrtc" ] 113 deps += [ "//third_party/libjingle:libjingle_webrtc" ]
97 } 114 }
98 115
99 if (is_desktop_linux) { 116 if (is_desktop_linux) {
100 deps += [ "//build/config/linux/gtk2" ] 117 deps += [ "//build/config/linux/gtk2" ]
101 } 118 }
102 } 119 }
103 } 120 }
104 } 121 }
OLDNEW
« 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