21 lines
918 B
Diff
21 lines
918 B
Diff
diff --git a/tools/polymer/css_to_wrapper.py b/tools/polymer/css_to_wrapper.py
|
|
index 6a2ee53ad3dde7ae5ffd0ce89d6973ee6bc80987..c517ba68c714797ec4965da61b42690c7779d412 100644
|
|
--- a/tools/polymer/css_to_wrapper.py
|
|
+++ b/tools/polymer/css_to_wrapper.py
|
|
@@ -268,7 +268,7 @@ def main(argv):
|
|
|
|
content = ''
|
|
|
|
- lit_in_file = in_file.replace('.css', _LIT_SUFFIX)
|
|
+ lit_in_file = in_file.replace('.css', _LIT_SUFFIX).replace('-chromium_lit.css', '_lit-chromium.css')
|
|
if metadata['type'] == 'style' and lit_in_file in args.in_files:
|
|
# When a Polymer file has an equivalent "_lit.css" file, use the latter to
|
|
# extract the CSS content from, to facilitate migration without having to
|
|
@@ -342,5 +342,6 @@ def main(argv):
|
|
return
|
|
|
|
|
|
+from brave_chromium_utils import inline_chromium_src_override; inline_chromium_src_override(globals(), locals())
|
|
if __name__ == '__main__':
|
|
main(sys.argv[1:])
|