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("common") { | 9 static_library("common") { |
10 gypi_values = exec_script( | 10 gypi_values = exec_script("//build/gypi_to_gn.py", |
11 "//build/gypi_to_gn.py", | 11 [ rebase_path("../../remoting_host_srcs.gypi") ], |
12 [ rebase_path("../../remoting_host_srcs.gypi")], | 12 "scope", |
13 "scope", | 13 [ "../../remoting_host_srcs.gypi" ]) |
14 [ "../../remoting_host_srcs.gypi" ]) | |
15 | 14 |
16 sources = rebase_path( | 15 sources = rebase_path(gypi_values.remoting_it2me_host_static_sources, |
17 gypi_values.remoting_it2me_host_static_sources, ".", "//remoting") | 16 ".", |
| 17 "//remoting") |
18 | 18 |
19 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 19 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
20 | 20 |
21 deps = [ | 21 deps = [ |
22 "//base:i18n", | 22 "//base:i18n", |
23 "//net:net", | 23 "//net:net", |
24 "//remoting/base", | 24 "//remoting/base", |
25 "//remoting/host", | 25 "//remoting/host", |
26 "//remoting/protocol", | 26 "//remoting/protocol", |
27 "//remoting/resources", | 27 "//remoting/resources", |
28 ] | 28 ] |
29 | 29 |
30 defines = [ | 30 defines = [ "VERSION=$version_full" ] |
31 "VERSION=$version_full" | |
32 ] | |
33 } | 31 } |
OLD | NEW |