| Index: tools/gn/example/BUILD.gn
|
| diff --git a/tools/gn/example/BUILD.gn b/tools/gn/example/BUILD.gn
|
| index 58af95230440d10161a321fad8edeeb7ed57dbd8..7ca65b90118f5c1bf46342215bb0078529e36752 100644
|
| --- a/tools/gn/example/BUILD.gn
|
| +++ b/tools/gn/example/BUILD.gn
|
| @@ -10,6 +10,7 @@ executable("hello") {
|
| deps = [
|
| ":hello_static",
|
| ":hello_shared",
|
| + ":hello_loadable",
|
| ]
|
| }
|
|
|
| @@ -22,6 +23,13 @@ shared_library("hello_shared") {
|
| defines = [ "HELLO_SHARED_IMPLEMENTATION" ]
|
| }
|
|
|
| +loadable_module("hello_loadable") {
|
| + sources = [
|
| + "hello_shared.cc",
|
| + "hello_shared.h",
|
| + ]
|
| +}
|
| +
|
| static_library("hello_static") {
|
| sources = [
|
| "hello_static.cc",
|
|
|