mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-08 04:44:04 +08:00
The previous attempt of this fix was in https://crrev.com/c/2687497 That CL was reverted, as it inadvertently added more files to the runtime_deps then was intended. Most notably, it erroneously included `tsconfig.json`, `tsbuildinfo` and `d.ts` files. Instead, we should manually filter out only those files that we are interested in. In this case, these are the `js` and `js.map` files. Once these are added to the runtime_deps, the layout tests can access them, as they are pushed to the bots. I have verified that the following command shows the expected output: gn desc out/Default front_end/platform:bundle runtime_deps R=jacktfranklin@chromium.org Bug: 1174013 Change-Id: I6bc25665f06b5968bbd9748696a5723edac84ddc Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2697201 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>