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

Side by Side Diff: remoting/BUILD.gn

Issue 1749053002: Move //remoting/remoting_host_win.gypi:* to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Redo last changes Created 4 years, 8 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 | « components/policy/BUILD.gn ('k') | remoting/host/BUILD.gn » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//build/util/version.gni") 7 import("//build/util/version.gni")
8 import("//remoting/remoting_version.gni") 8 import("//remoting/remoting_version.gni")
9 import("//remoting/remoting_enable.gni") 9 import("//remoting/remoting_enable.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 20 matching lines...) Expand all
31 #"//remoting:remoting_webapp_unittests", 31 #"//remoting:remoting_webapp_unittests",
32 ] 32 ]
33 33
34 # TODO(GYP): add is_mac 34 # TODO(GYP): add is_mac
35 if ((is_linux && !is_chromeos) || is_win) { 35 if ((is_linux && !is_chromeos) || is_win) {
36 deps += [ "//remoting/webapp" ] 36 deps += [ "//remoting/webapp" ]
37 } 37 }
38 38
39 if (is_win) { 39 if (is_win) {
40 deps += [ 40 deps += [
41 #"//remoting:remoting_breakpad_tester", 41 "//remoting:remoting_breakpad_tester",
42 #"//remoting:remoting_console", 42 "//remoting/host:remoting_console",
43 #"//remoting:remoting_desktop", 43 "//remoting/host:remoting_desktop",
44 #"//remoting:remoting_host_installation", 44
45 # "//remoting:remoting_host_installation",
45 ] 46 ]
46 } 47 }
47 48
48 if (is_android) { 49 if (is_android) {
49 deps += [ 50 deps += [
50 "//remoting/android:remoting_apk", 51 "//remoting/android:remoting_apk",
51 "//remoting/android:remoting_test_apk", 52 "//remoting/android:remoting_test_apk",
52 ] 53 ]
53 } 54 }
54 55
(...skipping 25 matching lines...) Expand all
80 } 81 }
81 82
82 if (is_win) { 83 if (is_win) {
83 # GYP version: remoting/remoting_host_win.gypi:remoting_breakpad_tester 84 # GYP version: remoting/remoting_host_win.gypi:remoting_breakpad_tester
84 executable("remoting_breakpad_tester") { 85 executable("remoting_breakpad_tester") {
85 deps = [ 86 deps = [
86 "//base", 87 "//base",
87 "//remoting/host", 88 "//remoting/host",
88 ] 89 ]
89 90
91 configs += [ "//build/config/compiler:wexit_time_destructors" ]
92
90 sources = [ 93 sources = [
91 "tools/breakpad_tester_win.cc", 94 "tools/breakpad_tester_win.cc",
92 ] 95 ]
93 } 96 }
94 } 97 }
95 98
96 # GYP version: remoting/remoting_test.gypi:remoting_test_support 99 # GYP version: remoting/remoting_test.gypi:remoting_test_support
97 source_set("test_support") { 100 source_set("test_support") {
98 testonly = true 101 testonly = true
99 102
(...skipping 16 matching lines...) Expand all
116 } 119 }
117 120
118 if (enable_remoting_host) { 121 if (enable_remoting_host) {
119 deps += [ "//remoting/host:test_support" ] 122 deps += [ "//remoting/host:test_support" ]
120 } 123 }
121 } 124 }
122 125
123 # TODO(GYP) remoting_unittests on Mac. Needs to be tested. 126 # TODO(GYP) remoting_unittests on Mac. Needs to be tested.
124 if (!is_mac) { 127 if (!is_mac) {
125 test("remoting_unittests") { 128 test("remoting_unittests") {
129 defines = []
130 libs = []
131
126 configs += [ 132 configs += [
127 ":version", 133 ":version",
128 134
129 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 135 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
130 "//build/config/compiler:no_size_t_to_int_warning", 136 "//build/config/compiler:no_size_t_to_int_warning",
131 ] 137 ]
132 138
133 data = [ 139 data = [
134 "//net/data/ssl/certificates/ok_cert.pem", 140 "//net/data/ssl/certificates/ok_cert.pem",
135 "//net/data/ssl/certificates/unittest.key.bin", 141 "//net/data/ssl/certificates/unittest.key.bin",
136 "//net/data/ssl/certificates/unittest.selfsigned.der", 142 "//net/data/ssl/certificates/unittest.selfsigned.der",
137 ] 143 ]
138 144
139 deps = [ 145 deps = [
140 ":test_support", 146 ":test_support",
147 "//base",
141 "//google_apis", 148 "//google_apis",
142 "//remoting/base:unit_tests", 149 "//remoting/base:unit_tests",
143 "//remoting/client:unit_tests", 150 "//remoting/client:unit_tests",
144 "//remoting/protocol:unit_tests", 151 "//remoting/protocol:unit_tests",
145 "//remoting/signaling:unit_tests", 152 "//remoting/signaling:unit_tests",
146 "//remoting/test:unit_tests", 153 "//remoting/test:unit_tests",
147 "//testing/gmock", 154 "//testing/gmock",
148 "//testing/gtest", 155 "//testing/gtest",
149 "//third_party/webrtc", 156 "//third_party/webrtc",
150 ] 157 ]
151 158
152 if (enable_remoting_host) { 159 if (enable_remoting_host) {
153 deps += [ 160 deps += [
154 "//remoting/codec:unit_tests", 161 "//remoting/codec:unit_tests",
155 "//remoting/host:unit_tests", 162 "//remoting/host:unit_tests",
156 "//ui/gfx", 163 "//ui/gfx",
157 ] 164 ]
158 } 165 }
159 166
160 if (enable_webrtc) { 167 if (enable_webrtc) {
161 deps += [ 168 deps += [
162 "//third_party/libjingle:libjingle_webrtc", 169 "//third_party/libjingle:libjingle_webrtc",
163 "//third_party/libjingle:libpeerconnection", 170 "//third_party/libjingle:libpeerconnection",
164 ] 171 ]
165 } 172 }
166 173
167 if (is_android) { 174 if (is_android) {
168 deps += [ "//net/android:net_java" ] 175 deps += [ "//net/android:net_java" ]
169 } 176 }
177
178 if (is_win) {
179 defines += [ "_ALT_NO_EXCEPTIONS" ]
180
181 libs += [
182 "rpcrt4.lib",
183 "wtsapi32.lib",
184 ]
185 }
186
187 if (enable_configuration_policy) {
188 deps += [ "//components/policy:policy_component_test_support" ]
189 }
170 } 190 }
171 191
172 if (enable_remoting_host) { 192 if (enable_remoting_host) {
173 test("remoting_perftests") { 193 test("remoting_perftests") {
174 sources = [ 194 sources = [
175 "test/codec_perftest.cc", 195 "test/codec_perftest.cc",
176 "test/protocol_perftest.cc", 196 "test/protocol_perftest.cc",
177 ] 197 ]
178 198
179 configs += [ ":version" ] 199 configs += [ ":version" ]
(...skipping 12 matching lines...) Expand all
192 212
193 if (enable_webrtc) { 213 if (enable_webrtc) {
194 deps += [ "//third_party/libjingle:libjingle_webrtc" ] 214 deps += [ "//third_party/libjingle:libjingle_webrtc" ]
195 } 215 }
196 } 216 }
197 } 217 }
198 } else { 218 } else {
199 group("remoting_unittests") { 219 group("remoting_unittests") {
200 } 220 }
201 } 221 }
OLDNEW
« no previous file with comments | « components/policy/BUILD.gn ('k') | remoting/host/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698