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("//remoting/remoting_version.gni") | 5 import("//remoting/remoting_version.gni") |
6 | 6 |
7 static_library("client") { | 7 static_library("client") { |
8 gypi_values = exec_script( | 8 gypi_values = exec_script("//build/gypi_to_gn.py", |
9 "//build/gypi_to_gn.py", | 9 [ rebase_path("../remoting_srcs.gypi") ], |
10 [ rebase_path("../remoting_srcs.gypi")], | 10 "scope", |
11 "scope", | 11 [ "../remoting_srcs.gypi" ]) |
12 [ "../remoting_srcs.gypi" ]) | |
13 | 12 |
14 sources = rebase_path( | 13 sources = rebase_path(gypi_values.remoting_client_sources, ".", "//remoting") |
15 gypi_values.remoting_client_sources, ".", "//remoting") | |
16 | 14 |
17 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 15 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
18 | 16 |
19 defines = [ "VERSION=$version_full" ] | 17 defines = [ "VERSION=$version_full" ] |
20 | 18 |
21 deps = [ | 19 deps = [ |
22 "//remoting/base", | 20 "//remoting/base", |
23 "//remoting/protocol", | 21 "//remoting/protocol", |
24 "//third_party/libyuv", | 22 "//third_party/libyuv", |
25 "//third_party/webrtc/modules/desktop_capture", | 23 "//third_party/webrtc/modules/desktop_capture", |
26 "//third_party/libwebm", | 24 "//third_party/libwebm", |
27 ] | 25 ] |
28 } | 26 } |
OLD | NEW |