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

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

Issue 240493003: Support static/dynamic for bionic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix issues. 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.index.template
diff --git a/native_client_sdk/src/resources/Makefile.index.template b/native_client_sdk/src/resources/Makefile.index.template
index 10a2e312a960005e9a0c3f0eb0db530c1aa5176d..2881fdfea30f4225a85ce23b13d77c4a1014d413 100644
--- a/native_client_sdk/src/resources/Makefile.index.template
+++ b/native_client_sdk/src/resources/Makefile.index.template
@@ -12,6 +12,10 @@ PROJECTS := \
{{project}} \
[[]]
+[[for dep,vals in deps.iteritems():]]
+{{dep}}_DEPS:={{'_ALL_TARGET '.join(vals) + '_ALL_TARGET'}}
+[[]]
+
HTTPD_PY := python {{rel_sdk}}/tools/httpd.py
ifeq ($(TOOLCHAIN),all)
@@ -33,7 +37,7 @@ all:
define TARGET
ALL_TARGET_LIST+=$(1)_ALL_TARGET
.PHONY: $(1)_ALL_TARGET
-$(1)_ALL_TARGET:
+$(1)_ALL_TARGET: $$($(1)_DEPS)
+$(MAKE) -C $(1) $(TOOLCHAIN_ARG) all
CLEAN_TARGET_LIST+=$(1)_CLEAN_TARGET
« no previous file with comments | « native_client_sdk/src/libraries/gmock/library.dsc ('k') | native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698