From f82a7e4c7e359580b7597637518e05086b883756 Mon Sep 17 00:00:00 2001 From: George Wright Date: Wed, 22 Jan 2020 16:17:52 -0800 Subject: [PATCH] ensure GetFixturesPath works on Fuchsia --- testing/testing.gni | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/testing/testing.gni b/testing/testing.gni index 7372ad6db9b82..74952ba1dff7a 100644 --- a/testing/testing.gni +++ b/testing/testing.gni @@ -230,7 +230,11 @@ template("test_fixtures") { # must always be known to tests. fixtures_location_target_name = "fixtures_location_$target_name" fixtures_location(fixtures_location_target_name) { - assets_dir = "$target_gen_dir/assets" + if (is_fuchsia) { + assets_dir = "/pkg/data/assets" + } else { + assets_dir = "$target_gen_dir/assets" + } } test_deps = [ ":$fixtures_location_target_name" ]