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

Side by Side Diff: remoting/host/it2me/BUILD.gn

Issue 1717143002: Move //remoting/remoting_host_win.gypi:* to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move //remoting/remoting_host_win.gypi:* to GN Created 4 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 unified diff | Download patch
« no previous file with comments | « remoting/host/gen_remoting_lib_rc.py ('k') | remoting/remoting_enable.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_host.gni") 6 import("//remoting/remoting_host.gni")
7 import("//remoting/remoting_srcs.gni") 7 import("//remoting/remoting_srcs.gni")
8 8
9 source_set("common") { 9 source_set("common") {
10 sources = rebase_path( 10 sources = rebase_path(
11 remoting_host_srcs_gypi_values.remoting_it2me_host_static_sources, 11 remoting_host_srcs_gypi_values.remoting_it2me_host_static_sources,
12 ".", 12 ".",
13 "//remoting") 13 "//remoting")
14 14
15 configs += [ 15 configs += [
16 "//build/config/compiler:wexit_time_destructors", 16 "//build/config/compiler:wexit_time_destructors",
17 "//remoting:version", 17 "//remoting:version",
18 ] 18 ]
19 19
20 deps = [ 20 deps = [
21 "//base:i18n", 21 "//base:i18n",
22 "//net:net", 22 "//net:net",
23 "//remoting/base", 23 "//remoting/base",
24 "//remoting/host", 24 "//remoting/host",
25 "//remoting/protocol", 25 "//remoting/protocol",
26 "//remoting/resources", 26 "//remoting/resources",
27 ] 27 ]
28 } 28 }
29 29
30 if (!is_win && !is_chromeos && enable_remoting_host) { 30 if (!is_chromeos && enable_remoting_host) {
31 executable("remote_assistance_host") { 31 if (is_win) {
32 sources = [ 32 # GYP version:
33 "it2me_native_messaging_host_entry_point.cc", 33 # //remoting/remoting_host_win.gypi:remoting_it2me_native_messaging_host
34 "it2me_native_messaging_host_main.cc", 34 executable("remote_assistance_host") {
35 "it2me_native_messaging_host_main.h", 35 configs += [ "//build/config/compiler:wexit_time_destructors" ]
36 ]
37 36
38 configs += [ 37 deps = [
39 "//build/config/compiler:wexit_time_destructors", 38 "//base/allocator",
40 "//remoting:version", 39 "//remoting/host:remoting_core",
41 ] 40 "//remoting/host:remoting_windows_resources",
41 ]
42 42
43 deps = [ 43 sources = [
44 ":common", 44 "$root_gen_dir/remoting/version.rc",
45 "//build/config/sanitizers:deps", 45 "it2me_native_messaging_host_entry_point.cc",
46 "//remoting/host", 46 ]
47 "//remoting/host/native_messaging",
48 "//remoting/proto",
49 "//ui/gfx",
50 ]
51 47
52 if (enable_webrtc) { 48 defines = [ "BINARY=BINARY_REMOTE_ASSISTANCE_HOST" ]
53 deps += [ "//third_party/libjingle:libjingle_webrtc" ] 49
50 ldflags = [
51 "/MANIFEST:EMBED",
52 "/MANIFESTINPUT:" +
53 rebase_path("../win/common-controls.manifest", root_build_dir),
54 "/MANIFESTINPUT:" +
55 rebase_path("../win/dpi_aware.manifest", root_build_dir),
56
57 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in
58 # GYP does not take effect?
59 "comctl32.lib",
60 ]
54 } 61 }
62 } else {
63 executable("remote_assistance_host") {
64 sources = [
65 "it2me_native_messaging_host_entry_point.cc",
66 "it2me_native_messaging_host_main.cc",
67 "it2me_native_messaging_host_main.h",
68 ]
55 69
56 if (is_desktop_linux) { 70 configs += [
57 deps += [ "//build/config/linux/gtk2" ] 71 "//build/config/compiler:wexit_time_destructors",
72 "//remoting:version",
73 ]
74
75 deps = [
76 ":common",
77 "//build/config/sanitizers:deps",
78 "//remoting/host",
79 "//remoting/host/native_messaging",
80 "//remoting/proto",
81 "//ui/gfx",
82 ]
83
84 if (enable_webrtc) {
85 deps += [ "//third_party/libjingle:libjingle_webrtc" ]
86 }
87
88 if (is_desktop_linux) {
89 deps += [ "//build/config/linux/gtk2" ]
90 }
58 } 91 }
59 } 92 }
60 } 93 }
OLDNEW
« no previous file with comments | « remoting/host/gen_remoting_lib_rc.py ('k') | remoting/remoting_enable.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698