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