Questions tagged [android-soong]

Soong is the replacement for the old Android make-based build system. It replaces Android.mk files with Android.bp files, which are JSON-like simple declarative descriptions of modules to build.

Soong is the replacement for the old Android make-based build system. It replaces Android.mk files with Android.bp files, which are JSON-like simple declarative descriptions of modules to build.

See https://android.googlesource.com/platform/build/soong/

82 questions
0
votes
1 answer

How to specify custom binary name in Soong?

I'm building custom C++ binary to add to AOSP build and I need to use new Soong build (.bp) files (which is Bazel-based, I learned). By default, "name" of the module will become binary name, but i need to change it. Is there any way to do it? So in…
Andy Victors
  • 335
  • 2
  • 9
0
votes
1 answer

Prebuilt libtensorflowlite.so library in AOSP Android.bp, failes to build, permission denied

I have a generated libtensorflowlite.so library from tensorflow with bazel, I've been using it with CMake for cross compile executable files and was able to run them all smoothly in android, but when I want to use that library…
0
votes
0 answers

Having pointer to instance of class in another class and other way around

I have a C++ static library A and a C++ shared library B(Android HAL). I want to have a pointer to an instance of class A inside class B and a pointer to an instance of class B inside class A. The purpose of this is to have multi-directional…
Moaaz Ali
  • 93
  • 15
0
votes
1 answer

How can I add boot jar location in the device tree?

I have the mediatek-common.jar. I need to write a makefile to put the bootjar so that the following doesn't occur. FAILED: ninja: 'out/soong/missing', needed by 'out/soong/ra6/dex_bootjars_input/ mediatek-common.jar', missing and no known rule to…
Devab LLC
  • 115
  • 1
  • 8
0
votes
1 answer

Compiler options in Andriod.bp files

everyone. I'm trying to convert a makefile to a .bp file for Android Q and i'm facing some issues. 1) I'm not sure how to define a release version. Previosly in makefile i would just write something along the lines of: MY_RELEASE_VERSION := $(shell…
0
votes
1 answer

"Failed to build some targets" while Building Android Open Source Project (AOSP) for Dragonboard (Ubuntu 16.04)

I'm trying to go through the procedure mentioned here on Ubuntu 16.04: https://www.96boards.org/documentation/consumer/dragonboard/guides/aosp/ . Since the steps before I face the error produce wide results and that I have run successfully, I am…
0
votes
1 answer

is it possible to build android applications using Andriod.bp

Is it possible to build the android application using Android.bp? I tried to generate the Android.bp file from Android.MK file using the following command androidmk Android.mk > Android.bp And the resultant Android.bp file is like, // ANDROIDMK…
Midhun PM
  • 512
  • 1
  • 7
  • 24
1 2 3 4 5
6