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

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

Issue 242533005: [NaCl SDK] nacl_io: Add flow control the JavaScript pipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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 73f39963c27cf17556006038de4fd864eb7b3fd5..0a48b754f173542a44533b178d5dd6c24392cba8 100644
--- a/native_client_sdk/src/resources/Makefile.example.template
+++ b/native_client_sdk/src/resources/Makefile.example.template
@@ -72,13 +72,18 @@ endif
[[ cflags = 'CFLAGS']]
[[ ]]
[[ ExpandDict(cflags, flags)]]
+[[ for define in target.get('DEFINES', []):]]
+{{cflags}} += -D{{define}}
+[[ ]]
[[ if 'CFLAGS_GCC' in target:]]
ifneq ($(TOOLCHAIN),pnacl)
{{cflags}} += {{' '.join(target['CFLAGS_GCC'])}}
endif
[[ ]]
+[[]]
{{sources}} = {{source_list}}
+
# Build rules generated by macros from common.mk:
[[if targets[0].get('DEPS'):]]

Powered by Google App Engine
This is Rietveld 408576698