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

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

Issue 2308313003: gn: Generalize process_version() and move it to build/util (Closed)
Patch Set: Move branding_file_path to chrome/process_version_rc_template.gni 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
« no previous file with comments | « remoting/build/config/remoting_build.gni ('k') | third_party/widevine/cdm/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 remoting_localize("remoting_windows_resources") { 958 remoting_localize("remoting_windows_resources") {
958 deps = [ 959 deps = [
959 "//remoting/resources", 960 "//remoting/resources",
960 ] 961 ]
961 962
962 sources = [ 963 sources = [
963 "win/core.rc.jinja2", 964 "win/core.rc.jinja2",
964 "win/version.rc.jinja2", 965 "win/version.rc.jinja2",
965 ] 966 ]
966 967
967 # TODO(zijiehe): Export lastchange_path from
968 # //chrome/version.gni:process_version
969 variables = [ 968 variables = [
970 rebase_path(chrome_version_file), 969 rebase_path(chrome_version_file),
971 rebase_path(remoting_version_file), 970 rebase_path(remoting_version_file),
972 rebase_path("//build/util/LASTCHANGE"), 971 rebase_path("//build/util/LASTCHANGE"),
973 ] 972 ]
974 973
975 output = "$root_gen_dir/remoting/{{source_name_part}}" 974 output = "$root_gen_dir/remoting/{{source_name_part}}"
976 975
977 locale_dir = webapp_locale_dir 976 locale_dir = webapp_locale_dir
978 977
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
1901 root_build_dir), 1900 root_build_dir),
1902 rebase_path(outputs[0], root_build_dir), 1901 rebase_path(outputs[0], root_build_dir),
1903 ] 1902 ]
1904 } 1903 }
1905 } else { 1904 } else {
1906 group("remoting_host_installation") { 1905 group("remoting_host_installation") {
1907 } 1906 }
1908 } 1907 }
1909 } 1908 }
1910 } 1909 }
OLDNEW
« no previous file with comments | « remoting/build/config/remoting_build.gni ('k') | third_party/widevine/cdm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698