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 16 matching lines...) Expand all Loading... |
27 | 27 |
28 | 28 |
29 # Variable default definitions. Override them by exporting them in your shell. | 29 # Variable default definitions. Override them by exporting them in your shell. |
30 CXX ?= g++ | 30 CXX ?= g++ |
31 LINK ?= g++ | 31 LINK ?= g++ |
32 OUTDIR ?= out | 32 OUTDIR ?= out |
33 TESTJOBS ?= | 33 TESTJOBS ?= |
34 GYPFLAGS ?= | 34 GYPFLAGS ?= |
35 TESTFLAGS ?= | 35 TESTFLAGS ?= |
36 ANDROID_NDK_ROOT ?= | 36 ANDROID_NDK_ROOT ?= |
| 37 ANDROID_NDK_HOST_ARCH ?= |
37 ANDROID_TOOLCHAIN ?= | 38 ANDROID_TOOLCHAIN ?= |
38 ANDROID_V8 ?= /data/local/v8 | 39 ANDROID_V8 ?= /data/local/v8 |
39 NACL_SDK_ROOT ?= | 40 NACL_SDK_ROOT ?= |
40 | 41 |
41 # Special build flags. Use them like this: "make library=shared" | 42 # Special build flags. Use them like this: "make library=shared" |
42 | 43 |
43 # library=shared || component=shared_library | 44 # library=shared || component=shared_library |
44 ifeq ($(library), shared) | 45 ifeq ($(library), shared) |
45 GYPFLAGS += -Dcomponent=shared_library | 46 GYPFLAGS += -Dcomponent=shared_library |
46 endif | 47 endif |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 # Stores current GYPFLAGS in a file. | 386 # Stores current GYPFLAGS in a file. |
386 $(ENVFILE).new: | 387 $(ENVFILE).new: |
387 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ | 388 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ |
388 echo "CXX=$(CXX)" >> $(ENVFILE).new | 389 echo "CXX=$(CXX)" >> $(ENVFILE).new |
389 | 390 |
390 # Dependencies. | 391 # Dependencies. |
391 # Remember to keep these in sync with the DEPS file. | 392 # Remember to keep these in sync with the DEPS file. |
392 dependencies: | 393 dependencies: |
393 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 394 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
394 --revision 1501 | 395 --revision 1501 |
OLD | NEW |