[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Android build-tools / prebuild / soong

From: Hartmut Goebel
Subject: Re: Android build-tools / prebuild / soong
Date: Wed, 18 Oct 2017 10:33:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

Am 18.10.2017 um 04:36 schrieb Maxim Cournoyer:
It seems that Soong is not meant to work with those .mk files though;
its page talks about newer JSON-like "Android.bp" files that supersede
the older make-based files[1].

The documentation is terrible, it totally unclear whether .bp or .mk files are used. Maybe .bp file are transistional files only. Who knows?

For platform/system/core [1] there is a .bp file (and a .mk file), but for e.g. fastboot (which is part of system/core) [2] there is only a .mk file, while for soong there is a .bp file again [3]

Interesting (just discovered):

After running "repo sync" the directory .repo/projects/build contains blueprint.git, kati.git, make.git and soong.git. So I assume there are the tools to start with.

based on Makefile (two others will be ncluded), implemented in C and Go
.travis.yml available, is building the C implementation
build seems to require ninja (according to travis.yml), but makefile does not use it
tests require ruby
.rravix.yml seems to run more tests than test-target

.travis.yml available
build seems to require ninja and go (according to travis.yml)
Seems to include a lot if Makefiles to be included by Makefiles. There is a README. Scanning ofer this I assume, that this is the "meta-make" for building the android platform (commands m, mm, mmm).


Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| | compilers which you thought are impossible |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]