Index: remoting/host/it2me/BUILD.gn |
diff --git a/remoting/host/it2me/BUILD.gn b/remoting/host/it2me/BUILD.gn |
index 77dad430737e20393c2866862710335bdd252331..744dfe6b289c329a174250db8833c0731ed9eade 100644 |
--- a/remoting/host/it2me/BUILD.gn |
+++ b/remoting/host/it2me/BUILD.gn |
@@ -3,18 +3,20 @@ |
# found in the LICENSE file. |
import("//build/config/features.gni") |
-import("//remoting/remoting_srcs.gni") |
+import("//build/config/ui.gni") |
+import("//remoting/remoting_version.gni") |
-source_set("common") { |
- sources = rebase_path( |
- remoting_host_srcs_gypi_values.remoting_it2me_host_static_sources, |
- ".", |
- "//remoting") |
+static_library("common") { |
+ gypi_values = exec_script("//build/gypi_to_gn.py", |
+ [ rebase_path("../../remoting_host_srcs.gypi") ], |
+ "scope", |
+ [ "../../remoting_host_srcs.gypi" ]) |
- configs += [ |
- "//build/config/compiler:wexit_time_destructors", |
- "//remoting:version", |
- ] |
+ sources = rebase_path(gypi_values.remoting_it2me_host_static_sources, |
+ ".", |
+ "//remoting") |
+ |
+ configs += [ "//build/config/compiler:wexit_time_destructors" ] |
deps = [ |
"//base:i18n", |
@@ -24,4 +26,6 @@ |
"//remoting/protocol", |
"//remoting/resources", |
] |
+ |
+ defines = [ "VERSION=$version_full" ] |
} |