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

Unified Diff: Makefile.standalone

Issue 1787143002: Subzero: Allow Makefile.standalone to build for a single target. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixed macro Created 4 years, 9 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
« no previous file with comments | « no previous file | Makefile.standalone-help/help.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile.standalone
diff --git a/Makefile.standalone b/Makefile.standalone
index 0949b666022c1b5093293807800b6cd97b71d295..40d9692093f5e1c7c6beaed19fd19758d5c7a049 100644
--- a/Makefile.standalone
+++ b/Makefile.standalone
@@ -100,6 +100,16 @@ else
BASE_CXX_DEFINES += -DALLOW_DUMP=1
endif
+# Restrict to a single supported target. Current options:
+# SZTARGET=ARM32
+# SZTARGET=MIPS32
+# SZTARGET=X8632
+# SZTARGET=X8664
+ifdef SZTARGET
+ OBJDIR := $(OBJDIR)+T_$(SZTARGET)
+ BASE_CXX_DEFINES += -DSZTARGET=$(SZTARGET)
+endif
+
CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=0
ifdef NOASSERT
« no previous file with comments | « no previous file | Makefile.standalone-help/help.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698