OSDN Git Service

android-x86/build.git
9 years agoam 6ff1b035: Merge "Support to build image of root file system with /system and ramdi...
Ying Wang [Thu, 26 Mar 2015 17:50:10 +0000 (17:50 +0000)]
am 6ff1b035: Merge "Support to build image of root file system with /system and ramdisk combined."

* commit '6ff1b0357289c1ef1a7aa9294aae748dacb69866':
  Support to build image of root file system with /system and ramdisk combined.

9 years agoMerge "Support to build image of root file system with /system and ramdisk combined."
Ying Wang [Thu, 26 Mar 2015 17:36:07 +0000 (17:36 +0000)]
Merge "Support to build image of root file system with /system and ramdisk combined."

9 years agoSupport to build image of root file system with /system and ramdisk combined.
Ying Wang [Wed, 25 Mar 2015 02:07:40 +0000 (19:07 -0700)]
Support to build image of root file system with /system and ramdisk combined.

Added support to build system.img that combines contents of /system and
the ramdisk, and can be mounted at the root of the file system.
To enable this feature, define BoardConfig.mk variable:
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true

Ideally we would just change TARGET_OUT (the path of the staging system
directory) to under TARGET_ROOT_OUT. But at this point many places in
the build system assume TARGET_OUT is independent of TARGET_ROOT_OUT and
we can't make it easily configurable.
Instead this implementation takes the least intrusive approach:
We don't change TARGET_OUT or TARGET_ROOT_OUT. We just assemble a
temporary staging directory that contains contents of both TARGET_OUT
and TARGET_ROOT_OUT, in build_image.BuildImage() of
tools/releasetools/build_image.py.
When build_image.py is directly called from the makefile, we pass in the
parameters from the global dictionary; when build_image.BuildImage() is
called from add_img_to_target_files.py, we need to override values to
point to files extracted from the target_files zip file.
We need to combine the fs_config files of both /system and ramdisk,
when fs_config is enabled.

Also this change refactored build_image.BuildImage() by moving the extra
parameters to the image property dictionary.

(cherry-picked from commit 0eabd4f2c5fe704d3c3212b45b80775a35b55b1b)

Bug:19868522
Change-Id: Iafc467a0e3427b0d6ad3b575abcc98ddcc9ea0f1

9 years agoam e7173cee: Merge "Store odex files in oat/<isa>/ directory."
Richard Uhler [Thu, 26 Mar 2015 15:04:43 +0000 (15:04 +0000)]
am e7173cee: Merge "Store odex files in oat/<isa>/ directory."

* commit 'e7173cee108fe82b0469c456f69fe5a4160d5192':
  Store odex files in oat/<isa>/ directory.

9 years agoMerge "Store odex files in oat/<isa>/ directory."
Richard Uhler [Thu, 26 Mar 2015 14:57:33 +0000 (14:57 +0000)]
Merge "Store odex files in oat/<isa>/ directory."

9 years agoam a45223b6: Merge "Revert "Switch x86 and x86_64 to 4.9. Attempt #2.""
Christopher Ferris [Wed, 25 Mar 2015 18:50:10 +0000 (18:50 +0000)]
am a45223b6: Merge "Revert "Switch x86 and x86_64 to 4.9. Attempt #2.""

* commit 'a45223b63566d8496250ae797778a4d16ee81419':
  Revert "Switch x86 and x86_64 to 4.9. Attempt #2."

9 years agoam e9b15e2c: Merge "Switch x86 and x86_64 to 4.9. Attempt #2."
Ying Wang [Wed, 25 Mar 2015 18:50:07 +0000 (18:50 +0000)]
am e9b15e2c: Merge "Switch x86 and x86_64 to 4.9. Attempt #2."

* commit 'e9b15e2ccd07bb148b7fd7642658b9b54c0f47d0':
  Switch x86 and x86_64 to 4.9. Attempt #2.

9 years agoMerge "Revert "Switch x86 and x86_64 to 4.9. Attempt #2.""
Christopher Ferris [Wed, 25 Mar 2015 18:28:53 +0000 (18:28 +0000)]
Merge "Revert "Switch x86 and x86_64 to 4.9. Attempt #2.""

9 years agoRevert "Switch x86 and x86_64 to 4.9. Attempt #2."
Christopher Ferris [Wed, 25 Mar 2015 18:27:21 +0000 (18:27 +0000)]
Revert "Switch x86 and x86_64 to 4.9. Attempt #2."

This reverts commit 6fb735b07132b613de1b5b64c5c31a36c4b9ac2d.

Change-Id: I64b868cdfb3571de5e8b01e4257b5dfa9ee44d0d

9 years agoMerge "Switch x86 and x86_64 to 4.9. Attempt #2."
Ying Wang [Wed, 25 Mar 2015 18:11:54 +0000 (18:11 +0000)]
Merge "Switch x86 and x86_64 to 4.9. Attempt #2."

9 years agoam 5d60719e: Merge "Run ZipFile.testzip() during zipfile tests."
Dan Albert [Tue, 24 Mar 2015 00:12:27 +0000 (00:12 +0000)]
am 5d60719e: Merge "Run ZipFile.testzip() during zipfile tests."

* commit '5d60719e42fdc0d007920d946f1c1bb440cedab7':
  Run ZipFile.testzip() during zipfile tests.

9 years agoMerge "Run ZipFile.testzip() during zipfile tests."
Dan Albert [Tue, 24 Mar 2015 00:07:01 +0000 (00:07 +0000)]
Merge "Run ZipFile.testzip() during zipfile tests."

9 years agoam 0488079d: Merge "Fix the computation of basefilename"
Tao Bao [Mon, 23 Mar 2015 23:54:55 +0000 (23:54 +0000)]
am 0488079d: Merge "Fix the computation of basefilename"

* commit '0488079dfa5d5e53198125934eeaefa9cf1e7047':
  Fix the computation of basefilename

9 years agoRun ZipFile.testzip() during zipfile tests.
Dan Albert [Mon, 23 Mar 2015 23:54:39 +0000 (16:54 -0700)]
Run ZipFile.testzip() during zipfile tests.

This still doesn't catch the issue that [1] fixes, but it's probably a
good idea anyway.

[1]: https://android-review.googlesource.com/#/c/143469/

Change-Id: Iaa607ec7450d605b26114bd81ea41a14c6613c0e

9 years agoMerge "Fix the computation of basefilename"
Tao Bao [Mon, 23 Mar 2015 23:48:59 +0000 (23:48 +0000)]
Merge "Fix the computation of basefilename"

9 years agoFix the computation of basefilename
Tao Bao [Mon, 23 Mar 2015 23:01:17 +0000 (16:01 -0700)]
Fix the computation of basefilename

Change-Id: I156b182414ef5b33611955cbc019e208c771013a

9 years agoam 088521ef: Merge "Allow system images larger than 2GiB, pt. 2"
Greg Hackmann [Mon, 23 Mar 2015 21:55:50 +0000 (21:55 +0000)]
am 088521ef: Merge "Allow system images larger than 2GiB, pt. 2"

* commit '088521ef906346e06ce39c877ff142c2467e3a79':
  Allow system images larger than 2GiB, pt. 2

9 years agoMerge "Allow system images larger than 2GiB, pt. 2"
Greg Hackmann [Mon, 23 Mar 2015 21:49:31 +0000 (21:49 +0000)]
Merge "Allow system images larger than 2GiB, pt. 2"

9 years agoAllow system images larger than 2GiB, pt. 2
Greg Hackmann [Mon, 23 Mar 2015 21:05:50 +0000 (14:05 -0700)]
Allow system images larger than 2GiB, pt. 2

We need to patch zipfile during close() too, because it refers to the
ZIP64 file size threshold when writing out the central directory

Bug: 18015246
Bug: 19888174

Change-Id: I1b49d653d0831fcc2106808f86c929d7a2b22ff3
Signed-off-by: Greg Hackmann <ghackmann@google.com>
9 years agoam b5901670: Merge "Fix the syntax error in the edify script generator"
Tao Bao [Mon, 23 Mar 2015 03:35:56 +0000 (03:35 +0000)]
am b5901670: Merge "Fix the syntax error in the edify script generator"

* commit 'b59016703a540a541a94e352c1ef54442a0e95dd':
  Fix the syntax error in the edify script generator

9 years agoMerge "Fix the syntax error in the edify script generator"
Tao Bao [Mon, 23 Mar 2015 03:29:58 +0000 (03:29 +0000)]
Merge "Fix the syntax error in the edify script generator"

9 years agoFix the syntax error in the edify script generator
Tao Bao [Sun, 22 Mar 2015 21:20:48 +0000 (14:20 -0700)]
Fix the syntax error in the edify script generator

file_getprop() always expects two arguments.

Bug: 19881931
Change-Id: Icf5577ad34188991c03f68c1217642d3adc4201c

9 years agoam f7683b81: Merge "Clearly explain that 32-bit x86 is not supported"
Brian Carlstrom [Fri, 20 Mar 2015 22:02:49 +0000 (22:02 +0000)]
am f7683b81: Merge "Clearly explain that 32-bit x86 is not supported"

* commit 'f7683b813a7f71313f3dd1f71be1a8ef9d800ebf':
  Clearly explain that 32-bit x86 is not supported

9 years agoMerge "Clearly explain that 32-bit x86 is not supported"
Brian Carlstrom [Fri, 20 Mar 2015 21:52:38 +0000 (21:52 +0000)]
Merge "Clearly explain that 32-bit x86 is not supported"

9 years agoam 55fbc49f: Merge "Change eng builds from interpret-only to verify-at-runtime"
Mathieu Chartier [Fri, 20 Mar 2015 21:26:39 +0000 (21:26 +0000)]
am 55fbc49f: Merge "Change eng builds from interpret-only to verify-at-runtime"

* commit '55fbc49fe1993d87a6a978132c827f316f2be5a7':
  Change eng builds from interpret-only to verify-at-runtime

9 years agoMerge "Change eng builds from interpret-only to verify-at-runtime"
Mathieu Chartier [Fri, 20 Mar 2015 21:19:40 +0000 (21:19 +0000)]
Merge "Change eng builds from interpret-only to verify-at-runtime"

9 years agoam 971e5787: Merge "Revert "Replace legacy Browser with BookmarkProvider""
Paul Miller [Fri, 20 Mar 2015 21:16:47 +0000 (21:16 +0000)]
am 971e5787: Merge "Revert "Replace legacy Browser with BookmarkProvider""

* commit '971e5787c0ebaa35f238bb99433cbfefd0bab50d':
  Revert "Replace legacy Browser with BookmarkProvider"

9 years agoMerge "Revert "Replace legacy Browser with BookmarkProvider""
Paul Miller [Fri, 20 Mar 2015 21:08:49 +0000 (21:08 +0000)]
Merge "Revert "Replace legacy Browser with BookmarkProvider""

9 years agoam 082184e7: Merge "Bump generic_arm64 system partition size."
Ying Wang [Fri, 20 Mar 2015 20:34:40 +0000 (20:34 +0000)]
am 082184e7: Merge "Bump generic_arm64 system partition size."

* commit '082184e741232181f7b66d800142ef62dacbf765':
  Bump generic_arm64 system partition size.

9 years agoMerge "Bump generic_arm64 system partition size."
Ying Wang [Fri, 20 Mar 2015 20:29:52 +0000 (20:29 +0000)]
Merge "Bump generic_arm64 system partition size."

9 years agoBump generic_arm64 system partition size.
Ying Wang [Fri, 20 Mar 2015 20:29:10 +0000 (13:29 -0700)]
Bump generic_arm64 system partition size.

Change-Id: Ic53fdaa0143ee2c0cce5a2f750da4c52adc6fdb9

9 years agoClearly explain that 32-bit x86 is not supported
Brian Carlstrom [Fri, 20 Mar 2015 18:39:00 +0000 (11:39 -0700)]
Clearly explain that 32-bit x86 is not supported

Change-Id: I7f352fae8fa3742c61dc74e20aacd32254451bce

9 years agoChange eng builds from interpret-only to verify-at-runtime
Mathieu Chartier [Thu, 19 Mar 2015 17:34:23 +0000 (10:34 -0700)]
Change eng builds from interpret-only to verify-at-runtime

Faster dex2oat -> faster boot after syncing core libraries.

Bug: 19762303
Change-Id: Ic266ed9c59829e0e18acc4adc103724cf480de7f

9 years agoam 8e52e15d: Merge "Bump generic_mips system partition size."
Ying Wang [Fri, 20 Mar 2015 17:05:06 +0000 (17:05 +0000)]
am 8e52e15d: Merge "Bump generic_mips system partition size."

* commit '8e52e15debb587e85915482ddb7464fb0429a6bb':
  Bump generic_mips system partition size.

9 years agoRevert "Replace legacy Browser with BookmarkProvider"
Paul Miller [Fri, 20 Mar 2015 16:26:26 +0000 (16:26 +0000)]
Revert "Replace legacy Browser with BookmarkProvider"

This reverts commit 61690224177c7ff4c95fa3b163fd7b9c4c82c4a3.

Change-Id: I0246ef7a89de08bc449509b39f8db8279ea0871e
BUG:19351071

9 years agoMerge "Bump generic_mips system partition size."
Ying Wang [Fri, 20 Mar 2015 16:20:00 +0000 (16:20 +0000)]
Merge "Bump generic_mips system partition size."

9 years agoBump generic_mips system partition size.
Ying Wang [Fri, 20 Mar 2015 16:18:33 +0000 (09:18 -0700)]
Bump generic_mips system partition size.

Change-Id: Ieb3becc3ddc1efa19c6e6d34b4a31c0440d3479d

9 years agoSwitch x86 and x86_64 to 4.9. Attempt #2.
Alexander Ivchenko [Fri, 20 Mar 2015 14:07:34 +0000 (17:07 +0300)]
Switch x86 and x86_64 to 4.9. Attempt #2.

BUG=16407835

Change-Id: I45161bf4701bef4540b51168f771c5e9da8c8750
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
9 years agoam ad22a8f2: Merge "Remove VoiceDialer from PRODUCT_PACKAGE list."
Narayan Kamath [Fri, 20 Mar 2015 09:11:17 +0000 (09:11 +0000)]
am ad22a8f2: Merge "Remove VoiceDialer from PRODUCT_PACKAGE list."

* commit 'ad22a8f2a71209d0fec3c49bdd688678a3412540':
  Remove VoiceDialer from PRODUCT_PACKAGE list.

9 years agoMerge "Remove VoiceDialer from PRODUCT_PACKAGE list."
Narayan Kamath [Fri, 20 Mar 2015 08:53:08 +0000 (08:53 +0000)]
Merge "Remove VoiceDialer from PRODUCT_PACKAGE list."

9 years agoam 261e195d: Merge "Make the generated OTAs repeatable"
Tao Bao [Fri, 20 Mar 2015 03:18:43 +0000 (03:18 +0000)]
am 261e195d: Merge "Make the generated OTAs repeatable"

* commit '261e195dacde109d4b438d8af3e370c87b162a5d':
  Make the generated OTAs repeatable

9 years agoam 59112a2d: Merge "Static binaries with libc++ need libs c, m and dl."
Dan Albert [Fri, 20 Mar 2015 03:14:17 +0000 (03:14 +0000)]
am 59112a2d: Merge "Static binaries with libc++ need libs c, m and dl."

* commit '59112a2da30004b20c186e0878148cd6053ae859':
  Static binaries with libc++ need libs c, m and dl.

9 years agoMerge "Make the generated OTAs repeatable"
Tao Bao [Fri, 20 Mar 2015 03:09:41 +0000 (03:09 +0000)]
Merge "Make the generated OTAs repeatable"

9 years agoMerge "Static binaries with libc++ need libs c, m and dl."
Dan Albert [Fri, 20 Mar 2015 03:04:19 +0000 (03:04 +0000)]
Merge "Static binaries with libc++ need libs c, m and dl."

9 years agoMake the generated OTAs repeatable
Tao Bao [Fri, 20 Mar 2015 02:42:12 +0000 (19:42 -0700)]
Make the generated OTAs repeatable

The generated OTAs are supposed to be repeatable. The use of dict in
blockimgdiff.py breaks the assumption for block-based OTAs. Fixed by
using OrderedDict instead.

Change-Id: I945bdc879912ba174ca330c152b1f8fc7ed211ac

9 years agoam b7e5ab6f: Merge "Allow system images larger than 2GiB."
Tao Bao [Thu, 19 Mar 2015 21:17:32 +0000 (21:17 +0000)]
am b7e5ab6f: Merge "Allow system images larger than 2GiB."

* commit 'b7e5ab6fbd4e573515c30772ac813a5fc4bce680':
  Allow system images larger than 2GiB.

9 years agoMerge "Allow system images larger than 2GiB."
Tao Bao [Thu, 19 Mar 2015 21:10:54 +0000 (21:10 +0000)]
Merge "Allow system images larger than 2GiB."

9 years agoAllow system images larger than 2GiB.
Dan Albert [Tue, 27 Jan 2015 23:53:15 +0000 (15:53 -0800)]
Allow system images larger than 2GiB.

Python 2.7's zipfile implementation wrongly thinks that zip64 is
required for files larger than 2GiB. We can work around this by
adjusting their limit. Note that `zipfile.writestr()` will not work
for strings larger than 2GiB. The Python interpreter sometimes rejects
strings that large (though it isn't clear to me exactly what
circumstances cause this). `zipfile.write()` must be used directly to
work around this.

This mess can be avoided if we port to python3.

The bug (b/19364241) in original commit has been fixed.

Bug: 18015246
Bug: 19364241
Bug: 19839468

(cherry picked from commit cd082d4bfe917b2e6b97436839cbbbc67c733c83)

Change-Id: I7b5cc310e0a9ba894533b53cb998afd5ce96d8c6

9 years agoam d121f184: Merge "Replace legacy Browser with BookmarkProvider"
Paul Miller [Thu, 19 Mar 2015 20:28:29 +0000 (20:28 +0000)]
am d121f184: Merge "Replace legacy Browser with BookmarkProvider"

* commit 'd121f18450520c4869a807533b4abf1adb1e846c':
  Replace legacy Browser with BookmarkProvider

9 years agoMerge "Replace legacy Browser with BookmarkProvider"
Paul Miller [Thu, 19 Mar 2015 20:23:22 +0000 (20:23 +0000)]
Merge "Replace legacy Browser with BookmarkProvider"

9 years agoStatic binaries with libc++ need libs c, m and dl.
Dan Albert [Thu, 19 Mar 2015 20:05:13 +0000 (13:05 -0700)]
Static binaries with libc++ need libs c, m and dl.

Can't be done on the user's end because these libraries all need to be
linked after libc++_static.

Change-Id: Ib21364e6f43689cf59da31d6f561919731ef8272

9 years agoRemove VoiceDialer from PRODUCT_PACKAGE list.
Narayan Kamath [Fri, 13 Mar 2015 17:16:07 +0000 (17:16 +0000)]
Remove VoiceDialer from PRODUCT_PACKAGE list.

Change-Id: Ibc86ddee90a9ff83c3cdcbf086a6a1e466ba5088

9 years agoam 9682e56a: Merge "Revert "Rename dalvik.vm.usejit to debug.dalvik.vm.usejit""
Mathieu Chartier [Thu, 19 Mar 2015 16:51:34 +0000 (16:51 +0000)]
am 9682e56a: Merge "Revert "Rename dalvik.vm.usejit to debug.dalvik.vm.usejit""

* commit '9682e56a794f2fc68cae00475b7f11927c57b3da':
  Revert "Rename dalvik.vm.usejit to debug.dalvik.vm.usejit"

9 years agoMerge "Revert "Rename dalvik.vm.usejit to debug.dalvik.vm.usejit""
Mathieu Chartier [Thu, 19 Mar 2015 16:44:55 +0000 (16:44 +0000)]
Merge "Revert "Rename dalvik.vm.usejit to debug.dalvik.vm.usejit""

9 years agoRevert "Rename dalvik.vm.usejit to debug.dalvik.vm.usejit"
Mathieu Chartier [Thu, 19 Mar 2015 01:52:40 +0000 (18:52 -0700)]
Revert "Rename dalvik.vm.usejit to debug.dalvik.vm.usejit"

Bug: 19735273

This reverts commit 3abfcfc17b022a5af9d37403f81fae027ab850b9.

Change-Id: Iac930925ab6d5cd5947fa4077c8d93e2984927d5

9 years agoReplace legacy Browser with BookmarkProvider
Paul Miller [Wed, 18 Mar 2015 22:26:15 +0000 (15:26 -0700)]
Replace legacy Browser with BookmarkProvider

BookmarkProvider is Browser's old provider code, refactored into its
own app.

BUG:19351071
Change-Id: I0a5e1f2fc54749e2d3e3442636a26b2459b600c6

9 years agoStore odex files in oat/<isa>/ directory.
Richard Uhler [Mon, 16 Mar 2015 21:38:17 +0000 (14:38 -0700)]
Store odex files in oat/<isa>/ directory.

Previously odex files were stored alongside the dex location as:
  dex location: /foo/bar/base.apk
  odex location: /foo/bar/<isa>/base.odex

This changes where odex files are stored, adding an "oat" directory:
  dex location: /foo/bar/base.apk
  odex location: /foo/bar/oat/<isa>/base.odex

See also the corresponding change in platform/art and
platform/frameworks/native.

Bug: 19550105
Change-Id: I4c6be4f0c41ff175904846db8e360c4af815b265

9 years agoam 8ca542f4: Merge "Rename dalvik.vm.usejit to debug.dalvik.vm.usejit"
Mathieu Chartier [Tue, 17 Mar 2015 14:32:51 +0000 (14:32 +0000)]
am 8ca542f4: Merge "Rename dalvik.vm.usejit to debug.dalvik.vm.usejit"

* commit '8ca542f4394affd420271d8df946e199449508e6':
  Rename dalvik.vm.usejit to debug.dalvik.vm.usejit

9 years agoam 13169ccb: Merge "Revert "Switch x86 and x86_64 build to use GCC 4.9""
Christopher Ferris [Tue, 17 Mar 2015 14:32:50 +0000 (14:32 +0000)]
am 13169ccb: Merge "Revert "Switch x86 and x86_64 build to use GCC 4.9""

* commit '13169ccba2d9e11e311babd8fc80f41c610c753e':
  Revert "Switch x86 and x86_64 build to use GCC 4.9"

9 years agoam 0f98a378: Merge "Remove netcfg from the list of base modules."
Elliott Hughes [Tue, 17 Mar 2015 14:32:48 +0000 (14:32 +0000)]
am 0f98a378: Merge "Remove netcfg from the list of base modules."

* commit '0f98a3781c4fab57bdd696cca3edd6614d65abe6':
  Remove netcfg from the list of base modules.

9 years agoMerge "Rename dalvik.vm.usejit to debug.dalvik.vm.usejit"
Mathieu Chartier [Tue, 17 Mar 2015 02:04:41 +0000 (02:04 +0000)]
Merge "Rename dalvik.vm.usejit to debug.dalvik.vm.usejit"

9 years agoMerge "Revert "Switch x86 and x86_64 build to use GCC 4.9""
Christopher Ferris [Tue, 17 Mar 2015 01:31:16 +0000 (01:31 +0000)]
Merge "Revert "Switch x86 and x86_64 build to use GCC 4.9""

9 years agoRevert "Switch x86 and x86_64 build to use GCC 4.9"
Christopher Ferris [Tue, 17 Mar 2015 01:29:51 +0000 (01:29 +0000)]
Revert "Switch x86 and x86_64 build to use GCC 4.9"

This reverts commit 533c7aa6a293659541222f0dd89bee044ba71a2a.

Change-Id: I5203db8454d9af8fb438af6308106945e5dc0dbf

9 years agoMerge "Remove netcfg from the list of base modules."
Elliott Hughes [Tue, 17 Mar 2015 00:58:29 +0000 (00:58 +0000)]
Merge "Remove netcfg from the list of base modules."

9 years agoam bf0b6df4: Merge "Switch x86 and x86_64 build to use GCC 4.9"
Andrew Hsieh [Mon, 16 Mar 2015 23:59:04 +0000 (23:59 +0000)]
am bf0b6df4: Merge "Switch x86 and x86_64 build to use GCC 4.9"

* commit 'bf0b6df4c15c2e7bbfd3a8b84d7c627cc3b7127f':
  Switch x86 and x86_64 build to use GCC 4.9

9 years agoMerge "Switch x86 and x86_64 build to use GCC 4.9"
Andrew Hsieh [Mon, 16 Mar 2015 23:50:18 +0000 (23:50 +0000)]
Merge "Switch x86 and x86_64 build to use GCC 4.9"

9 years agoRename dalvik.vm.usejit to debug.dalvik.vm.usejit
Mathieu Chartier [Mon, 16 Mar 2015 23:14:56 +0000 (16:14 -0700)]
Rename dalvik.vm.usejit to debug.dalvik.vm.usejit

Bug: 19735273
Change-Id: Ia0d748b511230f5e0c7d0763de3abeab9d6e0ca7

9 years agoRemove netcfg from the list of base modules.
Elliott Hughes [Mon, 16 Mar 2015 20:52:30 +0000 (13:52 -0700)]
Remove netcfg from the list of base modules.

It's obsolete and -- other than a mention in the reference RIL and
another in a shell script that no longer works -- unused.

Change-Id: Ibbf2613778802222865528644c7e59a2d7c68b48

9 years agoam d73696c1: Merge "Load cts/build/config.mk after build/core/config.mk"
Ying Wang [Mon, 16 Mar 2015 19:01:59 +0000 (19:01 +0000)]
am d73696c1: Merge "Load cts/build/config.mk after build/core/config.mk"

* commit 'd73696c1fefface6f3d2311d1dead3afae01b048':
  Load cts/build/config.mk after build/core/config.mk

9 years agoMerge "Load cts/build/config.mk after build/core/config.mk"
Ying Wang [Mon, 16 Mar 2015 18:57:37 +0000 (18:57 +0000)]
Merge "Load cts/build/config.mk after build/core/config.mk"

9 years agoLoad cts/build/config.mk after build/core/config.mk
Ying Wang [Fri, 13 Feb 2015 18:28:40 +0000 (10:28 -0800)]
Load cts/build/config.mk after build/core/config.mk

So that the cts config.mk can use global variables set by the core build
system config.mk.

Change-Id: I2571564abbb53257eee54485a3357ab1305eb870
(cherry picked from commit bacf5f8008e4361d810895dd251354ac348cbf27)

9 years agoSwitch x86 and x86_64 build to use GCC 4.9
Andrew Hsieh [Fri, 13 Jun 2014 20:16:13 +0000 (13:16 -0700)]
Switch x86 and x86_64 build to use GCC 4.9

Change-Id: I41a7650d0e56c820a59c261d16afd6f0b9ec38c2

9 years agoam 18b27966: Merge "Restrict the verification in block-based incremental OTAs"
Tao Bao [Sat, 14 Mar 2015 05:08:38 +0000 (05:08 +0000)]
am 18b27966: Merge "Restrict the verification in block-based incremental OTAs"

* commit '18b27966a66a27da7b7199ab3e4351e9369cf060':
  Restrict the verification in block-based incremental OTAs

9 years agoMerge "Restrict the verification in block-based incremental OTAs"
Tao Bao [Sat, 14 Mar 2015 05:01:33 +0000 (05:01 +0000)]
Merge "Restrict the verification in block-based incremental OTAs"

9 years agoRestrict the verification in block-based incremental OTAs
Tao Bao [Thu, 12 Mar 2015 19:32:37 +0000 (12:32 -0700)]
Restrict the verification in block-based incremental OTAs

BlockImageDiff has three versions. Only the incremental OTAs generated
with the latest version (3) can be re-applied to the system that's
already on the target build. Otherwise, operations like move will make
unconditional changes and damage the system. During the verification
phase, abort the OTA update if BlockImageDiff is less than 3 and it
doesn't match the checksum of the source build.

Change-Id: Ic630346eab2a993a84d0aeaacd7167ef62cc24f6
(cherry picked from commit daebaa6ed3fbf4e7943e6c8290ec6b9233b542e9)

9 years agoam 3ad14218: Merge "Strip prebuilt shared library by default."
Dan Albert [Fri, 13 Mar 2015 23:21:25 +0000 (23:21 +0000)]
am 3ad14218: Merge "Strip prebuilt shared library by default."

* commit '3ad14218ccca2c729dfd90a24050e40fc52a56bf':
  Strip prebuilt shared library by default.

9 years agoam 8de543fd: Merge "Switch NDK libraries to 4.9 for x86_64 and mips64"
Dan Albert [Fri, 13 Mar 2015 23:21:24 +0000 (23:21 +0000)]
am 8de543fd: Merge "Switch NDK libraries to 4.9 for x86_64 and mips64"

* commit '8de543fdec61cae9eef8e3b3f7a0e5cc4cd0aa70':
  Switch NDK libraries to 4.9 for x86_64 and mips64

9 years agoam 9db3e6c6: Merge "Support "LOCAL_FDO_SUPPORT := always"."
Dan Albert [Fri, 13 Mar 2015 23:21:23 +0000 (23:21 +0000)]
am 9db3e6c6: Merge "Support "LOCAL_FDO_SUPPORT := always"."

* commit '9db3e6c61fe10073a2ed829f1036bc6281767202':
  Support "LOCAL_FDO_SUPPORT := always".

9 years agoam c70805ee: Merge "Set up environmental variable PATH before calling releasetools...
Dan Albert [Fri, 13 Mar 2015 23:21:21 +0000 (23:21 +0000)]
am c70805ee: Merge "Set up environmental variable PATH before calling releasetools scripts."

* commit 'c70805eef5be3e10003518d24adb083dcd1efbc2':
  Set up environmental variable PATH before calling releasetools scripts.

9 years agoam fcd0d98b: Merge "include oem.prop files in otatools_package"
Dan Albert [Fri, 13 Mar 2015 23:21:20 +0000 (23:21 +0000)]
am fcd0d98b: Merge "include oem.prop files in otatools_package"

* commit 'fcd0d98b6cedde450a6e4d62df2209d8295752fc':
  include oem.prop files in otatools_package

9 years agoMerge "Strip prebuilt shared library by default."
Dan Albert [Fri, 13 Mar 2015 23:18:46 +0000 (23:18 +0000)]
Merge "Strip prebuilt shared library by default."

9 years agoMerge "Switch NDK libraries to 4.9 for x86_64 and mips64"
Dan Albert [Fri, 13 Mar 2015 23:18:25 +0000 (23:18 +0000)]
Merge "Switch NDK libraries to 4.9 for x86_64 and mips64"

9 years agoMerge "Support "LOCAL_FDO_SUPPORT := always"."
Dan Albert [Fri, 13 Mar 2015 23:17:51 +0000 (23:17 +0000)]
Merge "Support "LOCAL_FDO_SUPPORT := always"."

9 years agoMerge "Set up environmental variable PATH before calling releasetools scripts."
Dan Albert [Fri, 13 Mar 2015 23:17:25 +0000 (23:17 +0000)]
Merge "Set up environmental variable PATH before calling releasetools scripts."

9 years agoMerge "include oem.prop files in otatools_package"
Dan Albert [Fri, 13 Mar 2015 23:17:01 +0000 (23:17 +0000)]
Merge "include oem.prop files in otatools_package"

9 years agoam 137b049a: (-s ours) Merge "DO NOT MERGE: Bundle libc++.so into otatools-package."
Dan Albert [Fri, 13 Mar 2015 20:47:55 +0000 (20:47 +0000)]
am 137b049a: (-s ours) Merge "DO NOT MERGE: Bundle libc++.so into otatools-package."

* commit '137b049aef6ffc1de1340657ecf9208303ec1872':
  DO NOT MERGE: Bundle libc++.so into otatools-package.

9 years agoMerge "DO NOT MERGE: Bundle libc++.so into otatools-package."
Dan Albert [Fri, 13 Mar 2015 20:44:08 +0000 (20:44 +0000)]
Merge "DO NOT MERGE: Bundle libc++.so into otatools-package."

9 years agoMerge "add otatools-package target"
Dan Albert [Fri, 13 Mar 2015 20:32:58 +0000 (20:32 +0000)]
Merge "add otatools-package target"

9 years agoMerge "Do not use block_verify on target-files where feature is missing."
Dan Albert [Fri, 13 Mar 2015 20:31:40 +0000 (20:31 +0000)]
Merge "Do not use block_verify on target-files where feature is missing."

9 years agoStrip prebuilt shared library by default.
Ying Wang [Thu, 21 Aug 2014 00:12:32 +0000 (17:12 -0700)]
Strip prebuilt shared library by default.

Strip prebuilt shared library but not try adding gnu debuglink.
It would fail if you try run the adding gnu debuglink command if a
prebuilt is already stripped.

Bug: 17177288
Change-Id: If5811865715c2437e45fbd329983ef1212ef0109
(cherry picked from commit bfb52a2ec199a75e1a0e4e92148af0a6323c9f46)

9 years agoSwitch NDK libraries to 4.9 for x86_64 and mips64
Przemyslaw Szczepaniak [Tue, 16 Sep 2014 14:17:47 +0000 (15:17 +0100)]
Switch NDK libraries to 4.9 for x86_64 and mips64

Android NDK r10b doesn't even provide 4.8 for those
archs.

Change-Id: I10840c6c7bbc0dd9028a794162d021d8b3e6b19a
(cherry picked from commit fabd383bc876ff803a3565ccedd9b61559bf5127)

9 years agoSupport "LOCAL_FDO_SUPPORT := always".
Ying Wang [Tue, 28 Oct 2014 21:50:59 +0000 (14:50 -0700)]
Support "LOCAL_FDO_SUPPORT := always".

"LOCAL_FDO_SUPPORT := always" enables FDO without user specifying
"BUILD_FDO_OPTIMIZE := true", i.e. it turns on FDO for a
module in any build configuration.

Change-Id: I05d8db2edb2b3f5db073fa14d5bf1083a04571c0
(cherry picked from commit 45d0143ab1155ff33c3ad63ca19a64d7f69086f4)

9 years agoSet up environmental variable PATH before calling releasetools scripts.
Ying Wang [Tue, 10 Feb 2015 01:20:06 +0000 (17:20 -0800)]
Set up environmental variable PATH before calling releasetools scripts.

Some releasetools python sripts rely on $PATH to search for the
executables. With this change, you don't need to run lunch even after you
change the build system variable OUT_DIR.

Bug: 19320328
Change-Id: Ia44b11084fb1bdcceb60b1d33cb7e460c9b705a8
(cherry picked from commit 9d252e10096d4f730f39662e81489e4a13752d29)

9 years agoinclude oem.prop files in otatools_package
Doug Zongker [Mon, 25 Aug 2014 15:08:26 +0000 (08:08 -0700)]
include oem.prop files in otatools_package

Change-Id: I2f28936edda5d8d9bff6213828c16d607263cd95
(cherry picked from commit ce43bc8df2fae960eb02e56a55d365e7c18a1fc1)

9 years agoDO NOT MERGE: Bundle libc++.so into otatools-package.
Jesse Zhao [Wed, 10 Dec 2014 18:52:50 +0000 (10:52 -0800)]
DO NOT MERGE: Bundle libc++.so into otatools-package.

Change-Id: I6b7d16eca18dce3e2990464f3d1a34740ad8a8ee
(cherry picked from commit f7daa92cff1de4a03616b0851f303830bee0de0b)

9 years agoadd otatools-package target
Doug Zongker [Fri, 22 Aug 2014 15:04:58 +0000 (08:04 -0700)]
add otatools-package target

Add a target to zip up all the otatools and releasetools, for easy
copying to the OTA builder machine.

Change-Id: If14b4afefcc1a20ea19dfca3f3b9f9fae73189a6
(cherry picked from commit f22b0f43efbc16c548692dc239a387edda15d78f)

9 years agoDo not use block_verify on target-files where feature is missing.
Michael Runge [Thu, 12 Feb 2015 03:28:08 +0000 (19:28 -0800)]
Do not use block_verify on target-files where feature is missing.

This will only be used when the block file format is at least
version 3.  For V1/V2 (L, L MR1) block versions, fall back to
the old range_sha1 check.

Bug: 19357591
Change-Id: I7cb178b70d48ec3c98cdb88ed1c94cf7797a01d0
(cherry picked from commit cad78c12fbb44b6030bcc80823c010e65b9c3f37)

9 years agoMerge "[Renderscript] making librsjni.so be packed with apks when v8.renderscript...
Dan Albert [Fri, 13 Mar 2015 17:27:45 +0000 (17:27 +0000)]
Merge "[Renderscript] making librsjni.so be packed with apks when v8.renderscript is needed, even for bundled apps."

9 years ago[Renderscript] making librsjni.so be packed with apks when
Miao Wang [Fri, 13 Feb 2015 00:22:59 +0000 (16:22 -0800)]
[Renderscript] making librsjni.so be packed with apks when
v8.renderscript is needed, even for bundled apps.

Bug: 19343399
Change-Id: I461e244be15e08d4525439bc042529314c84031e
(cherry picked from commit c919b0ba88c0a7ce4b8722b4e3befbc81a652422)

9 years agoMerge "Fix the error that free_string is not defined."
Sami Tolvanen [Fri, 13 Mar 2015 11:02:19 +0000 (11:02 +0000)]
Merge "Fix the error that free_string is not defined."