GithubHelp home page GithubHelp logo

arrowos / android_build Goto Github PK

View Code? Open in Web Editor NEW
8.0 6.0 26.0 78.56 MB

Makefile 38.01% HTML 0.96% Python 33.19% Shell 1.92% C 0.70% C++ 3.01% CSS 1.41% JavaScript 1.39% C# 0.54% Java 5.15% Dockerfile 0.03% Forth 0.04% Go 13.60% Starlark 0.03%

android_build's Introduction

Android Make Build System

This is the Makefile-based portion of the Android Build System.

For documentation on how to run a build, see Usage.txt

For a list of behavioral changes useful for Android.mk writers see Changes.md

For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.

This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.

android_build's People

Contributors

agampe avatar android-build-merge-worker-robot avatar bbadour avatar bdcgoogle avatar bohu-google avatar bowgotsai avatar chih-hung avatar colecf avatar colincross avatar danalbert avatar daniel-norman avatar danw avatar ddougherty avatar delphij avatar dimitry- avatar enh-google avatar gkousik avatar gyias avatar iskim517 avatar jiyongp avatar marstj avatar narayank avatar nickkral avatar onoratoj avatar scottamain avatar shinh avatar silverneko avatar smore-lore avatar stephenhines avatar szuweilin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

android_build's Issues

How do you build this?

Screenshot from 2022-06-30 16-54-20

Screenshot from 2022-06-30 16-54-29

I followed the steps -
mkdir -p ~/arrow
cd arrow
repo init -u https://github.com/ArrowOS/android_manifest.git -b arrow-12.1
repo sync
wait 2.5 hours no errors as far as I can see

But the file I got in the end is empty ;p I didn't have to rename it even it came as arrow_device-codename.mk
( Although I didn't see it at first in the folder ... I pasted this in terminal : lineage_device-codename.mk -> arrow_device-codename.mk but it did nothing as far as I can tell? It complains about not knowing what that command is. But weirdly after that I finally saw the file arrow_device......mk)

Anyways file is empty and instructions are really not helpful so I have no idea what to do... I am stuck on this step:
Now inside arrow_device.mk
Change “lineage” to “arrow” & “common_full_phone.mk” to “common.mk”
For example:
$(call inherit-product, vendor/arrow/config/common.mk)
Change PRODUCT_NAME value “lineage_device-codename”
( “lineage_beryllium” ) to arrow_device-codename ( i.e, arrow_beryllium )

Everything is empty , so idk if it's telling me to paste this into the file? IF it is it's really confusing I have no idea what am I supposed to change? This ? $(call inherit-arrow_alioth, vendor/arrow/config/common.mk)

:P Looking at stuff after this in the guide it's even more confusing as idk where the device tree is located?
.. it's been a while since A11 release , maybe the steps are dif now?

build error

Wa,--defsym,FILTER_ENABLED=1 -Wa,--defsym,SAMPLES_8_BIT=1 -no-integrated-as -target armv7a-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -D__ASSEMBLY__ -MD -MF /home/ubuntu/scripts/arrow/out/soong/.intermediates/external/sonivox/arm-wt-22k/libsonivox/android_arm_armv8-a_cortex-a75_core_static/obj/external/sonivox/arm-wt-22k/lib_src/ARM-E_mastergain_gnu.o.d -o /home/ubuntu/scripts/arrow/out/soong/.intermediates/external/sonivox/arm-wt-22k/libsonivox/android_arm_armv8-a_cortex-a75_core_static/obj/external/sonivox/arm-wt-22k/lib_src/ARM-E_mastergain_gnu.o external/sonivox/arm-wt-22k/lib_src/ARM-E_mastergain_gnu.s
Assembler messages:
Error: unknown cpu `cortex-a55'
Error: unrecognized option -mcpu=cortex-a55
clang.real: error: assembler command failed with exit code 1 (use -v to see invocation)
[ 28% 29314/104626] //frameworks/av/s...rigger clang++ SoundTrigger.cpp [arm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.