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