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 17 matching lines...) Expand all Loading... |
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_TOOLCHAIN ?= | 37 ANDROID_TOOLCHAIN ?= |
38 ANDROID_V8 ?= /data/local/v8 | 38 ANDROID_V8 ?= /data/local/tmp/v8 |
39 NACL_SDK_ROOT ?= | 39 NACL_SDK_ROOT ?= |
40 | 40 |
41 # Special build flags. Use them like this: "make library=shared" | 41 # Special build flags. Use them like this: "make library=shared" |
42 | 42 |
43 # library=shared || component=shared_library | 43 # library=shared || component=shared_library |
44 ifeq ($(library), shared) | 44 ifeq ($(library), shared) |
45 GYPFLAGS += -Dcomponent=shared_library | 45 GYPFLAGS += -Dcomponent=shared_library |
46 endif | 46 endif |
47 ifdef component | 47 ifdef component |
48 GYPFLAGS += -Dcomponent=$(component) | 48 GYPFLAGS += -Dcomponent=$(component) |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 # Stores current GYPFLAGS in a file. | 385 # Stores current GYPFLAGS in a file. |
386 $(ENVFILE).new: | 386 $(ENVFILE).new: |
387 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ | 387 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ |
388 echo "CXX=$(CXX)" >> $(ENVFILE).new | 388 echo "CXX=$(CXX)" >> $(ENVFILE).new |
389 | 389 |
390 # Dependencies. | 390 # Dependencies. |
391 # Remember to keep these in sync with the DEPS file. | 391 # Remember to keep these in sync with the DEPS file. |
392 dependencies: | 392 dependencies: |
393 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 393 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
394 --revision 1501 | 394 --revision 1501 |
OLD | NEW |