* CAF used this to generate blueprints for their QTI
vendor HALs under vendor/qcom/opensource/interfaces.
* In Android 11 they switched to pre-generated blueprints,
so there's no reason to run this at build time, also
it slows down build.
* Also remove mka, after removing this it no longer
serves a purpose as the "m" function exists.
Change-Id: I9644a08d120fbfedf0cb119e21e12800fa2509ff
- Added option to sign builds.
- Added option to specify build type and variant.
- Added option to build module(s).
- Detailed options can be viewed by ./rom-build.sh --help.
- Other minor updates.
Change-Id: I61ee4819ed042beaec3876bfef61c55776b28ed7
We recently moved it from main.mk to props.mk
Signed-off-by: Hernán Castañón <herna@paranoidandroid.co>
Change-Id: I0e9bc1e7849ff3eb044a85ce0130bcc464143f85
This requires https://gerrit.aospa.co/#/c/3692/
As in the associated commit, this change propogates the return code to
the shell environment which called the script. It also prints "Build
Failed!" in red as an indication to the user that the build has failed.
Change-Id: Ifedffecf4bf87f908056779e5e26e8f997998872
Signed-off-by: Evan Anderson <evananderson@aospa.co>
When you run the script, it will print: "Building AOSPA export 6.0.3".
This happens due to:
989f423b85
Because the variable we had before didn't need to be exported:
"VERSION=$VERSION_MAJOR.$VERSION_MINOR$VERSION_MAINTENANCE-$VERSION_TAG"
After the commit I mentioned above it needs, so we need to make the
'sed' command notice that too. Fix it!
Change-Id: I0c66d56460e1769fa0b6cb6ff8711b5bff84e7a6
Signed-off-by: Ícaro Hoff <icarohoff@gmail.com>
There's no need to separate the major, minor, maintenance, and tag
versions. Switching to a single version declaration makes scripts
simpiler and saves space.
Change-Id: Ie6237c58705e4e31ee5ab08a4aa7167af90f6897
Signed-off-by: Evan Anderson <evananderson@aospa.co>
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
* Makes a big difference with the new caf manifest since we don't have to clone all branches
Change-Id: Ibe4298c42298febe432eb6c27c5d83787cdb4d0f
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
There is no reason for the makefiles to be split up as they have
been. They are not long enough to be hard to oversee in a single
file and, arguably, are even easier to manage in a single file.
Additionally, the dependency updater has been rewritten to be a
bit more flexible with its inputs and outputs. The usage stays
exactly the same.
Conflicts:
configs/pa_extras.mk
configs/system.mk
main.mk
prebuilt/app/Android.mk
Change-Id: Ie26c3b89721d03825fa3116ab5fe0cae76ec55ab
As with this commit, the user can now see the available options by
running `build.sh -h`. Additionally, the option list will also get
output when the user does not pick any specific device to build.
Change-Id: I899b8b1f266edd37ae94d36becdcad9d39811461
We don't need to remove all of the out folder since most
of the non-device specific items don't need rebuilding every time.
This preserves the host binaries and other generic items.
Change-Id: Idb3196d63d03c60cd2578cc07786ffbfc0069bd8
Signed-off-by: Evan Anderson <evananderson@aospa.co>
usage: ./rom-build.sh <device> [sync] [user] [clean]
The parameters are now accepted in any order so you do not need to
worry about crazyness like that. The interactive mode was dropped
as it was not referenced from anywhere, along with UPLOAD and
CLEAN_BUILD variables being set. Various other changes have taken
place all around, generally aiming for improved stability. As an
extra on top, we have the username set correctly once again with
this change applied.
Change-Id: I52db5ee034b90f99e0f0501583073b2bca0fc0e1
This adds a command line argument for enabling user
builds for releases. Example usage is below
./rom-build.sh hammerhead user
Change-Id: I49a5ae767e7eff8389a2bd17075ec32990498b7c
Signed-off-by: Evan Anderson <evananderson@aospa.co>
PREFS_FROM_SOURCE was initially added to product makefiles back
in 03c1663 and the PA overrides makefile in d454ed8 and then was
discontinued after a short period with d454ed8 but mentions of it
still remained throught the makefiles up until now even though
PaPrefs is not in use at all anymore. OVERLAY_TARGET is in a
situation very similar to that - the variable is not in use as
hybrid is not in use.
Change-Id: I117f7f16828af8d963d80d3a7c2626f772e16f91
no /proc file system in MacOSX. use sysctl to return correct number of
cores to speed up building.
Change-Id: Ic813521c5867fd3c5ac1f565894dcb89aa1a3579