blob: 479ded7a8e7bb00b5f78067740c12bc0a430d814 [file] [log] [blame]
# Copyright 2021 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//third_party/closure_compiler/compile_js.gni")
import("//ui/webui/resources/tools/generate_grd.gni")
assert(is_android)
generate_grd("build_grdp") {
grd_prefix = "lens_internals"
out_grd = "$target_gen_dir/resources.grdp"
input_files = [
"lens_internals_browser_proxy.js",
"lens_internals.html",
"lens_internals.js",
]
input_files_base_dir = rebase_path(".", "//")
}
js_type_check("closure_compile") {
deps = [
":lens_internals",
":lens_internals_browser_proxy",
]
}
js_library("lens_internals") {
deps = [
":lens_internals_browser_proxy",
"//ui/webui/resources/js:util.m",
]
}
js_library("lens_internals_browser_proxy") {
deps = [ "//ui/webui/resources/js:cr.m" ]
}