Giter Club home page Giter Club logo

Comments (8)

jamuir avatar jamuir commented on September 28, 2024 2

no, no progress from me yet.

I will try to find some time next week to look at this.

from aosp_build.

jamuir avatar jamuir commented on September 28, 2024 1

@Blystad , @mfonville : thanks for your comments and the pointer to #63.

I will open a PR in the next few days to address this.

As I mentioned before (in a different thread), rather than using the file vendor/google/build/config.mk, I'd like to try incorporating opengapps into the build in a different way. This should alleviate the problems we see with build variables not being defined. If I can't get that to work, then I will resort to calling get_build_var / get_abs_build_var as suggested above :-)

from aosp_build.

jamuir avatar jamuir commented on September 28, 2024

We have fixed this locally by skipping the pittpatt copy statements when the device is bullhead (those files actually get copied to the vendor image by a statement in a separate part of our in-house build).

But rather than using a device-type check, what we should really be doing is checking whether a vendor image is being built (and then generating different PRODUCT_COPY_FILE statements).

Inside the "build" project, the statement ifdef BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE is used to check whether a vendor image is being built, but that doesn't work inside vendor/google/build/opengapps-files.mk because of the way the opengapps makefiles are included in the build system; they are processed before device/lge/bullhead/BoardConfig.mk.

from aosp_build.

acr92 avatar acr92 commented on September 28, 2024

I tried fixing this with #65 but that didn't work, because of how stuff is processed.

See original issue #63

The project I build doesn't have a vendor/ partition, so it's a bit difficult for me to test. I would welcome PRs that fixes this issue, since this seems to be a recurring issue.

You could try get_build_var and get_abs_build_var (from source/buildenv.sh), maybe that'll get the value necessary.

from aosp_build.

mfonville avatar mfonville commented on September 28, 2024

A short addendum: in Nougat the libfrsdk.so seems to have moved from /vendor to the directory of the facelock apk itself, and pittpatt has been removed;
I still have to incorporate those changes, but it seems that over time this issue will resolve itself and system related stuff will not be put on that partition anymore.

from aosp_build.

Fuzion24 avatar Fuzion24 commented on September 28, 2024

@jamuir any updates here?

from aosp_build.

jamuir avatar jamuir commented on September 28, 2024

@Fuzion24: I have a branch that should resolve this, but I haven't tested it yet. You are welcome to give it a try:

https://github.com/GraphiteSoftware/aosp_build/tree/jm-system-vendor

from aosp_build.

jamuir avatar jamuir commented on September 28, 2024

fix has been merged.

closing.

from aosp_build.

Related Issues (20)

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.