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 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 Loading... | |
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 setup_runtime_deps = "$root_gen_dir/setup.runtime_deps" | |
74 chrome_runtime_deps = "$root_gen_dir/chrome_component.runtime_deps" | |
gab
2016/06/22 14:04:20
nit: flip order here so they are declared in same
| |
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 Loading... | |
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 "--component_runtime_deps", | |
gab
2016/06/22 14:04:20
Actually since this param is passed even in non-co
| |
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 Loading... | |
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 } |
OLD | NEW |