Chromium change: https://source.chromium.org/chromium/chromium/src/+/0f9db20ad20a6337454bf7c4129894e7a007a2a0 commit 0f9db20ad20a6337454bf7c4129894e7a007a2a0 Author: dpapad <dpapad@chromium.org> Date: Wed Jan 5 00:23:17 2022 +0000 [Reland] WebUI: Refactor various BUILD.gn files to list each source file once. In this CL refactoring bookmarks/, history/, extensions/, downloads/, and profile_picker/. This eliminates a lot of redundant code. Previously for adding a new file to the build it had to be listed 3 times, and any platform specific conditions would have to match across each reference. After this change each file is listed only once either in - web_component_files or - non_web_component_files and these lists are reused across html_to_js(), preprocess_if_expr() and ts_library() targets. Bug: 1189595
13 lines
586 B
Diff
13 lines
586 B
Diff
diff --git a/chrome/browser/resources/extensions/tsconfig_base.json b/chrome/browser/resources/extensions/tsconfig_base.json
|
|
index afa073157282423dbfaec806a22d4c27f9d64528..3e71f76307c7b02ccb23e615e3217fee1b15c5a6 100644
|
|
--- a/chrome/browser/resources/extensions/tsconfig_base.json
|
|
+++ b/chrome/browser/resources/extensions/tsconfig_base.json
|
|
@@ -1,6 +1,7 @@
|
|
{
|
|
"extends": "../../../../tools/typescript/tsconfig_base.json",
|
|
"compilerOptions": {
|
|
+ "allowJs": true,
|
|
"noUncheckedIndexedAccess": false,
|
|
"noUnusedLocals": false,
|
|
"strictPropertyInitialization": false
|