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

Unified Diff: Makefile.standalone

Issue 2218363002: Subzero: Embed the revision string into translated output. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Insert new global in GlobalContext ctor. Created 4 years, 4 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 | « Makefile ('k') | pydir/crosstest.py » ('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 a75ea949f99fbf72442826d2553966749c7a2631..56fd8a444f6451819458dbb39c4fab297192fdb0 100644
--- a/Makefile.standalone
+++ b/Makefile.standalone
@@ -111,6 +111,7 @@ ifdef SZTARGET
endif
BASE_CXX_DEFINES += -DPNACL_LLVM
+BASE_CXX_DEFINES += -DSUBZERO_REVISION=$(shell git rev-parse HEAD)
CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=0
@@ -320,6 +321,7 @@ SRCS = \
IceOperand.cpp \
IceRangeSpec.cpp \
IceRegAlloc.cpp \
+ IceRevision.cpp \
IceRNG.cpp \
IceSwitchLowering.cpp \
IceThreading.cpp \
« no previous file with comments | « Makefile ('k') | pydir/crosstest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698