Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 static_library("util") { | 5 static_library("util") { |
| 6 deps = [ | 6 deps = [ |
| 7 "//base", | 7 "//base", |
| 8 "//chrome:resources", | 8 "//chrome:resources", |
| 9 "//chrome:strings", | 9 "//chrome:strings", |
| 10 ] | 10 ] |
| 11 | 11 |
| 12 if (is_win) { | 12 if (is_win) { |
| 13 # TODO(GYP) installer_util on Windows. | 13 # TODO(GYP) installer_util on Windows. |
| 14 # This is a bit tricky. It seems that what's currently called | 14 # This is a bit tricky. It seems that what's currently called |
| 15 # installer_util_nacl_win64 should be a different target with a different | 15 # installer_util_nacl_win64 should be a different target with a different |
| 16 # name ("installer_util_minimal"?) since it's not strictly the 64-bit build | 16 # name ("installer_util_minimal"?) since it's not strictly the 64-bit build |
| 17 # of that target. | 17 # of that target. |
| 18 sources = [ | |
| 19 "chrome_app_host_operations.cc", | |
| 20 "chrome_app_host_operations.h", | |
| 21 "chrome_binaries_operations.cc", | |
| 22 "chrome_binaries_operations.h", | |
| 23 "chrome_browser_operations.cc", | |
| 24 "chrome_browser_operations.h", | |
| 25 "chrome_browser_sxs_operations.cc", | |
| 26 "chrome_browser_sxs_operations.h", | |
| 27 "chrome_frame_operations.cc", | |
| 28 "chrome_frame_operations.h", | |
| 29 "compat_checks.cc", | |
| 30 "compat_checks.h", | |
| 31 "delete_after_reboot_helper.cc", | |
| 32 "delete_after_reboot_helper.h", | |
| 33 "eula_util.cc", | |
| 34 "eula_util.h", | |
| 35 "google_chrome_distribution.cc", | |
| 36 "google_chrome_distribution.h", | |
| 37 "html_dialog.h", | |
| 38 "html_dialog_impl.cc", | |
| 39 "installation_validator.cc", | |
| 40 "installation_validator.h", | |
| 41 "logging_installer.cc", | |
| 42 "logging_installer.h", | |
| 43 "lzma_util.cc", | |
| 44 "lzma_util.h", | |
| 45 "master_preferences.cc", | |
| 46 "master_preferences.h", | |
| 47 "product.cc", | |
| 48 "product.h", | |
| 49 "product_operations.h", | |
| 50 "self_cleaning_temp_dir.cc", | |
| 51 "self_cleaning_temp_dir.h", | |
| 52 "shell_util.cc", | |
| 53 "shell_util.h", | |
| 54 "uninstall_metrics.cc", | |
| 55 "uninstall_metrics.h", | |
| 56 "user_experiment.cc", | |
| 57 "user_experiment.h", | |
| 58 ] | |
| 59 deps += [ | |
| 60 ":strings", | |
| 61 "//base/third_party/dynamic_annotations", | |
| 62 "//chrome/common:constants", | |
| 63 "//components/metrics", | |
| 64 "//courgette:courgette_lib", | |
| 65 "//crypto", | |
| 66 "//third_party/bspatch", | |
| 67 "//third_party/icu", | |
| 68 "//third_party/lzma_sdk", | |
| 69 ] | |
| 70 include_dirs = [ "$root_gen_dir/installer_util_strings" ] | |
| 71 | |
| 72 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 73 cflags = [ "/wd4267" ] | |
| 74 | |
| 75 # TODO(GYP) hook up corresponding version of installer_util_nacl_win64 in GN | |
| 76 sources += [ | |
|
Slava Chigrin
2015/01/23 21:29:15
Two blocks of "sources" modifications (first on li
brettw
2015/01/23 21:52:27
Right, I was thinking separating these to make the
| |
| 77 "advanced_firewall_manager_win.cc", | |
| 78 "advanced_firewall_manager_win.h", | |
| 79 "app_command.cc", | |
| 80 "app_command.h", | |
| 81 "app_commands.cc", | |
| 82 "app_commands.h", | |
| 83 "app_registration_data.h", | |
| 84 "auto_launch_util.cc", | |
| 85 "auto_launch_util.h", | |
| 86 "browser_distribution.cc", | |
| 87 "browser_distribution.h", | |
| 88 "callback_work_item.cc", | |
| 89 "callback_work_item.h", | |
| 90 "channel_info.cc", | |
| 91 "channel_info.h", | |
| 92 "chrome_app_host_distribution.cc", | |
| 93 "chrome_app_host_distribution.h", | |
| 94 "chrome_frame_distribution.cc", | |
| 95 "chrome_frame_distribution.h", | |
| 96 "chromium_binaries_distribution.cc", | |
| 97 "chromium_binaries_distribution.h", | |
| 98 "conditional_work_item_list.cc", | |
| 99 "conditional_work_item_list.h", | |
| 100 "copy_tree_work_item.cc", | |
| 101 "copy_tree_work_item.h", | |
| 102 "create_dir_work_item.cc", | |
| 103 "create_dir_work_item.h", | |
| 104 "create_reg_key_work_item.cc", | |
| 105 "create_reg_key_work_item.h", | |
| 106 "delete_reg_key_work_item.cc", | |
| 107 "delete_reg_key_work_item.h", | |
| 108 "delete_reg_value_work_item.cc", | |
| 109 "delete_reg_value_work_item.h", | |
| 110 "delete_tree_work_item.cc", | |
| 111 "delete_tree_work_item.h", | |
| 112 "duplicate_tree_detector.cc", | |
| 113 "duplicate_tree_detector.h", | |
| 114 "firewall_manager_win.cc", | |
| 115 "firewall_manager_win.h", | |
| 116 "google_chrome_binaries_distribution.cc", | |
| 117 "google_chrome_binaries_distribution.h", | |
| 118 "google_chrome_sxs_distribution.cc", | |
| 119 "google_chrome_sxs_distribution.h", | |
| 120 "google_update_constants.cc", | |
| 121 "google_update_constants.h", | |
| 122 "google_update_experiment_util.cc", | |
| 123 "google_update_experiment_util.h", | |
| 124 "google_update_settings.cc", | |
| 125 "google_update_settings.h", | |
| 126 "google_update_util.cc", | |
| 127 "google_update_util.h", | |
| 128 "helper.cc", | |
| 129 "helper.h", | |
| 130 "install_util.cc", | |
| 131 "install_util.h", | |
| 132 "installation_state.cc", | |
| 133 "installation_state.h", | |
| 134 "installer_state.cc", | |
| 135 "installer_state.h", | |
| 136 "l10n_string_util.cc", | |
| 137 "l10n_string_util.h", | |
| 138 "language_selector.cc", | |
| 139 "language_selector.h", | |
| 140 "legacy_firewall_manager_win.cc", | |
| 141 "legacy_firewall_manager_win.h", | |
| 142 "master_preferences_constants.cc", | |
| 143 "master_preferences_constants.h", | |
| 144 "move_tree_work_item.cc", | |
| 145 "move_tree_work_item.h", | |
| 146 "non_updating_app_registration_data.cc", | |
| 147 "non_updating_app_registration_data.h", | |
| 148 "registry_key_backup.cc", | |
| 149 "registry_key_backup.h", | |
| 150 "self_reg_work_item.cc", | |
| 151 "self_reg_work_item.h", | |
| 152 "set_reg_value_work_item.cc", | |
| 153 "set_reg_value_work_item.h", | |
| 154 "updating_app_registration_data.cc", | |
| 155 "updating_app_registration_data.h", | |
| 156 "util_constants.cc", | |
| 157 "util_constants.h", | |
| 158 "wmi.cc", | |
| 159 "wmi.h", | |
| 160 "work_item.cc", | |
| 161 "work_item.h", | |
| 162 "work_item_list.cc", | |
| 163 "work_item_list.h", | |
| 164 ] | |
| 18 } else { | 165 } else { |
| 19 sources = [ | 166 sources = [ |
| 20 "google_update_experiment_util.cc", | 167 "google_update_experiment_util.cc", |
| 21 "google_update_experiment_util.h", | 168 "google_update_experiment_util.h", |
| 22 "master_preferences.cc", | 169 "master_preferences.cc", |
| 23 "master_preferences.h", | 170 "master_preferences.h", |
| 24 "master_preferences_constants.cc", | 171 "master_preferences_constants.cc", |
| 25 "master_preferences_constants.h", | 172 "master_preferences_constants.h", |
| 26 ] | 173 ] |
| 27 } | 174 } |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 49 | 196 |
| 50 args = [ | 197 args = [ |
| 51 "-i", | 198 "-i", |
| 52 rebase_path(grdfile, root_build_dir) + ":resources", | 199 rebase_path(grdfile, root_build_dir) + ":resources", |
| 53 "-n", | 200 "-n", |
| 54 "installer_util_strings", | 201 "installer_util_strings", |
| 55 "-o", | 202 "-o", |
| 56 rebase_path(outdir, root_build_dir), | 203 rebase_path(outdir, root_build_dir), |
| 57 ] | 204 ] |
| 58 } | 205 } |
| OLD | NEW |