Chromium Code Reviews| Index: chrome/installer/mini_installer/BUILD.gn |
| diff --git a/chrome/installer/mini_installer/BUILD.gn b/chrome/installer/mini_installer/BUILD.gn |
| index 4eecab413281aa296d2a566541b7a4ac60a6aace..d0db3aad94292e13f774c5350e849a404fcc9256 100644 |
| --- a/chrome/installer/mini_installer/BUILD.gn |
| +++ b/chrome/installer/mini_installer/BUILD.gn |
| @@ -68,6 +68,29 @@ source_set("unit_tests") { |
| packed_files_rc_file = "$target_gen_dir/packed_files.rc" |
| +# The runtime deps are used to tell create_installer_archive what component |
| +# DLLs need to be packaged in a component build. |
| +setup_runtime_deps = "$root_gen_dir/setup.runtime_deps" |
| +chrome_runtime_deps = "$root_gen_dir/chrome_component.runtime_deps" |
| + |
| +group("chrome_runtime_deps") { |
| + write_runtime_deps = chrome_runtime_deps |
| + data_deps = [ |
| + "//chrome", |
| + "//chrome:main_dll", |
| + "//chrome/browser/extensions/default_extensions", |
| + "//chrome/installer/setup", |
| + "//third_party/icu:icudata", |
|
gab
2016/06/21 15:15:15
I think you should only need to depend on "chrome_
|
| + ] |
| +} |
| + |
| +group("setup_runtime_deps") { |
| + write_runtime_deps = setup_runtime_deps |
| + data_deps = [ |
| + "//chrome/installer/setup", |
| + ] |
| +} |
| + |
| action("archive") { |
| script = "//chrome/tools/build/win/create_installer_archive.py" |
| @@ -98,6 +121,10 @@ action("archive") { |
| rebase_path(packed_files_rc_file, root_build_dir), |
| "--target_arch=$current_cpu", |
| "--distribution=_google_chrome", |
| + "--component_runtime_deps", |
| + rebase_path(chrome_runtime_deps, root_build_dir), |
| + "--setup_runtime_deps", |
| + rebase_path(setup_runtime_deps, root_build_dir), |
| # Optional arguments to generate diff installer. |
| #'--last_chrome_installer=C:/Temp/base', |
| @@ -109,6 +136,8 @@ action("archive") { |
| ] |
| deps = [ |
| + ":chrome_runtime_deps", |
| + ":setup_runtime_deps", |
| "//chrome", |
| "//chrome:main_dll", |
| "//chrome/browser/extensions/default_extensions", |