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