| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2012 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 { | |
| 6 'target_defaults': { | |
| 7 'variables': { | |
| 8 'installer_util_target': 0, | |
| 9 }, | |
| 10 'target_conditions': [ | |
| 11 # This part is shared between the two versions of the target. | |
| 12 ['installer_util_target==1', { | |
| 13 'sources': [ | |
| 14 'installer/util/advanced_firewall_manager_win.cc', | |
| 15 'installer/util/advanced_firewall_manager_win.h', | |
| 16 'installer/util/app_command.cc', | |
| 17 'installer/util/app_command.h', | |
| 18 'installer/util/app_commands.cc', | |
| 19 'installer/util/app_commands.h', | |
| 20 'installer/util/app_registration_data.h', | |
| 21 'installer/util/auto_launch_util.cc', | |
| 22 'installer/util/auto_launch_util.h', | |
| 23 'installer/util/beacons.cc', | |
| 24 'installer/util/beacons.h', | |
| 25 'installer/util/browser_distribution.cc', | |
| 26 'installer/util/browser_distribution.h', | |
| 27 'installer/util/callback_work_item.cc', | |
| 28 'installer/util/callback_work_item.h', | |
| 29 'installer/util/channel_info.cc', | |
| 30 'installer/util/channel_info.h', | |
| 31 'installer/util/chrome_frame_distribution.cc', | |
| 32 'installer/util/chrome_frame_distribution.h', | |
| 33 'installer/util/chromium_binaries_distribution.cc', | |
| 34 'installer/util/chromium_binaries_distribution.h', | |
| 35 'installer/util/conditional_work_item_list.cc', | |
| 36 'installer/util/conditional_work_item_list.h', | |
| 37 'installer/util/copy_tree_work_item.cc', | |
| 38 'installer/util/copy_tree_work_item.h', | |
| 39 'installer/util/create_dir_work_item.cc', | |
| 40 'installer/util/create_dir_work_item.h', | |
| 41 'installer/util/create_reg_key_work_item.cc', | |
| 42 'installer/util/create_reg_key_work_item.h', | |
| 43 'installer/util/delete_reg_key_work_item.cc', | |
| 44 'installer/util/delete_reg_key_work_item.h', | |
| 45 'installer/util/delete_reg_value_work_item.cc', | |
| 46 'installer/util/delete_reg_value_work_item.h', | |
| 47 'installer/util/delete_tree_work_item.cc', | |
| 48 'installer/util/delete_tree_work_item.h', | |
| 49 'installer/util/duplicate_tree_detector.cc', | |
| 50 'installer/util/duplicate_tree_detector.h', | |
| 51 'installer/util/firewall_manager_win.cc', | |
| 52 'installer/util/firewall_manager_win.h', | |
| 53 'installer/util/google_chrome_binaries_distribution.cc', | |
| 54 'installer/util/google_chrome_binaries_distribution.h', | |
| 55 'installer/util/google_chrome_sxs_distribution.cc', | |
| 56 'installer/util/google_chrome_sxs_distribution.h', | |
| 57 'installer/util/google_update_constants.cc', | |
| 58 'installer/util/google_update_constants.h', | |
| 59 'installer/util/google_update_settings.cc', | |
| 60 'installer/util/google_update_settings.h', | |
| 61 'installer/util/google_update_util.cc', | |
| 62 'installer/util/google_update_util.h', | |
| 63 'installer/util/helper.cc', | |
| 64 'installer/util/helper.h', | |
| 65 'installer/util/install_util.cc', | |
| 66 'installer/util/install_util.h', | |
| 67 'installer/util/installation_state.cc', | |
| 68 'installer/util/installation_state.h', | |
| 69 'installer/util/installer_state.cc', | |
| 70 'installer/util/installer_state.h', | |
| 71 'installer/util/l10n_string_util.cc', | |
| 72 'installer/util/l10n_string_util.h', | |
| 73 'installer/util/language_selector.cc', | |
| 74 'installer/util/language_selector.h', | |
| 75 'installer/util/legacy_firewall_manager_win.cc', | |
| 76 'installer/util/legacy_firewall_manager_win.h', | |
| 77 'installer/util/master_preferences_constants.cc', | |
| 78 'installer/util/master_preferences_constants.h', | |
| 79 'installer/util/module_util_win.cc', | |
| 80 'installer/util/module_util_win.h', | |
| 81 'installer/util/move_tree_work_item.cc', | |
| 82 'installer/util/move_tree_work_item.h', | |
| 83 'installer/util/non_updating_app_registration_data.cc', | |
| 84 'installer/util/non_updating_app_registration_data.h', | |
| 85 'installer/util/registry_key_backup.cc', | |
| 86 'installer/util/registry_key_backup.h', | |
| 87 'installer/util/self_reg_work_item.cc', | |
| 88 'installer/util/self_reg_work_item.h', | |
| 89 'installer/util/set_reg_value_work_item.cc', | |
| 90 'installer/util/set_reg_value_work_item.h', | |
| 91 'installer/util/updating_app_registration_data.cc', | |
| 92 'installer/util/updating_app_registration_data.h', | |
| 93 'installer/util/util_constants.cc', | |
| 94 'installer/util/util_constants.h', | |
| 95 'installer/util/wmi.cc', | |
| 96 'installer/util/wmi.h', | |
| 97 'installer/util/work_item.cc', | |
| 98 'installer/util/work_item.h', | |
| 99 'installer/util/work_item_list.cc', | |
| 100 'installer/util/work_item_list.h', | |
| 101 ], | |
| 102 'include_dirs': [ | |
| 103 '<(DEPTH)', | |
| 104 ], | |
| 105 }], | |
| 106 ], | |
| 107 }, | |
| 108 'conditions': [ | |
| 109 ['OS=="win"', { | |
| 110 'targets': [ | |
| 111 { | |
| 112 # GN version: //chrome/installer/util | |
| 113 'target_name': 'installer_util', | |
| 114 'type': 'static_library', | |
| 115 'variables': { | |
| 116 'installer_util_target': 1, | |
| 117 }, | |
| 118 'dependencies': [ | |
| 119 'installer_util_strings', | |
| 120 '<(DEPTH)/base/base.gyp:base', | |
| 121 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.g
yp:dynamic_annotations', | |
| 122 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', | |
| 123 '<(DEPTH)/chrome/common_constants.gyp:common_constants', | |
| 124 '<(DEPTH)/components/components.gyp:base32', | |
| 125 '<(DEPTH)/components/components.gyp:metrics', | |
| 126 '<(DEPTH)/components/components.gyp:variations', | |
| 127 '<(DEPTH)/courgette/courgette.gyp:courgette_lib', | |
| 128 '<(DEPTH)/crypto/crypto.gyp:crypto', | |
| 129 '<(DEPTH)/third_party/bspatch/bspatch.gyp:bspatch', | |
| 130 '<(DEPTH)/third_party/crashpad/crashpad/client/client.gyp:crashpad_c
lient', | |
| 131 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | |
| 132 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | |
| 133 '<(DEPTH)/third_party/lzma_sdk/lzma_sdk.gyp:lzma_sdk', | |
| 134 ], | |
| 135 'sources': [ | |
| 136 'installer/util/chrome_binaries_operations.cc', | |
| 137 'installer/util/chrome_binaries_operations.h', | |
| 138 'installer/util/chrome_browser_operations.cc', | |
| 139 'installer/util/chrome_browser_operations.h', | |
| 140 'installer/util/chrome_browser_sxs_operations.cc', | |
| 141 'installer/util/chrome_browser_sxs_operations.h', | |
| 142 'installer/util/chrome_frame_operations.cc', | |
| 143 'installer/util/chrome_frame_operations.h', | |
| 144 'installer/util/compat_checks.cc', | |
| 145 'installer/util/compat_checks.h', | |
| 146 'installer/util/delete_after_reboot_helper.cc', | |
| 147 'installer/util/delete_after_reboot_helper.h', | |
| 148 'installer/util/google_chrome_distribution.cc', | |
| 149 'installer/util/google_chrome_distribution.h', | |
| 150 'installer/util/html_dialog.h', | |
| 151 'installer/util/html_dialog_impl.cc', | |
| 152 'installer/util/installation_validator.cc', | |
| 153 'installer/util/installation_validator.h', | |
| 154 'installer/util/logging_installer.cc', | |
| 155 'installer/util/logging_installer.h', | |
| 156 'installer/util/lzma_util.cc', | |
| 157 'installer/util/lzma_util.h', | |
| 158 'installer/util/lzma_file_allocator.cc', | |
| 159 'installer/util/lzma_file_allocator.h', | |
| 160 'installer/util/master_preferences.cc', | |
| 161 'installer/util/master_preferences.h', | |
| 162 'installer/util/product.cc', | |
| 163 'installer/util/product.h', | |
| 164 'installer/util/product_operations.h', | |
| 165 'installer/util/registry_entry.cc', | |
| 166 'installer/util/registry_entry.h', | |
| 167 "installer/util/scoped_user_protocol_entry.cc", | |
| 168 "installer/util/scoped_user_protocol_entry.h", | |
| 169 'installer/util/self_cleaning_temp_dir.cc', | |
| 170 'installer/util/self_cleaning_temp_dir.h', | |
| 171 'installer/util/shell_util.cc', | |
| 172 'installer/util/shell_util.h', | |
| 173 'installer/util/uninstall_metrics.cc', | |
| 174 'installer/util/uninstall_metrics.h', | |
| 175 'installer/util/user_experiment.cc', | |
| 176 'installer/util/user_experiment.h', | |
| 177 ], | |
| 178 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 179 'msvs_disabled_warnings': [ 4267, ], | |
| 180 'all_dependent_settings': { | |
| 181 'msvs_settings': { | |
| 182 'VCLinkerTool': { | |
| 183 'AdditionalDependencies': [ | |
| 184 'urlmon.lib', | |
| 185 'wbemuuid.lib', | |
| 186 'wtsapi32.lib', | |
| 187 ], | |
| 188 }, | |
| 189 }, | |
| 190 }, | |
| 191 'msvs_settings': { | |
| 192 'VCLinkerTool': { | |
| 193 'AdditionalDependencies': [ | |
| 194 'urlmon.lib', | |
| 195 'wbemuuid.lib', | |
| 196 'wtsapi32.lib', | |
| 197 ], | |
| 198 }, | |
| 199 }, | |
| 200 }, | |
| 201 ], | |
| 202 }], | |
| 203 ['OS=="win" and target_arch=="ia32"', { | |
| 204 'targets': [ | |
| 205 { | |
| 206 'target_name': 'installer_util_nacl_win64', | |
| 207 'type': 'static_library', | |
| 208 'variables': { | |
| 209 'installer_util_target': 1, | |
| 210 }, | |
| 211 'dependencies': [ | |
| 212 'installer_util_strings', | |
| 213 ], | |
| 214 'include_dirs': [ | |
| 215 '<(SHARED_INTERMEDIATE_DIR)', | |
| 216 ], | |
| 217 'sources': [ | |
| 218 # Include |client_info.cc| directly here to avoid having to create a | |
| 219 # metrics_win64 target solely for this purpose. | |
| 220 '../components/metrics/client_info.cc', | |
| 221 '../components/metrics/client_info.h', | |
| 222 'installer/util/google_chrome_distribution_dummy.cc', | |
| 223 'installer/util/master_preferences.h', | |
| 224 'installer/util/master_preferences_dummy.cc', | |
| 225 ], | |
| 226 'configurations': { | |
| 227 'Common_Base': { | |
| 228 'msvs_target_platform': 'x64', | |
| 229 }, | |
| 230 }, | |
| 231 'all_dependent_settings': { | |
| 232 'msvs_settings': { | |
| 233 'VCLinkerTool': { | |
| 234 'AdditionalDependencies': [ | |
| 235 'wbemuuid.lib', | |
| 236 ], | |
| 237 }, | |
| 238 }, | |
| 239 }, | |
| 240 'msvs_settings': { | |
| 241 'VCLinkerTool': { | |
| 242 'AdditionalDependencies': [ | |
| 243 'wbemuuid.lib', | |
| 244 ], | |
| 245 }, | |
| 246 }, | |
| 247 }, | |
| 248 ], | |
| 249 }], | |
| 250 ['OS!="win"', { | |
| 251 'targets': [ | |
| 252 { | |
| 253 # GN version: //chrome/installer/util | |
| 254 'target_name': 'installer_util', | |
| 255 'type': 'static_library', | |
| 256 'dependencies': [ | |
| 257 '<(DEPTH)/base/base.gyp:base', | |
| 258 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', | |
| 259 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', | |
| 260 '<(DEPTH)/components/components.gyp:variations', | |
| 261 ], | |
| 262 'sources': [ | |
| 263 # Note: sources list duplicated in GN build. | |
| 264 'installer/util/master_preferences.cc', | |
| 265 'installer/util/master_preferences.h', | |
| 266 'installer/util/master_preferences_constants.cc', | |
| 267 'installer/util/master_preferences_constants.h', | |
| 268 ], | |
| 269 'include_dirs': [ | |
| 270 '<(DEPTH)', | |
| 271 ], | |
| 272 } | |
| 273 ], | |
| 274 }], | |
| 275 | |
| 276 ], | |
| 277 } | |
| OLD | NEW |