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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 if (is_win) { | 7 if (is_win) { |
8 executable("setup") { | 8 executable("setup") { |
9 sources = [ | 9 sources = [ |
10 "setup.ico", | 10 "setup.ico", |
11 "setup.rc", | 11 "setup.rc", |
12 "setup_exe_version.rc.version", | 12 "setup_exe_version.rc.version", |
13 "setup_main.cc", | 13 "setup_main.cc", |
14 "setup_main.h", | 14 "setup_main.h", |
15 "setup_resource.h", | 15 "setup_resource.h", |
16 "uninstall.cc", | 16 "uninstall.cc", |
17 "uninstall.h", | 17 "uninstall.h", |
18 ] | 18 ] |
19 | 19 |
20 configs -= [ "//build/config/win:console" ] | 20 configs -= [ "//build/config/win:console" ] |
21 configs += [ "//build/config/win:windowed" ] | 21 configs += [ "//build/config/win:windowed" ] |
22 | 22 |
23 deps = [ | 23 deps = [ |
24 ":lib", | 24 ":lib", |
25 "//base/allocator", | 25 "//base/allocator", |
26 "//build/config/sanitizers:deps", | 26 "//build/config/sanitizers:deps", |
27 "//components/crash/content/app", | |
28 ] | 27 ] |
29 } | 28 } |
30 | 29 |
31 source_set("lib") { | 30 source_set("lib") { |
32 sources = [ | 31 sources = [ |
33 "app_launcher_installer.cc", | 32 "app_launcher_installer.cc", |
34 "app_launcher_installer.h", | 33 "app_launcher_installer.h", |
35 "archive_patch_helper.cc", | 34 "archive_patch_helper.cc", |
36 "archive_patch_helper.h", | 35 "archive_patch_helper.h", |
37 "install.cc", | 36 "install.cc", |
38 "install.h", | 37 "install.h", |
39 "install_worker.cc", | 38 "install_worker.cc", |
40 "install_worker.h", | 39 "install_worker.h", |
41 "installer_crash_reporter_client.cc", | 40 "installer_crash_reporter_client.cc", |
42 "installer_crash_reporter_client.h", | 41 "installer_crash_reporter_client.h", |
| 42 "installer_crash_reporting.cc", |
| 43 "installer_crash_reporting.h", |
43 "setup_constants.cc", | 44 "setup_constants.cc", |
44 "setup_constants.h", | 45 "setup_constants.h", |
45 "setup_util.cc", | 46 "setup_util.cc", |
46 "setup_util.h", | 47 "setup_util.h", |
47 "update_active_setup_version_work_item.cc", | 48 "update_active_setup_version_work_item.cc", |
48 "update_active_setup_version_work_item.h", | 49 "update_active_setup_version_work_item.h", |
49 ] | 50 ] |
50 | 51 |
51 public_deps = [ | 52 public_deps = [ |
52 "//base", | 53 "//base", |
53 "//chrome/common:constants", | 54 "//chrome/common:constants", |
54 "//chrome/common:version_header", | 55 "//chrome/common:version_header", |
55 "//chrome/installer/util", | 56 "//chrome/installer/util", |
56 "//chrome_elf:constants", | 57 "//chrome_elf:constants", |
| 58 "//components/crash/content/app", |
57 "//components/crash/content/app:lib", | 59 "//components/crash/content/app:lib", |
58 "//components/crash/core/common", | 60 "//components/crash/core/common", |
59 "//courgette:courgette_lib", | 61 "//courgette:courgette_lib", |
60 "//rlz:rlz_lib", | 62 "//rlz:rlz_lib", |
61 "//third_party/bspatch", | 63 "//third_party/bspatch", |
62 "//third_party/zlib", | 64 "//third_party/zlib", |
63 ] | 65 ] |
64 } | 66 } |
65 | 67 |
66 # This test covers the mini installer and setup tests. | 68 # This test covers the mini installer and setup tests. |
(...skipping 16 matching lines...) Expand all Loading... |
83 "//base/allocator", | 85 "//base/allocator", |
84 "//base/test:test_support", | 86 "//base/test:test_support", |
85 "//chrome/installer/mini_installer:unit_tests", | 87 "//chrome/installer/mini_installer:unit_tests", |
86 "//chrome/installer/util:strings", | 88 "//chrome/installer/util:strings", |
87 "//chrome/installer/util:util", | 89 "//chrome/installer/util:util", |
88 "//testing/gmock", | 90 "//testing/gmock", |
89 "//testing/gtest", | 91 "//testing/gtest", |
90 ] | 92 ] |
91 } | 93 } |
92 } | 94 } |
OLD | NEW |