Commit Graph

164 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
Dan Pasanen
2cfe6b260b cm: add selective based spn (2/2)
* patch set 1 to 7 doesn't fix the problem, it bruce forces the spn
list to ALL DEVICES.
* this change and http://review.cyanogenmod.org/#/c/57393/
will attack the problem at lowest level, customized it for speed
and memory.
*  the best part is that it handles letters and exit the
function when it find a letter in the response from ril.

Change-Id: Ia63309acf38617e68b98ff1068463a942fa793df
2014-01-13 07:54:11 -06: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
Abhisek Devkota
32bbdf6f57 Remove unused audio mk files
These are empty and useless.

Change-Id: I23cd1be105f7bddbf555a35e10efcc92a7c1eb47
2014-01-02 21:27:03 +00:00
Steven Luo
510db5ca65 common_mini_tablet_wifionly.mk: don't try to install removed BlueZ config file
Change-Id: I91ac1dd34c9c048cda7d6b5a81ee22b2db852b49
2013-12-19 00:47:12 +00: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
Brandon Bennett
9fe4b928be Move Mms from phone specific to telephony
Tablets want MMS too (carriers send messages, etc), lets make this
for any device inherenting telephony.mk

Change-Id: Ida0e86d1f4d982580cef72816f93f88d0b0313e4
2013-11-27 01:23:02 +00:00
dhacker29
3dbb56527a cm_audio: Rename Doink.oog to CyanDoink.oog to prevent override
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/media/audio/
notifications/Doink.ogg:system/media/audio/notifications/Doink.ogg
ignored.

This is due to Doink.oog already existing in frameworks/base

Change-Id: I7ab091680f9cb0fb349ff425cb3ee1273d32ee89
2013-11-22 02:17:39 +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
Abhisek Devkota
6807ad27d1 Remove audio files per author request
Original author Dennis Cleiren has contacted us and asked
to remove 5 audio files that were not intended to be
merged (miscommunication with codeworkx of original patches).

For reference:
http://review.cyanogenmod.org/#/c/13215/
http://review.cyanogenmod.org/#/c/16482/

Change-Id: Idad43b62f2d3fbf593b80b56ee129dd6b98e30eb
2013-08-14 20:39:51 -07:00
Matt Mower
91e1e7c6b5 Let common_mini_phone inherit from commonized telephony.mk
See: http://review.cyanogenmod.org/52650

Change-Id: Ifb074fb380cdd84e6ace49631ec54a8cef45c457
2013-10-29 16:49:29 -05:00
Ricardo Cerqueira
53df1df11e Don't assume phones are the only clients for the telephony configuration bits
Data-enabled tablets need love, too

Change-Id: I239823f198260d0f045c6e7305cf04082a8ef1e9
2013-10-29 17:48:25 +00:00
Shareef Ali
413017b57d cm: World Phone support
* combine apns
* leave cdma/gsm files intact but empty until the calls
* are removed from devices cm.mk

Change-Id: I0686ef4ee1fe9b34ac9beaaa2bd43555234f4f6d
2013-10-28 01:21:54 -05: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
Michael Bestas
71b1a2fca7 cm: update VideoEditor & live wallpapers packages
This change allows us to disable these packages on devices
with limited storage.

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Ic843d1f663c7e2f68fa758d338d2e428b9321764
2013-10-01 18:36:50 +00: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