| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |