Commit bb352d2a authored by evliu's avatar evliu Committed by Commit Bot

Add data_deps to the SODA tests

This CL adds a data dependency on the //third_party/soda directory
for the Speech On-Device API (SODA) unit and browser tests as they
both require files in the SODA directory.

Change-Id: Ifba311f47c8ecdfdf8e44b82bb2d85220bd2e69e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462549Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
Commit-Queue: Evan Liu <evliu@google.com>
Cr-Commit-Position: refs/heads/master@{#815823}
parent 2b02c841
...@@ -19,6 +19,8 @@ source_set("unit_tests") { ...@@ -19,6 +19,8 @@ source_set("unit_tests") {
if (enable_soda) { if (enable_soda) {
sources = [ "soda_client_unittest.cc" ] sources = [ "soda_client_unittest.cc" ]
data_deps = [ "//third_party/soda:soda_resources" ]
deps = [ deps = [
":soda", ":soda",
"//base", "//base",
......
...@@ -1609,6 +1609,7 @@ if (!is_android) { ...@@ -1609,6 +1609,7 @@ if (!is_android) {
if (enable_soda) { if (enable_soda) {
sources += sources +=
[ "../browser/speech/speech_recognition_service_browsertest.cc" ] [ "../browser/speech/speech_recognition_service_browsertest.cc" ]
data_deps += [ "//third_party/soda:soda_resources" ]
} }
if (use_ozone) { if (use_ozone) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment