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

Side by Side Diff: Makefile

Issue 10795045: Enable building V8 for Android on Mac (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 CXX="$(CXX)" LINK="$(LINK)" \ 168 CXX="$(CXX)" LINK="$(LINK)" \
169 BUILDTYPE=$(shell echo $(subst .,,$(suffix $@)) | \ 169 BUILDTYPE=$(shell echo $(subst .,,$(suffix $@)) | \
170 python -c "print raw_input().capitalize()") \ 170 python -c "print raw_input().capitalize()") \
171 builddir="$(shell pwd)/$(OUTDIR)/$@" 171 builddir="$(shell pwd)/$(OUTDIR)/$@"
172 172
173 native: $(OUTDIR)/Makefile.native 173 native: $(OUTDIR)/Makefile.native
174 @$(MAKE) -C "$(OUTDIR)" -f Makefile.native \ 174 @$(MAKE) -C "$(OUTDIR)" -f Makefile.native \
175 CXX="$(CXX)" LINK="$(LINK)" BUILDTYPE=Release \ 175 CXX="$(CXX)" LINK="$(LINK)" BUILDTYPE=Release \
176 builddir="$(shell pwd)/$(OUTDIR)/$@" 176 builddir="$(shell pwd)/$(OUTDIR)/$@"
177 177
178 $(ANDROID_ARCHES): $(addprefix $$@.,$(MODE)) 178 $(ANDROID_ARCHES): $(addprefix $$@.,$(MODES))
179 179
180 $(ANDROID_BUILDS): $(GYPFILES) $(ENVFILE) build/android.gypi \ 180 $(ANDROID_BUILDS): $(GYPFILES) $(ENVFILE) build/android.gypi \
181 must-set-ANDROID_NDK_ROOT 181 must-set-ANDROID_NDK_ROOT
182 @tools/android-build.sh $(basename $@) $(subst .,,$(suffix $@)) \ 182 @tools/android-build.sh $(basename $@) $(subst .,,$(suffix $@)) \
183 $(OUTDIR) $(GYPFLAGS) 183 $(OUTDIR) $(GYPFLAGS)
184 184
185 # Test targets. 185 # Test targets.
186 check: all 186 check: all
187 @tools/test-wrapper-gypbuild.py $(TESTJOBS) --outdir=$(OUTDIR) \ 187 @tools/test-wrapper-gypbuild.py $(TESTJOBS) --outdir=$(OUTDIR) \
188 --arch=$(shell echo $(DEFAULT_ARCHES) | sed -e 's/ /,/g') \ 188 --arch=$(shell echo $(DEFAULT_ARCHES) | sed -e 's/ /,/g') \
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 258
259 # Stores current GYPFLAGS in a file. 259 # Stores current GYPFLAGS in a file.
260 $(ENVFILE).new: 260 $(ENVFILE).new:
261 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ 261 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \
262 echo "CXX=$(CXX)" >> $(ENVFILE).new 262 echo "CXX=$(CXX)" >> $(ENVFILE).new
263 263
264 # Dependencies. 264 # Dependencies.
265 dependencies: 265 dependencies:
266 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ 266 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \
267 --revision 1282 267 --revision 1282
OLDNEW
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698