From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Android build-tools / prebuild / soong Date: Mon, 16 Oct 2017 20:39:27 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4AIb-0000LI-KT for guix-devel@gnu.org; Mon, 16 Oct 2017 14:39:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4AIX-0007sZ-GO for guix-devel@gnu.org; Mon, 16 Oct 2017 14:39:37 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:48997) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e4AIX-0007YZ-9b for guix-devel@gnu.org; Mon, 16 Oct 2017 14:39:33 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3yG6YY6HTYz1qv3Z for ; Mon, 16 Oct 2017 20:39:29 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3yG6YY5dfcz1qqkD for ; Mon, 16 Oct 2017 20:39:29 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id bqaQM9UWGSpH for ; Mon, 16 Oct 2017 20:39:28 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-93-104-83-131.dynamic.mnet-online.de [93.104.83.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Mon, 16 Oct 2017 20:39:28 +0200 (CEST) Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 218CD6052B for ; Mon, 16 Oct 2017 20:39:28 +0200 (CEST) Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel Hi, maybe somebody want to work in this puzzle :-) Last week I played around upgrading the android libs and tools to the current release 8.0.0_r17, when I realized that the build-system has switched from a Makefile-base to one based on "Android.mk" files. These are meant to be processed by a tool called "soong" (with two `o`). soong is based on "ninja" an "Blueprint". There are no build-instructions and no usage examples. So I asked on the android-building mailinglist how to build and use soong stand-alone. I got the answer that this is not indented but to be build like this (fixed by my): guix environment --ad-hoc repo repo init -u https://android.googlesource.com/platform/manifest -b build-tools repo sync -j32 mkdir OUT OUT_DIR=OUT prebuilts/build-tools/build-prebuilts.sh So the script in the last line is the key. It looks acceptable, but I have no clue about how go programs are build normally. So for me solving this puzzle is quite time-consuming and I may not be able to work on it for quite some time. Anybody to take over? -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |