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