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

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

Issue 830193002: Using PolicyServiceWatcher instead of PolicyWatcherLinux/Win/Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 11 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/policy_common.gypi ('k') | remoting/host/policy_hack/fake_policy_watcher.h » ('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("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//remoting/remoting_version.gni") 7 import("//remoting/remoting_version.gni")
8 8
9 static_library("host") { 9 static_library("host") {
10 gypi_values = exec_script("//build/gypi_to_gn.py", 10 gypi_values = exec_script("//build/gypi_to_gn.py",
11 [ rebase_path("../remoting_host_srcs.gypi") ], 11 [ rebase_path("../remoting_host_srcs.gypi") ],
12 "scope", 12 "scope",
13 [ "../remoting_host_srcs.gypi" ]) 13 [ "../remoting_host_srcs.gypi" ])
14 14
15 sources = rebase_path(gypi_values.remoting_host_sources, ".", "//remoting") 15 sources = rebase_path(gypi_values.remoting_host_sources, ".", "//remoting")
16 16
17 libs = [] 17 libs = []
18 18
19 configs += [ "//build/config/compiler:wexit_time_destructors" ] 19 configs += [ "//build/config/compiler:wexit_time_destructors" ]
20 20
21 defines = [ "WEBRTC_CHROMIUM_BUILD" ] 21 defines = [ "WEBRTC_CHROMIUM_BUILD" ]
22 22
23 deps = [ 23 deps = [
24 "//base:i18n", 24 "//base:i18n",
25 "//components/policy:policy", 25 "//components/policy:policy",
26 "//components/policy:policy_component_common",
26 "//crypto", 27 "//crypto",
27 "//google_apis", 28 "//google_apis",
28 "//ipc", 29 "//ipc",
29 "//remoting/base", 30 "//remoting/base",
30 "//remoting/protocol", 31 "//remoting/protocol",
31 "//remoting/resources", 32 "//remoting/resources",
32 "//ui/events/platform", 33 "//ui/events/platform",
33 "//ui/events:dom4_keycode_converter", 34 "//ui/events:dom4_keycode_converter",
34 ] 35 ]
35 36
(...skipping 10 matching lines...) Expand all
46 sources -= [ 47 sources -= [
47 "clipboard_x11.cc", 48 "clipboard_x11.cc",
48 "linux/x_server_clipboard.cc", 49 "linux/x_server_clipboard.cc",
49 "linux/x_server_clipboard.h", 50 "linux/x_server_clipboard.h",
50 ] 51 ]
51 } 52 }
52 53
53 if (is_chromeos) { 54 if (is_chromeos) {
54 deps += [ 55 deps += [
55 "//cc", 56 "//cc",
56 "//components/policy:policy_component_common",
57 "//content", 57 "//content",
58 "//ppapi:ppapi_host", 58 "//ppapi:ppapi_host",
59 "//skia", 59 "//skia",
60 "//ui/aura", 60 "//ui/aura",
61 "//ui/compositor", 61 "//ui/compositor",
62 "//ui/events", 62 "//ui/events",
63 "//ui/views", 63 "//ui/views",
64 ] 64 ]
65 65
66 if (use_ash) { 66 if (use_ash) {
(...skipping 10 matching lines...) Expand all
77 "input_injector_chromeos.h", 77 "input_injector_chromeos.h",
78 "linux/x_server_clipboard.cc", 78 "linux/x_server_clipboard.cc",
79 "linux/x_server_clipboard.h", 79 "linux/x_server_clipboard.h",
80 ] 80 ]
81 } 81 }
82 82
83 sources -= [ 83 sources -= [
84 "continue_window_linux.cc", 84 "continue_window_linux.cc",
85 "disconnect_window_linux.cc", 85 "disconnect_window_linux.cc",
86 "local_input_monitor_x11.cc", 86 "local_input_monitor_x11.cc",
87 "policy_hack/policy_watcher_linux.cc",
88 "remoting_me2me_host.cc", 87 "remoting_me2me_host.cc",
89 ] 88 ]
90 } 89 }
91 90
92 if (is_mac) { 91 if (is_mac) {
93 defines += [ 92 defines += [
94 "HOST_BUNDLE_NAME=\"$host_bundle_name\"", 93 "HOST_BUNDLE_NAME=\"$host_bundle_name\"",
95 "PREFPANE_BUNDLE_NAME=\"$prefpane_bundle_name\"", 94 "PREFPANE_BUNDLE_NAME=\"$prefpane_bundle_name\"",
96 ] 95 ]
97 96
98 libs += [ 97 libs += [
99 "Accelerate.framework", 98 "Accelerate.framework",
100 "libpam.a", 99 "libpam.a",
101 ] 100 ]
102 101
103 deps += [ "//google_toolbox_for_mac" ] 102 deps += [ "//google_toolbox_for_mac" ]
104 } 103 }
105 104
106 if (enable_webrtc) { 105 if (enable_webrtc) {
107 deps += [ 106 deps += [
108 "//third_party/libjingle:libpeerconnection", 107 "//third_party/libjingle:libpeerconnection",
109 "//third_party/webrtc/modules/desktop_capture", 108 "//third_party/webrtc/modules/desktop_capture",
110 ] 109 ]
111 110
112 sources += rebase_path(gypi_values.remoting_cast_sources, ".", "//remoting") 111 sources += rebase_path(gypi_values.remoting_cast_sources, ".", "//remoting")
113 } 112 }
114 } 113 }
OLDNEW
« no previous file with comments | « components/policy/policy_common.gypi ('k') | remoting/host/policy_hack/fake_policy_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698