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

Unified 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: Move changes in components folder to remoting folder. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/BUILD.gn
diff --git a/remoting/BUILD.gn b/remoting/BUILD.gn
index bcd380f86b314541f504025e008335428de8b8ae..5415aa9609bf82ceae336427ec219e3f6e971b8d 100644
--- a/remoting/BUILD.gn
+++ b/remoting/BUILD.gn
@@ -38,10 +38,11 @@ group("remoting_all") {
if (is_win) {
deps += [
- #"//remoting:remoting_breakpad_tester",
- #"//remoting:remoting_console",
- #"//remoting:remoting_desktop",
- #"//remoting:remoting_host_installation",
+ "//remoting:remoting_breakpad_tester",
+ "//remoting/host:remoting_console",
+ "//remoting/host:remoting_desktop",
+
+ # "//remoting:remoting_host_installation",
]
}
@@ -87,6 +88,8 @@ if (is_win) {
"//remoting/host",
]
+ configs += [ "//build/config/compiler:wexit_time_destructors" ]
+
sources = [
"tools/breakpad_tester_win.cc",
]
@@ -112,7 +115,12 @@ source_set("test_support") {
]
if (enable_configuration_policy) {
- deps += [ "//components/policy:test_support" ]
+ deps += [
+ "//components/policy:test_support",
+
+ # TODO(zijiehe): This should belong to //components/policy:test_support
+ "//components/prefs",
+ ]
}
if (enable_remoting_host) {
@@ -123,6 +131,9 @@ source_set("test_support") {
# TODO(GYP) remoting_unittests on Mac. Needs to be tested.
if (!is_mac) {
test("remoting_unittests") {
+ defines = []
+ libs = []
+
configs += [
":version",
@@ -138,6 +149,7 @@ if (!is_mac) {
deps = [
":test_support",
+ "//base",
"//google_apis",
"//remoting/base:unit_tests",
"//remoting/client:unit_tests",
@@ -164,6 +176,19 @@ if (!is_mac) {
if (is_android) {
deps += [ "//net/android:net_java" ]
}
+
+ if (is_win) {
+ defines += [ "_ALT_NO_EXCEPTIONS" ]
+
+ libs += [
+ "rpcrt4.lib",
+ "wtsapi32.lib",
+ ]
+ }
+
+ if (enable_configuration_policy) {
+ deps += [ "//components/policy:policy_component_test_support" ]
+ }
}
if (enable_remoting_host) {
« no previous file with comments | « no previous file | remoting/host/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698