| 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 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 static_library("util") { | 8 static_library("util") { |
| 9 deps = [ | 9 deps = [ |
| 10 "//base", | 10 "//base", |
| 11 "//chrome:strings", | 11 "//chrome:strings", |
| 12 "//chrome/common:constants", | 12 "//chrome/common:constants", |
| 13 "//chrome/common:result_codes", | |
| 14 "//components/variations", | 13 "//components/variations", |
| 15 "//content/public/common:result_codes", | 14 "//content/public/common:result_codes", |
| 16 ] | 15 ] |
| 17 | 16 |
| 18 if (is_win) { | 17 if (is_win) { |
| 19 # TODO(GYP) installer_util on Windows. | 18 # TODO(GYP) installer_util on Windows. |
| 20 # This is a bit tricky. It seems that what's currently called | 19 # This is a bit tricky. It seems that what's currently called |
| 21 # installer_util_nacl_win64 should be a different target with a different | 20 # installer_util_nacl_win64 should be a different target with a different |
| 22 # name ("installer_util_minimal"?) since it's not strictly the 64-bit build | 21 # name ("installer_util_minimal"?) since it's not strictly the 64-bit build |
| 23 # of that target. | 22 # of that target. |
| (...skipping 27 matching lines...) Expand all Loading... |
| 51 "product_operations.h", | 50 "product_operations.h", |
| 52 "self_cleaning_temp_dir.cc", | 51 "self_cleaning_temp_dir.cc", |
| 53 "self_cleaning_temp_dir.h", | 52 "self_cleaning_temp_dir.h", |
| 54 "shell_util.cc", | 53 "shell_util.cc", |
| 55 "shell_util.h", | 54 "shell_util.h", |
| 56 "uninstall_metrics.cc", | 55 "uninstall_metrics.cc", |
| 57 "uninstall_metrics.h", | 56 "uninstall_metrics.h", |
| 58 "user_experiment.cc", | 57 "user_experiment.cc", |
| 59 "user_experiment.h", | 58 "user_experiment.h", |
| 60 ] | 59 ] |
| 60 |
| 61 public_deps = [ |
| 62 ":strings", |
| 63 ] |
| 61 deps += [ | 64 deps += [ |
| 62 ":strings", | |
| 63 "//base/third_party/dynamic_annotations", | 65 "//base/third_party/dynamic_annotations", |
| 64 "//components/metrics", | 66 "//components/metrics", |
| 65 "//courgette:courgette_lib", | 67 "//courgette:courgette_lib", |
| 66 "//crypto", | 68 "//crypto", |
| 67 "//third_party/bspatch", | 69 "//third_party/bspatch", |
| 68 "//third_party/icu", | 70 "//third_party/icu", |
| 69 "//third_party/lzma_sdk", | 71 "//third_party/lzma_sdk", |
| 70 ] | 72 ] |
| 71 | 73 |
| 72 configs += [ | 74 configs += [ |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 "-n", | 201 "-n", |
| 200 "installer_util_strings", | 202 "installer_util_strings", |
| 201 "-o", | 203 "-o", |
| 202 rebase_path(target_gen_dir, root_build_dir), | 204 rebase_path(target_gen_dir, root_build_dir), |
| 203 ] | 205 ] |
| 204 } | 206 } |
| 205 | 207 |
| 206 # Compile the generated .rc file. | 208 # Compile the generated .rc file. |
| 207 source_set("strings") { | 209 source_set("strings") { |
| 208 sources = get_target_outputs(":generate_strings") | 210 sources = get_target_outputs(":generate_strings") |
| 209 deps = [ | 211 public_deps = [ |
| 210 ":generate_strings", | 212 ":generate_strings", |
| 211 ] | 213 ] |
| 212 } | 214 } |
| 213 | 215 |
| 214 if (is_win) { | 216 if (is_win) { |
| 215 test("installer_util_unittests") { | 217 test("installer_util_unittests") { |
| 216 sources = [ | 218 sources = [ |
| 217 "../setup/compat_checks_unittest.cc", | 219 "../setup/compat_checks_unittest.cc", |
| 218 "../setup/setup_constants.cc", | 220 "../setup/setup_constants.cc", |
| 219 "advanced_firewall_manager_win_unittest.cc", | 221 "advanced_firewall_manager_win_unittest.cc", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 ] | 263 ] |
| 262 | 264 |
| 263 deps = [ | 265 deps = [ |
| 264 ":strings", | 266 ":strings", |
| 265 ":util", | 267 ":util", |
| 266 "//base", | 268 "//base", |
| 267 "//base:i18n", | 269 "//base:i18n", |
| 268 "//base/test:test_support", | 270 "//base/test:test_support", |
| 269 "//chrome:other_version", | 271 "//chrome:other_version", |
| 270 "//chrome/common", | 272 "//chrome/common", |
| 273 "//chrome/installer/setup:lib", |
| 271 "//chrome/installer/test:alternate_version_generator_lib", | 274 "//chrome/installer/test:alternate_version_generator_lib", |
| 272 "//components/variations", | 275 "//components/variations", |
| 273 "//content/public/common", | 276 "//content/public/common", |
| 274 | 277 |
| 275 # TODO(rockot): Remove this hack when we fix mojo environment deps. | 278 # TODO(rockot): Remove this hack when we fix mojo environment deps. |
| 276 # See http://crbug.com/501385 | 279 # See http://crbug.com/501385 |
| 277 "//mojo/environment:chromium", | 280 "//mojo/environment:chromium", |
| 278 "//testing/gmock", | 281 "//testing/gmock", |
| 279 "//testing/gtest", | 282 "//testing/gtest", |
| 280 ] | 283 ] |
| 281 | 284 |
| 282 # TODO(GYP) manifest: $(ProjectDir)\\installer\\mini_installer\\mini_install
er.exe.manifest | 285 # TODO(GYP) manifest: $(ProjectDir)\\installer\\mini_installer\\mini_install
er.exe.manifest |
| 283 } | 286 } |
| 284 } # is_win | 287 } # is_win |
| OLD | NEW |