Commit graph

19475 commits

Author SHA1 Message Date
Ying Wang
02a83e9f84 Now we have prebuilt SDK version system_current for apps_only build.
We don't need to explicitly add "system_current" to the list.

Bug: 17390410
Change-Id: I490d0e1cb8e194b6a0bf8bf1703781aef88901d4
2014-09-04 12:18:51 -07:00
Stephen Hines
52626d2a7b Fix build breakage due to incorrect bcc_compat RS_TRIPLE.
Bug: 17333374
Change-Id: I13582ce0cde86f7b3728aa4f45a5197438d65a2d
2014-09-02 19:09:35 -07:00
Stephen Hines
41b83d6d3c Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.
Bug: 17333374

Add RS_TRIPLE_CFLAGS to ensure that we build with the proper defines on
targets like x86. This also changes all build targets to use the
proper 32/64-bit triples when creating their runtime libraries.

(cherry picked from commit 039675adb8)

Change-Id: Ib7b5bb7aae5abcad9ab477a00e368179d0121091
2014-09-02 09:41:03 -07:00
Doug Zongker
424296a4e8 add missing AOSP copyright notices
Change-Id: Idc812db30b259a55702f8728197f957f2d24d978
2014-09-02 08:53:09 -07:00
Brian Carlstrom
91b9d01b6b Add --no-include-debug-symbols to avoid bloat in user builds
Bug: 16938924
Change-Id: I9f580d74bc5607483fc1193c2db56f0d27b44347
2014-08-28 17:16:11 -07:00
Adam Lesinski
71deb204d1 Merge "Add anydpi to all product configs" into lmp-dev 2014-08-27 17:43:49 +00:00
Raphael Moll
0d7d09ae04 SDK Addon multi-sys-img support, part 4.
Change the add-on build rules to packages the system-image
separately from the main add-on zip file. This is then picked
up by development's sdk_repo.mk to generate two repository
packages files (one for the add-on, one for its system image.)

The system-image now also contains a source.propertie file,
which value is not infered from the add-on's manifest.ini

Add-on product files need to be modified to define a
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP variable that points
to their source.properties or source.prop_template file.

Change-Id: I79e9cdfd43c99f099a70890fb3e5e9215ad647f4
2014-08-27 09:35:07 -07:00
Ricardo Cervera
2178358f2f am 71346e66: am 14d6c100: am 54d2ca33: docs: Changing adt bundle links to HTTPS
* commit '71346e665f83bc80df5f32127639582387b100fd':
  docs: Changing adt bundle links to HTTPS
2014-08-27 16:28:11 +00:00
Ricardo Cervera
71346e665f am 14d6c100: am 54d2ca33: docs: Changing adt bundle links to HTTPS
* commit '14d6c100aa1926ec9e24c1f17e3aabba95141503':
  docs: Changing adt bundle links to HTTPS
2014-08-27 16:16:15 +00:00
Ricardo Cervera
14d6c100aa am 54d2ca33: docs: Changing adt bundle links to HTTPS
* commit '54d2ca33a3ccf2716cb80f8cfa990adff6935c39':
  docs: Changing adt bundle links to HTTPS
2014-08-27 16:10:44 +00:00
Ricardo Cervera
54d2ca33a3 docs: Changing adt bundle links to HTTPS
Change-Id: I35c291bfef9a267aab5b8f108a6c6592c4f08750
2014-08-27 08:48:49 -07:00
Adam Lesinski
d31552fa66 Add anydpi to all product configs
Change-Id: Ia5e0834c585891de58e5daf3473563ab64dba74c
2014-08-26 15:29:33 -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
Ying Wang
3336652f22 Merge "Allow to overrde command make in envsetup.sh." into lmp-dev 2014-08-26 21:29:36 +00:00
Dianne Hackborn
e4584a4129 Merge "Shhhhhhh!!!" into lmp-dev 2014-08-26 20:56:50 +00:00
Doug Zongker
ab7ca1d286 refactor BlockDifference into common
Move BlockDifference into common and make its script generation code
more complete, so that it can be use by releasetools.py to do diffs on
baseband images.

Bug: 16984795
Change-Id: Iba9afc1c7755458ce47468b5170672612b2cb4b3
2014-08-26 13:12:11 -07:00
Doug Zongker
4d0bfb4f40 remove unused xdelta3/xz utilities
This was part of the original block-based OTA mechanism.

Bug: 16987495
Change-Id: I5bd6599829ee6084a8da1f0b14af87aabf07c130
2014-08-26 13:11:56 -07:00
Doug Zongker
5f9c28cad4 fix build
Change-Id: I1e503406129343bbfddacc1150c81e403b47778c
2014-08-26 13:11:37 -07:00
Doug Zongker
fc44a515d4 new block OTA system tools
Replace the xdelta/xz-based block OTA generation with a new system
based on the existing bsdiff/imgdiff tools.

Bug: 16984795
Change-Id: Ia9732516ffdfc12be86260b2cc4b1dd2d210e886
2014-08-26 13:10:25 -07:00
Dianne Hackborn
bf9b9275af Shhhhhhh!!!
Change-Id: I3bb72742f788c70f82f311b6ffba479aa02a1eb0
2014-08-26 12:39:26 -07:00
Calin Juravle
e8892aa4ec Merge "Push ISA features into system properties" into lmp-dev 2014-08-26 17:34:42 +00:00
Calin Juravle
28be9d8884 Push ISA features into system properties
We need to know instruction set featues at runtime as well so that the
apps get compiled on target with the proper features. The properties are
read by installd and passed to dex2oat.

Bug: 16716262
Change-Id: Ia73f2055f696880d45a63a0d6e0ee98d37a01113
2014-08-26 18:05:52 +01:00
Ying Wang
ed21d4c016 Allow to overrde command make in envsetup.sh.
To override define function get_make_command() in vendor's
vendor-envsetup.sh.

Change-Id: I553e60816eb789750ccd16110f2e82a5087587e8
2014-08-24 22:14:57 -07:00
Ying Wang
da2da1d9b8 Fix aidl post clean bug.
We really should check MODULES_WITH_AIDL_FILES against ALL_MODULES,
instead of modules_with_aidl_files, because a module could have just
remove any aidl files so it won't appear in modules_with_aidl_files.

Change-Id: Iab92be1ed5f0556b7236be41d90d8471c7193928
2014-08-23 09:45:31 -07:00
Doug Zongker
6f1d031b39 take bootable images from target_files if present
Now that we're building and saving images in the target_files at build
time, we should use those images instead of rebuilding them.

Bug: 17201052
Change-Id: I459e650f66f1e0bdf01ad54df9e34f36bf2ee899
2014-08-22 10:25:57 -07:00
Dehao Chen
2d83365c9d Merge "Add TARGET_FDO_LDFLAGS to make sure -lgcc is always linked after -lgcov." into lmp-dev 2014-08-21 17:30:08 +00:00
Baligh Uddin
cc4c481b8f Add en_AU as a supported locale
Bug: 14587692
2014-08-21 16:04:26 +00:00
Dehao Chen
f4294cd816 Add TARGET_FDO_LDFLAGS to make sure -lgcc is always linked after -lgcov.
Change-Id: I33a94abe58391a8564ada14417b0158ddd7ed2d6
2014-08-20 16:48:17 -07:00
Geremy Condra
95ebe7a09b Use the specified verity key to sign boot and recovery OTA images.
This ensures that when the verity key is rotated to a release key
both the boot and recovery images will be correctly signed. It does
mean that they will both be signed with the same key for now, but
as that doesn't change the threat model separating them is just a
distant nice-to-have.

Bug: 15725238
Change-Id: I5b75e4346fe0655065643ab553431690cc1a8cb0
2014-08-20 20:17:01 +00:00
Jeff Brown
4faea310ac Remove incomplete media router API. (DO NOT MERGE)
Change-Id: Icc0800e2cdb9b0a5ad2bcde760d9eefd0aea74ea
2014-08-19 19:44:46 -07:00
Geremy Condra
f19b365cc9 Add support for switching to verity release keys.
Bug: 15725238
Change-Id: I8f92210fd854b5a2567cf76aaecb5be02c3f9293
2014-08-20 00:05:23 +00:00
Ying Wang
9885ba95a4 Merge "Store a copy of installed-files.txt in DIST_DIR if system.img failed to build" into lmp-dev 2014-08-19 21:23:09 +00:00
Ying Wang
ebe63fb0a0 Store a copy of installed-files.txt in DIST_DIR if system.img failed to build
Because we already have rule to store installed-files.txt in DIST_DIR,
to avoid the slim chance of race condition, this copy is named as
installed-files-rescued.txt

Change-Id: I9fa6d8aded0ad5de1f1422d70a4224b3fc308e75
2014-08-19 12:21:35 -07: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
Ying Wang
d1f90c7e8f am 0e541aea: am a76761f0: am f7115dbe: am 2888b790: am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.
* commit '0e541aea503a594a535777accc8475d9adc78c8f':
  Split to multiple bash commands.
2014-08-16 06:09:14 +00:00
Ying Wang
0e541aea50 am a76761f0: am f7115dbe: am 2888b790: am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.
* commit 'a76761f0d57f7fc8ec9f987a808b534957f0b077':
  Split to multiple bash commands.
2014-08-16 06:01:13 +00:00
Ying Wang
a76761f0d5 am f7115dbe: am 2888b790: am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.
* commit 'f7115dbe3cbf2fc25e5d507517e6ca4dd1ce5dc9':
  Split to multiple bash commands.
2014-08-16 05:56:06 +00:00
Ying Wang
f7115dbe3c am 2888b790: am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.
* commit '2888b790852af988331be1d59af01d242012f7e4':
  Split to multiple bash commands.
2014-08-16 05:52:42 +00:00
Ying Wang
2888b79085 am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.
* commit 'c48566fb6129c979186d919dcd55d7c682cf46a3':
  Split to multiple bash commands.
2014-08-16 05:18:20 +00:00
Ying Wang
c48566fb61 am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.
* commit '48b4f2b476b660977d1d2179d12efb933f187efb':
  Split to multiple bash commands.
2014-08-16 05:09:26 +00:00
Narayan Kamath
2cdf9b26fe Merge "Let aosp_arm64 / emulator assume NEON / cortex-a15." into lmp-dev 2014-08-16 04:36:37 +00:00
Michael Wright
ec8aee2158 Merge "Remove inputflinger from build. DO NOT MERGE" into lmp-dev 2014-08-18 21:31:41 +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
Dehao Chen
67ce41105e Merge "Check existance of profile directory for specific device." into lmp-dev 2014-08-16 03:52:42 +00:00
Ying Wang
46f9c08fb9 am d1f90c7e: am 0e541aea: am a76761f0: am f7115dbe: am 2888b790: am c48566fb: am 48b4f2b4: am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.
* commit 'd1f90c7e8fa828867dabc0fcb6b86694958256d4':
  Split to multiple bash commands.
2014-08-18 18:06:28 +00:00
Ying Wang
51133ec953 am 446c14f9: am 989cdde7: am 39ddf5fc: am e3999d7d: am 9aafe186: am 9ec5c4d6: am 9b7a2912: am d86851e1: am f412865c: am ff71c499: am 2ff73494: Split to multiple bash commands.
* commit '446c14f9efff9da7841fd53dd4500095396e1464':
  Split to multiple bash commands.
2014-08-18 16:50:03 +00:00
Dehao Chen
4e8f2ea6e8 Check existance of profile directory for specific device.
Change-Id: I149c257e98c8483b79f2afc1e5b871731f6f6519
2014-08-18 09:43:42 -07:00
Ying Wang
48b4f2b476 am ed7bdb8f: am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.
* commit 'ed7bdb8f48e6388f780da824be054fcc3c103523':
  Split to multiple bash commands.
2014-08-16 00:55:50 +00:00
Ying Wang
ed7bdb8f48 am 6d1f2c64: am 6afa19ab: am 40e0cfd3: am a5bb9a73: am 66c28d86: am 042e3b75: am a65eb8c7: Split to multiple bash commands.
* commit '6d1f2c647b68767880cb006df02fa9191d763e42':
  Split to multiple bash commands.
2014-08-16 00:48:31 +00:00