Commit graph

1525 commits

Author SHA1 Message Date
Andreas Gampe
4fec0bb265 Build: Support for compiled-classes file
Allow a compiled-classes file for pre-opting.

Bug: 18410571
Change-Id: I8c69dd0fb8c04aaae0c4f062049cc9cce7d755c7
2014-11-18 14:41:26 -08:00
Ying Wang
1b879e3c26 Fix PDK build.
Add frameworks/base/preloaded-classes to PRODUCT_COPY_FILES only if it
exists in the source tree.

Bug: 18305157
Change-Id: I46c277ebfb8095f9e5fe0fbb21276d932509f2eb
2014-11-17 11:01:18 -08:00
Ying Wang
9a9d180ff1 Install preloaded-classes as a standalone configuration file
Install preloaded-classes as a standalone configuration file
/system/etc/preloaded-classes, so we can configure different file per product.
To override the default frameworks/base/preloaded-classes, just override
in your product configuration makefile with PRODUCT_COPY_FILES before it
inherits from build/target/product/base.mk: if there are multiple items
in PRODUCT_COPY_FILES with the same destination, the first one takes
precedence.

Bug: 18305157
Change-Id: I937632b4a1aa73310ec90e73fd708fbd0c704a21
2014-11-14 15:38:54 -08:00
Sami Tolvanen
8d212ea873 DO NOT MERGE: Change verity key formats
Change boot, recovery, and verity metadata signing keys to use the
same PKCS8 / X.509 PEM format as the other signing keys, and update
build scripts to use correct arguments for the updated signing
tools.

Bug: 15984840
Bug: 18120110
Change-Id: I23ed5a004ecdad6cf7696487935ad5031eb8adf8
(cherry picked from commit 72d90eb189)
2014-11-13 23:23:31 +00:00
Stephen Hines
bdac04e0f6 Add bcc to core_tiny.mk.
Bug: 18257466

Also update the core.mk documentation that has gone slightly out of date.

Change-Id: I90ed64e2509dad3d78d451dd4a7d8c3dfd01532c
2014-11-05 13:19:56 -08:00
Ying Wang
b6f60d57e3 Use the lowest common denominator 32-bit abi for arm64 cts build.
So the 32-bit code can be run any supported 32-bit arm devices.

Bug: 18038310
Change-Id: Ie8864cfdb87a4759d1a775d43cb5316b1f022e2b
2014-10-21 21:20:41 -07:00
Alan Viverette
6444212890 Add Cutive Mono to makefiles
BUG: 17666124
Change-Id: I73aee6b7a211bfbd0bdba9c6c630c4c5dea905c7
2014-10-10 19:53:44 +00:00
Adam Lesinski
811e650b82 Merge "Add appops command to devices" into lmp-dev 2014-10-08 18:03:15 +00:00
Adam Lesinski
02bbd640e7 Add appops command to devices
This is used to set appops permissions from the command line
or from CTS tests via the shell.

Change-Id: I8a71d1398e2071aecfd22be7b6530f186f40c2c0
2014-10-08 10:53:59 -07:00
Vince Harron
c1a9edd7a8 Increase system image partition size to fix build
Build of sdk_google_phone_x86_64-sdk_addon product was failing with
the following error message:

error: ext4_allocate_best_fit_partial: failed to allocate 2420 blocks,
out of space?

Change-Id: Ib9e2d21bac86b12b6f8f75d4f30806dd20abcb90
2014-10-07 15:54:19 -07:00
Andreas Gampe
65650a2ecb Build: Increase system image for generic_arm64
Prebuilts are now preopted. This requires a bump in system image
size. Technically a 13M bump would have been fine, but round up
to 50M for a little bit of future breathing space.

Bug: 17772057
Change-Id: Ib10dc24960c0b2e03ef28c55c3c199382802d4e1
2014-10-03 02:37:45 -07:00
Bill Yi
e3386105e3 Remove PinyinIME from target config
BUG:17578207
2014-09-19 16:04:17 -07:00
Tyler Gunn
6156bcad42 Renaming Telecomm to Telecom.
- Changing reference from Telecomm to Telecom.

Bug: 17364651
Change-Id: I5b7200396dfc5f0d4c62f9a1aa50bd4fdc04fccf
2014-09-12 20:06:57 -07:00
Esteban Talavera
aaaf5025b6 Merge "Added new 'adb dpm' command to the packages list." into lmp-dev 2014-09-12 10:35:48 +00:00
Dan Albert
b7af531ecc Remove the vbox target from the build system.
I've been told this is no longer in use, and it's the only user of
external/grub, which is distressingly out of date.

Change-Id: I434a55e0d68f6db97fa71e294e983ff1802e9ba6
(cherry picked from commit de21059acf)
2014-09-11 13:48:15 -07:00
Esteban Talavera
b8ef1188e7 Added new 'adb dpm' command to the packages list.
Bug: 17312478, 17316711
Change-Id: I2613178ea82a6c6268e7f8012e74c4a852fea0d4
2014-09-11 17:52:08 +01:00
Mike Lockwood
b0a62787b4 Add com.android.future.usb.accessory support library to all builds
so we don't have to remember to add it to device.mk for all products.

Bug: 17189905
Change-Id: Ia19c5e16bc7916996804a52eccd3ecca89099f09
2014-09-08 10:34:18 -07:00
Andrew Hsieh
360b851034 Change mips64 default to mips64r6 from mips64r2
Also add back mips flags previously can't be handled by clang

See aosp/build
  13066a8d4c
  10326b3d7f

Change-Id: Iedc8dadd24f72fbd9c5589eec34677c1827290f3
2014-09-04 19:01:22 -07:00
Calin Juravle
4f703a7f9f Make sure that ro.dalvik.vm.native.bridge is always set.
A value of "0" means that native bridge is disabled.

Bug: 17104449

Change-Id: Id68afe305cd11471fed8aa3f5568e5dbfc22166c
2014-08-26 23:03:16 +01:00
Baligh Uddin
cc4c481b8f Add en_AU as a supported locale
Bug: 14587692
2014-08-21 16:04:26 +00:00
Narayan Kamath
24b7840aa1 Add CPU_ABIs for the second generic_arm64 architecture.
This was accidentally removed by commit 8dc227f482.
Breaks builds for apps that use gnustl_static for 32 bit compiles
on an arm64 target.

bug: 16951392

Change-Id: I89480943284944fd95543cccbf40a8de22852197
2014-08-19 13:03:27 +01:00
Narayan Kamath
2cdf9b26fe Merge "Let aosp_arm64 / emulator assume NEON / cortex-a15." into lmp-dev 2014-08-16 04:36:37 +00:00
Narayan Kamath
8dc227f482 Let aosp_arm64 / emulator assume NEON / cortex-a15.
It's only unbundled app builds that need to assume the
worst.

bug: 16951392
Change-Id: I5fda39c4132dafa58fefe02b767a4d2a208f3b12
2014-08-18 19:20:07 +01:00
Michael Wright
08c71b2f77 Remove inputflinger from build. DO NOT MERGE
Change-Id: Ic3031732ea9915e5fac0f5261985027f07125618
2014-08-18 10:19:59 -07:00
Narayan Kamath
50fbf71b2e Merge "Remove services, wifi, ethernet from BOOTCLASSPATH." into lmp-dev 2014-08-15 04:32:23 +00:00
Jeff Tinker
86d238bde0 make com.android.mediadrm.signer available on all devices
bug: 16978496
Change-Id: I238e6fa7fc4e588f52f86130a2721c391959a94a
2014-08-13 11:27:59 -07:00
Narayan Kamath
89ec496f98 Remove services, wifi, ethernet from BOOTCLASSPATH.
They belong to the system_server classpath.

bug: 16555230

Change-Id: Ic84f0b2baf611eeedff6d123cb7191bb0259e600
2014-08-12 10:25:19 +01:00
Deepanshu Gupta
ec02094d3e Merge "Use fonts from generic device for the SDK." into lmp-dev 2014-08-10 19:43:29 +00:00
Deepanshu Gupta
4e5e582522 Use fonts from generic device for the SDK.
This removes the explicit list of fonts for the SDK and replaces it with
the fonts built for the generic device.

Also, the symlinked fonts are copied becuase Windows doesn't support
symlinks.

Change-Id: I8b18b2ab0149ab24448f27dbd5f9716e5d360029
2014-08-09 00:37:31 +00:00
Narayan Kamath
3930fbdd7c Make the 32-bit architecture for arm64 generic.
The idea is that we want to be able to build a single 32+64 APK
whose 32 bit code can run on 32 bit devices, where we can't assume
cortex-a15 or NEON.

Change-Id: Ia6bf400fa472924a94b08cef83e9e5dea09222ab
2014-08-08 18:26:44 +01:00
Alex Light
c6b7676719 Make system use patchoat to relocate during runtime.
Change DexPreOpt to include patch information of all compiled files so
we can relocate at runtime.

Bug: 15358152

(cherry picked from commit ce090d3f45)

Change-Id: I75a1eec3a38d6bce1f678c510d57849f8dfa04fa
2014-08-06 13:48:04 -07:00
Duane Sand
02f285208c [MIPSR6] Add mips64r6 and mips32r6 targets
Add mips64r6 target and corresponding mips32r6 target.
Defaults remain as mips64r2 and mips32r2.

Apply -FP64A codegen subsetting to mips32r6 only.
Access FR=0 odd-numbered 32-bit float regs only via
double-prec even-numbered regs, not by single-prec ops.

(cherry picked from commit 6bab974cdc)

Change-Id: I447337ce56c15e86cec505d68a6b45294fc3ba77
2014-08-05 12:39:28 -07:00
Duane Sand
1d04a53ba3 [MIPS64] Enable mips64 clang
(cherry picked from commit 41ca444637)

Change-Id: I0b141c58c88fe86e3a59844f53acc9a0e0a5271c
2014-08-05 12:38:31 -07:00
Duane Sand
3c4fcd8451 [MIPS] Unite mipsel and mips64el 4.9 gcc toolchains
Use 4.9 mips64el toolchain for both 64- and 32-bit builds.
Tell ld when 32-bit links are required.
Override 4.9's changed defaults for mips floating point
register use, to get same assembler rules as 4.8 and earlier.

Also: drop unused  soft-fp build targets, cleanout redundant
compiler options, and remove extraneous Android.mk file.

(cherry picked from commit 6670e24aed)

Change-Id: I34d2f8fc6113c9d1670e3acff1aff48634b9fe1b
2014-08-05 12:28:44 -07:00
Ben Murdoch
9e6ba597ba Merge "Remove webviewchromium from PRODUCT_BOOT_JARS." into lmp-dev 2014-07-25 23:00:08 +00:00
Vignesh Venkatasubramanian
82af97fc27 Add opus entries in generic makefiles.
libopus is necessary for opus software decoding support. add that to
base.mk and add an entry for libstagefright_soft_opusdec to
core_base.mk.

Change-Id: Iddd6ab2b2a84bb966b7e635a6aa73efb6a803e98
2014-07-26 01:08:12 +00:00
Edwin Wong
dbb3d2e732 Add libdrmclearkeyplugin.so to image.
The library will be added to /system/vendor/lib/mediadrm.

Change-Id: Iebfd00077c2a13e4ad4296aedba21230a7e4f37f
2014-07-25 23:25:20 +00:00
Svet Ganov
6693649a42 Merge "Add appwidget to system image." into lmp-dev 2014-07-22 16:21:19 +00:00
Svet Ganov
acc5296cb9 Add appwidget to system image.
Change-Id: I0d5db3f39390065ec5067bb9a15924fdcb181692
2014-07-20 22:58:24 -07:00
Torne (Richard Coles)
a00515d0df Remove webviewchromium from PRODUCT_BOOT_JARS.
The WebView Java code is now loaded by WebViewFactory from an APK when
an app needs it, so remove the old jar from the boot classpath.

Bug: 16329371
Change-Id: Ia295cba8454fc63e1f3b806c67afa8a379657365
2014-07-17 17:16:14 -07:00
Ying Wang
14c975b830 Remove framework2
We don't need fraemwork2 split with the multidex framework.jar.

Change-Id: Ifc595b3679946d8958a9282360c7da9bc18e8adc
2014-07-21 14:42:29 -07:00
Ying Wang
0486200762 Merge "Normalize SDK product name to sdk_<device_type>_<arch_name>" into lmp-dev 2014-07-19 22:40:06 +00:00
Baligh Uddin
cb3fe9a336 Fix LMP locales
Change-Id: Iee1ac47212139ef9df541aa9f77cec42ded6a0ca
Bug: 13437459
2014-07-20 17:25:28 +00:00
Ying Wang
1f371a1f98 Normalize SDK product name to sdk_<device_type>_<arch_name>
Put the common pieces in sdk_base.mk.
Still keep the old names as aliases.
Bug: 16216170

Change-Id: I39a438843c8b09df1aafff142bd9987962f11ef8
2014-07-18 15:40:13 -07:00
Daniel Rosenberg
f4eabc3961 Added support for building verified vendor partition
Change-Id: I762724800ccab3a365e6d2efdf86cd9c394818eb
Signed-off-by: Daniel Rosenberg <drosen@google.com>
2014-07-14 22:55:22 +00:00
leozwang
3240483383 Remove bcc from generic_no_telephony.mk.
bcc was added into core_minimal.mk.

Change-Id: I29fa6eb3df0dada609e2f6b3e28ffd08d13c6afc
2014-07-14 13:54:22 -07:00
leozwang
38bbc70d04 Add bcc into /system/bin.
Bug: 16161758
Change-Id: I492f6780ecf7d18f291532fc934a80ff7ac643cf
(cherry picked from commit 1bb19d3262)
2014-07-14 17:06:32 +00:00
Baligh Uddin
af0aa3ca6d Fix Tamil country code. ta_TN should be ta_IN
Change-Id: I177bc5ba09f0c529409c5a81d67b6dc61d5afdf6
Bug: 16234964
2014-07-12 19:28:17 +00:00
Paul Jensen
d42ae84863 Add app to handle captive portal login.
This app is only used if no other app handles the broadcast to perform captive
portal login.

Bug:15409233
Bug:15409354

Change-Id: Ie240d7eac4bdbab8cc7578782bd72d8b26de7951
2014-07-10 17:18:35 +00:00
Brian Carlstrom
b1c9734b68 am ef0b6e0c: am 8a749606: am 02a5b517: Merge "Make dex2oat heap size product configurable [build]"
* commit 'ef0b6e0c19eb37f4fbc42491771611e247168519':
  Make dex2oat heap size product configurable [build]
2014-07-09 15:07:13 +00:00