summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/script/resources/layered_api/README.md
blob: 270d8117aa56365750690e190a52e0a36d34ecf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Layered API resources directory

This directory stores module JavaScript implementation files of
[Layered APIs](https://github.com/drufball/layered-apis),
that are to be bundled with the browser.

## Adding/removing files

When adding/removing files, execute

- `core/script/generate_lapi_grdp.py`
- `git cl format`

to update the following files:

- `core/script/layered_api_resources.h`
- `core/script/resources/layered_api/resources.grdp`

and commit these files together with the changes under resources/layered_api/.

(This is not needed when the content of the files are modified)

## Which files are bundled

All files under this directory will be included in the grdp and thus bundled
in the Chromium binary, except for

- Files directly under `core/script/resources/layered_api`, or
- Files starting with '.', 'README', or 'OWNERS'.

So be careful about binary size increase when you add new files or add more
contents to existing files.