Commit d71014f
[build] Add 'devtools_foundation_module'
A 'foundation module' is a ts_library targeted to both the browser and
Node.js. As such, it only supports shared EcmaScript APIs.
The CL switches over the sole existing unit test running on node.
Drive-by: Python treats the empty array as falsy. This CL also fixes
ts_library.py to add the DOM libs only if no --es-libs argument was
passed. But not if an empty array was passed explicitly.
[email protected]
Bug: 451502260
Change-Id: I107651c12ba2d60f6c0bd1e949d0a3572f1ccb83
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7079170
Reviewed-by: Alex Rudenko <[email protected]>
Auto-Submit: Simon Zünd <[email protected]>
Commit-Queue: Alex Rudenko <[email protected]>1 parent 35f9514 commit d71014f
File tree
3 files changed
+17
-3
lines changed- front_end/models/ai_assistance/data_formatters
- scripts/build
- ninja
- typescript
3 files changed
+17
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
23 | 34 | | |
24 | 35 | | |
25 | 36 | | |
| |||
34 | 45 | | |
35 | 46 | | |
36 | 47 | | |
| 48 | + | |
37 | 49 | | |
38 | 50 | | |
39 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
| 294 | + | |
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
| |||
0 commit comments