Commit graph

11 commits

Author SHA1 Message Date
Alessandro Astone
ade98959e0 config: Set screen size defaults globally
* Makes defaults available to other places than just bootanimation

Change-Id: I6865bdd08e7f3d9370ce8578691f52204d57fde7
2021-03-12 14:08:55 +01:00
Rashed Abdel-Tawab
52b26fadaa lineage: Use prebuilt ImageMagick for bootanim
Change-Id: I49301cf09f79d617868ac3d445d243020b587c9d
2019-09-12 00:09:44 +02:00
Luca Stefani
05b688012e
lineage: Rework bootanimation generation
Change-Id: Ib0b363c3e0545cb0c86dc69dd1a75f82dd777e59
2019-09-09 13:04:03 -07:00
Vasyl Gello
bc4bce82d4 Fix bootanimation destpath if building off-tree
If the build is invoked off-tree, like:

    . build/envsetup.sh
    export OUT_DIR=/some/other/dir/out
    export DIST_DIR=/some/other/dir/dist
    breakfast chagalllte
    mka \
        target-files-package dist

the bootanimation.zip is correctly generated in $OUT_DIR.

However, if the user overrides directories after breakfast, i.e:

    . build/envsetup.sh
    breakfast chagalllte
    mka \
        OUT_DIR=/some/other/dir/out \
        DIST_DIR=/some/other/dir/dist \
        target-files-package dist

the destination path of intermediate bootanimation.zip is still
controlled by $ANDROID_PRODUCT_OUT which is set by build/envsetup.sh.
This leads to a copy error and a failed build.

The fix overrides $ANDROID_PRODUCT_OUT by the always-known PRODUCT_OUT
(make variable defined in build/core/envsetup.mk), making it error-prone
to environment variable declaration.

Also, the "sh" invocation is replaced with generic make-variable
$(shell).

Change-Id: Ic94d1b538fc01946b628f9b5d776548a03acde97
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2019-07-09 09:56:02 +03:00
LuK1337
56030be8a5 lineage: Don't error out when screen size isn't set
* Generic AOSP devices don't set it and we don't really
  want to fork them just to set the bootanimation size.

Change-Id: I684454ae07348ee29c832f86f56bcfbd4f627b4d
2018-03-01 06:52:37 +00:00
Luca Stefani
6b47332546 bootanimation: Error if screen width or height aren't set
Change-Id: Ic102e49d39a12116e9a0b25accf0ef81520c495f
2018-02-18 11:39:01 +00:00
Dan Pasanen
91f7620c4d
vendor: change vendor to lineage
Change-Id: I2df13091f5d62b552ef434aef1a389f4fe1249e0
2017-08-23 03:26:28 +03:00
Zhao Wei Liew
d0850b3294 cm: bootanimation: Fail the build if mogrify is absent
We're no longer using convert, but mogrify.

Change-Id: Ifd58527b49e5548dd94b35a8cf0ffa4ad5196804
2017-02-10 22:03:31 +00:00
Dan Pasanen
24a1cc95b6 Revert "cm: Revert the new boot animation generation process"
This reverts commit e2ec4c6051.

* New build server(s) will be able to support this

Change-Id: I990297e6db7aa6076199bb6344328e704b1d4ebe
2016-12-29 05:16:33 +00:00
Zhao Wei Liew
e2ec4c6051 cm: Revert the new boot animation generation process
The servers do not have ImageMagick installed right now,
breaking the automated builds.

Revert this for now.

This reverts the following commits:
840e781408 bootanim: Use a for loop to make part# folders
ce5405d1f7 Fix wrong bootanimation.zip from mkdir .../part{0..2}
6179d9494f cm: Build bootanimation.zip
67ddf37281 cm: Rework boot animation generation

Change-Id: I63fc43da9b1a6afea5f791e879f0bfc9a385d98d
2016-12-04 01:00:43 -08:00
Griffin Millender
67ddf37281 cm: Rework boot animation generation
Keep the largest bootanimation extracted
and resize it at build-time.

Change-Id: Iee32f18440ff955d13ed85b273e97cbd540721fc
2016-12-01 22:43:29 +01:00