all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Android build-tools / prebuild / soong
Date: Wed, 18 Oct 2017 10:33:17 +0200	[thread overview]
Message-ID: <7a50fe28-2c4b-74ad-77b1-095ffa5b0235@crazy-compilers.com> (raw)
In-Reply-To: <87h8ux5gj0.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2148 bytes --]

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 Android.mk 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.

  * kati – https://android.googlesource.com/platform/build/kati

    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

  * blueprint – https://android.googlesource.com/platform/build/blueprint

    .travis.yml available
    build seems to require ninja and go (according to travis.yml)

  * make – https://android.googlesource.com/platform/build

    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).

  * soong – https://android.googlesource.com/platform/build/soong/


[1]
https://android.googlesource.com/platform/system/core/+/android-cts-8.0_r2
[2]
https://android.googlesource.com/platform/system/core/+/android-cts-8.0_r2/fastboot/
[3]
https://android.googlesource.com/platform/build/soong/+/android-cts-8.0_r2


-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |


[-- Attachment #2: Type: text/html, Size: 3928 bytes --]

      reply	other threads:[~2017-10-18  8:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-16 18:39 Android build-tools / prebuild / soong Hartmut Goebel
2017-10-18  2:36 ` Maxim Cournoyer
2017-10-18  8:33   ` Hartmut Goebel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7a50fe28-2c4b-74ad-77b1-095ffa5b0235@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=guix-devel@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.