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

Side by Side Diff: Makefile

Issue 151253002: Fix python path for gyp. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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 | no next file » | 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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 rm -f $(OUTDIR)/Makefile.native 380 rm -f $(OUTDIR)/Makefile.native
381 rm -rf $(OUTDIR)/native 381 rm -rf $(OUTDIR)/native
382 find $(OUTDIR) -regex '.*\(host\|target\)\.native\.mk' -delete 382 find $(OUTDIR) -regex '.*\(host\|target\)\.native\.mk' -delete
383 383
384 clean: $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)) native.cl ean 384 clean: $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)) native.cl ean
385 385
386 # GYP file generation targets. 386 # GYP file generation targets.
387 OUT_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(BUILDS)) 387 OUT_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(BUILDS))
388 $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE) 388 $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE)
389 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \ 389 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \
390 PYTHONPATH="$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \
390 GYP_GENERATORS=make \ 391 GYP_GENERATORS=make \
391 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ 392 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
392 -Ibuild/standalone.gypi --depth=. \ 393 -Ibuild/standalone.gypi --depth=. \
393 -Dv8_target_arch=$(subst .,,$(suffix $(basename $@))) \ 394 -Dv8_target_arch=$(subst .,,$(suffix $(basename $@))) \
394 -Dv8_optimized_debug=$(if $(findstring optdebug,$@),2,0) \ 395 -Dv8_optimized_debug=$(if $(findstring optdebug,$@),2,0) \
395 -S$(suffix $(basename $@))$(suffix $@) $(GYPFLAGS) 396 -S$(suffix $(basename $@))$(suffix $@) $(GYPFLAGS)
396 397
397 $(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE) 398 $(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE)
398 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \ 399 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \
400 PYTHONPATH="$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \
399 GYP_GENERATORS=make \ 401 GYP_GENERATORS=make \
400 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ 402 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
401 -Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS) 403 -Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS)
402 404
403 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN: 405 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN:
404 ifndef ANDROID_NDK_ROOT 406 ifndef ANDROID_NDK_ROOT
405 ifndef ANDROID_TOOLCHAIN 407 ifndef ANDROID_TOOLCHAIN
406 $(error ANDROID_NDK_ROOT or ANDROID_TOOLCHAIN must be set)) 408 $(error ANDROID_NDK_ROOT or ANDROID_TOOLCHAIN must be set))
407 endif 409 endif
408 endif 410 endif
(...skipping 29 matching lines...) Expand all
438 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) 440 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE)
439 441
440 # Dependencies. 442 # Dependencies.
441 # Remember to keep these in sync with the DEPS file. 443 # Remember to keep these in sync with the DEPS file.
442 dependencies: 444 dependencies:
443 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ 445 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \
444 --revision 1831 446 --revision 1831
445 svn checkout --force \ 447 svn checkout --force \
446 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ 448 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \
447 third_party/icu --revision 239289 449 third_party/icu --revision 239289
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698