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/util/process_version.gni") | |
6 import("//remoting/build/config/remoting_build.gni") | 5 import("//remoting/build/config/remoting_build.gni") |
7 | 6 |
8 process_version("remoting_version") { | 7 process_version("remoting_version") { |
9 template_file = "//remoting/host/version.h.in" | 8 template_file = "//remoting/host/version.h.in" |
10 sources = [ | 9 sources = [ |
11 branding_path, | 10 branding_path, |
12 ] | 11 ] |
13 output = "$target_gen_dir/version.h" | 12 output = "$target_gen_dir/version.h" |
14 } | 13 } |
15 | 14 |
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 remoting_localize("remoting_windows_resources") { | 957 remoting_localize("remoting_windows_resources") { |
959 deps = [ | 958 deps = [ |
960 "//remoting/resources", | 959 "//remoting/resources", |
961 ] | 960 ] |
962 | 961 |
963 sources = [ | 962 sources = [ |
964 "win/core.rc.jinja2", | 963 "win/core.rc.jinja2", |
965 "win/version.rc.jinja2", | 964 "win/version.rc.jinja2", |
966 ] | 965 ] |
967 | 966 |
| 967 # TODO(zijiehe): Export lastchange_path from |
| 968 # //chrome/version.gni:process_version |
968 variables = [ | 969 variables = [ |
969 rebase_path(chrome_version_file), | 970 rebase_path(chrome_version_file), |
970 rebase_path(remoting_version_file), | 971 rebase_path(remoting_version_file), |
971 rebase_path("//build/util/LASTCHANGE"), | 972 rebase_path("//build/util/LASTCHANGE"), |
972 ] | 973 ] |
973 | 974 |
974 output = "$root_gen_dir/remoting/{{source_name_part}}" | 975 output = "$root_gen_dir/remoting/{{source_name_part}}" |
975 | 976 |
976 locale_dir = webapp_locale_dir | 977 locale_dir = webapp_locale_dir |
977 | 978 |
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1900 root_build_dir), | 1901 root_build_dir), |
1901 rebase_path(outputs[0], root_build_dir), | 1902 rebase_path(outputs[0], root_build_dir), |
1902 ] | 1903 ] |
1903 } | 1904 } |
1904 } else { | 1905 } else { |
1905 group("remoting_host_installation") { | 1906 group("remoting_host_installation") { |
1906 } | 1907 } |
1907 } | 1908 } |
1908 } | 1909 } |
1909 } | 1910 } |
OLD | NEW |