Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: tools/gn/example/BUILD.gn

Issue 1386783003: [GN]: Support for loadable modules (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit tests Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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",

Powered by Google App Engine
This is Rietveld 408576698