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

Side by Side Diff: Makefile

Issue 21771002: Generate grokdump constants with 'make grokdump' now. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Sven Panne and fixed x64 build. Created 7 years, 4 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 | src/d8.h » ('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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 # values of enable_armv7, enable_vfp2, enable_vfp3 and enable_32dregs. 185 # values of enable_armv7, enable_vfp2, enable_vfp3 and enable_32dregs.
186 # Modifying these flags when launching v8 will enable the probing for 186 # Modifying these flags when launching v8 will enable the probing for
187 # the specified values. 187 # the specified values.
188 # When using the simulator, this flag is implied. 188 # When using the simulator, this flag is implied.
189 ifeq ($(armtest), on) 189 ifeq ($(armtest), on)
190 GYPFLAGS += -Darm_test=on 190 GYPFLAGS += -Darm_test=on
191 endif 191 endif
192 192
193 # ----------------- available targets: -------------------- 193 # ----------------- available targets: --------------------
194 # - "dependencies": pulls in external dependencies (currently: GYP) 194 # - "dependencies": pulls in external dependencies (currently: GYP)
195 # - "grokdump": rebuilds heap constants lists used by grokdump
195 # - any arch listed in ARCHES (see below) 196 # - any arch listed in ARCHES (see below)
196 # - any mode listed in MODES 197 # - any mode listed in MODES
197 # - every combination <arch>.<mode>, e.g. "ia32.release" 198 # - every combination <arch>.<mode>, e.g. "ia32.release"
198 # - "native": current host's architecture, release mode 199 # - "native": current host's architecture, release mode
199 # - any of the above with .check appended, e.g. "ia32.release.check" 200 # - any of the above with .check appended, e.g. "ia32.release.check"
200 # - "android": cross-compile for Android/ARM 201 # - "android": cross-compile for Android/ARM
201 # - "nacl" : cross-compile for Native Client (ia32 and x64) 202 # - "nacl" : cross-compile for Native Client (ia32 and x64)
202 # - default (no target specified): build all DEFAULT_ARCHES and MODES 203 # - default (no target specified): build all DEFAULT_ARCHES and MODES
203 # - "check": build all targets and run all tests 204 # - "check": build all targets and run all tests
204 # - "<arch>.clean" for any <arch> in ARCHES 205 # - "<arch>.clean" for any <arch> in ARCHES
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 # a folder for a pepper version such as "pepper_25" that should 386 # a folder for a pepper version such as "pepper_25" that should
386 # have "tools" and "toolchain" subdirectories. 387 # have "tools" and "toolchain" subdirectories.
387 must-set-NACL_SDK_ROOT: 388 must-set-NACL_SDK_ROOT:
388 ifndef NACL_SDK_ROOT 389 ifndef NACL_SDK_ROOT
389 $(error NACL_SDK_ROOT must be set) 390 $(error NACL_SDK_ROOT must be set)
390 endif 391 endif
391 392
392 # Replaces the old with the new environment file if they're different, which 393 # Replaces the old with the new environment file if they're different, which
393 # will trigger GYP to regenerate Makefiles. 394 # will trigger GYP to regenerate Makefiles.
394 $(ENVFILE): $(ENVFILE).new 395 $(ENVFILE): $(ENVFILE).new
395 » @if test -r $(ENVFILE) && cmp $(ENVFILE).new $(ENVFILE) >/dev/null; \ 396 » @if test -r $(ENVFILE) && cmp $(ENVFILE).new $(ENVFILE) > /dev/null; \
396 then rm $(ENVFILE).new; \ 397 then rm $(ENVFILE).new; \
397 else mv $(ENVFILE).new $(ENVFILE); fi 398 else mv $(ENVFILE).new $(ENVFILE); fi
398 399
399 # Stores current GYPFLAGS in a file. 400 # Stores current GYPFLAGS in a file.
400 $(ENVFILE).new: 401 $(ENVFILE).new:
401 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ 402 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \
402 echo "CXX=$(CXX)" >> $(ENVFILE).new 403 echo "CXX=$(CXX)" >> $(ENVFILE).new
403 404
405 # Heap constants for grokdump.
406 DUMP_FILE = tools/v8heapconst.py
407 grokdump: ia32.release
408 @cat $(DUMP_FILE).tmpl > $(DUMP_FILE)
409 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE)
410
404 # Dependencies. 411 # Dependencies.
405 # Remember to keep these in sync with the DEPS file. 412 # Remember to keep these in sync with the DEPS file.
406 dependencies: 413 dependencies:
407 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ 414 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \
408 --revision 1685 415 --revision 1685
409 svn checkout --force \ 416 svn checkout --force \
410 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ 417 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \
411 third_party/icu --revision 214189 418 third_party/icu --revision 214189
OLDNEW
« no previous file with comments | « no previous file | src/d8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698