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("//chrome/process_version_rc_template.gni") | 5 import("//chrome/process_version_rc_template.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_win) { | 8 if (is_win) { |
9 executable("setup") { | 9 executable("setup") { |
10 sources = [ | 10 sources = [ |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 deps = [ | 24 deps = [ |
25 ":lib", | 25 ":lib", |
26 ":setup_exe_version", | 26 ":setup_exe_version", |
27 "//build/config:exe_and_shlib_deps", | 27 "//build/config:exe_and_shlib_deps", |
28 "//build/win:default_exe_manifest", | 28 "//build/win:default_exe_manifest", |
29 "//chrome/install_static:install_static_util", | 29 "//chrome/install_static:install_static_util", |
30 "//components/crash/content/app:app", | 30 "//components/crash/content/app:app", |
31 "//components/crash/content/app:run_as_crashpad_handler", | 31 "//components/crash/content/app:run_as_crashpad_handler", |
32 ] | 32 ] |
| 33 |
| 34 libs = [ "netapi32.lib" ] |
33 } | 35 } |
34 | 36 |
35 static_library("lib") { | 37 static_library("lib") { |
36 sources = [ | 38 sources = [ |
37 "archive_patch_helper.cc", | 39 "archive_patch_helper.cc", |
38 "archive_patch_helper.h", | 40 "archive_patch_helper.h", |
39 "install.cc", | 41 "install.cc", |
40 "install.h", | 42 "install.h", |
41 "install_worker.cc", | 43 "install_worker.cc", |
42 "install_worker.h", | 44 "install_worker.h", |
(...skipping 10 matching lines...) Expand all Loading... |
53 "setup_constants.cc", | 55 "setup_constants.cc", |
54 "setup_constants.h", | 56 "setup_constants.h", |
55 "setup_install_details.cc", | 57 "setup_install_details.cc", |
56 "setup_install_details.h", | 58 "setup_install_details.h", |
57 "setup_singleton.cc", | 59 "setup_singleton.cc", |
58 "setup_singleton.h", | 60 "setup_singleton.h", |
59 "setup_util.cc", | 61 "setup_util.cc", |
60 "setup_util.h", | 62 "setup_util.h", |
61 "update_active_setup_version_work_item.cc", | 63 "update_active_setup_version_work_item.cc", |
62 "update_active_setup_version_work_item.h", | 64 "update_active_setup_version_work_item.h", |
| 65 "user_experiment.cc", |
| 66 "user_experiment.h", |
63 "user_hive_visitor.cc", | 67 "user_hive_visitor.cc", |
64 "user_hive_visitor.h", | 68 "user_hive_visitor.h", |
65 ] | 69 ] |
66 | 70 |
67 public_deps = [ | 71 public_deps = [ |
68 "//base", | 72 "//base", |
69 "//chrome/common:constants", | 73 "//chrome/common:constants", |
70 "//chrome/common:version_header", | 74 "//chrome/common:version_header", |
71 "//chrome/install_static:install_static_util", | 75 "//chrome/install_static:install_static_util", |
72 "//chrome/installer/util:with_rc_strings", | 76 "//chrome/installer/util:with_rc_strings", |
73 "//chrome_elf:constants", | 77 "//chrome_elf:constants", |
74 "//components/base32", | 78 "//components/base32", |
75 "//components/crash/content/app:app", | 79 "//components/crash/content/app:app", |
76 "//components/crash/content/app:lib", | 80 "//components/crash/content/app:lib", |
77 "//components/crash/core/common", | 81 "//components/crash/core/common", |
78 "//content/public/common:static_switches", | 82 "//content/public/common:static_switches", |
79 "//courgette:courgette_lib", | 83 "//courgette:courgette_lib", |
80 "//rlz:rlz_lib", | 84 "//rlz:rlz_lib", |
81 "//third_party/bspatch", | 85 "//third_party/bspatch", |
82 "//third_party/zlib", | 86 "//third_party/zlib", |
| 87 "//ui/base:fullscreen_win", |
83 ] | 88 ] |
84 } | 89 } |
85 | 90 |
86 process_version_rc_template("setup_exe_version") { | 91 process_version_rc_template("setup_exe_version") { |
87 template_file = "setup_exe_version.rc.version" | 92 template_file = "setup_exe_version.rc.version" |
88 output = "$target_gen_dir/setup_exe_version.rc" | 93 output = "$target_gen_dir/setup_exe_version.rc" |
89 } | 94 } |
90 | 95 |
91 # This test covers the mini installer and setup tests. | 96 # This test covers the mini installer and setup tests. |
92 test("setup_unittests") { | 97 test("setup_unittests") { |
93 sources = [ | 98 sources = [ |
94 "archive_patch_helper_unittest.cc", | 99 "archive_patch_helper_unittest.cc", |
95 "install_unittest.cc", | 100 "install_unittest.cc", |
96 "install_worker_unittest.cc", | 101 "install_worker_unittest.cc", |
97 "installer_state_unittest.cc", | 102 "installer_state_unittest.cc", |
98 "memory_unittest.cc", | 103 "memory_unittest.cc", |
99 "progress_calculator_unittest.cc", | 104 "progress_calculator_unittest.cc", |
100 "run_all_unittests.cc", | 105 "run_all_unittests.cc", |
101 "setup_install_details_unittest.cc", | 106 "setup_install_details_unittest.cc", |
102 "setup_singleton_unittest.cc", | 107 "setup_singleton_unittest.cc", |
103 "setup_util_unittest.cc", | 108 "setup_util_unittest.cc", |
104 "setup_util_unittest.h", | 109 "setup_util_unittest.h", |
105 "update_active_setup_version_work_item_unittest.cc", | 110 "update_active_setup_version_work_item_unittest.cc", |
| 111 "user_experiment_unittest.cc", |
106 "user_hive_visitor_unittest.cc", | 112 "user_hive_visitor_unittest.cc", |
107 ] | 113 ] |
108 | 114 |
109 deps = [ | 115 deps = [ |
110 ":lib", | 116 ":lib", |
111 "//base", | 117 "//base", |
112 "//base:i18n", | 118 "//base:i18n", |
113 "//base/allocator:features", | 119 "//base/allocator:features", |
114 "//base/test:test_support", | 120 "//base/test:test_support", |
115 "//chrome/install_static:install_static_util", | 121 "//chrome/install_static:install_static_util", |
116 "//chrome/install_static/test:test_support", | 122 "//chrome/install_static/test:test_support", |
117 "//chrome/installer/mini_installer:unit_tests", | 123 "//chrome/installer/mini_installer:unit_tests", |
118 "//chrome/installer/util:test_support", | 124 "//chrome/installer/util:test_support", |
119 "//testing/gmock", | 125 "//testing/gmock", |
120 "//testing/gtest", | 126 "//testing/gtest", |
121 ] | 127 ] |
122 | 128 |
123 data = [ | 129 data = [ |
124 "//chrome/installer/test/data/", | 130 "//chrome/installer/test/data/", |
125 "//chrome/test/data/installer/", | 131 "//chrome/test/data/installer/", |
126 ] | 132 ] |
| 133 |
| 134 libs = [ "netapi32.lib" ] |
127 } | 135 } |
128 } | 136 } |
OLD | NEW |