From ede50d43d3e8d73645dc2ed353e7984e362b3297 Mon Sep 17 00:00:00 2001 From: George Wright Date: Fri, 24 Jan 2020 15:47:29 -0800 Subject: [PATCH] Ensure GetFixturesPath works on Fuchsia (#15978) --- testing/testing.gni | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/testing/testing.gni b/testing/testing.gni index 7372ad6db9..74952ba1df 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" ] -- GitLab