1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/win/manifest.gni")
6 import("//build/util/version.gni")
7 import("//chrome/version.gni")
9 version_assembly_output_file = "$target_gen_dir/version_assembly.manifest"
11 # Generates a manifest file with the current build's version information.
12 process_version("chrome_exe_version_manifest") {
14 template_file = "chrome_exe_manifest.template"
15 output = version_assembly_output_file
18 # Generates the manifest for chrome.exe. This is the normal manifest stuff plus
19 # the version information.
20 windows_manifest("chrome_exe_manifest") {
23 common_controls_manifest,
24 default_compatibility_manifest,
25 version_assembly_output_file,
31 ":chrome_exe_version_manifest",
35 # Generates the manifest for the version assembly, which is the versioned
36 # directory where Chrome finds chrome.dll.
37 process_version("version_assembly_manifest") {
38 template_file = "version_assembly_manifest.template"
39 output = "$root_build_dir/$chrome_version_full.manifest"