| OLD | NEW |
| 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 "//crypto", | 26 "//crypto", |
| 26 "//google_apis", | 27 "//google_apis", |
| 27 "//ipc", | 28 "//ipc", |
| 28 "//remoting/base", | 29 "//remoting/base", |
| 29 "//remoting/protocol", | 30 "//remoting/protocol", |
| 30 "//remoting/resources", | 31 "//remoting/resources", |
| 31 "//ui/events/platform", | 32 "//ui/events/platform", |
| 32 "//ui/events:dom4_keycode_converter", | 33 "//ui/events:dom4_keycode_converter", |
| 33 ] | 34 ] |
| 34 | 35 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 | 105 |
| 105 if (enable_webrtc) { | 106 if (enable_webrtc) { |
| 106 deps += [ | 107 deps += [ |
| 107 "//third_party/libjingle:libpeerconnection", | 108 "//third_party/libjingle:libpeerconnection", |
| 108 "//third_party/webrtc/modules/desktop_capture", | 109 "//third_party/webrtc/modules/desktop_capture", |
| 109 ] | 110 ] |
| 110 | 111 |
| 111 sources += rebase_path(gypi_values.remoting_cast_sources, ".", "//remoting") | 112 sources += rebase_path(gypi_values.remoting_cast_sources, ".", "//remoting") |
| 112 } | 113 } |
| 113 } | 114 } |
| OLD | NEW |