[email protected] | 743530f | 2014-06-12 19:38:50 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
James Cook | 209256f | 2018-12-07 18:40:50 | [diff] [blame] | 5 | import("//build/buildflag_header.gni") |
Ben Pastene | c60bf502 | 2018-05-04 01:10:33 | [diff] [blame] | 6 | import("//build/config/chromeos/rules.gni") |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 7 | import("//build/config/ui.gni") |
qsr | fb5251d1 | 2015-01-21 15:57:22 | [diff] [blame] | 8 | import("//testing/test.gni") |
[email protected] | 743530f | 2014-06-12 19:38:50 | [diff] [blame] | 9 | import("//third_party/protobuf/proto_library.gni") |
| 10 | |
A Olsen | 9457984 | 2018-10-10 19:22:31 | [diff] [blame] | 11 | assert(is_chromeos, "Non-Chrome-OS builds must not depend on //chromeos") |
mukai | 327e5f5 | 2014-10-16 19:10:52 | [diff] [blame] | 12 | |
A Olsen | 37962d2e | 2018-10-12 15:05:18 | [diff] [blame] | 13 | # Used by targets that compile into the implementation. |
| 14 | config("chromeos_implementation") { |
| 15 | defines = [ "CHROMEOS_IMPLEMENTATION" ] |
| 16 | } |
| 17 | |
James Cook | 209256f | 2018-12-07 18:40:50 | [diff] [blame] | 18 | buildflag_header("chromeos_buildflags") { |
| 19 | header = "chromeos_buildflags.h" |
| 20 | flags = [ "IS_CROS_CHROME_SDK=$is_cros_chrome_sdk" ] |
| 21 | } |
| 22 | |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 23 | component("chromeos") { |
A Olsen | 37962d2e | 2018-10-12 15:05:18 | [diff] [blame] | 24 | configs += [ |
| 25 | ":chromeos_implementation", |
James Cook | c3828a4 | 2018-11-28 23:33:23 | [diff] [blame] | 26 | "//build/config/linux/nss:system_nss_no_ssl_config", |
A Olsen | 37962d2e | 2018-10-12 15:05:18 | [diff] [blame] | 27 | ] |
scottmg | 34fb7e5 | 2014-12-03 23:27:24 | [diff] [blame] | 28 | public_deps = [ |
Steven Bennetts | 37852ef | 2019-03-06 00:32:23 | [diff] [blame] | 29 | "//chromeos/constants", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 30 | ] |
| 31 | deps = [ |
Steven Bennetts | cc799d4 | 2019-01-11 19:31:40 | [diff] [blame] | 32 | ":chromeos_export", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 33 | "//base", |
Nico Weber | a3d0a42 | 2015-01-20 21:46:21 | [diff] [blame] | 34 | "//base:i18n", |
Abhishek Bhardwaj | d98628e | 2019-02-27 03:17:21 | [diff] [blame] | 35 | "//chromeos/dbus", |
Steven Bennetts | 37852ef | 2019-03-06 00:32:23 | [diff] [blame] | 36 | "//chromeos/dbus/constants", |
agrieve | d7a71c88 | 2015-11-20 19:53:28 | [diff] [blame] | 37 | "//components/policy/proto", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 38 | "//google_apis", |
Abhishek Bhardwaj | d98628e | 2019-02-27 03:17:21 | [diff] [blame] | 39 | "//services/device/public/mojom", |
Luum Habtemariam | b30c811 | 2018-06-25 21:51:22 | [diff] [blame] | 40 | "//services/network/public/cpp:cpp", |
Abhishek Bhardwaj | d98628e | 2019-02-27 03:17:21 | [diff] [blame] | 41 | "//services/service_manager/public/cpp", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 42 | "//third_party/protobuf:protobuf_lite", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 43 | ] |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 44 | sources = [ |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 45 | "app_mode/kiosk_oem_manifest_parser.cc", |
| 46 | "app_mode/kiosk_oem_manifest_parser.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 47 | "hugepage_text/hugepage_text.cc", |
| 48 | "hugepage_text/hugepage_text.h", |
A Olsen | d994a4c | 2018-10-02 11:35:30 | [diff] [blame] | 49 | "policy/weekly_time/time_utils.cc", |
| 50 | "policy/weekly_time/time_utils.h", |
| 51 | "policy/weekly_time/weekly_time.cc", |
| 52 | "policy/weekly_time/weekly_time.h", |
| 53 | "policy/weekly_time/weekly_time_interval.cc", |
| 54 | "policy/weekly_time/weekly_time_interval.h", |
Luum Habtemariam | 2cbe835 | 2019-01-25 20:57:52 | [diff] [blame] | 55 | "printing/epson_driver_matching.cc", |
| 56 | "printing/epson_driver_matching.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 57 | "printing/ppd_cache.cc", |
| 58 | "printing/ppd_cache.h", |
Justin Carlson | 781f77e21 | 2017-11-15 22:32:31 | [diff] [blame] | 59 | "printing/ppd_line_reader.cc", |
| 60 | "printing/ppd_line_reader.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 61 | "printing/ppd_provider.cc", |
| 62 | "printing/ppd_provider.h", |
| 63 | "printing/printer_configuration.cc", |
| 64 | "printing/printer_configuration.h", |
| 65 | "printing/printer_translator.cc", |
| 66 | "printing/printer_translator.h", |
David Valleau | 03e6fa6b | 2018-01-19 02:54:26 | [diff] [blame] | 67 | "printing/uri_components.cc", |
| 68 | "printing/uri_components.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 69 | "process_proxy/process_output_watcher.cc", |
| 70 | "process_proxy/process_output_watcher.h", |
| 71 | "process_proxy/process_proxy.cc", |
| 72 | "process_proxy/process_proxy.h", |
| 73 | "process_proxy/process_proxy_registry.cc", |
| 74 | "process_proxy/process_proxy_registry.h", |
sque | a15eba14 | 2017-04-25 15:41:36 | [diff] [blame] | 75 | "system/cpu_temperature_reader.cc", |
| 76 | "system/cpu_temperature_reader.h", |
Abhishek Bhardwaj | d98628e | 2019-02-27 03:17:21 | [diff] [blame] | 77 | "system/dark_resume_controller.cc", |
| 78 | "system/dark_resume_controller.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 79 | "system/devicemode.cc", |
| 80 | "system/devicemode.h", |
Pavol Marko | ac1f561 | 2018-05-19 21:44:59 | [diff] [blame] | 81 | "system/factory_ping_embargo_check.cc", |
| 82 | "system/factory_ping_embargo_check.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 83 | |
| 84 | # Used when running mash, both on Linux and on real devices. |
| 85 | "system/fake_statistics_provider.cc", |
| 86 | "system/fake_statistics_provider.h", |
| 87 | "system/name_value_pairs_parser.cc", |
| 88 | "system/name_value_pairs_parser.h", |
| 89 | "system/statistics_provider.cc", |
| 90 | "system/statistics_provider.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 91 | ] |
agrieve | c50a654 | 2016-06-09 03:44:09 | [diff] [blame] | 92 | if (current_cpu == "arm" || current_cpu == "x86") { |
A Olsen | 37962d2e | 2018-10-12 15:05:18 | [diff] [blame] | 93 | defines = [ "BINDER_IPC_32BIT" ] |
hashimoto | aa1465a | 2015-12-11 06:19:59 | [diff] [blame] | 94 | } |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 95 | } |
| 96 | |
A Olsen | 9457984 | 2018-10-10 19:22:31 | [diff] [blame] | 97 | source_set("chromeos_export") { |
| 98 | deps = [ |
| 99 | "//base", |
| 100 | ] |
| 101 | sources = [ |
| 102 | "chromeos_export.h", |
| 103 | ] |
| 104 | } |
| 105 | |
skau | 65455b5a0 | 2016-08-03 20:16:38 | [diff] [blame] | 106 | # This must be a static library instead of a source set because some of the |
brettw | c4e6a0f | 2015-08-27 18:28:32 | [diff] [blame] | 107 | # files pull in things with dependencies that aren't linked in all cases. |
| 108 | # |
| 109 | # TODO this should probably be changed such that it links in all cases and |
| 110 | # can be converted to a source set. |
Brett Wilson | 16eb70c | 2015-08-22 21:08:09 | [diff] [blame] | 111 | static_library("test_support") { |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 112 | testonly = true |
A Olsen | 9457984 | 2018-10-10 19:22:31 | [diff] [blame] | 113 | public_deps = [ |
| 114 | ":test_support_source_set", |
| 115 | ] |
| 116 | } |
| 117 | |
| 118 | source_set("test_support_source_set") { |
| 119 | testonly = true |
Brett Wilson | 817fec0 | 2015-08-22 20:36:49 | [diff] [blame] | 120 | public_deps = [ |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 121 | ":chromeos", |
Steven Bennetts | 8e97939f | 2019-01-11 16:11:31 | [diff] [blame] | 122 | ":test_utils", |
oshima | 3f959fa8 | 2016-05-02 18:42:57 | [diff] [blame] | 123 | ] |
| 124 | deps = [ |
Steven Bennetts | c5f10813 | 2019-01-09 20:20:34 | [diff] [blame] | 125 | "//chromeos/attestation:test_support", |
| 126 | "//chromeos/cryptohome:test_support", |
Steven Bennetts | 39046b3 | 2019-01-10 17:15:16 | [diff] [blame] | 127 | "//chromeos/dbus:test_support", |
Steven Bennetts | 0ac8639 | 2019-01-09 19:05:51 | [diff] [blame] | 128 | "//chromeos/disks:test_support", |
Steven Bennetts | 2e6eaf7 | 2019-01-04 16:52:39 | [diff] [blame] | 129 | "//chromeos/login/auth:test_support", |
| 130 | "//chromeos/login/login_state:test_support", |
Steven Bennetts | 036b9b6 | 2019-01-11 17:47:57 | [diff] [blame] | 131 | "//chromeos/network:test_support", |
A Olsen | 6c0bcf3 | 2019-03-26 19:35:16 | [diff] [blame^] | 132 | "//chromeos/tpm:test_support", |
oshima | 3f959fa8 | 2016-05-02 18:42:57 | [diff] [blame] | 133 | "//google_apis", |
| 134 | "//net:test_support", |
Luum Habtemariam | b30c811 | 2018-06-25 21:51:22 | [diff] [blame] | 135 | "//services/network:test_support", |
Brett Wilson | 817fec0 | 2015-08-22 20:36:49 | [diff] [blame] | 136 | "//testing/gmock", |
oshima | 3f959fa8 | 2016-05-02 18:42:57 | [diff] [blame] | 137 | "//testing/gtest", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 138 | ] |
Steven Bennetts | 8e97939f | 2019-01-11 16:11:31 | [diff] [blame] | 139 | } |
| 140 | |
| 141 | source_set("test_utils") { |
| 142 | deps = [ |
| 143 | "//base", |
| 144 | ] |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 145 | sources = [ |
Steven Bennetts | fc6af1c | 2019-01-03 18:22:02 | [diff] [blame] | 146 | "test/chromeos_test_utils.cc", |
| 147 | "test/chromeos_test_utils.h", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 148 | ] |
| 149 | } |
| 150 | |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 151 | test("chromeos_unittests") { |
| 152 | configs += [ |
agrieve | 95ba444 | 2016-04-25 15:47:13 | [diff] [blame] | 153 | "//build/config/linux/dbus", |
Nico Weber | 2023256d | 2018-08-28 17:44:57 | [diff] [blame] | 154 | "//build/config/linux/nss:system_nss_no_ssl_config", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 155 | ] |
| 156 | deps = [ |
James Cook | 209256f | 2018-12-07 18:40:50 | [diff] [blame] | 157 | ":chromeos_buildflags", |
agrieve | d7a71c88 | 2015-11-20 19:53:28 | [diff] [blame] | 158 | ":test_support", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 159 | "//base/test:test_support", |
Steven Bennetts | c5f10813 | 2019-01-09 20:20:34 | [diff] [blame] | 160 | "//chromeos/attestation:unit_tests", |
Steven Bennetts | fbcd25f | 2019-01-09 17:22:09 | [diff] [blame] | 161 | "//chromeos/audio:unit_tests", |
A Olsen | 9457984 | 2018-10-10 19:22:31 | [diff] [blame] | 162 | "//chromeos/cryptohome:unit_tests", |
Steven Bennetts | a992e43 | 2019-01-11 00:21:12 | [diff] [blame] | 163 | "//chromeos/dbus:test_support", |
A Olsen | 9457984 | 2018-10-10 19:22:31 | [diff] [blame] | 164 | "//chromeos/dbus:unit_tests", |
Steven Bennetts | 0b493ad | 2019-01-07 21:38:39 | [diff] [blame] | 165 | "//chromeos/dbus/services:unit_tests", |
Steven Bennetts | 0ac8639 | 2019-01-09 19:05:51 | [diff] [blame] | 166 | "//chromeos/disks:unit_tests", |
Steven Bennetts | c2da12d | 2019-01-10 18:29:47 | [diff] [blame] | 167 | "//chromeos/geolocation:unit_tests", |
Steven Bennetts | 4bea303 | 2019-01-03 19:33:18 | [diff] [blame] | 168 | "//chromeos/login/auth:unit_tests", |
| 169 | "//chromeos/login/login_state:unit_tests", |
Steven Bennetts | 8e97939f | 2019-01-11 16:11:31 | [diff] [blame] | 170 | "//chromeos/network:test_support", |
A Olsen | 37962d2e | 2018-10-12 15:05:18 | [diff] [blame] | 171 | "//chromeos/network:unit_tests", |
Kyle Horimoto | 940d7df | 2018-03-17 01:00:23 | [diff] [blame] | 172 | "//chromeos/services:unit_tests", |
A Olsen | 9457984 | 2018-10-10 19:22:31 | [diff] [blame] | 173 | "//chromeos/settings:unit_tests", |
Steven Bennetts | c2da12d | 2019-01-10 18:29:47 | [diff] [blame] | 174 | "//chromeos/timezone:unit_tests", |
Steven Bennetts | 94c4806 | 2019-01-08 20:12:09 | [diff] [blame] | 175 | "//chromeos/tpm:unit_tests", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 176 | "//components/onc", |
A Olsen | d994a4c | 2018-10-02 11:35:30 | [diff] [blame] | 177 | "//components/policy:generated", |
| 178 | "//components/policy/proto", |
brettw | 9f7802a2 | 2016-01-30 06:40:17 | [diff] [blame] | 179 | "//components/prefs:test_support", |
stevenjb | 8336888 | 2015-07-10 20:51:45 | [diff] [blame] | 180 | "//components/proxy_config", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 181 | "//dbus:test_support", |
| 182 | "//google_apis", |
Ken Rockot | f03d97c95 | 2018-07-04 22:08:10 | [diff] [blame] | 183 | "//mojo/core/embedder", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 184 | "//net", |
| 185 | "//net:test_support", |
Abhishek Bhardwaj | d98628e | 2019-02-27 03:17:21 | [diff] [blame] | 186 | "//services/device/public/cpp/test:test_support", |
| 187 | "//services/device/public/mojom", |
Luum Habtemariam | b30c811 | 2018-06-25 21:51:22 | [diff] [blame] | 188 | "//services/network:test_support", |
Jay Civelli | 1ba11572 | 2018-07-16 17:41:01 | [diff] [blame] | 189 | "//services/network/public/cpp", |
Abhishek Bhardwaj | d98628e | 2019-02-27 03:17:21 | [diff] [blame] | 190 | "//services/service_manager/public/cpp/test:test_support", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 191 | "//testing/gmock", |
| 192 | "//testing/gtest", |
jshin | 77e507b | 2015-04-24 01:13:15 | [diff] [blame] | 193 | "//third_party/icu", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 194 | "//url", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 195 | ] |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 196 | sources = [ |
| 197 | "app_mode/kiosk_oem_manifest_parser_unittest.cc", |
A Olsen | d994a4c | 2018-10-02 11:35:30 | [diff] [blame] | 198 | "policy/weekly_time/time_utils_unittest.cc", |
| 199 | "policy/weekly_time/weekly_time_interval_unittest.cc", |
| 200 | "policy/weekly_time/weekly_time_unittest.cc", |
Luum Habtemariam | 2cbe835 | 2019-01-25 20:57:52 | [diff] [blame] | 201 | "printing/epson_driver_matching_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 202 | "printing/ppd_cache_unittest.cc", |
Justin Carlson | 781f77e21 | 2017-11-15 22:32:31 | [diff] [blame] | 203 | "printing/ppd_line_reader_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 204 | "printing/ppd_provider_unittest.cc", |
Sean Kau | ff2bbe7 | 2018-05-23 01:05:02 | [diff] [blame] | 205 | "printing/printer_configuration_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 206 | "printing/printer_translator_unittest.cc", |
| 207 | "process_proxy/process_output_watcher_unittest.cc", |
| 208 | "process_proxy/process_proxy_unittest.cc", |
sque | a15eba14 | 2017-04-25 15:41:36 | [diff] [blame] | 209 | "system/cpu_temperature_reader_unittest.cc", |
Abhishek Bhardwaj | d98628e | 2019-02-27 03:17:21 | [diff] [blame] | 210 | "system/dark_resume_controller_unittest.cc", |
Pavol Marko | ac1f561 | 2018-05-19 21:44:59 | [diff] [blame] | 211 | "system/factory_ping_embargo_check_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 212 | "system/name_value_pairs_parser_unittest.cc", |
Steven Bennetts | fc6af1c | 2019-01-03 18:22:02 | [diff] [blame] | 213 | "test/run_all_unittests.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 214 | ] |
dpranke | 94c6fb2 | 2016-06-10 01:55:08 | [diff] [blame] | 215 | |
| 216 | data = [ |
| 217 | "test/data/", |
dpranke | 94c6fb2 | 2016-06-10 01:55:08 | [diff] [blame] | 218 | ] |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 219 | } |
| 220 | |
Ben Pastene | 70ce32d2 | 2018-09-10 22:30:52 | [diff] [blame] | 221 | # The following definitions only apply when building for a CrOS board (ie: not |
| 222 | # linux-chromeos). See the following for reference: |
| 223 | # https://chromium.googlesource.com/chromium/src/+/master/docs/chromeos_build_instructions.md |
| 224 | # https://chromium.googlesource.com/chromiumos/docs/+/master/simple_chrome_workflow.md |
James Cook | 209256f | 2018-12-07 18:40:50 | [diff] [blame] | 225 | if (is_cros_chrome_sdk) { |
Ben Pastene | 4ab9865 | 2018-12-17 18:33:18 | [diff] [blame] | 226 | generate_runner_script("cros_vm_launcher") { |
Ben Pastene | c1543c2 | 2018-05-04 23:39:43 | [diff] [blame] | 227 | generated_script = "$root_build_dir/bin/launch_cros_vm" |
Ben Pastene | 22d25c8 | 2018-08-06 20:18:34 | [diff] [blame] | 228 | |
| 229 | # Assume every time we build cros_vm_launcher, we also build chrome and |
| 230 | # want to deploy it to the VM. |
| 231 | deploy_chrome = true |
Ben Pastene | c1543c2 | 2018-05-04 23:39:43 | [diff] [blame] | 232 | } |
Ben Pastene | 9ec70f9 | 2018-05-14 21:09:22 | [diff] [blame] | 233 | |
Ben Pastene | 4ab9865 | 2018-12-17 18:33:18 | [diff] [blame] | 234 | # The sanity test's actual binary is baked into the OS image. All we need to |
Ben Pastene | 9ec70f9 | 2018-05-14 21:09:22 | [diff] [blame] | 235 | # do is build the test wrapper and build our own browser to push to the VM |
| 236 | # before testing it. |
Ben Pastene | 4ab9865 | 2018-12-17 18:33:18 | [diff] [blame] | 237 | generate_runner_script("cros_vm_sanity_test") { |
Ben Pastene | 1688203 | 2018-09-21 01:16:39 | [diff] [blame] | 238 | testonly = true |
| 239 | test_exe = "cros_vm_sanity_test" |
Ben Pastene | 9ec70f9 | 2018-05-14 21:09:22 | [diff] [blame] | 240 | generated_script = "$root_build_dir/bin/run_cros_vm_sanity_test" |
Ben Pastene | d09dd69 | 2018-09-21 18:58:10 | [diff] [blame] | 241 | runtime_deps_file = "$root_out_dir/cros_vm_sanity_test.runtime_deps" |
Ben Pastene | 9ec70f9 | 2018-05-14 21:09:22 | [diff] [blame] | 242 | |
Ben Pastene | 1688203 | 2018-09-21 01:16:39 | [diff] [blame] | 243 | data_deps = [ |
| 244 | ":cros_chrome_deploy", |
| 245 | "//:chromiumos_preflight", # Builds the browser. |
| 246 | ] |
Ben Pastene | 9ec70f9 | 2018-05-14 21:09:22 | [diff] [blame] | 247 | } |
Ben Pastene | 2bc796b | 2018-08-03 03:02:00 | [diff] [blame] | 248 | |
Ben Pastene | 33015a0 | 2018-09-28 18:59:14 | [diff] [blame] | 249 | tast_test("chrome_login_tast_tests") { |
| 250 | tast_tests = [ |
| 251 | "ui.ChromeLogin", |
| 252 | "ui.ChromeCrashLoggedIn", |
| 253 | "ui.ChromeCrashNotLoggedIn", |
| 254 | ] |
| 255 | } |
| 256 | |
James Cook | c3828a4 | 2018-11-28 23:33:23 | [diff] [blame] | 257 | # Tast test sources live in the Chromium OS repository. |
| 258 | # To diagnose tast failures or disable tests, see go/tast-failures |
Ben Pastene | 09de394 | 2018-10-02 18:06:42 | [diff] [blame] | 259 | tast_test("chrome_all_tast_tests") { |
Mohsen Izadi | 74514c2 | 2019-01-30 17:49:09 | [diff] [blame] | 260 | # To disable a specific test, add it the following list. |
Ben Pastene | 8de02e891 | 2019-02-15 18:06:55 | [diff] [blame] | 261 | tast_disabled_tests = [] |
Ben Pastene | acc68d7 | 2018-12-20 00:49:10 | [diff] [blame] | 262 | } |
| 263 | tast_test("chrome_kevin_tast_tests") { |
| 264 | # Tests that fail on Kevin devices. |
Ben Pastene | bd09c42 | 2019-01-24 22:08:54 | [diff] [blame] | 265 | tast_disabled_tests = [ |
| 266 | # Disabled due to misleading USE flags on full boards. crbug.com/916367 |
| 267 | "arc.Boot", |
Ben Pastene | 263c719 | 2019-02-22 19:00:41 | [diff] [blame] | 268 | "arc.BuildProperties", |
Ben Pastene | bd09c42 | 2019-01-24 22:08:54 | [diff] [blame] | 269 | "security.NetworkListenersARC", |
| 270 | "video.WebRTCPeerConnCameraVP8", # crbug.com/923061 |
| 271 | ] |
Ben Pastene | 09de394 | 2018-10-02 18:06:42 | [diff] [blame] | 272 | } |
| 273 | |
Ben Pastene | 2bc796b | 2018-08-03 03:02:00 | [diff] [blame] | 274 | group("cros_chrome_deploy") { |
| 275 | # The following run-time dependencies are needed to deploy chrome to a |
| 276 | # ChromeOS device. See the link for the full list: |
| 277 | # https://codesearch.chromium.org/chromium/src/third_party/chromite/lib/chrome_util.py?l=341 |
| 278 | # Most of these are copy targets, for which GN doesn't add their outputs |
| 279 | # as runtime-deps. See the link below for more details: |
| 280 | # https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/reference.md#actions-and-copies |
| 281 | data_deps = [ |
| 282 | "//chrome:xdg_mime", |
| 283 | "//mojo/core:shared_library_arc32", |
| 284 | "//mojo/core:shared_library_arc64", |
| 285 | ] |
| 286 | |
| 287 | # TODO(bpastene): Figure out what's generating resources/chromeos/ and |
| 288 | # declare it as a dep instead of adding the dir directly. |
| 289 | data = [ |
| 290 | "$root_out_dir/resources/chromeos/", |
| 291 | ] |
| 292 | } |
Ben Pastene | c60bf502 | 2018-05-04 01:10:33 | [diff] [blame] | 293 | } |