Commit 2e4555c8 authored by Victor Vianna's avatar Victor Vianna Committed by Commit Bot

Make GN arg for JS type checking more visible in documentation

Change-Id: I03bee41d435955db48f4d2251af2b960bf5f3d97
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2484718Reviewed-by: default avatarcalamity <calamity@chromium.org>
Commit-Queue: Victor Vianna <victorvianna@google.com>
Cr-Commit-Position: refs/heads/master@{#818803}
parent 48f39166
...@@ -120,8 +120,11 @@ You can locally test that your code compiles on Linux or Mac. This requires ...@@ -120,8 +120,11 @@ You can locally test that your code compiles on Linux or Mac. This requires
python, depot_tools). Note: on Ubuntu, you can probably just run `sudo apt-get python, depot_tools). Note: on Ubuntu, you can probably just run `sudo apt-get
install openjdk-7-jre`. install openjdk-7-jre`.
After you set enable_js_type_check = true in your gn args, you should be able to First, add the following to your GN args:
run: ```
enable_js_type_check = true
```
Then you should be able to run:
```shell ```shell
ninja -C out/Default webui_closure_compile ninja -C out/Default webui_closure_compile
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment