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

Side by Side Diff: chrome/installer/mini_installer/BUILD.gn

Issue 2075863003: Use runtime_deps to tell create_installer_archive what dlls to copy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit fixes Created 4 years, 6 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 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/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//build_overrides/v8.gni") 7 import("//build_overrides/v8.gni")
8 import("//chrome/version.gni") 8 import("//chrome/version.gni")
9 import("//third_party/icu/config.gni") 9 import("//third_party/icu/config.gni")
10 import("//ui/base/ui_features.gni") 10 import("//ui/base/ui_features.gni")
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 ":lib", 61 ":lib",
62 ] 62 ]
63 deps = [ 63 deps = [
64 "//base", 64 "//base",
65 "//testing/gtest", 65 "//testing/gtest",
66 ] 66 ]
67 } 67 }
68 68
69 packed_files_rc_file = "$target_gen_dir/packed_files.rc" 69 packed_files_rc_file = "$target_gen_dir/packed_files.rc"
70 70
71 # The runtime deps are used to tell create_installer_archive what component
72 # DLLs need to be packaged in a component build.
73 chrome_runtime_deps = "$root_gen_dir/chrome_component.runtime_deps"
74 setup_runtime_deps = "$root_gen_dir/setup.runtime_deps"
75
76 group("chrome_runtime_deps") {
77 write_runtime_deps = chrome_runtime_deps
78 data_deps = [
79 "//chrome",
80 ]
81 }
82
83 group("setup_runtime_deps") {
84 write_runtime_deps = setup_runtime_deps
85 data_deps = [
86 "//chrome/installer/setup",
87 ]
88 }
89
71 action("archive") { 90 action("archive") {
72 script = "//chrome/tools/build/win/create_installer_archive.py" 91 script = "//chrome/tools/build/win/create_installer_archive.py"
73 92
74 release_file = "chrome.release" 93 release_file = "chrome.release"
75 94
76 inputs = [ 95 inputs = [
77 "$root_out_dir/chrome.exe", 96 "$root_out_dir/chrome.exe",
78 "$root_out_dir/chrome.dll", 97 "$root_out_dir/chrome.dll",
79 "$root_out_dir/locales/en-US.pak", 98 "$root_out_dir/locales/en-US.pak",
80 "$root_out_dir/setup.exe", 99 "$root_out_dir/setup.exe",
(...skipping 10 matching lines...) Expand all
91 "--build_dir", 110 "--build_dir",
92 rebase_path(root_out_dir, root_build_dir), 111 rebase_path(root_out_dir, root_build_dir),
93 "--staging_dir", 112 "--staging_dir",
94 rebase_path(root_gen_dir, root_build_dir), 113 rebase_path(root_gen_dir, root_build_dir),
95 "--input_file", 114 "--input_file",
96 rebase_path(release_file, root_build_dir), 115 rebase_path(release_file, root_build_dir),
97 "--resource_file_path", 116 "--resource_file_path",
98 rebase_path(packed_files_rc_file, root_build_dir), 117 rebase_path(packed_files_rc_file, root_build_dir),
99 "--target_arch=$current_cpu", 118 "--target_arch=$current_cpu",
100 "--distribution=_google_chrome", 119 "--distribution=_google_chrome",
120 "--chrome_runtime_deps",
121 rebase_path(chrome_runtime_deps, root_build_dir),
122 "--setup_runtime_deps",
123 rebase_path(setup_runtime_deps, root_build_dir),
101 124
102 # Optional arguments to generate diff installer. 125 # Optional arguments to generate diff installer.
103 #'--last_chrome_installer=C:/Temp/base', 126 #'--last_chrome_installer=C:/Temp/base',
104 #'--setup_exe_format=DIFF', 127 #'--setup_exe_format=DIFF',
105 #'--diff_algorithm=COURGETTE', 128 #'--diff_algorithm=COURGETTE',
106 129
107 # Optional argument for verbose archiving output. 130 # Optional argument for verbose archiving output.
108 #'--verbose', 131 #'--verbose',
109 ] 132 ]
110 133
111 deps = [ 134 deps = [
135 ":chrome_runtime_deps",
136 ":setup_runtime_deps",
112 "//chrome", 137 "//chrome",
113 "//chrome:main_dll", 138 "//chrome:main_dll",
114 "//chrome/browser/extensions/default_extensions", 139 "//chrome/browser/extensions/default_extensions",
115 "//chrome/installer/setup", 140 "//chrome/installer/setup",
116 "//third_party/icu:icudata", 141 "//third_party/icu:icudata",
117 ] 142 ]
118 143
119 if (enable_hidpi) { 144 if (enable_hidpi) {
120 args += [ "--enable_hidpi=1" ] 145 args += [ "--enable_hidpi=1" ]
121 } 146 }
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 args = [ 242 args = [
218 "--out", 243 "--out",
219 "$target_name.exe", 244 "$target_name.exe",
220 ] 245 ]
221 deps = [ 246 deps = [
222 ":mini_installer", 247 ":mini_installer",
223 "//chrome/installer/test:alternate_version_generator", 248 "//chrome/installer/test:alternate_version_generator",
224 ] 249 ]
225 } 250 }
226 } 251 }
OLDNEW
« no previous file with comments | « no previous file | chrome/tools/build/win/create_installer_archive.py » ('j') | chrome/tools/build/win/create_installer_archive.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698