blob: 1b2f719a1471a52c4596eb06708aed81653d4c13 [file] [log] [blame]
# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ui/webui/resources/tools/build_webui.gni")
assert(is_android || is_linux || is_chromeos || is_win)
build_webui("build") {
grd_prefix = "sandbox_internals"
static_files = [ "sandbox_internals.html" ]
if (is_win) {
non_web_component_files = [ "sandbox_internals_win.ts" ]
} else {
non_web_component_files = [ "sandbox_internals.ts" ]
}
ts_deps = [ "//ui/webui/resources/js:build_ts" ]
if (is_android) {
ts_definitions = [ "./sandbox_android.d.ts" ]
}
webui_context_type = "trusted"
}