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

Side by Side Diff: Makefile

Issue 10383128: Prepare for using GYP build on buildbots (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 8 years, 7 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 | « DEPS ('k') | SConstruct » ('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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 ENVFILE = $(OUTDIR)/environment 130 ENVFILE = $(OUTDIR)/environment
131 131
132 .PHONY: all check clean dependencies $(ENVFILE).new native \ 132 .PHONY: all check clean dependencies $(ENVFILE).new native \
133 $(ARCHES) $(MODES) $(BUILDS) $(CHECKS) $(addsuffix .clean,$(ARCHES)) \ 133 $(ARCHES) $(MODES) $(BUILDS) $(CHECKS) $(addsuffix .clean,$(ARCHES)) \
134 $(addsuffix .check,$(MODES)) $(addsuffix .check,$(ARCHES)) \ 134 $(addsuffix .check,$(MODES)) $(addsuffix .check,$(ARCHES)) \
135 must-set-ANDROID_NDK_ROOT 135 must-set-ANDROID_NDK_ROOT
136 136
137 # Target definitions. "all" is the default. 137 # Target definitions. "all" is the default.
138 all: $(MODES) 138 all: $(MODES)
139 139
140 # Special target for the buildbots to use. Depends on $(OUTDIR)/Makefile
141 # having been created before.
142 buildbot:
143 $(MAKE) -C "$(OUTDIR)" BUILDTYPE=$(BUILDTYPE) \
144 builddir="$(abspath $(OUTDIR))/$(BUILDTYPE)"
145
140 # Compile targets. MODES and ARCHES are convenience targets. 146 # Compile targets. MODES and ARCHES are convenience targets.
141 .SECONDEXPANSION: 147 .SECONDEXPANSION:
142 $(MODES): $(addsuffix .$$@,$(DEFAULT_ARCHES)) 148 $(MODES): $(addsuffix .$$@,$(DEFAULT_ARCHES))
143 149
144 $(ARCHES): $(addprefix $$@.,$(MODES)) 150 $(ARCHES): $(addprefix $$@.,$(MODES))
145 151
146 # Defines how to build a particular target (e.g. ia32.release). 152 # Defines how to build a particular target (e.g. ia32.release).
147 $(BUILDS): $(OUTDIR)/Makefile.$$(basename $$@) 153 $(BUILDS): $(OUTDIR)/Makefile.$$(basename $$@)
148 @$(MAKE) -C "$(OUTDIR)" -f Makefile.$(basename $@) \ 154 @$(MAKE) -C "$(OUTDIR)" -f Makefile.$(basename $@) \
149 CXX="$(CXX)" LINK="$(LINK)" \ 155 CXX="$(CXX)" LINK="$(LINK)" \
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 246
241 # Stores current GYPFLAGS in a file. 247 # Stores current GYPFLAGS in a file.
242 $(ENVFILE).new: 248 $(ENVFILE).new:
243 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ 249 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \
244 echo "CXX=$(CXX)" >> $(ENVFILE).new 250 echo "CXX=$(CXX)" >> $(ENVFILE).new
245 251
246 # Dependencies. 252 # Dependencies.
247 dependencies: 253 dependencies:
248 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ 254 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \
249 --revision 1282 255 --revision 1282
OLDNEW
« no previous file with comments | « DEPS ('k') | SConstruct » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698