blob: 940bd88c21f0642dd9440c2bd2ce473ce2c4f546 [file] [log] [blame]
# Copyright 2018 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//tools/typescript/ts_library.gni")
# Copy (via creating sym links) all the other files into the same folder for
# ts_library.
copy("copy_files") {
deps = [ "//content/browser/process_internals:mojo_bindings_ts__generator" ]
sources = [
"$root_gen_dir/content/browser/process_internals/process_internals.mojom-webui.ts",
"process_internals.ts",
]
outputs = [ "$target_gen_dir/{{source_file_part}}" ]
}
ts_library("build_ts") {
root_dir = target_gen_dir
out_dir = "$target_gen_dir/tsc"
in_files = [
"process_internals.ts",
"process_internals.mojom-webui.ts",
]
deps = [
"//ui/webui/resources/cr_elements:build_ts",
"//ui/webui/resources/js:build_ts",
"//ui/webui/resources/mojo:build_ts",
]
extra_deps = [ ":copy_files" ]
}