# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//components/signin/features.gni")
import("//ui/webui/resources/tools/generate_grd.gni")
assert(enable_dice_support || is_chromeos_ash)
# Creates the necessary GRDP file with local test files.
generate_grd("build_grdp") {
grd_prefix = "gaia_auth_host"
out_grd = "$target_gen_dir/resources.grdp"
# All files are served with the prefix "gaia_auth_host/..."
resource_path_prefix = "gaia_auth_host"
# Add local test files.
input_files_base_dir = rebase_path(".", "//")
input_files = [
"password_change_authenticator_test.js",
"saml_username_autofill_test.js",
"saml_timestamps_test.js",
"saml_password_attributes_test.js",
"saml_with_password_attributes.xml",
]
}