Commit Graph

2148 Commits

Author SHA1 Message Date
SzuWei Lin 68ba24ab5d Merge "Add audio.a2dp.default to generic system image" into oc-dr1-dev am: 4e08677575
am: e7a5506e1f

Change-Id: Ife6d2b9ae9745ff54dfce9b7506fd3aa702f711e
2017-06-21 02:12:57 +00:00
SzuWei Lin e7a5506e1f Merge "Add audio.a2dp.default to generic system image" into oc-dr1-dev
am: 4e08677575

Change-Id: I45aa7f7055dd4fe874daa2b1c2c8f8f317fe2f5a
2017-06-21 02:06:57 +00:00
TreeHugger Robot 4e08677575 Merge "Add audio.a2dp.default to generic system image" into oc-dr1-dev 2017-06-21 01:57:53 +00:00
SzuWei Lin 03dad3be29 Merge "Remove unnecessary items in treble_common.mk" into oc-dr1-dev am: c7232cc5d5
am: 8e51a42f90

Change-Id: Ibb2632b6b376aa53f04e9bbfce66dc8a6f1364a6
2017-06-20 17:13:43 +00:00
SzuWei Lin 8e51a42f90 Merge "Remove unnecessary items in treble_common.mk" into oc-dr1-dev
am: c7232cc5d5

Change-Id: I5e4f45335343b7e63db587ad6f9bfaa5c5eabad1
2017-06-20 17:11:14 +00:00
Lucas Dupin d625a80914 Require sysui overlay am: a426a60a6b
am: 2fb2b6f9cc

Change-Id: Ifc214dae6cc9e0f43466757d4d989950415a039f
2017-06-20 17:07:08 +00:00
TreeHugger Robot c7232cc5d5 Merge "Remove unnecessary items in treble_common.mk" into oc-dr1-dev 2017-06-20 17:06:42 +00:00
Lucas Dupin 2fb2b6f9cc Require sysui overlay
am: a426a60a6b

Change-Id: I036d14bc112f73d9372a0f2df56850f161bea98d
2017-06-20 16:58:23 +00:00
SzuWei Lin fbac1195e9 Add audio.a2dp.default to generic system image
audio.a2dp.default is a system module. Generic system image includes
audio.a2dp.default to support A2DP if board has the capability.

Bug: 62649731
Test: build and check the file existance in system image
Merged-In: Iac4821b3daf993da9fc309b7b105db98ee4b89ce
Change-Id: I0d2194c4145927b21df5858a3787f8c210f2794c
(cherry picked from commit fe3191727b)
2017-06-20 17:54:07 +08:00
SzuWei Lin fe3191727b Add audio.a2dp.default to generic system image
audio.a2dp.default is a system module. Generic system image includes
audio.a2dp.default to support A2DP if board has the capability.

Bug: 62649731
Test: build and check the file existance in system image
Change-Id: Iac4821b3daf993da9fc309b7b105db98ee4b89ce
2017-06-19 17:59:20 +08:00
SzuWei Lin cbd421fd0e Remove unnecessary items in treble_common.mk
Bug: 62360563
Test: Build and check files are still exist in system image
Change-Id: Ie787969d072c5b89d377a2c0b01706764185d6a5
2017-06-19 17:58:30 +08:00
SzuWei Lin af505d5f2f Add wificond to Android makefiles
wificond is part of the framework, and shouldn't be modified by
vendor. The patch adds wificond to PRODUCT_PACKAGES list of
Android makefile, and removes it from treble_common.mk.

Bug: 62646878
Test: Build and check the file existance in system image
Change-Id: I92f2b64c1912ed5106a72a56e831bc989a70979e
2017-06-19 16:06:11 +08:00
Lucas Dupin a426a60a6b Require sysui overlay
All builds should include the 2 systemui themes

Bug: 62346335
Change-Id: Iacfe3c7494f81ee05118a6f782a96c96ce901bb3
2017-06-18 18:49:45 -07:00
Suren Baghdasaryan c9d52e2d32 Merge "Add makefile to define PRODUCT_SHIPPING_API_LEVEL for O release" 2017-06-16 21:10:23 +00:00
Igor Murashkin 5f5daa504e Merge "core: Move core.oat bootjar definitions into envsetup.mk" into oc-dev-plus-aosp
am: caa917ae3d

Change-Id: I312c7e60ef87dc2f400c992754e4093edfe300ee
2017-06-16 03:28:02 +00:00
Igor Murashkin cda3d10e56 core: Move core.oat bootjar definitions into envsetup.mk
TARGET_CORE_JARS and HOST_CORE_JARS define the minimal bootclasspath jars necessary to run
with dalvikvm/art.

Also refactor PRODUCT_BOOT_JARS in core-tiny.mk and core-minimal.mk to reuse TARGET_CORE_JARS.
The above variables can be used from scripts with get_build_var from envsetup.sh

  $> get_build_var TARGET_CORE_JARS
  <prints list of core jars>

(These changes are required to figure out what --bootclasspath_entry to pass to desugar).

Bug: 36902714
Test: make -j32 build-art-host build-art-target
Test: lunch aosp_angler-userdebug && make -j32
Test: make -j32 PRODUCT-sdk_google_aw_x86-sdk
Change-Id: If12569719343bfbba20c1cda9a5302ab541dbfc6
(cherry picked from commit f33a96c07f)
2017-06-16 03:08:33 +00:00
Treehugger Robot 6cb7688e85 Merge "core: Move core.oat bootjar definitions into envsetup.mk" 2017-06-16 02:06:02 +00:00
Suren Baghdasaryan f3251ac73b Add makefile to define PRODUCT_SHIPPING_API_LEVEL for O release
For Android O release PRODUCT_SHIPPING_API_LEVEL is set to 26.

Change-Id: Ie1d5af375f2db95850fc5395d6a0c775dbfa046d
2017-06-15 19:04:22 -07:00
Igor Murashkin 9d4639c8c2 core: Move core.oat bootjar definitions into envsetup.mk
TARGET_CORE_JARS and HOST_CORE_JARS define the minimal
bootclasspath jars necessary to run with dalvikvm/art.

Also refactor PRODUCT_BOOT_JARS in core-tiny.mk and core-minimal.mk
to reuse TARGET_CORE_JARS.

The above variables can be used from scripts with get_build_var
from envsetup.sh

  $> get_build_var TARGET_CORE_JARS
  <prints list of core jars>

(These changes are required to figure out what --bootclasspath_entry
to pass to desugar).

Bug: 36902714
Test: make -j32 build-art-host build-art-target
Test: lunch aosp_angler-userdebug && make -j32
Test: make -j32 PRODUCT-sdk_google_aw_x86-sdk
Merged-In: If12569719343bfbba20c1cda9a5302ab541dbfc6
Change-Id: If12569719343bfbba20c1cda9a5302ab541dbfc6
2017-06-16 00:54:47 +00:00
Igor Murashkin f33a96c07f core: Move core.oat bootjar definitions into envsetup.mk
TARGET_CORE_JARS and HOST_CORE_JARS define the minimal bootclasspath jars necessary to run
with dalvikvm/art.

Also refactor PRODUCT_BOOT_JARS in core-tiny.mk and core-minimal.mk to reuse TARGET_CORE_JARS.
The above variables can be used from scripts with get_build_var from envsetup.sh

  $> get_build_var TARGET_CORE_JARS
  <prints list of core jars>

(These changes are required to figure out what --bootclasspath_entry to pass to desugar).

Bug: 36902714
Test: make -j32 build-art-host build-art-target
Test: lunch aosp_angler-userdebug && make -j32
Test: make -j32 PRODUCT-sdk_google_aw_x86-sdk
Change-Id: If12569719343bfbba20c1cda9a5302ab541dbfc6
2017-06-15 14:51:36 -07:00
Lingfeng Yang d2fc242c34 Add android.hardware.power service+impl and power.ranchu
Bug: 37302997
Bug: 37863919

Change-Id: Ifc79b3498c48cf4b8ff5db433064a3bf9edc041b
(cherry picked from commit bc02d4274fde079d97fe18f5a0974a20757f3827)
2017-06-15 18:13:14 +00:00
Nicolas Geoffray 8be30c47d7 Merge "Add a new PRODUCT variable for forcing 'speed' preopt." into oc-dev
am: 0081d76597

Change-Id: I81039c2b5d1ae202e4cbca43e98322e15ab5c3e9
2017-06-15 14:42:18 +00:00
Nicolas Geoffray 0081d76597 Merge "Add a new PRODUCT variable for forcing 'speed' preopt." into oc-dev 2017-06-15 14:06:10 +00:00
Nicolas Geoffray cd2a171764 Merge "Add a new PRODUCT variable for forcing 'speed' preopt." am: 8c2c1ed667 am: eec5747912
am: 59514d2bae

Change-Id: I27dcc7cd5fca29fea557cb6d681ccfa570b84cb8
2017-06-15 11:51:26 +00:00
Nicolas Geoffray 59514d2bae Merge "Add a new PRODUCT variable for forcing 'speed' preopt." am: 8c2c1ed667
am: eec5747912

Change-Id: Iee5490ea2b74137612238282115478b148aed55e
2017-06-15 11:48:26 +00:00
Nicolas Geoffray c3ffeddc59 Add a new PRODUCT variable for forcing 'speed' preopt.
bug: 35872915
Test: build

(cherry picked from commit 4a0ad4ac61)

Change-Id: Idfea3c379a2b1dab30ee94a58ffe86d508f8522f
2017-06-15 12:40:15 +01:00
Nicolas Geoffray 8c2c1ed667 Merge "Add a new PRODUCT variable for forcing 'speed' preopt." 2017-06-15 11:38:24 +00:00
Mariano Giardina a43852fcdc Merge "Revert "core: Move core.oat bootjar definitions into core/config"" am: 1e14bc3b7b am: cc33b6005f
am: 78d9b75329

Change-Id: I1bd6af643810358d4ea8426338607c6f506dad72
2017-06-15 11:15:23 +00:00
Mariano Giardina 78d9b75329 Merge "Revert "core: Move core.oat bootjar definitions into core/config"" am: 1e14bc3b7b
am: cc33b6005f

Change-Id: I2f7465d6bd723c85aa0c028e8e8268d631c13d02
2017-06-15 11:12:23 +00:00
Mariano Giardina 1e14bc3b7b Merge "Revert "core: Move core.oat bootjar definitions into core/config"" 2017-06-15 11:01:29 +00:00
Mariano Giardina 2f137ee118 Revert "core: Move core.oat bootjar definitions into core/config"
This reverts commit 8c50798243.

Possible culprit of breakage in git_master sdk_google_aw_x86:
FAILED: out/target/product/generic_x86/dex_bootjars/system/framework/x86/boot.art 
ex2oatd E 06-15 03:56:00 47990 47990 runtime.cc:1761] Failed to return pre-allocated NoClassDefFoundError
dex2oatd F 06-15 03:56:00 47990 47990 thread.cc:3591] Check failed: new_exception != nullptr 

Testing if Treehugger passes with the rollback before submitting

https://android-build.googleplex.com/builds/submitted/4101897/sdk_google_aw_x86-sdk/latest/view/logs/build_error.log

Change-Id: Iceac31e775eaf3cd5fd9b3d2a17d3af200e35b27
2017-06-15 10:14:51 +00:00
Nicolas Geoffray 4a0ad4ac61 Add a new PRODUCT variable for forcing 'speed' preopt.
bug: 35872915
Test: build
Change-Id: Idfea3c379a2b1dab30ee94a58ffe86d508f8522f
2017-06-15 09:52:45 +01:00
Igor Murashkin ca811c825c Merge "core: Move core.oat bootjar definitions into core/config" am: 5e1aa20225 am: db52463bb3
am: 9c57325093

Change-Id: If1ec447b21e277a023b016868db1633379acc5e0
2017-06-15 03:19:07 +00:00
Igor Murashkin 9c57325093 Merge "core: Move core.oat bootjar definitions into core/config" am: 5e1aa20225
am: db52463bb3

Change-Id: I7fe90df0a8dae2fb5aa9f0dbcfc21a77b2700a87
2017-06-15 03:16:07 +00:00
Igor Murashkin 5e1aa20225 Merge "core: Move core.oat bootjar definitions into core/config" 2017-06-15 03:06:12 +00:00
Igor Murashkin 8c50798243 core: Move core.oat bootjar definitions into core/config
TARGET_CORE_JARS and HOST_CORE_JARS define the minimal
bootclasspath jars necessary to run with dalvikvm/art.

Also refactor PRODUCT_BOOT_JARS to reuse TARGET_CORE_JARS.

(These changes are required to figure out what --bootclasspath_entry
to pass to desugar).

Bug: 36902714
Test: make -j32 && make -j32 build-art-host build-art-target
Change-Id: I620e28be41047a1d501d7f144fe415ee4a0af36f
2017-06-14 10:02:09 -07:00
Paul Duffin 9a8b2f7d96 Merge "Added android.test.mock to PRODUCT_PACKAGES" am: 87b69b97f3 am: b349e09a18
am: f170ad5f55

Change-Id: I8f7a8633714905672694f5b44ec3f3209bbbea6f
2017-06-14 11:17:13 +00:00
Paul Duffin f170ad5f55 Merge "Added android.test.mock to PRODUCT_PACKAGES" am: 87b69b97f3
am: b349e09a18

Change-Id: I242537e012490770a7a3bbdd235dc6016984804b
2017-06-14 11:14:43 +00:00
SzuWei Lin c5971c7bff Merge "Add more libs into generic AOSP system image" into oc-dev am: 57fb2214ab
am: 47400c5e34

Change-Id: Iffefb631653a13b7c0d334aadffe30010114b10d
2017-06-14 09:12:04 +00:00
SzuWei Lin 4a421a28d0 Merge "Add more libs into generic AOSP system image" into oc-dev
am: 57fb2214ab

Change-Id: I011b16eb3c7ee21a52a04586d8249254e8d53dc8
2017-06-14 09:10:04 +00:00
SzuWei Lin 47400c5e34 Merge "Add more libs into generic AOSP system image" into oc-dev
am: 57fb2214ab

Change-Id: If56dc8c2a6417b527c243af0151b428677f16f55
2017-06-14 09:10:04 +00:00
TreeHugger Robot 57fb2214ab Merge "Add more libs into generic AOSP system image" into oc-dev 2017-06-14 09:06:45 +00:00
Isaac Chen 47a95bb673 Merge "Fix audio policy configuration for generic targets" into oc-dev am: 34d8c95fd7
am: ea97912057

Change-Id: I0ebf242f841c9c778e943b1cc2d31598e906476a
2017-06-14 08:25:05 +00:00
Isaac Chen 71891cdb3e Merge "Fix audio policy configuration for generic targets" into oc-dev
am: 34d8c95fd7

Change-Id: I16ab64f6955031bfced51e8049f96f95033624ef
2017-06-14 08:22:36 +00:00
Isaac Chen ea97912057 Merge "Fix audio policy configuration for generic targets" into oc-dev
am: 34d8c95fd7

Change-Id: I1d5a39cec809f91477e09c8545c6d1173152ea0f
2017-06-14 08:22:36 +00:00
SzuWei Lin 56d68a5192 Add more libs into generic AOSP system image
Includes:
- more HIDL interfaces
- explicitly specify all LL-NDK and SP-NDK (currently only
  libandroid_net is missing)
- add liblzma and libyuv

Bug: 38339299
Test: build aosp_arm64_ab and pass
Change-Id: Ic67d47990cf6b4ab51e1b74f0fed85e60ce3a817
2017-06-14 14:57:15 +08:00
SzuWei Lin 35998bb8e5 resolve merge conflicts of a24fcf6abc to oc-dr1-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I52993c61a80bc7aee3d49ce37b88413e8f40f832
2017-06-14 11:56:25 +08:00
SzuWei Lin 6fdff23df2 Normalize building generic system image with treble-common.mk
Move the common part from make file of generic AOSP system images into
treble_common.mk, and update the content of common part.

The common part inclueds:

- HAL interfaces
- VNDK libs
- VNDK-SP libs
- Some other modules supporting HAL interfaces
- Some Treble default configurations

Bug: 37927875
Test: boot to home screen with the generic system image
Merged-In: I4202454d57970cef713f7d6437191094df0009e9
Change-Id: I4202454d57970cef713f7d6437191094df0009e9
2017-06-13 03:15:39 +00:00
Isaac Chen 924e705c85 Fix audio policy configuration for generic targets
Changes in this CL:
1. Use ":=", instead of "+=", for PRODUCT_COPY_FILES so previous audio
policy related settings won't be overwritten.
2. Use basic audio policy XML files provided by audio team as default.

Bug: 62524944
Test: check if the XML files for audio policy configuration are under
      /system/etc and devices with generic system imagei, but without
      such configuration under /vendor/etc can boot with audio working.

Change-Id: I4ccffdfb131a9d2445d9c2f52a22ffcc97884479
2017-06-12 18:56:50 +08:00
Paul Duffin c45b7e3d98 Added android.test.mock to PRODUCT_PACKAGES
Adds android.test.mock.jar to the /system/framework
directory. That will allow it to be dynamically included
with a uses-library manifest entry.

Bug: 30188076
Test: flash and check contents of /system/framework
Change-Id: I3ea0e558276176edd21e24c8337980c5c02a652e
2017-06-09 13:34:13 +01:00
Bartosz Fabianowski bf1546c96d Revert "Revert "Normalize building generic system image with treble-common.mk""
We will selectively revert on a branch only.

This reverts commit 85c4945f46.

Change-Id: I0eb869a0f2385fe66bd3cd0bc18a298ebe5b47da
2017-06-08 10:12:43 +00:00
Bartosz Fabianowski 85c4945f46 Revert "Normalize building generic system image with treble-common.mk"
Revert by Build Cop. This change is causing build failures across builders and branches, e.g.:

ninja: error: 'out/target/product/generic_x86/obj/lib/android.hidl.base@1.0.so', needed by 'checkbuild', missing and no known rule to make it
09:08:08 ninja failed with: exit status 1

This reverts commit 76ada93856.

Change-Id: I5e7bfa65a70cf5d61fb233cdbdfe7f420fd5ab51
2017-06-08 09:44:49 +00:00
SzuWei Lin 78b8dd61b1 Normalize building generic system image with treble-common.mk
Move the common part from make file of generic AOSP system images into
treble_common.mk, and update the content of common part.

The common part inclueds:

- HAL interfaces
- VNDK libs
- VNDK-SP libs
- Some other modules supporting HAL interfaces
- Some Treble default configurations

Bug: 37927875
Test: boot to home screen with the generic system image
Change-Id: I4202454d57970cef713f7d6437191094df0009e9
2017-06-08 16:24:10 +08:00
SzuWei Lin 76ada93856 Normalize building generic system image with treble-common.mk
Move the common part from make file of generic AOSP system images into
treble_common.mk, and update the content of common part.

The common part inclueds:

- HAL interfaces
- VNDK libs
- VNDK-SP libs
- Some other modules supporting HAL interfaces
- Some Treble default configuations

Bug: 37927875
Test: boot to home screen with the generic system image
Change-Id: I4202454d57970cef713f7d6437191094df0009e9
Merged-In: I4202454d57970cef713f7d6437191094df0009e9
2017-06-08 10:13:23 +08:00
Robert Quattlebaum 22b005354f Merge "Revert "Support for android.net.lowpan and LoWPAN Service"" 2017-06-06 21:10:52 +00:00
Robert Quattlebaum 350911d726 Revert "Support for android.net.lowpan and LoWPAN Service"
This reverts commit b2cbafe06e.

Change-Id: Ib78a2ff1878900508db2d3dad0704182b75e9330
2017-06-06 21:03:23 +00:00
TreeHugger Robot 3f2be14109 Merge "Support for android.net.lowpan and LoWPAN Service" 2017-06-06 20:25:55 +00:00
Lucas Dupin b5e44b0a0b Add sysui dark theme dependency
Bug: 38163994
Bug: 37014702
Test: make
Change-Id: I93253b07221e04717b0cbe0b650e9d1ec54da36b
2017-05-26 10:09:25 -07:00
TreeHugger Robot 24011de5d5 Merge "Switch to a shell_and_utilities phony module." into oc-dev 2017-05-23 23:02:29 +00:00
Elliott Hughes 98352342b3 Switch to a shell_and_utilities phony module.
(cherrypick of cb7d59687483c9532beecde60fe96053eda76948.)

Merged-In: I6416d9dded4cc225f57f0a521cf6114f39203ece
Bug: 36463595
Test: builds
Change-Id: I6416d9dded4cc225f57f0a521cf6114f39203ece
2017-05-23 12:46:32 -07:00
Isaac Chen 16ac33eef8 Merge "Generic AOSP system image for non-A/B arm devices" into oc-dev am: 66d4710933
am: 43c6e2b649

Change-Id: I4f42e58f4e88799eb44edacb00c50f210506c15a
2017-05-23 02:30:13 +00:00
Isaac Chen 43c6e2b649 Merge "Generic AOSP system image for non-A/B arm devices" into oc-dev
am: 66d4710933

Change-Id: I9d264f8e5a08984813e95b168eba8599b23ea521
2017-05-23 02:27:44 +00:00
Isaac Chen 1573baca1b Generic AOSP system image for non-A/B arm devices
aosp_arm_a: for non-A/B 32-bit arm devices
aosp_arm64_a: for non-A/B 64-bit arm devices
Both are based on aosp_arm64_ab (for A/B devices).

Bug: 36153731
Test: build with oc-dev and the resulted system image works on one
32-bit arm device successfully (no 64-bit arm device to test yet).
Change-Id: Ifb5c4239e5c22005e055cfa840feca9c0a92586f
2017-05-19 09:29:21 +00:00
Vijay Venkatraman ae432837c7 Merge "Replaced android.dvr.composer@1.0 with android.frameworks.vr.composer@1.0" into oc-dev am: f4c0009bf9
am: 2ad9b943fd

Change-Id: I7997309f7989967144f54b2eb3717b5b9a9fb4d0
2017-05-18 21:49:09 +00:00
Vijay Venkatraman 2ad9b943fd Merge "Replaced android.dvr.composer@1.0 with android.frameworks.vr.composer@1.0" into oc-dev
am: f4c0009bf9

Change-Id: Ifa5785c6a718313408abf8b333e6978e2989a058
2017-05-18 21:32:21 +00:00
TreeHugger Robot f4c0009bf9 Merge "Replaced android.dvr.composer@1.0 with android.frameworks.vr.composer@1.0" into oc-dev 2017-05-18 21:23:39 +00:00
Jaesoo Lee 11e89e9316 Merge "configstore: build configstore 1.1 instead of 1.0" 2017-05-18 13:05:41 +00:00
Pawin Vongmasa c744088b0f Merge "Add media_profiles_V1_0.dtd" into oc-dev
am: 8d66d58d1d

Change-Id: I160e09ee10f87c3ba4d0e83a5d75682082d700fb
2017-05-18 06:15:49 +00:00
TreeHugger Robot 8d66d58d1d Merge "Add media_profiles_V1_0.dtd" into oc-dev 2017-05-18 03:09:43 +00:00
Ben Fennema 29784780e6 Merge "Add HIDL base/manager packages to PRODUCT_BOOT_JARS (core_tiny)" into oc-dev am: 879b9c3bf7
am: 0c04c47240

Change-Id: I66f1bc694e9c578540aecf8ca97edff097a6a3be
2017-05-17 15:35:08 +00:00
Ben Fennema 0c04c47240 Merge "Add HIDL base/manager packages to PRODUCT_BOOT_JARS (core_tiny)" into oc-dev
am: 879b9c3bf7

Change-Id: I77f01301a4043077d1a2b68bc73e3064f3ffaeaf
2017-05-17 15:31:38 +00:00
TreeHugger Robot 879b9c3bf7 Merge "Add HIDL base/manager packages to PRODUCT_BOOT_JARS (core_tiny)" into oc-dev 2017-05-17 15:24:43 +00:00
Jaesoo Lee 1b6723497a configstore: build configstore 1.1 instead of 1.0
configstore is uprevisioned to 1.1.

Bug: 37727469
Test: Build and tested on sailfish

Change-Id: I21861448a5d607383b617f2f85bd378013e64090
2017-05-17 14:08:52 +09:00
Pawin Vongmasa afa2915563 Add media_profiles_V1_0.dtd
Test: media_profiles_V1_0.dtd exists in system/etc

Bug: 36430270
Merged-In: I847a774baf2172d83d414f1794794089b383ded3
Change-Id: I847a774baf2172d83d414f1794794089b383ded3
2017-05-16 19:08:12 -07:00
Vijay Venkatraman c1319fec67 Replaced android.dvr.composer@1.0 with
android.frameworks.vr.composer@1.0

Bug: 38349320
Test: build aosp_arm64_ab
Change-Id: Iaf4c5065bbd10763258dad3e65b69bffa8f94194
2017-05-16 21:58:14 +00:00
David Sehr 871ac3bbd8 Merge "Add dexdiag tool to images" into oc-dev am: 953ff9f7d8
am: b23a76ff71

Change-Id: I4bca2b71b91602238f4dfb90904de78594ceb6d7
2017-05-16 20:33:49 +00:00
David Sehr b23a76ff71 Merge "Add dexdiag tool to images" into oc-dev
am: 953ff9f7d8

Change-Id: I9ae6a4a67f9f2b55593ae6a1b0c49485d8a99676
2017-05-16 20:29:48 +00:00
David Sehr 5c2be9a291 Add dexdiag tool to images
Allow on-device analysis of dex memory usage by adding dexdiag to the
image.

Bug: 38181622
Test: adb shell "dexdiag"
Change-Id: I2142b5e42eae8cc01755d0e86c179c2fa86be00c
(cherry picked from commit 76f5fe5b63)
2017-05-16 11:41:49 -07:00
Ben Fennema 4276c22a67 Add HIDL base/manager packages to PRODUCT_BOOT_JARS (core_tiny)
Fix missing android.hidl.manager.V1_0.IServiceNotification$Stub
on wear (needed by com.android.server.wifi.HalDeviceManager)

Bug: 38320705
Test: no bootloop on android wear

Change-Id: I1bb297d13be0024dbc2be3788a2906e9f3cee437
Signed-off-by: Ben Fennema <fennema@google.com>
2017-05-15 17:40:02 -07:00
David Sehr 76f5fe5b63 Add dexdiag tool to images
Allow on-device analysis of dex memory usage by adding dexdiag to the
image.

Bug: 38181622
Test: adb shell "dexdiag"
Change-Id: I2142b5e42eae8cc01755d0e86c179c2fa86be00c
2017-05-10 16:58:43 -07:00
Pawin Vongmasa d0b9e62476 Add media_profiles_V1_0.dtd
Test: media_profiles_V1_0.dtd exists in system/etc

Bug: 36430270
Change-Id: I847a774baf2172d83d414f1794794089b383ded3
2017-05-05 04:47:15 -07:00
Steven Moreland 2b0022809d Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I2f13ad8151deff77850c4e18f6c84e2e55ba52d3
(cherry picked from commit c96c1de869)
2017-05-04 21:55:43 +00:00
Steven Moreland c96c1de869 Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I2f13ad8151deff77850c4e18f6c84e2e55ba52d3
2017-05-04 13:16:17 -07:00
Steven Moreland 0caf69d72d Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I69f280c36533ce13d5f3b3f2b2eb8d969982cb50
(cherry picked from commit b586105307)
2017-05-04 15:24:51 +00:00
Nicolas Geoffray b24b28ca92 Merge "Remove obsolete pm.dexopt properties." into oc-dev am: 64abb10c60
am: 124313d2e1

Change-Id: Icd60ee935aad9553405acbd223406b2ffa89ef10
2017-05-04 10:56:23 +00:00
Nicolas Geoffray 124313d2e1 Merge "Remove obsolete pm.dexopt properties." into oc-dev
am: 64abb10c60

Change-Id: I660f7b85efc77e7cabe3fabf84cc9416b2e8c0b6
2017-05-04 10:53:22 +00:00
Steven Moreland b586105307 Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I69f280c36533ce13d5f3b3f2b2eb8d969982cb50
2017-05-03 11:12:53 -07:00
Nicolas Geoffray bf824a69db Remove obsolete pm.dexopt properties.
bug:33799337
bug:34715556

Test: build
Change-Id: I5620d6516a7283483272e888fad31cd97491cc0f
2017-05-03 13:28:45 +01:00
Robert Quattlebaum b2cbafe06e Support for android.net.lowpan and LoWPAN Service
Change-Id: I92b066797b474981655917202cd7a8476f63ead8
Bug: b/33073713
2017-05-02 18:06:24 +00:00
Nicolas Geoffray 10030bced5 Update build files to new compiler filters.
bug:34715556
Test: build and boot aosp bullhead

(cherry picked from commit 0576b5f24e)

Change-Id: I75586e2eaa40480470115c89cf1c049313850fe9
2017-05-02 12:36:40 +01:00
Yifan Hong d9842ea1c9 Add device/fwk compatibility matrices to device.
am: b5cbe22b84

Change-Id: I739579f918fe233e153a6ef1dbce77f5863dd808
2017-05-02 07:42:41 +00:00
Yifan Hong b5cbe22b84 Add device/fwk compatibility matrices to device.
Also renamed matrix.xml to compatibility_matrix.xml.

Test: make and ensure vendor/compatibility_matrix.xml is there.
Test: adb shell vintf (see matrices, compatible = true)

Bug: 37321309
Change-Id: I4ebbedf47a576a50a42df53b72e507ed31ef2e56
2017-05-01 21:49:18 -07:00
Colin Cross d1c7f53aa4 Merge "Install sqlite3 on userdebug builds" am: 5821266790 am: 1ddf97bafb
am: f7365b6137

Change-Id: I1292f19401ba3a65fedff3a75eea72bcc8ad53bc
2017-05-02 02:49:09 +00:00
Colin Cross 9418749c48 Install sqlite3 on userdebug builds
sqlite3 had LOCAL_MODULE_TAGS := debug, which was not passed
through when converting to soong.  We prefer PRODUCT_PACKAGES_DEBUG
instead, so add it there.

Bug: 37627999
Test: sqlite3 is in installed-files.txt
Change-Id: Idb8b3aea7b7482109aa4ed3ac0016bd84dd23f22
2017-05-01 21:39:40 +00:00
Nicolas Geoffray b08ada1daa Introduce a whitelist for core apps used by system server.
And by default 'speed' compile those apps at build time.

bug:33799337
Test: m -j32

(cherry picked from commit 9af483488a)

Change-Id: I66f1c675369fccc03b6529c08cb030264d15ba1c
2017-04-28 10:38:41 +01:00
Joe LaPenna 0f35ca4165 Merge "Remove NetworkRecommendation from platform." into oc-dev
am: e5181610d4

Change-Id: Ib86914507b37842863c122d83eebdddf69b8ae9c
2017-04-27 16:51:11 +00:00
Nicolas Geoffray 2987311985 resolve merge conflicts of 225fd8057f to oc-dev-plus-aosp
Test: build

Change-Id: Iae46079ffda4ef5d6b1408044bfcb786ac08a7a6
2017-04-27 13:51:08 +01:00
Nicolas Geoffray 6c8c20dd5b Merge "Update build files to new compiler filters." 2017-04-27 11:40:07 +00:00
Joe LaPenna 885f8f7576 Remove NetworkRecommendation from platform.
It no longer provides platform functionality, so can be removed.

Bug: 37357264,37686309
Test: make aosp_bullhead-userdebug and make bullhead-userdebug
Change-Id: Iedaa1dd764678f12eaeda292e6047485aae236ac
2017-04-25 19:16:28 -07:00
Vikas Marwaha e560372ab2 Merge "Added make files for variable Nougat MR1" am: b27fb9f528 am: d7214ec091
am: 3c11b00837

Change-Id: I390e249cea2024d88f481dba853f21160226710c
2017-04-25 20:34:41 +00:00
Nicolas Geoffray 0576b5f24e Update build files to new compiler filters.
bug:34715556
Test: build and boot aosp bullhead
Change-Id: I95c7bbabd68a58206e8c79a017337a7f9a518569
2017-04-25 12:25:33 +01:00
Jaesoo Lee 6d2e0afa1b fixed build errors for aosp generic system image
am: 41e5dff370

Change-Id: Ie989a23d6649694e016368dabce771bdcd32c60e
2017-04-17 16:41:28 +00:00
Jaesoo Lee 41e5dff370 fixed build errors for aosp generic system image
Following files are missing in AOSP and not needed
- device/google/marlin/init.recovery.common.rc
- vendor/google/products/marlin/bootanimation-1440-256col.zip
- vendor/google/certs/devkeys/devkey

Bug: 37259658
Test: built systemimage and tested it work with other sailfish images
Change-Id: I95e180b6adbe8d08348794fd6b5f41e810999aea
2017-04-17 12:33:02 +09:00
Jiyong Park 57ff671b5c install android.hidl.*-java.jar files by default
am: 279e3c2ae3

Change-Id: I8fff4ae0a271e37e384e47d8196e303d1f09a75e
2017-04-15 08:12:06 +00:00
Jiyong Park 279e3c2ae3 install android.hidl.*-java.jar files by default
Without this, the jar files are not installed to /system/framework and
thus the classes in the libraries become unaccessible during the direct
boot mode, where java code is directly interpreted from the jar files
instaed of the odex file.

Bug: 37363533
Test: android.hidl.*-java.jar are installed at /system/framework
Test: no crash of com.qualcomm.qti.telephonyservice upon boot (with data
partition protected with pin or pattern)

Change-Id: Ib3d5f9b7abd907d89a793e7501055c289145b239
2017-04-15 15:01:28 +09:00
Jiyong Park 709cb01dd8 Merge "Change ld.config.txt to a module" into oc-dev
am: 9fdd426c91

Change-Id: I73a88e93ac2982ccc51ec81ecc8fbe4d66665dc7
2017-04-15 02:04:23 +00:00
TreeHugger Robot 9fdd426c91 Merge "Change ld.config.txt to a module" into oc-dev 2017-04-15 01:47:40 +00:00
Yifan Hong 9c20c473ef Merge changes from topic 'assemble_vintf' into oc-dev
am: ffd66c35bf

Change-Id: I73f8430739e3d129716c3569c000433786099bf1
2017-04-15 01:31:39 +00:00
TreeHugger Robot ffd66c35bf Merge changes from topic 'assemble_vintf' into oc-dev
* changes:
  Use assemble_vintf to verify framework manifests.
  Use assemble_vintf to verify device manifests.
2017-04-15 01:21:23 +00:00
Yifan Hong aa21221f80 Use assemble_vintf to verify framework manifests.
Test: builds, and verify that system/manifest.xml is there.

Bug: 36681384 Runtime-Collectible information must be statically
collectible
Bug: 36983271 VINTF checked at build time

Change-Id: Ic3bb50211311fa423a2ad56bd2891cb57d7dc1a5
2017-04-14 16:29:55 -07:00
Justin Klaassen 16c24c350b Merge "Add "android.software.preview_sdk" feature" into oc-dev
am: 89f74db432

Change-Id: I6dc6a8361400d36e52b47b12f4267739575bca37
2017-04-14 22:44:00 +00:00
Justin Klaassen 89f74db432 Merge "Add "android.software.preview_sdk" feature" into oc-dev 2017-04-14 22:39:59 +00:00
Martijn Coenen f9c5581621 Merge "Add HIDL base/manager packages to PRODUCT_BOOT_JARS." into oc-dev
am: d75be23640

Change-Id: Id696903b1dab45c9373bcf77c4f6f5e708c33225
2017-04-14 05:53:15 +00:00
Martijn Coenen d75be23640 Merge "Add HIDL base/manager packages to PRODUCT_BOOT_JARS." into oc-dev 2017-04-14 05:43:49 +00:00
Michael Schwartz b4baff4961 Merge "Rule to copy device manifest to device" into oc-dev
am: ceeaa7be20

Change-Id: Ibd3b2ffbc591e22682539e2cdb49b0b622549f54
2017-04-14 03:41:01 +00:00
Martijn Coenen cc50370515 Merge "Add NfcNci to default builds." into oc-dev
am: 53b345dd22

Change-Id: I009dce5613b66b5bf8bcc63a6945a47c3ada9252
2017-04-14 03:40:48 +00:00
Michael Schwartz ceeaa7be20 Merge "Rule to copy device manifest to device" into oc-dev 2017-04-14 03:25:55 +00:00
Martijn Coenen 53b345dd22 Merge "Add NfcNci to default builds." into oc-dev 2017-04-14 03:18:40 +00:00
Steven Moreland dfabcc5566 Add HIDL base/manager packages to PRODUCT_BOOT_JARS.
Bug: 36603742
Bug: 36565056
Test: marlin boots, dynamically linking against these works
Change-Id: I1bfb73f2bce858823ad6ba8d826e42bd38cc2317
2017-04-13 19:30:48 -07:00
Justin Klaassen 2bfe0943c8 Add "android.software.preview_sdk" feature
Conditionally add the "android.software.preview_sdk" feature to any
targets that have a Build.VERSION.CODENAME != "REL". This allows clients
to filter out platforms that are not running official Android releases.

Bug: 31064561
Test: verified using PackageManager#getSystemAvailableFeatures()
Change-Id: I539e9537f5f9a572db0a15489b14710e2e8eb0c0
2017-04-13 20:57:50 +00:00
Martijn Coenen 96d62d7fb7 Add NfcNci to default builds.
The package won't be started if the feature is not
present on the device, but we need it for generic
builds.

Bug: 36873979
Test: marlin builds
Change-Id: Ib8110e5af00f8365f45f50b147fe5fb42f1a14e1
2017-04-13 11:13:46 -07:00
Michael Schwartz 4d9cb56866 Rule to copy device manifest to device
The device manifest defines the collection of HAL interfaces exposed by
the vendor. Create a common rule so each target need not define their own.

Bug: 36810913
Test: Ran marlin build and inspected file was copied
Change-Id: I9f53796fdd85e706f91664d275aff6dbd785213f
2017-04-13 08:42:42 -07:00
Martijn Coenen d997015f4b Merge "Add hwservice_contexts to default builds." into oc-dev
am: 14d363fa42

Change-Id: Ibe4ad09dfa98fa438eeb840845cf32216ecd103b
2017-04-13 03:43:42 +00:00
Martijn Coenen 14d363fa42 Merge "Add hwservice_contexts to default builds." into oc-dev 2017-04-13 03:34:49 +00:00
Jiyong Park 93cae68532 Change ld.config.txt to a module
ld.config.txt is changed to a module. So, installing it via
PRODUCT_PACKAGES intead of PRODUCT_COPY_FILES.

Bug: 37138083
Test: sailfish boots
Change-Id: I8689b7c090901d4f157c5da8a67326c97373ed29
2017-04-13 11:29:24 +09:00
Jaekyun Seok b1be172535 Merge "Remove resource overlay" into oc-dev
am: 86d479d33e

Change-Id: Ic5241b44ea208c4301c592a7420fe2f4590e6022
2017-04-13 01:46:58 +00:00
Martijn Coenen bcd029c587 Add hwservice_contexts to default builds.
Bug: 34454312
Test: marlin boots
Change-Id: Ifff8c2842b4131dba6a480c87c6db1e65497e6ef
2017-04-12 12:43:26 -07:00
Jaekyun Seok 0d16dd1942 Remove resource overlay
Test: building succeeded and tested with sailfish vendor image.
Bug: 36231603

Change-Id: I5d2d6d882ef3fc8a807a8b0ecd2f59f8a4a03e1f
2017-04-12 18:35:19 +09:00
Martijn Coenen 01371056bb Add 'vndservice' to default builds.
am: 1fe4f23a04

Change-Id: Ib6015b8ce6abb634963e251aea825d660bf59968
2017-04-07 20:07:14 +00:00
Martijn Coenen 1fe4f23a04 Add 'vndservice' to default builds.
To query vndservicemanager and its services.

Bug: 36987120
Test: vndservice present and works
Change-Id: Ic65acbde17a1be5b728eeeac0f799a86c1d8c1fa
2017-04-07 10:49:22 -07:00
doheon1.lee 8250dc4837 Added make files for variable Nougat MR1
Nougat MR1 has different API LEVEL from previous releases,
PRODUCT_SHIPPING_API_LEVEL should be set to 25.

Change-Id: Ib3679bba4105dc99b96224c5f5554c1f0e4ab127
2017-04-05 19:45:50 +00:00
Martijn Coenen 31ee76a1e0 Merge "Add vndservicemanager to default builds." into oc-dev
am: a4f90284c7

Change-Id: I13148e6efb9f7ecb57c95000b69392d6ec69b65f
2017-04-05 15:59:06 +00:00
Martijn Coenen ca1fd78190 Add vndservicemanager to default builds.
vndservicemanager will be used for AIDL/binder
communication between processes running from
the /vendor partition. While technically only
required on full-treble devices, it is useful
to have on Android devices by default, since it
allows vendors to distribute a single binary talking
to vndservicemanager, instead of having to maintain
two versions that talk to different servicemanagers.

On devices that don't have a new kernel prebuilt with
/dev/vndbinder yet, vndservicemanager will simply
block indefinitely.

Also add new vndservice_contexts target, that
defines the service contexts for vendor services.

Bug: 36052864
Test: Marlin boots with and without /dev/vndbinder
Change-Id: I7334b5cb357dc6d4c5de8632e835dd892cd2f174
2017-04-04 14:06:04 -07:00
Elliott Hughes d36d82a117 resolve merge conflicts of 7206a3b38c to oc-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ib00dfc08b1ca7223d49b18fceab780c5dbec0d7e
2017-04-03 10:48:05 -07:00
Elliott Hughes b7b29357ae Merge "Switch to a shell_and_utilities phony module."
am: cdcc4c52aa

Change-Id: Idb8a4ce418a64ac8691df9d1890d60f32102c1cc
2017-04-03 17:19:35 +00:00
Elliott Hughes c86ea11fe9 Switch to a shell_and_utilities phony module.
(cherrypick of cb7d59687483c9532beecde60fe96053eda76948.)

Bug: N/A
Test: builds
Change-Id: I6416d9dded4cc225f57f0a521cf6114f39203ece
2017-04-03 17:13:58 +00:00
TreeHugger Robot 4afcb8c6b6 Merge "Add vr binary to commands" into oc-dev 2017-03-31 23:48:25 +00:00
Karthik Ravi Shankar 35aed3da10 Add vr binary to commands
Bug: 36071574

Change-Id: I8a953950a4eb96d9ffa2ee5789e3c8cd98b4dd0e
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
2017-03-31 11:17:59 -07:00
Nicolas Geoffray 7d32b8bb4f Introduce a whitelist for core apps used by system server.
And by default 'speed' compile those apps at build time.

bug:33799337
Test: m -j32
Change-Id: I7be3bbfef59c020a34b9a82ef038bd27210bc9d7
(cherry picked from commit 9af483488a)
2017-03-30 11:47:13 +00:00
Sunny Goyal 4f49a94fe7 Including WallpaperPicker in SDK build
Bug: 35724630
Test: None
Change-Id: I5b066171b70899d4d980d3cdedd32ad58ade9b90
2017-03-29 01:32:47 +00:00
Esteban Talavera deb26ad395 Revert "Remove resource overlays"
This reverts commit 1dcf689c3b.

The CL broke git_master/sailfish-userdebug_P and oc-release/marlin_svelte

Bug: 36231603
Test: "make" works again for oc-release/marlin_svelte after reverting both CLs from this topic

Change-Id: I861b8b11c29293fb4a0c746768c03bc4eb986807
2017-03-28 17:02:20 +01:00
TreeHugger Robot 0b1e95f08b Merge "Remove resource overlays" 2017-03-28 01:02:54 +00:00
Jeff Vander Stoep b8093c0e87 Merge "embedded.mk: Make phony selinux_policy" am: b30c12df3e am: 6d418a86b7
am: 856b00b8db

Change-Id: Ib3fc261851e1a19eea91513f0ea2fbe3dde5ba1c
2017-03-27 20:12:11 +00:00
Jeff Vander Stoep 6d418a86b7 Merge "embedded.mk: Make phony selinux_policy"
am: b30c12df3e

Change-Id: Iba9b4c92d1772f50f77a112747b32d4c4290e363
2017-03-27 20:06:41 +00:00
Treehugger Robot b30c12df3e Merge "embedded.mk: Make phony selinux_policy" 2017-03-27 20:03:04 +00:00
Jiyong Park d68246c8e4 Remove mailin/sailfish fstab from the generic system image
fstab files are now in /vendor/etc. No need to have it in system.

Bug: 36229492
Test: aosp_arm64_ab should boot in sailfish/marlin
Change-Id: I9ced5361ce3e3a98722d45124ee58d4411f06273
2017-03-27 15:46:34 +09:00
Jaekyun Seok 1dcf689c3b Remove resource overlays
Test: building succeeded and tested on sailfish and marlin with
http://ag/2009238.
Bug: 36231603

Change-Id: I82d672cbdca3b8597de71c821df8fb92f27318f3
2017-03-27 14:52:57 +09:00
Jeff Vander Stoep 2064364765 embedded.mk: Make phony selinux_policy
Moves selinux policy build decisions to system/sepolicy/Android.mk.
This is done because the PRODUCT_FULL_TREBLE variable isn't available
in embedded.mk and TARGET_SANITIZE isn't available to dependencies of
init.

Test: Build/boot Bullhead PRODUCT_FULL_TREBLE=false
Test: Build/boot Marlin PRODUCT_FULL_TREBLE=true
Test: Build Marlin TARGET_SANITIZE=address. Verify asan rules are
      included in policy output.

Bug: 36138508
Change-Id: I792786cd867bae3e1baeb824167a848948a719df
2017-03-26 14:51:38 -07:00
Dimitry Ivanov b5bbf1ad0f Merge "Add ld.config.txt to rootdir/etc" am: 86559441a1 am: 3fd5bf0f82
am: 4926df7b5f

Change-Id: Ie5ba33fe45bfaa069f3454e50b5eaf3ca5df1deb
2017-03-25 05:26:21 +00:00
Dimitry Ivanov 3fd5bf0f82 Merge "Add ld.config.txt to rootdir/etc"
am: 86559441a1

Change-Id: I35da84dceb546c04494e16106745b63cc80234b0
2017-03-25 05:21:15 +00:00