OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 import("//build/config/win/manifest.gni") |
| 6 import("//build/util/version.gni") |
| 7 import("//chrome/version.gni") |
| 8 |
| 9 version_assembly_output_file = "$target_gen_dir/version_assembly.manifest" |
| 10 |
| 11 # Generates a manifest file with the current build's version information. |
| 12 process_version("chrome_exe_version_manifest") { |
| 13 visibility = [ ":*" ] |
| 14 template_file = "chrome_exe_manifest.template" |
| 15 output = version_assembly_output_file |
| 16 } |
| 17 |
| 18 # Generates the manifest for chrome.exe. This is the normal manifest stuff plus |
| 19 # the version information. |
| 20 windows_manifest("chrome_exe_manifest") { |
| 21 sources = [ |
| 22 as_invoker_manifest, |
| 23 common_controls_manifest, |
| 24 default_compatibility_manifest, |
| 25 version_assembly_output_file, |
| 26 ] |
| 27 |
| 28 type = "exe" |
| 29 |
| 30 deps = [ |
| 31 ":chrome_exe_version_manifest", |
| 32 ] |
| 33 } |
| 34 |
| 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" |
| 40 process_only = true |
| 41 } |
OLD | NEW |