OLD | NEW |
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 | 10 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 # Optional arguments to generate diff installer. | 109 # Optional arguments to generate diff installer. |
110 #'--last_chrome_installer=C:/Temp/base', | 110 #'--last_chrome_installer=C:/Temp/base', |
111 #'--setup_exe_format=DIFF', | 111 #'--setup_exe_format=DIFF', |
112 #'--diff_algorithm=COURGETTE', | 112 #'--diff_algorithm=COURGETTE', |
113 | 113 |
114 # Optional argument for verbose archiving output. | 114 # Optional argument for verbose archiving output. |
115 #'--verbose', | 115 #'--verbose', |
116 ] | 116 ] |
117 | 117 |
| 118 deps = [ |
| 119 "//chrome", |
| 120 "//chrome:main_dll", |
| 121 "//chrome/browser/extensions/default_extensions", |
| 122 "//chrome/installer/setup", |
| 123 "//third_party/icu:icudata", |
| 124 |
| 125 #"../chrome.gyp:chrome_nacl_win64", TODO(GYP) bug 512869. |
| 126 ] |
| 127 |
118 if (enable_hidpi) { | 128 if (enable_hidpi) { |
119 args += [ "--enable_hidpi=1" ] | 129 args += [ "--enable_hidpi=1" ] |
120 } | 130 } |
121 if (is_component_build) { | 131 if (is_component_build) { |
122 args += [ "--component_build=1" ] | 132 args += [ "--component_build=1" ] |
123 } else { | 133 } else { |
124 outputs += [ "$root_out_dir/chrome.packed.7z" ] | 134 outputs += [ "$root_out_dir/chrome.packed.7z" ] |
125 } | 135 } |
126 | 136 |
127 if (enable_nacl) { | 137 if (enable_nacl) { |
(...skipping 10 matching lines...) Expand all Loading... |
138 inputs += [ "$root_out_dir/icudtl.dat" ] | 148 inputs += [ "$root_out_dir/icudtl.dat" ] |
139 } else { | 149 } else { |
140 inputs += [ "$root_out_dir/icudt.dll" ] | 150 inputs += [ "$root_out_dir/icudt.dll" ] |
141 } | 151 } |
142 | 152 |
143 if (v8_use_external_startup_data) { | 153 if (v8_use_external_startup_data) { |
144 inputs += [ | 154 inputs += [ |
145 "$root_out_dir/natives_blob.bin", | 155 "$root_out_dir/natives_blob.bin", |
146 "$root_out_dir/snapshot_blob.bin", | 156 "$root_out_dir/snapshot_blob.bin", |
147 ] | 157 ] |
| 158 deps += [ "//v8" ] |
148 } | 159 } |
149 | 160 |
150 depfile = "$target_gen_dir/archive.d" | 161 depfile = "$target_gen_dir/archive.d" |
151 args += [ | 162 args += [ |
152 "--depfile", | 163 "--depfile", |
153 rebase_path(depfile, root_build_dir), | 164 rebase_path(depfile, root_build_dir), |
154 ] | 165 ] |
155 | 166 |
156 deps = [ | |
157 "//chrome", | |
158 "//chrome:main_dll", | |
159 "//chrome/browser/extensions/default_extensions", | |
160 "//chrome/installer/setup", | |
161 "//third_party/icu:icudata", | |
162 | |
163 #"../chrome.gyp:chrome_nacl_win64", TODO(GYP) bug 512869. | |
164 ] | |
165 | |
166 if (enable_nacl) { | 167 if (enable_nacl) { |
167 deps += [ "//ppapi/native_client:irt" ] | 168 deps += [ "//ppapi/native_client:irt" ] |
168 } | 169 } |
169 } | 170 } |
170 | 171 |
171 # TODO(GYP) bug 521052: This target needs to be checked to make sure its the | 172 # TODO(GYP) bug 521052: This target needs to be checked to make sure its the |
172 # same size as the GYP build. | 173 # same size as the GYP build. |
173 executable("mini_installer") { | 174 executable("mini_installer") { |
174 sources = [ | 175 sources = [ |
175 "mini_installer.cc", | 176 "mini_installer.cc", |
(...skipping 21 matching lines...) Expand all Loading... |
197 libs = [ "setupapi.lib" ] | 198 libs = [ "setupapi.lib" ] |
198 | 199 |
199 deps = [ | 200 deps = [ |
200 ":archive", | 201 ":archive", |
201 ":lib", | 202 ":lib", |
202 ":version", | 203 ":version", |
203 "//build/config/sanitizers:deps", | 204 "//build/config/sanitizers:deps", |
204 "//build/win:default_exe_manifest", | 205 "//build/win:default_exe_manifest", |
205 ] | 206 ] |
206 } | 207 } |
OLD | NEW |