Commit 11772ab5 authored by raphael.kubo.da.costa's avatar raphael.kubo.da.costa Committed by Commit bot

gn: Mention loadable_module targets in the cookbook.

loadable_modules are quite commonly used in tests and for plugins, yet
it is barely mentioned in GN's docs.

Add it to the cookbook so people porting their projects away from gyp
know that the construct also exists in GN.

R=brettw@chromium.org,dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2276943005
Cr-Commit-Position: refs/heads/master@{#414458}
parent cc9b46d1
......@@ -8,6 +8,7 @@
|:-------------------------------------------------|:---------------------------------------------------|
| `'type': 'static_library', 'name': 'foo',` | `static_library("foo") {` or `source_set("foo") {` |
| `'type': 'shared_library', 'name': 'foo',` | `shared_library("foo") {` |
| `'type': 'loadable_module', 'name': 'foo',` | `loadable_module("foo") {` |
| `'type': '<(component)', 'name': 'foo',` | `component("foo") {` |
| `'type': 'executable', 'name': 'foo',` | `executable("foo") {` |
| `'type': '<(gtest_target_type)', 'name': 'foo',` | `test("foo") {` |
......
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