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

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

Issue 756643006: Remote assistance on Chrome OS Part IX - Input injection on Ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Ozone_input_injection
Patch Set: Address feedback (wez) Created 6 years 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 | « no previous file | remoting/host/chromeos/point_transformer.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",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 "//ui/compositor", 60 "//ui/compositor",
61 "//ui/events", 61 "//ui/events",
62 "//ui/views", 62 "//ui/views",
63 ] 63 ]
64 64
65 if (use_ash) { 65 if (use_ash) {
66 deps += [ "//ash" ] 66 deps += [ "//ash" ]
67 } 67 }
68 68
69 if (use_ozone) { 69 if (use_ozone) {
70 sources -= [ 70 sources -= [ "input_injector_x11.cc" ]
71 "input_injector_x11.cc", 71 deps += [ "//ui/ozone" ]
72 "local_input_monitor_x11.cc",
73 ]
74 } else { 72 } else {
75 sources -= [ 73 sources -= [
76 "clipboard_x11.cc", 74 "clipboard_x11.cc",
77 "input_injector_chromeos.cc", 75 "input_injector_chromeos.cc",
78 "input_injector_chromeos.h", 76 "input_injector_chromeos.h",
79 "linux/x_server_clipboard.cc", 77 "linux/x_server_clipboard.cc",
80 "linux/x_server_clipboard.h", 78 "linux/x_server_clipboard.h",
81 "local_input_monitor_chromeos.cc",
82 ] 79 ]
83 } 80 }
84 81
85 sources -= [ 82 sources -= [
86 "continue_window_linux.cc", 83 "continue_window_linux.cc",
87 "disconnect_window_linux.cc", 84 "disconnect_window_linux.cc",
85 "local_input_monitor_x11.cc",
88 "policy_hack/policy_watcher_linux.cc", 86 "policy_hack/policy_watcher_linux.cc",
89 "remoting_me2me_host.cc", 87 "remoting_me2me_host.cc",
90 ] 88 ]
91 } 89 }
92 90
93 if (is_mac) { 91 if (is_mac) {
94 defines += [ 92 defines += [
95 "HOST_BUNDLE_NAME=\"$host_bundle_name\"", 93 "HOST_BUNDLE_NAME=\"$host_bundle_name\"",
96 "PREFPANE_BUNDLE_NAME=\"$prefpane_bundle_name\"", 94 "PREFPANE_BUNDLE_NAME=\"$prefpane_bundle_name\"",
97 ] 95 ]
98 96
99 libs += [ 97 libs += [
100 "Accelerate.framework", 98 "Accelerate.framework",
101 "libpam.a", 99 "libpam.a",
102 ] 100 ]
103 101
104 deps += [ "//google_toolbox_for_mac" ] 102 deps += [ "//google_toolbox_for_mac" ]
105 } 103 }
106 104
107 if (enable_webrtc) { 105 if (enable_webrtc) {
108 deps += [ 106 deps += [
109 "//third_party/libjingle:libpeerconnection", 107 "//third_party/libjingle:libpeerconnection",
110 "//third_party/webrtc/modules/desktop_capture", 108 "//third_party/webrtc/modules/desktop_capture",
111 ] 109 ]
112 110
113 sources += rebase_path(gypi_values.remoting_cast_sources, ".", "//remoting") 111 sources += rebase_path(gypi_values.remoting_cast_sources, ".", "//remoting")
114 } 112 }
115 } 113 }
OLDNEW
« no previous file with comments | « no previous file | remoting/host/chromeos/point_transformer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698