Commit Graph

135 Commits

Author SHA1 Message Date
Brint E. Kriebel a1e4912298 cm: Update the path for jenkins-generated files
Change-Id: I846d3c67f5a0a41457e28c93ba200dab1d14adf0
2014-01-31 11:59:56 -08:00
Michael Bestas 8deec444c8 cm: Add Trebuchet back to the build
Change-Id: Icbb6267a547e4022c6fc5382a33ba75e257006d9
2014-01-30 21:42:22 +00:00
Abhisek Devkota 83a586ede5 Merge "Add half-resolution boot animations for low-end devices" into cm-11.0 2014-01-30 21:35:17 +00:00
Steven Luo 367e64830f Add half-resolution boot animations for low-end devices
On low-end devices, the current 48 fps boot animation can use more than
50% of CPU time, and if the texture cache is enabled, a majority of main
memory as well.  For these devices, add half-resolution variants of the
lower-resolution boot animations which display 2x upscaled -- this
greatly speeds the boot process and makes the boot animation run more
smoothly.

Change-Id: I0140616ca38c52a06dd4622f1c20a9ca0da95f4b
2014-01-30 13:22:18 -08:00
Brint E. Kriebel ac948f53eb cm versioning: fix certificate check
The variable used does not exist at this stage of the build. Switch
to PRODUCT_DEFAULT_DEV_CERTIFICATE, which does exist when in use.

Change-Id: Icb3bbaa437e68b96e1ce05a09f6525cd1ddb9a6a
2014-01-24 09:58:36 -08:00
Michael Bestas 70d21b306d Exclude extra LatinIME dictionaries in "mini" builds
Change-Id: I935f1ba5addcff2b2e4d738550db3ca6916fe07f
2014-01-28 02:08:09 +00:00
Tanguy Pruvot ac602b4c28 busybox: add libsepol to product packages
Change-Id: I9536c3d84713454c22f45f35e00a84a5d87ae8fb
2014-01-28 00:29:45 +00:00
Steven Luo b95faf6097 Remove some optional packages from "mini" builds
Change-Id: I31f502a10d64343c8800d51df28b6de49e44bccc
2014-01-16 19:26:07 -08:00
Ricardo Cerqueira 74b4f9b149 cm versioning: Empty keys == default keys
Don't assume the path to the signing key is the default, it can
be empty and have the same meaning...

Change-Id: Id545d6436e9f21d6b62eec5a317ea7665190f104
2014-01-11 16:00:16 +00:00
Ricardo Cerqueira 4616137915 cm: Add a simplified version string
Similar to the ro.build.id/ro.build.display.id distinction, and with
the same rationale; signed builds are intended to be stable by
definition, the release types have different meanings (user vs
userdebug), and the full CM version has too much duplicated information:
the device's name and build date are already present elsewhere in the
same information screen.

For signed builds, remove the duplicated information and the type,
leaving only the actual numeric version and the verbose build identifier,
turning for example "11-20140109-SNAPSHOT-HappyPonies-device" into just
"11.0-HappyPonies". If a simplified display version can't be built,
it'll be the same as the full ro.cm.version

Change-Id: I7d8cccbb3205bde710f0004df0a6bd12c39693f1
2014-01-09 10:25:31 +00:00
Steven Luo 4913344f72 Don't ship CellBroadcastReceiver on wifi-only devices
Attempt to fix dependency issue

Change-Id: I0122fc4665827bfcefd61e4287d9ff685b675aee
2014-01-06 18:27:12 -08:00
Steve Kondik 42fb9d8fc5 cm: Remove legacy compcache stuff
* Remove all this stuff.  If a device wants ZRAM, it should be
   enabled by the maintainer and properly configured and tuned.
 * This stuff currently causes a conflict with the ZRAM support
   added in Kitkat. Kill it.

Change-Id: Ib2488ea4463e32ec44b65fe786f732145b5b6e23
2014-01-04 16:59:40 -08:00
Ricardo Cerqueira 07e8f87234 Merge "Fix custom unofficial build tags" into cm-11.0 2013-12-18 00:55:36 +00:00
Abhisek Devkota e5d12df8ef Merge "Add CM Legal (1 of 2)" into cm-11.0 2013-12-17 23:12:45 +00:00
Michael Bestas 3bf9ba896d Fix custom unofficial build tags
Before: CM_VERSION=11-20131217-UNOFFICIAL"-LegacyXperia"-smultron
After:  CM_VERSION=11-20131217-UNOFFICIAL-LegacyXperia-smultron

Change-Id: Ib9c58b39efc4dc5a51380c647db9f7896e165704
2013-12-18 00:23:16 +02:00
Matt Mower f416839b8a vendor: support custom unofficial build tags
By defining TARGET_UNOFFICIAL_BUILD_ID in a device's cm.mk, users can
build custom CM builds with their own identifier in place.
This adheres to CM's policy that unofficial builds must be
marked as such, as both the filename and internal version will still
contain the word UNOFFICIAL.

Example:
TARGET_UNOFFICIAL_BUILD_ID := CatEater01
results in
cm-11-20131211-UNOFFICIAL-CatEater01-device(.zip)

Change-Id: I61acdf4698a7fe2b35d3d5315be4b444b1b97987
2013-12-13 22:28:23 +00:00
Pawit Pornkitprasan a082e90c04 cm: only include WhisperPush in telephony-enabled devices
No point having it in Wi-Fi-only tablets

Change-Id: Iceacb99ab8d10c565896ad89da8ba533de83dc31
2013-12-13 18:17:08 +07:00
Abhisek Devkota 381a305718 Add CM Legal (1 of 2)
Allow defining a ro.cmlegal.url to for T&C and Privacy Policy

Change-Id: I45ffbdd9e472e258ed8c5a63dff0f3b9c7bc04e2
2013-12-10 04:35:08 -08:00
Chris Soyars 4d758b16c9 Include WhisperPush with CyanogenMod build
Change-Id: I63fddfbc144cd8d8dbc797dc87d0897345bb0f79
2013-12-09 17:12:01 -08:00
Michael Bestas ff4943e7f1 Remove CM9 bootanimation handling
* Kill this already, all devices should have migrated by now

Change-Id: If8032b47e969c92ece939af55d963423a18e1f3c
2013-12-08 01:04:18 -08:00
Ricardo Cerqueira 178ca721b4 Always build the updaters
The separation logic is from signing key, not build type. Let
the app makefiles decide

Change-Id: I71286d83148454d77c5e8c35b8c25762ea2d34d3
2013-12-08 01:04:18 -08:00
Ricardo Cerqueira ae71f04d55 Incorporate TARGET_VENDOR_RELEASE_BUILD_ID into the build identifier if it exists
Change-Id: I24d422abd3817c55cffe17166fb30d7efe48e0a0
2013-12-08 01:04:18 -08:00
Koushik Dutta 41fd0aab57 Add CyanogenMod Mobile Services prebuilt.
Change-Id: I477b7b3c230a87926a97be8c17c834a355671ab2
2013-12-07 22:26:37 -08:00
Steve Kondik 5a27f63685 cm: Allow devices to set the GMS client id
Change-Id: I6fdf3817a292ac64291e8f9506eddd7d33059344

cm: Actually add the custom clientidbase

Change-Id: I8105f2cd13c26777f59f1926f378f52c1152cd0d
2013-12-07 11:09:06 +00:00
Steve Kondik 275701b519 cm: Remove procmem and procrank from user builds
* These need to be installed setuid, which is a no-no for CTS.

Change-Id: I68d111db2db675116e214108776aa13c848d0c9a

Put procmem and procrank back into non-user builds

Change-Id: I193a9607dad40043649de6fea1f9bf0ab0c437f1
2013-12-07 11:08:42 +00:00
David Ferguson f474b12932 add libemoji to common build
* this one goes out to all the ladies

Change-Id: I3c183c082927b12b34b4e2a6121dbdc5a6775427
2013-11-10 19:39:36 -05:00
Ricardo Cerqueira 8521d46944 selinux: CM policies are now inserted last
Inclusion of the makefile is done by the build system to enforce
the wanted order

Change-Id: I86d7c6fb08b6bb1f6e0385e951a54827345aaf84
2013-11-05 22:19:33 +00:00
Ricardo Cerqueira 50dda4c2a9 Updates for CM11
Change-Id: Icb527c5aefa0dd86cc91f42f4f691b5fdf7ead48
2013-11-05 15:26:20 +00:00
Ricardo Cerqueira 178dbd6829 keys: Updated path for the signing makefile
Change-Id: I0b293829539682a8fc3b4b672f488b5c53f81282
2013-10-23 20:59:03 +01:00
dhacker29 d22f39ffb3 No need to override mkshrc as it no longer exports PS1
busybox sh works fine with the one in android_external_mksh

Change-Id: I09ae2d16837053ea0be50d3320eccf47057e25c1
2013-10-22 15:46:47 -05:00
Ricardo Cerqueira 9cd218c54b Merge "Revert "Disable excessive dalvik debug messages"" into cm-10.2 2013-10-22 16:51:33 +00:00
Michael Bestas 52c5eb47e5 Revert "Disable excessive dalvik debug messages"
This reverts commit 1f2a3d42ca.

Change-Id: Id3d8c92698d3874e15234d321a7bb1405041b7cf
2013-10-22 03:28:45 +00:00
Ricardo Cerqueira a21887e878 Remove Term, su, and CMUpdater from user builds
Also, set the default root_access property to 0, and
explicitly add to the build packages tools we always
want, to avoid relying on PRODUCT_TAGS that may change
upstream

Change-Id: Iecfb8501cfb2f556d5cafe7d18d06539c0433839
2013-10-19 09:45:47 +01:00
Michael Bestas 1f2a3d42ca Disable excessive dalvik debug messages
Change-Id: Id95875f577348713ab46a055d225e73055b9aea8
2013-10-11 23:25:53 +03:00
Steve Kondik bc68cf2cc0 cm: Skip backuptool on GMS builds
Change-Id: Id0cf16551b87be2d218f04b0d5a158d88ace4e74
2013-10-06 22:41:52 -07:00
Ricardo Cerqueira 554f3703e5 Refactor versioning
* Replace the 1-to-1 variable-to-buildtype stuff with a single
  environment variable. CM_[TYPE]=true becomes CM_BUILDTYPE=[TYPE]
* Change the placement of the extra version tag: 10.2-21234567-TYPE-model-TAG
  becomes 10.2-21234567-TYPE-TAG-model, for consistency with the rest.
  The last component of the version should always be the model.
* Add support for the SNAPSHOT build type, for use with the monthlies
* Unknown types will still fallback to UNOFFICIAL
* Accept the jenkins RELEASE_TYPE variable as an alternative to
  CM_BUILDTYPE for compatibility with older branches

Change-Id: Idf96c7ca887747a5ae49a17cf5adf642fb1d561f
2013-09-28 15:31:18 +01:00
Steve Kondik 7439296afe cm: Build the BluetoothExt package
* This package contains Bluetooth profiles implemented by Qualcomm on
   top of Bluedroid.
 * Currently contains support for MAP and FTP profiles.
 * Also included is BTC for wlan coex on QC chipsets.

Change-Id: I933b14de4576691c31087c9de4d60f21cbe3678b
2013-09-19 19:53:08 -07:00
Steve Kondik e4801d125a cm: Remove Focal
* There are a number of issues with this app, and it's currently not
   working very well on most devices.

Change-Id: I36094c68fa0f642921d478aa72387bce2b88a224
2013-09-19 14:13:50 -07:00
William Roberts 4256e66a1b Use PRODUCT_BOOTANIMATION instead of COPY_FILES
Change-Id: I10f6db5687ba2a3724a00b94bc7592dbd6405b82
2013-09-04 13:18:48 -04:00
Pawit Pornkitprasan 04ffabe3dd Use Package Manager to disable stock OTA
This reverts commit ea14a88a2a.

Using the Package Manager prevents any danling wakelock from
killed service/receiver.

Change-Id: Ie3162ca4b18a7bc9c55613af39e88ea980407e5f
2013-09-01 16:29:16 +07:00
Ricardo Cerqueira ea14a88a2a Prevent stock OTA activities from running in CM
Change-Id: I3f586cd246fc351afb82c94f41329bf930f6f41a
2013-08-27 22:15:26 +01:00
Michael Bestas 848f3f5d34 Don't include VideoEditor in mini_phone/mini_tablet configurations
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Ib95abd1541ca31b0480c0e2c433ffa6faabdc37d
2013-08-25 06:58:46 +00:00
Giulio Cervera b6f18ffe8a cm: Add CMAccount to the build
Change-Id: I28bf86f4752bbd30f86413a304ed21092c043e52
2013-08-25 06:35:44 +00:00
William Roberts 9642d1dd8b sepolicy: Start CM Common sepolicy
Rather than having to maintain out of tree changes, it is often
easier to maintain a hiearchy of changes, starting with the vendors
common config file. From there, inheriting products can pick up a base
and start to add or remove certain bits from it, making use of the
BOARD_SEPOLICY_* functions documented in external/sepolicy/README.

Change-Id: I28a4aaf6c126535f0a88001582641b234a750015
2013-08-17 22:27:45 +01:00
Ricardo Cerqueira 127ac8a44e Add a default root access mode.
Instead of relying on the Settings app code to assume a default,
actually set one

Change-Id: I2054bc0a793a79f7d26bc1bee23e097585a3b8c4
2013-08-15 00:15:07 +01:00
Koushik Dutta 45e6598078 add a hook to add extra packages
Change-Id: I1f955a59a18bda22c4431d05a426aab91764d20d
2013-08-12 15:41:14 -07:00
Ricardo Cerqueira 1780956d4f Build and bundle the hardware framework
Change-Id: I2e3b6d15b37134c000ca208bbc6158c6f3e56b9c
2013-08-08 00:50:26 +01:00
Ricardo Cerqueira f383563305 Enable the SELinux dialog in Settings
Change-Id: Icc708416d062bc811c83bce0841331c84afcb3f6
2013-08-04 13:25:00 +01:00
Chirayu Desai f61831643f Focal: Clean the lens, tighten the tripod, setup the light
It was a long a cold night of winter, and I said "Oh,
how cool would it be if I had a better camera!"
The lovely elf came and rang my doorbell, giving me
a package. Inside, there was something I've never
seen before: A mystic cloud where, while inside,
everything becomes possible. Where your wildest
creativity bits become a reality. Rainbows and
pink unicorns, this commit adds Focal to the build.

Change-Id: I7e0d14164405ef1c0b2faa46965f8ec3f38ab7df
2013-07-29 15:37:02 +00:00
Ricardo Cerqueira 154d029d9c Bump version to 10.2
Change-Id: Ic1810c62cc883c30e3c3e81b20aa4a8c5df74775
2013-07-25 01:12:16 +01:00