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

Unified Diff: native_client_sdk/src/resources/Makefile.example.template

Issue 1559463002: [NaCl SDK] Don't include gtest/gmock in library form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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: native_client_sdk/src/resources/Makefile.example.template
diff --git a/native_client_sdk/src/resources/Makefile.example.template b/native_client_sdk/src/resources/Makefile.example.template
index aef08ef2997ea9d330d3abaf1128510c15cfa507..750af9daf284fb1170e96346d8f2be6f52c98d80 100644
--- a/native_client_sdk/src/resources/Makefile.example.template
+++ b/native_client_sdk/src/resources/Makefile.example.template
@@ -52,7 +52,8 @@ CHROME_ARGS += --allow-nacl-socket-api=localhost
[[ExpandDict('LIBS', targets[0].get('LIBS', []))]]
[[for target in targets:]]
-[[ source_list = (s for s in sorted(target['SOURCES']) if not s.endswith('.h'))]]
+[[ source_list = sorted(target['SOURCES'] + target.get('EXTRA_SOURCES', []))]]
binji 2016/01/04 19:48:21 looks like you don't need EXTRA_SOURCES if they're
Sam Clegg 2016/01/05 12:29:05 SOURCES are searched for and copied into the tree.
+[[ source_list = (s for s in source_list if not s.endswith('.h'))]]
[[ source_list = ' \\\n '.join(source_list)]]
[[ sources = target['NAME'] + '_SOURCES']]
[[ cflags = target['NAME'] + '_CFLAGS']]

Powered by Google App Engine
This is Rietveld 408576698