Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Side by Side Diff: remoting/host/BUILD.gn

Issue 2308313003: gn: Generalize process_version() and move it to build/util (Closed)
Patch Set: Move process_version_rc_template() to chrome// Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/util/process_version.gni")
5 import("//remoting/build/config/remoting_build.gni") 6 import("//remoting/build/config/remoting_build.gni")
6 7
7 process_version("remoting_version") { 8 process_version("remoting_version") {
8 template_file = "//remoting/host/version.h.in" 9 template_file = "//remoting/host/version.h.in"
9 sources = [ 10 sources = [
10 branding_path, 11 branding_path,
11 ] 12 ]
12 output = "$target_gen_dir/version.h" 13 output = "$target_gen_dir/version.h"
13 } 14 }
14 15
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 remoting_localize("remoting_windows_resources") { 961 remoting_localize("remoting_windows_resources") {
961 deps = [ 962 deps = [
962 "//remoting/resources", 963 "//remoting/resources",
963 ] 964 ]
964 965
965 sources = [ 966 sources = [
966 "win/core.rc.jinja2", 967 "win/core.rc.jinja2",
967 "win/version.rc.jinja2", 968 "win/version.rc.jinja2",
968 ] 969 ]
969 970
970 # TODO(zijiehe): Export lastchange_path from
971 # //chrome/version.gni:process_version
972 variables = [ 971 variables = [
973 rebase_path(chrome_version_file), 972 rebase_path(chrome_version_file),
974 rebase_path(remoting_version_file), 973 rebase_path(remoting_version_file),
975 rebase_path("//build/util/LASTCHANGE"), 974 rebase_path("//build/util/LASTCHANGE"),
976 ] 975 ]
977 976
978 output = "$root_gen_dir/remoting/{{source_name_part}}" 977 output = "$root_gen_dir/remoting/{{source_name_part}}"
979 978
980 locale_dir = webapp_locale_dir 979 locale_dir = webapp_locale_dir
981 980
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
1904 root_build_dir), 1903 root_build_dir),
1905 rebase_path(outputs[0], root_build_dir), 1904 rebase_path(outputs[0], root_build_dir),
1906 ] 1905 ]
1907 } 1906 }
1908 } else { 1907 } else {
1909 group("remoting_host_installation") { 1908 group("remoting_host_installation") {
1910 } 1909 }
1911 } 1910 }
1912 } 1911 }
1913 } 1912 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698