Commit Graph

22211 Commits

Author SHA1 Message Date
Eric Laurent 3131486892 Merge "added broadcast radio service" 2015-03-16 18:29:05 +00:00
Yohann Roussel 1ccaa8fbd8 Merge "Make Jack use tmp dir specified by TMPDIR" 2015-03-16 17:08:01 +00:00
Yohann Roussel f528e132d6 Make Jack use tmp dir specified by TMPDIR
If the environment variable is defined.

Bug: 19654122
Change-Id: Ib238a2c2eb60296a96de98a4a54e0996d4c8a958
2015-03-16 15:59:33 +01:00
Yohann Roussel f252faae65 Merge "Redirect jack warnings to stdout" 2015-03-16 14:06:29 +00:00
Tao Bao aecbda7f26 resolved conflicts for merge of 22311914 to master
Change-Id: I8684191fa3efea0ed546bbad076f8760a13c5c81
2015-03-14 00:26:06 -07:00
Tao Bao 2231191482 resolved conflicts for merge of 6502ae93 to lmp-mr1-dev-plus-aosp
Change-Id: I3ffed7f5a32363d5a4481eebddff8feff3c4ebee
2015-03-13 22:40:38 -07:00
Tao Bao 6502ae93e1 am 18b27966: Merge "Restrict the verification in block-based incremental OTAs"
* commit '18b27966a66a27da7b7199ab3e4351e9369cf060':
  Restrict the verification in block-based incremental OTAs
2015-03-14 05:08:38 +00:00
Tao Bao 18b27966a6 Merge "Restrict the verification in block-based incremental OTAs" 2015-03-14 05:01:34 +00:00
Tao Bao dd2a5892e5 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 daebaa6ed3)
2015-03-13 17:57:15 -07:00
Ying Wang 13f2eff667 am d4ca3b38: am 4cbc4b39: am ae61f50a: Support to configure and build multiple custom images.
* commit 'd4ca3b38d9477cd8f163de75bff24cc97071f210':
  Support to configure and build multiple custom images.
2015-03-14 00:38:45 +00:00
Ying Wang d4ca3b38d9 am 4cbc4b39: am ae61f50a: Support to configure and build multiple custom images.
* commit '4cbc4b392da57c34626af38a4ea0fe4dc115af57':
  Support to configure and build multiple custom images.
2015-03-14 00:31:44 +00:00
Ying Wang 4cbc4b392d am ae61f50a: Support to configure and build multiple custom images.
* commit 'ae61f50a680d4a8e91274b35305dc2e24959abbe':
  Support to configure and build multiple custom images.
2015-03-14 00:17:52 +00:00
Ying Wang ae61f50a68 Support to configure and build multiple custom images.
Build additional images requested by the product makefile.
This script gives the ability to build multiple additional images and
you can configure what modules/files to include in each image.
1. Define PRODUCT_CUSTOM_IMAGE_MAKEFILES in your product makefile.
   PRODUCT_CUSTOM_IMAGE_MAKEFILES is a list of makefiles.
   Each makefile configures an image.
   For image configuration makefile foo/bar/xyz.mk, the built image
   file name
   will be xyz.img. So make sure they won't conflict.
2. In each image's configuration makefile, you can define variables:
  - CUSTOM_IMAGE_MOUNT_POINT, the mount point, such as "oem", "odm"
    etc.
  - CUSTOM_IMAGE_PARTITION_SIZE
  - CUSTOM_IMAGE_FILE_SYSTEM_TYPE
  - CUSTOM_IMAGE_DICT_FILE, a text file defining a dictionary
    accepted by BuildImage() in tools/releasetools/build_image.py.
  - CUSTOM_IMAGE_MODULES, a list of module names you want to include
    in the image; Not only the module itself will be installed to proper
    path in the image, you can also piggyback additional files/directories
    with the module's LOCAL_PICKUP_FILES.
  - CUSTOM_IMAGE_COPY_FILES, a list of "<src>:<dest>" to be copied to
    the image. <dest> is relativ to the root of the image.

To build all those images, run "make custom_images".

Bug: 19609718
Change-Id: Ic73587e08503a251be27797c7b00329716051927
(cherry picked from commit 5fcf1094f9)
2015-03-14 00:06:54 +00:00
Ying Wang 7c4a530666 Merge "Support to configure and build multiple custom images." 2015-03-13 23:55:28 +00:00
Ying Wang 5fcf1094f9 Support to configure and build multiple custom images.
Build additional images requested by the product makefile.
This script gives the ability to build multiple additional images and
you can configure what modules/files to include in each image.
1. Define PRODUCT_CUSTOM_IMAGE_MAKEFILES in your product makefile.
   PRODUCT_CUSTOM_IMAGE_MAKEFILES is a list of makefiles.
   Each makefile configures an image.
   For image configuration makefile foo/bar/xyz.mk, the built image
   file name
   will be xyz.img. So make sure they won't conflict.
2. In each image's configuration makefile, you can define variables:
  - CUSTOM_IMAGE_MOUNT_POINT, the mount point, such as "oem", "odm"
    etc.
  - CUSTOM_IMAGE_PARTITION_SIZE
  - CUSTOM_IMAGE_FILE_SYSTEM_TYPE
  - CUSTOM_IMAGE_DICT_FILE, a text file defining a dictionary
    accepted by BuildImage() in tools/releasetools/build_image.py.
  - CUSTOM_IMAGE_MODULES, a list of module names you want to include
    in the image; Not only the module itself will be installed to proper
    path in the image, you can also piggyback additional files/directories
    with the module's LOCAL_PICKUP_FILES.
  - CUSTOM_IMAGE_COPY_FILES, a list of "<src>:<dest>" to be copied to
    the image. <dest> is relativ to the root of the image.

To build all those images, run "make custom_images".

Bug: 19609718
Change-Id: Ic73587e08503a251be27797c7b00329716051927
2015-03-13 16:48:02 -07:00
Dan Albert f2178b39fe resolved conflicts for merge of 78c6a1cb to master
Change-Id: I279fa5c59cd08ff555e8140fa2ed86de4ff30c1f
2015-03-13 16:40:08 -07:00
Dan Albert 14dc458c4b am 92b00822: am e685e849: am 8de543fd: Merge "Switch NDK libraries to 4.9 for x86_64 and mips64"
* commit '92b0082275401921bedba06e1771ebe1814ec3cf':
  Switch NDK libraries to 4.9 for x86_64 and mips64
2015-03-13 23:35:15 +00:00
Dan Albert a82318bf42 am 4d45d6d8: am b478d625: am 9db3e6c6: Merge "Support "LOCAL_FDO_SUPPORT := always"."
* commit '4d45d6d8b0296bf6351ad02f9b607289d3cbaf22':
  Support "LOCAL_FDO_SUPPORT := always".
2015-03-13 23:35:09 +00:00
Dan Albert f5a2d7b9ee am 169f16f8: am fd496a64: am c70805ee: Merge "Set up environmental variable PATH before calling releasetools scripts."
* commit '169f16f808cd86c9e32f1f14ec7ed3c74844120d':
  Set up environmental variable PATH before calling releasetools scripts.
2015-03-13 23:35:08 +00:00
Dan Albert c9a67eb478 am ba64cebf: am 7c4a3464: am fcd0d98b: Merge "include oem.prop files in otatools_package"
* commit 'ba64cebf148394cfea66d5b41a200ed207df610d':
  include oem.prop files in otatools_package
2015-03-13 23:35:06 +00:00
Dan Albert 78c6a1cb1a am c37d7043: am 3ad14218: Merge "Strip prebuilt shared library by default."
* commit 'c37d7043e6fde29bf14218c31132dc48a9f7e995':
  Strip prebuilt shared library by default.
2015-03-13 23:29:06 +00:00
Dan Albert 92b0082275 am e685e849: am 8de543fd: Merge "Switch NDK libraries to 4.9 for x86_64 and mips64"
* commit 'e685e849c02bb75bf0d9c871e87556472c4fca73':
  Switch NDK libraries to 4.9 for x86_64 and mips64
2015-03-13 23:29:05 +00:00
Dan Albert 4d45d6d8b0 am b478d625: am 9db3e6c6: Merge "Support "LOCAL_FDO_SUPPORT := always"."
* commit 'b478d625f2f72440f239ec538fae167ede45f49e':
  Support "LOCAL_FDO_SUPPORT := always".
2015-03-13 23:29:03 +00:00
Dan Albert 169f16f808 am fd496a64: am c70805ee: Merge "Set up environmental variable PATH before calling releasetools scripts."
* commit 'fd496a64277e331487048acee586da6ad5d02870':
  Set up environmental variable PATH before calling releasetools scripts.
2015-03-13 23:29:02 +00:00
Dan Albert ba64cebf14 am 7c4a3464: am fcd0d98b: Merge "include oem.prop files in otatools_package"
* commit '7c4a34642aecebb35845345cc86dfe63c86936f5':
  include oem.prop files in otatools_package
2015-03-13 23:29:00 +00:00
Dan Albert c37d7043e6 am 3ad14218: Merge "Strip prebuilt shared library by default."
* commit '3ad14218ccca2c729dfd90a24050e40fc52a56bf':
  Strip prebuilt shared library by default.
2015-03-13 23:21:25 +00:00
Dan Albert e685e849c0 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
2015-03-13 23:21:24 +00:00
Dan Albert b478d625f2 am 9db3e6c6: Merge "Support "LOCAL_FDO_SUPPORT := always"."
* commit '9db3e6c61fe10073a2ed829f1036bc6281767202':
  Support "LOCAL_FDO_SUPPORT := always".
2015-03-13 23:21:23 +00:00
Dan Albert fd496a6427 am c70805ee: Merge "Set up environmental variable PATH before calling releasetools scripts."
* commit 'c70805eef5be3e10003518d24adb083dcd1efbc2':
  Set up environmental variable PATH before calling releasetools scripts.
2015-03-13 23:21:21 +00:00
Dan Albert 7c4a34642a am fcd0d98b: Merge "include oem.prop files in otatools_package"
* commit 'fcd0d98b6cedde450a6e4d62df2209d8295752fc':
  include oem.prop files in otatools_package
2015-03-13 23:21:20 +00:00
Dan Albert 3ad14218cc Merge "Strip prebuilt shared library by default." 2015-03-13 23:18:47 +00:00
Dan Albert 8de543fdec Merge "Switch NDK libraries to 4.9 for x86_64 and mips64" 2015-03-13 23:18:25 +00:00
Dan Albert 9db3e6c61f Merge "Support "LOCAL_FDO_SUPPORT := always"." 2015-03-13 23:17:52 +00:00
Dan Albert c70805eef5 Merge "Set up environmental variable PATH before calling releasetools scripts." 2015-03-13 23:17:26 +00:00
Dan Albert fcd0d98b6c Merge "include oem.prop files in otatools_package" 2015-03-13 23:17:02 +00:00
Dan Albert 8337bd0659 am eed58605: (-s ours) am ebb611f8: (-s ours) am 137b049a: (-s ours) Merge "DO NOT MERGE: Bundle libc++.so into otatools-package."
* commit 'eed58605ae180d080e5bd1576e1744ed89d578d9':
2015-03-13 21:54:52 +00:00
Dan Albert a16e32ef23 am c856bcb9: am 4cdf1357: Merge "add otatools-package target"
* commit 'c856bcb9c8dbc09849436d138239850eddfcbeab':
2015-03-13 21:54:52 +00:00
Dan Albert 20130098c7 resolved conflicts for merge of c856bcb9 to master
Change-Id: I51bc60f9f795a78f07c345cfea433635c8f88dbb
2015-03-13 14:51:18 -07:00
Dan Albert bd46502942 am 8a8da96f: am cb9ace32: (-s ours) Merge "Do not use block_verify on target-files where feature is missing."
* commit '8a8da96fb4f107e3f7330c8f4d9576b38ae9ca69':
  Do not use block_verify on target-files where feature is missing.
2015-03-13 21:16:37 +00:00
Dan Albert eed58605ae am ebb611f8: (-s ours) am 137b049a: (-s ours) Merge "DO NOT MERGE: Bundle libc++.so into otatools-package."
* commit 'ebb611f8d3911434072611cb0e48302fc9ed1226':
  DO NOT MERGE: Bundle libc++.so into otatools-package.
2015-03-13 21:10:50 +00:00
Dan Albert c856bcb9c8 am 4cdf1357: Merge "add otatools-package target"
* commit '4cdf1357433b407b350517779248e2194c88c3f4':
  add otatools-package target
2015-03-13 21:10:49 +00:00
Dan Albert 8a8da96fb4 am cb9ace32: (-s ours) Merge "Do not use block_verify on target-files where feature is missing."
* commit 'cb9ace32d4cdfd84d6da98f70fd4041350abcf2c':
  Do not use block_verify on target-files where feature is missing.
2015-03-13 21:10:48 +00:00
Dan Albert ebb611f8d3 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.
2015-03-13 20:47:55 +00:00
Dan Albert 137b049aef Merge "DO NOT MERGE: Bundle libc++.so into otatools-package." 2015-03-13 20:44:09 +00:00
Dan Albert 4cdf135743 Merge "add otatools-package target" 2015-03-13 20:32:59 +00:00
Dan Albert cb9ace32d4 Merge "Do not use block_verify on target-files where feature is missing." 2015-03-13 20:31:41 +00:00
Ying Wang c1729f3602 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 bfb52a2ec1)
2015-03-13 11:36:15 -07:00
Przemyslaw Szczepaniak 0e2d00ff1f 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 fabd383bc8)
2015-03-13 11:36:15 -07:00
Ying Wang d791463511 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 45d0143ab1)
2015-03-13 11:36:15 -07:00
Ying Wang 95a543c987 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 9d252e1009)
2015-03-13 11:36:15 -07:00