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

Issue 10824039: Rewrite Makefile rules for Android to allow parallel execution (Closed)

Created:
8 years, 5 months ago by haitao.feng
Modified:
8 years, 4 months ago
Reviewers:
yangguo, Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Rewrite Makefile rules for Android to allow parallel execution BUG=v8:2257 Committed: https://code.google.com/p/v8/source/detail?r=12211

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -102 lines) Patch
M Makefile View 2 chunks +8 lines, -5 lines 0 comments Download
A Makefile.android View 1 chunk +92 lines, -0 lines 0 comments Download
D tools/android-build.sh View 1 chunk +0 lines, -97 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
haitao.feng
Rewrite Makefile rules for Android to allow parallel execution. Basically we want to invoke make ...
8 years, 5 months ago (2012-07-26 07:25:34 UTC) #1
Yang
8 years, 4 months ago (2012-07-27 11:14:35 UTC) #2
On 2012/07/26 07:25:34, haitao.feng wrote:
> Rewrite Makefile rules for Android to allow parallel execution.
> 
> Basically we want to invoke make by the following interface:
>   make $arch.$mode.check -jN
> 
> The problem is that for Android, the arch might be android_ia32 or android_arm
> and they have different configurations of toolchains and gyp_defines. The
> solution is adding an indirection. Previously this is done by
> tools/android-build.sh while it disabled parallel building. 
> 
> Now I rewrite all the android-build.sh logic by using a new Makefile.android:
>   1) There is no "case" statement in Make. Replaced with ifeq/else
> ifeq/else/endif
>   2) It turns out MAKEFILES is a reserved word in Make. If we do not change
the
> name, the "@$(MAKE) -f Makefile.android $@" will search
> out/Makefile.[arm|ia32|x64|mipsel] and things are totally messed.
> 
> Please let me know any issue in the future and I am willing to help :)

LGTM. Landing.

Powered by Google App Engine
This is Rietveld 408576698