Coder Social home page Coder Social logo

nikolowry / bromite-builder Goto Github PK

View Code? Open in Web Editor NEW
16.0 4.0 7.0 170 KB

Utility script for building Bromite releases

License: GNU General Public License v3.0

Shell 90.01% Python 9.99%
chromium bromite android browser adblock privacy security adblocking

bromite-builder's Issues

Enable AV1 Decoder

When attempting to build chrome_modern_public_apk with arm64 and Bromite's supplied GN args, the following fatal error will be thrown during builds due to enable_av1_decoder=true:
error: undefined symbol: aom_arm_cpu_caps

To temporarily get around this issue, enable_av1_decoder=true is being removed from Bromite's supplied GN args. Still need to determine if this is isolated to arm64 or if the same error is thrown with arm

@csagan5 how are you currently able to build arm64 with AV1?

Gclient hooks optimizations & removal of non-free binaries

Needed for:

  • Reducing fetch-sync times
  • Avoiding any non-free binaries
  • Complete removal of Google Play deps in BUILD.gn, forcing to only use the system-only versions of packages/classes - following that aar blobs can be discarded

Related:

  • Confirm all scripts in depot_tools are human-readable (majority are Python scripts, but verification is needed)

Build bot

Todo:

  • Setup a build bot that runs automatically on new Bromite releases
  • Have bot push successful builds to a release tag

Enforce clean builds unless building a different ninja target

Only add exclude args to the git clean in fetch-sync when a build's arch type and version match that of a previously successful build.

This will make building ninja target variants quicker, but also ensure clean environments when building new or old versions.

Docker build support

In case you are interested, the /e/ foundation people have created a Docker-based build system that seems to work on GitLab: see https://gitlab.e.foundation/e/apps/browser/blob/master/.gitlab-ci.yml and the Dockerfile in same repo.

I was not aware of this until a few minutes ago and I thought to tell you, in case it might be useful.

By the way, I am glad to see you are supporting this builder and I learnt for example from the README here that jumbo builds are being phased out; perhaps I should follow the chromium mailing list more closely :)

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.