blob: a88cedbb95fbccd684404e84a5824289856735f3 [file] [log] [blame]
# Copyright 2022 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("//ui/webui/resources/tools/generate_grd.gni")
generate_grd("build_grdp") {
grd_prefix = "material_web_components"
out_grd = "$target_gen_dir/${grd_prefix}_resources.grdp"
# TODO(b/229804752): Clean up and find the minimal set of necessary resources.
input_files = [
"lit-element/lib/decorators.js",
"lit-element/lib/updating-element.js",
"lit-element/lib/css-tag.js",
"lit-element/lit-element.js",
"tslib/tslib.es6.js",
"tslib/tslib.js",
"tslib/modules/index.js",
"lit-html/lit-html.js",
"lit-html/polyfills/template_polyfill.js",
"lit-html/directives/template-content.js",
"lit-html/directives/live.js",
"lit-html/directives/if-defined.js",
"lit-html/directives/unsafe-svg.js",
"lit-html/directives/async-append.js",
"lit-html/directives/until.js",
"lit-html/directives/class-map.js",
"lit-html/directives/async-replace.js",
"lit-html/directives/repeat.js",
"lit-html/directives/guard.js",
"lit-html/directives/style-map.js",
"lit-html/directives/unsafe-html.js",
"lit-html/directives/cache.js",
"lit-html/lib/template-factory.js",
"lit-html/lib/part.js",
"lit-html/lib/default-template-processor.js",
"lit-html/lib/render.js",
"lit-html/lib/directive.js",
"lit-html/lib/modify-template.js",
"lit-html/lib/template-processor.js",
"lit-html/lib/template-result.js",
"lit-html/lib/template-instance.js",
"lit-html/lib/template.js",
"lit-html/lib/shady-render.js",
"lit-html/lib/dom.js",
"lit-html/lib/parts.js",
"lit-html/lib/render-options.js",
"@material/animation/node_modules/tslib/tslib.es6.js",
"@material/animation/node_modules/tslib/tslib.js",
"@material/animation/node_modules/tslib/modules/index.js",
"@material/animation/index.js",
"@material/animation/util.js",
"@material/animation/dist/mdc.animation.js",
"@material/animation/dist/mdc.animation.min.js",
"@material/animation/types.js",
"@material/animation/animationframe.js",
"@material/base/node_modules/tslib/tslib.es6.js",
"@material/base/node_modules/tslib/tslib.js",
"@material/base/node_modules/tslib/modules/index.js",
"@material/base/index.js",
"@material/base/dist/mdc.base.min.js",
"@material/base/dist/mdc.base.js",
"@material/base/component.js",
"@material/base/types.js",
"@material/base/foundation.js",
"@material/mwc-base/base-element.js",
"@material/mwc-base/form-element.js",
"@material/mwc-base/utils.js",
"@material/mwc-base/observer.js",
"@material/ripple/constants.js",
"@material/ripple/node_modules/tslib/tslib.es6.js",
"@material/ripple/node_modules/tslib/tslib.js",
"@material/ripple/node_modules/tslib/modules/index.js",
"@material/ripple/index.js",
"@material/ripple/adapter.js",
"@material/ripple/util.js",
"@material/ripple/dist/mdc.ripple.min.js",
"@material/ripple/dist/mdc.ripple.js",
"@material/ripple/component.js",
"@material/ripple/types.js",
"@material/ripple/foundation.js",
"@material/mwc-button/mwc-button.js",
"@material/mwc-button/demo_styles-css.js",
"@material/mwc-button/styles-css.js",
"@material/mwc-button/mwc-button-base.js",
"@material/dom/focus-trap.js",
"@material/dom/node_modules/tslib/tslib.es6.js",
"@material/dom/node_modules/tslib/tslib.js",
"@material/dom/node_modules/tslib/modules/index.js",
"@material/dom/keyboard.js",
"@material/dom/ponyfill.js",
"@material/dom/index.js",
"@material/dom/announce.js",
"@material/dom/events.js",
"@material/dom/dist/mdc.dom.min.js",
"@material/dom/dist/mdc.dom.js",
"@material/mwc-ripple/mwc-ripple.js",
"@material/mwc-ripple/ripple-directive.js",
"@material/mwc-ripple/mwc-ripple-global-css.js",
"@material/mwc-ripple/ripple-handlers.js",
"@material/mwc-ripple/mwc-ripple-css.js",
"@material/mwc-ripple/mwc-ripple-base.js",
"@material/mwc-icon/mwc-icon-host-css.js",
"@material/mwc-icon/mwc-icon.js",
]
input_files_base_dir = rebase_path("./components-chromium/node_modules", "//")
resource_path_prefix = "mwc"
}