Merge "Add two useful character constants." into lmp-dev

This commit is contained in:
Ying Wang 2014-10-03 18:47:16 +00:00 committed by Android (Google) Code Review
commit a45c2e5834
1 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,14 @@ endif
empty :=
space := $(empty) $(empty)
comma := ,
# Note that make will eat the newline just before endef.
define newline
endef
# Unfortunately you can't simply define backslash as \ or \\.
backslash := \a
backslash := $(patsubst %a,%,$(backslash))
# Tell python not to spam the source tree with .pyc files. This
# only has an effect on python 2.6 and above.