History log of /build/make/target/product/embedded.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
497175eb4d05abdaa282bf55d1ff4c2b4466dea8 23-May-2018 Hung-ying Tyan <tyanh@google.com> configstore: uprevisioned to 1.1

Bug: 69691076
Test: build and boot on walleye
Change-Id: I5ba2d3c3712147d09eb74c3d2db5dd0d6c24e707
/build/make/target/product/embedded.mk
53f0d2910fd05774638d746763c7659df35d12d5 10-Apr-2018 Elliott Hughes <enh@google.com> Move logwrapper to shell_and_utilities.

Bug: 77284669
Test: builds
Change-Id: I22549e321d88007480e7d9d961e41db2b9a26a41
Merged-In: I22549e321d88007480e7d9d961e41db2b9a26a41
(cherry picked from commit d5ad9346fb99c54152c9c5076942b7861e055748)
/build/make/target/product/embedded.mk
8c70d4de97eaaded77f6dac1f1ccee6d115c3948 08-Feb-2018 Christopher Ferris <cferris@google.com> Add libc_malloc_hook to list of libraries.

Bug: 30561479

Test: Build from scratch and verify the library is present.
Change-Id: I53f30d694cff202ffc93491485ed3c845de07862
/build/make/target/product/embedded.mk
c8cdf75d1be44ed2201327f8405bbe79a7373726 23-Jan-2018 Badhri Jagan Sridharan <badhri@google.com> Merge "Build usbd"
3ea4e464299f33bb4d30253bcc3b59df4b218b93 19-Jan-2018 Steven Moreland <smoreland@google.com> Add 'blank_screen' to embedded.mk.

This utility shuts off the screen.

Bug: 70846424
Test: manual + w/ init
Change-Id: I11bf8b709e81dd127de7d12c50da4ab5be456cfb
/build/make/target/product/embedded.mk
09935e4174259730a10a53d790292492884897fb 16-Jan-2018 Badhri Jagan Sridharan <Badhri@google.com> Build usbd

Bug: 63669128
Test: Manually tested whether usbd was able to configure
usb stack while boot-up.
Change-Id: I28ff31d14a6c12a7a85316f41409ceda3ca2a170
/build/make/target/product/embedded.mk
4cdafdeb6b29d76042cf483818cee724e8681efa 21-Dec-2017 Jiyong Park <jiyong@google.com> Don't install unnecessary VNDK libs

vndk_package is a phony module that includes ALL VNDK libs found in the
source code. As a result, VNDK libs that were actually not needed for
the device have been installed consuming storage. For example,
/system/lib/vndk/android.hardware.automotive*.so files were installed
even though walleye/taimen do not have automotive HALs.

VNDK libs are now installed by their link time dependencies (i.e. if a
vendor module uses libcutils, then /system/lib[64]/vndk-sp/libcutils.so
is automatically installed.).

By the way, there is a few number of VNDK libs that do not have any
link time dependency from vendor modules. They are always opened via
dlopen. In such cases, the vndk modules are added to `required`
or `LOCAL_REQUIRED_MODULES` of the module that dlopens them. Or, they
are directly added to PRODUCT_PACKAGES of the base products so that they
are always installed.

Bug: 67002788
Test: walleye builds and boots to the UI
Test: basic functionalities work (sound, camera, camcorder, slow-mo,
youtube, wifi, bluetooth)

Change-Id: I0eb36701858cd456ccb69dd0cf0a1880773675c7
/build/make/target/product/embedded.mk
43ec6ead28f06195ab9bbd3791b993d5dc871f0d 14-Dec-2017 Yifan Hong <elsk@google.com> Rename VINTF XML module names

* system_compatibility_matrix/manifest.xml
=> framework_...
* compatibility_matrix/manifest.xml
=> device_...

This is to follow the naming scheme in VINTF
doc.

Test: build all four targets

Change-Id: If5f6a99ded9964f3500c8e5fb97278f8fd0de387
/build/make/target/product/embedded.mk
44dd4881defd4589fad6fdd8596d6bc6f3f9dfb5 14-Nov-2017 Xin Li <delphij@google.com> Merge commit '66b8b530187b129934a685bf0c4349eef00e4b0c' from
oc-mr1-dev-plus-aosp-without-vendor into stage-aosp-master.

Change-Id: I7594bb72dd7e847292eb502edd918e41318aac29
Merged-In: Ide82473d358719f7e01cd2a4a85db954f3722f14
4022ec99a6e7ac10788d5161d95dbdbadc213d96 12-Nov-2017 Jaekyun Seok <jaekyun@google.com> Move system default values in system partition

The following properties are specified under platform/build as system
default values.

- tombstoned.max_tombstone_count
- debug.atrace.tags.enableflags
- dalvik.vm.dex2oat-minidebuginfo

So they should move into system partition.

Bug: 64661857
Test: confirmed that the default properties were stored in
/system/etc/prop.default on sailfish device
Change-Id: Ic34c05fd9761e281962b6bb425e4babedfca45a9
/build/make/target/product/embedded.mk
0bd793815e8c1d7830c6753e399b70d4bfb4a88b 03-Nov-2017 Dan Willemsen <dwillemsen@google.com> Add PRODUCT_ADB_KEYS

This easily allow products to add custom adb keys for debuggable builds.
To use, provide a public key created by `adb keygen` to
PRODUCT_ADB_KEYS.

This way automated test farms don't need manual intervention to
authenticate to the device over adb, but we don't disable security for
everyone else.

Add an inherit-product-if-exists hook to aosp_* targets so that our
build servers can add a key for our test farms.

Bug: 32891559
Test: lunch aosp_marlin-userdebug; m bootimage
Test: lunch aosp_marlin-user; m bootimage
Change-Id: I1720644d89ec5289fbe99f95ebcdfbb3f3b20e67
/build/make/target/product/embedded.mk
3bcefd82dba2e74061b25a278846c1239dad88eb 28-Aug-2017 Sundong Ahn <sundongahn@google.com> DO NOT MERGE: Merge commit '9440787d85a100bb182dee3e69bb1acaec65879e' into manual_merge

Change-Id: I90d30584ad4499d4e20254be2974d9de1d3883c0
49f78ff23166106059a68bb55a3ac37de81f61b4 10-Jul-2017 Sundong Ahn <sundongahn@google.com> configstore: remove configstore 1.1

Configstore was up-revisioned from 1.0 to 1.1. However no new
APIs were added to 1.1. Therefore configstore in mr1 will be down
revisioned to 1.0.

Bug: 64999074
Test: build & run
Change-Id: Ife60328110c6d6cb3e8024fb4a5caabc4c7c034f
/build/make/target/product/embedded.mk
90af004fa648425d91827ee33549c60ea79378ba 24-Aug-2017 Jeff Vander Stoep <jeffv@google.com> Merge "embedded.mk: move dependencies to sepolicy" am: d6c7681d85 am: 1c71c880e9
am: 0ed1778038

Change-Id: I82ab77f5bdae8496742b6dd2b40270d24a4b9622
1c71c880e9600b0f5c1957db8c254f3c5ca1ca00 23-Aug-2017 Jeff Vander Stoep <jeffv@google.com> Merge "embedded.mk: move dependencies to sepolicy"
am: d6c7681d85

Change-Id: I23df5e25c31963e3119bd38ee1d90bb70df45e08
f4941eb4a763bd6d8a3c6b151f198841f9d352ce 22-Aug-2017 Jeff Vander Stoep <jeffv@google.com> embedded.mk: move dependencies to sepolicy

Some selinux build packages are defined in embedded.mk,
others are defined in system/sepolicy/Android.mk. Move all
to sepolicy as a dependency of the phony package selinux_policy
which is defined in embedded.mk.

Test: build Marlin (Treble) and Angler (non-Treble)
Merged-In: I734c2909354349d146c6f78beb74bd990d9af30d
Change-Id: I734c2909354349d146c6f78beb74bd990d9af30d
/build/make/target/product/embedded.mk
614482f09fa102bd9ba84090f7d228a14080472e 14-Jun-2017 Todd Poynor <toddpoynor@google.com> thermalserviced: add ThermalService daemon

Add ThermalService daemon to embedded.mk as part of the minimal build
of open source parts of the tree.

Test: manual on marlin
Bug: 30982366
Change-Id: I8315a8f5871ec24d8970deaa8527ee74db1c4dc7
(cherry picked from commit d006688090e7ef31985dd728c2b92e4951371d57)
/build/make/target/product/embedded.mk
1b6723497a858a2c8d148a49a57facf0388aba73 02-May-2017 Jaesoo Lee <jaesoo@google.com> 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
/build/make/target/product/embedded.mk
d9842ea1c9c1e4276224f0831af053348e14874b 02-May-2017 Yifan Hong <elsk@google.com> Add device/fwk compatibility matrices to device.
am: b5cbe22b84

Change-Id: I739579f918fe233e153a6ef1dbce77f5863dd808
b5cbe22b84ab165f6cb855bcac43dacfeac8196d 28-Apr-2017 Yifan Hong <elsk@google.com> 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
/build/make/target/product/embedded.mk
9c20c473efe77bd4f42b79057b1851ef42e23222 15-Apr-2017 Yifan Hong <elsk@google.com> Merge changes from topic 'assemble_vintf' into oc-dev
am: ffd66c35bf

Change-Id: I73f8430739e3d129716c3569c000433786099bf1
aa21221f809475de67e32b9544d6cdfe3d617793 14-Apr-2017 Yifan Hong <elsk@google.com> 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
/build/make/target/product/embedded.mk
b4baff4961859438f409a4c1016a526955ddd096 14-Apr-2017 Michael Schwartz <schwartzmi@google.com> Merge "Rule to copy device manifest to device" into oc-dev
am: ceeaa7be20

Change-Id: Ibd3b2ffbc591e22682539e2cdb49b0b622549f54
ceeaa7be20ac9b1d0618da9aae6edeff3b3e8601 14-Apr-2017 Michael Schwartz <schwartzmi@google.com> Merge "Rule to copy device manifest to device" into oc-dev
4d9cb56866430e407176243e2f813113107f71e1 04-Apr-2017 Michael Schwartz <schwartzmi@google.com> 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
/build/make/target/product/embedded.mk
d997015f4ba7f1970c26b616d2432bc6bb588178 13-Apr-2017 Martijn Coenen <maco@google.com> Merge "Add hwservice_contexts to default builds." into oc-dev
am: 14d363fa42

Change-Id: Ibe4ad09dfa98fa438eeb840845cf32216ecd103b
bcd029c58711cda0608286113e79143f8bcf6298 12-Apr-2017 Martijn Coenen <maco@google.com> Add hwservice_contexts to default builds.

Bug: 34454312
Test: marlin boots
Change-Id: Ifff8c2842b4131dba6a480c87c6db1e65497e6ef
/build/make/target/product/embedded.mk
01371056bb1a01ad82c6ed48dd8e7c1ded01f5d3 07-Apr-2017 Martijn Coenen <maco@google.com> Add 'vndservice' to default builds.
am: 1fe4f23a04

Change-Id: Ib6015b8ce6abb634963e251aea825d660bf59968
1fe4f23a044a5e38d8cc11a41290ce8bac4cbcd1 07-Apr-2017 Martijn Coenen <maco@google.com> Add 'vndservice' to default builds.

To query vndservicemanager and its services.

Bug: 36987120
Test: vndservice present and works
Change-Id: Ic65acbde17a1be5b728eeeac0f799a86c1d8c1fa
/build/make/target/product/embedded.mk
31ee76a1e0163a9ef9254257309442dca05b4f32 05-Apr-2017 Martijn Coenen <maco@google.com> Merge "Add vndservicemanager to default builds." into oc-dev
am: a4f90284c7

Change-Id: I13148e6efb9f7ecb57c95000b69392d6ec69b65f
ca1fd78190176e1d2d2bf3bc323480ee0c3b1c3b 04-Apr-2017 Martijn Coenen <maco@google.com> 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
/build/make/target/product/embedded.mk
d36d82a117d4287295ddfe1c4730e4324f6b885e 03-Apr-2017 Elliott Hughes <enh@google.com> resolve merge conflicts of 7206a3b38c to oc-dev-plus-aosp

Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ib00dfc08b1ca7223d49b18fceab780c5dbec0d7e
c86ea11fe9c3ce7e5643e3a77b4bcf1827e7a4f4 31-Mar-2017 Elliott Hughes <enh@google.com> Switch to a shell_and_utilities phony module.

(cherrypick of cb7d59687483c9532beecde60fe96053eda76948.)

Bug: N/A
Test: builds
Change-Id: I6416d9dded4cc225f57f0a521cf6114f39203ece
/build/make/target/product/embedded.mk
b8093c0e87c2823103756f2f46d09ba3c741d574 27-Mar-2017 Jeff Vander Stoep <jeffv@google.com> Merge "embedded.mk: Make phony selinux_policy" am: b30c12df3e am: 6d418a86b7
am: 856b00b8db

Change-Id: Ib3fc261851e1a19eea91513f0ea2fbe3dde5ba1c
20643647656d680ecca9d911227a3acd9a9faba7 23-Mar-2017 Jeff Vander Stoep <jeffv@google.com> 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
/build/make/target/product/embedded.mk
58f8dfa5a6755f3410edc72258050231811e1653 22-Mar-2017 Jaesoo Lee <jaesoo@google.com> Merge "removed "android.hardware.configstore@1.0-impl" from PRODUCT_PACKAGES" am: 946af3fa5d am: 3973c2af63
am: 9c41aa58eb

Change-Id: Ic2a10e7fe09eec97680619779b65fb36ede00758
a1d99c1351ad824b82a170f2c454aa4d3a32d50b 20-Mar-2017 Jaesoo Lee <jaesoo@google.com> removed "android.hardware.configstore@1.0-impl" from PRODUCT_PACKAGES

This change removes the passthough mode implemention of Configstore.

Bug: 35325577
Test: android.hardware.configstore@1.0-impl.so not exist in outputs and
Configstore works in binderized mode

Change-Id: Ie9ec24c33701356b7fa8c4f6cfc372c09051f62c
Merged-In: Ic16d5ebe30fabfd62ba4e444fe2775ddfbe2a18a
/build/make/target/product/embedded.mk
71d223b8c3e7a83a1e5d4e99bb48c662db52ea93 15-Mar-2017 Alex Klyubin <klyubin@google.com> Merge "Remove unused /selinux_version" am: f32107fbb2 am: ac5ac23bb3
am: 561e101ec9

Change-Id: I25fed6576441cbd329bb0228ff47c625172c8444
4fe461d2a032d7dbad82d8294eaf060ad5d785d1 15-Mar-2017 Alex Klyubin <klyubin@google.com> Remove unused /selinux_version

This file is no longer needed because it was needed for supporting
reloadable/dynamic SELinux policy which is no longer supported.

Test: Clean build, flash, device boots without additional denials.
Reboot to recovery works, no additional denials.
Bug: 33642277
Change-Id: Ie65e74b8c8437694bc1ea019ab844f60f9e89ade
/build/make/target/product/embedded.mk
2b61f19254333767c94e22a2b2a226d7c996d7f6 14-Mar-2017 Jaesoo Lee <jaesoo@google.com> Merge "configstore: add default implementation of configstore@1.0 HAL"
4d9e183836b9b8480aff7908d8ad5ab5a65cacee 11-Mar-2017 Jeff Vander Stoep <jeffv@google.com> Merge "Include file_contexts conditionally elsewhere" am: e65af5ce72 am: 10539b3253
am: 96377665f2

Change-Id: Ib46554b2ebccd930a4b2a827c7fdd8a9ff0f15db
4ed780c4549ba6ef06f733e2930b32f1d2304e03 14-Jan-2017 Jiyong Park <jiyong@google.com> configstore: add default implementation of configstore@1.0 HAL

This change adds default implementation of configstore@1.0 HAL to all
embedded devices.

Bug: 34314793
Test: build. make sure /system/bin/hw has file
android.hardware.configstore@1.0-service

cherry-picked
1d6ab958c configstore: add default implementation of configstore@1.0 HAL

Merged-in: I65f416560de9d65c57e6cfcb9a6fe26b0140d4a6
Change-Id: Ib68fa325a0f0ce60db0701e16a5a9056411fb398
/build/make/target/product/embedded.mk
f57a154f2e843196c023a439064d2883da5d48e2 09-Mar-2017 Jeff Vander Stoep <jeffv@google.com> Include file_contexts conditionally elsewhere

Test: Marlin and Bullhead build and boot with no new denials.
Test: Marlin and Bullhead recovery boots with no new denials.
Test: Bullhead boots with file_contexts.bin in /
Test: Marlin boot with /system/etc/selinux/plat_file_contexts and
/vendor/etc/selinux/nonplat_file_contexts.
Bug: 36002414

Change-Id: I25af653e060c0c72ea6ad08db8869132885adff8
/build/make/target/product/embedded.mk
5a8d726cede52588eb3d1eec3ae646fcfc731ad6 03-Mar-2017 Alex Klyubin <klyubin@google.com> Merge "Include secilc and sepolicy conditionally, elsewhere" am: 3e78704825 am: 8fe478de64
am: d485d2a10c

Change-Id: Ic2da20423482bb5d8aff2d61a29044a547c42753
8e87853a04a104b20036f04379cfd6f00b9d3c95 02-Mar-2017 Alex Klyubin <klyubin@google.com> Include secilc and sepolicy conditionally, elsewhere

This removes the unconditional inclusion of secilc and sepolicy.
These artefacts are now conditionally included by system/core/init.
The reason for declaring the conditional inclusion there is because
the desired conditional inclusion based on PRODUCT_FULL_TREBLE cannot
be declared here because PRODUCT_FULL_TREBLE is not yet available when
this file is interpreted.

Test: Device boots, no additional SELinux denials. This test is
performed on a device with PRODUCT_FULL_TREBLE set to true, and
on a device with PRODUCT_FULL_TREBLE set to false.
Test: Device with PRODUCT_FULL_TREBLE set to true contains secilc and
the three *.cil files, but does not contain the sepolicy file.
Device with PRODUCT_FULL_TREBLE set to false contains sepolicy
file but does not contain the secilc file or any *.cil files.
Bug: 31363362

Change-Id: Ia3f38948b71a054918f5f63c594ba62a033e1066
/build/make/target/product/embedded.mk
8c86bc72b4ab3c40f5af9979d1298d332e65c66b 02-Mar-2017 Yifan Hong <elsk@google.com> Merge "sintf.xml => manifest.xml" am: aeec3bfde7 am: 28070816fb
am: 1b510a9705

Change-Id: I6fb3f8c4f44d4f3fe68a915b1a6f85fc7db5c107
c3373a32e467f8d43b123d3756459fd8bd775f7b 02-Mar-2017 Yifan Hong <elsk@google.com> sintf.xml => manifest.xml

Bug: 35870239
Test: make -j64 and ensure manifest.xml is there.
Change-Id: I5eccc6dcdc04a3caadc3ccce1d8b58c12f5950ee
/build/make/target/product/embedded.mk
b5d70b3a77340046786a9a1d55a98de8a5834b59 01-Mar-2017 Yifan Hong <elsk@google.com> Merge "Add system/manifest.xml on device" am: 569cb34dc0 am: 40517f3ea3
am: 65460a8fb9

Change-Id: I1943a06d7480363df5352d0fe88cdc6a69825153
569cb34dc0a3a51a63d6ffab3739cf044f1315ed 01-Mar-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "Add system/manifest.xml on device"
7ebc342b86ec025873548d893f9e218b7af6f489 28-Feb-2017 Yifan Hong <elsk@google.com> Add system/manifest.xml on device

Similar to vendor/manifest.xml on device, this file lists
all HALs defined in the framework (and hence go
to the system image). IServiceManager / IMemory /
etc. getService should consult this file (via VINTF
object under /system/libvintf) to return the HAL in the correct
transport mode.

Bug: 34772739 Create system/manifest.xml
Bug: 35219444 Need interface + instance entry

Test: compiles and manually confirm that system/manifest.xml exist.
Change-Id: I5b3c79b068841e47062cbab6f72d70555801a21d
/build/make/target/product/embedded.mk
c3a1650f6c91a3a9013ff0c4adf785bee0b25d3e 28-Feb-2017 Alex Klyubin <klyubin@google.com> Merge "Make secilc available" am: bbdd0e8745 am: 22bcc5db9d
am: b5846d8453

Change-Id: Ib805383037565df6a403a1725da1b34d10d432ef
46dd5749183f1c7f71894f4bf8d0a8756da76fe1 27-Feb-2017 Alex Klyubin <klyubin@google.com> Make secilc available

The SELinux policy compiler needs to be available on-device to compile
SELinux policy at boot on some devices. For now, we're including this
unconditionally, but, going forward, we will include this binary only
on devices which need it.

Test: Device boots -- secilc is not yet used anyway
Bug: 31363362
Change-Id: I7712b70d7c5b4c57bec2cdb44519b42d26758d09
/build/make/target/product/embedded.mk
f0867471061aea75d24dee61d400d713892357ed 17-Feb-2017 Steven Moreland <smoreland@google.com> embedded.mk: allocator service

We are splitting android.hidl.memory into android.hidl.allocator and
android.hidl.memory to reflect the fact that we have two separate
interfaces which are served over different transports.

Bug: 35327976
Test: hidl_test, device boots with allocator

Merged-In: I36b1554d20f89ecd60a836c04f788ac83e0a1f5c
Change-Id: I36b1554d20f89ecd60a836c04f788ac83e0a1f5c
/build/make/target/product/embedded.mk
69249f1f53fb90658f3e078a7959aff877683cf1 17-Feb-2017 Steven Moreland <smoreland@google.com> embedded.mk: allocator service

We are splitting android.hidl.memory into android.hidl.allocator and
android.hidl.memory to reflect the fact that we have two separate
interfaces which are served over different transports.

Bug: 35327976
Test: hidl_test, device boots with allocator
Change-Id: I36b1554d20f89ecd60a836c04f788ac83e0a1f5c
/build/make/target/product/embedded.mk
6a220471ebe706b76254ae2e3fb680ff02a5eca3 01-Feb-2017 Jiyong Park <jiyong@google.com> Merge "configstore: add default implementation of configstore@1.0 HAL"
d79c65f085a0533dff3d9927038002b3d89fa6db 30-Jan-2017 Sandeep Patil <sspatil@google.com> SELinux: split property_contexts into platform and non-platform components. am: b0481560e4 am: e0ccdc0e42 am: ba742d7dde
am: fac4996610

Change-Id: I14d2d100c3b6e3970fd3852b5d9fd0a88895e151
b0481560e4dd215f5554262189c5f4c802f31185 28-Dec-2016 Sandeep Patil <sspatil@google.com> SELinux: split property_contexts into platform and non-platform components.

Bug: 33746484
Test: Successfully boot with original service and property contexts.
Successfully boot with split serivce and property contexts.

Change-Id: I1932684f600dd34d5136e72ac053fae13f0c3eba
Signed-off-by: Sandeep Patil <sspatil@google.com>
/build/make/target/product/embedded.mk
74fb50800c6fe0d98d5ae2d090b56d076876db46 26-Jan-2017 Yifan Hong <elsk@google.com> Merge "Add lshal to embedded.mk." am: cbc8f16656 am: 1a375ded9a am: 1030be9543
am: 21a7e626f2

Change-Id: I930f8a5cccc341178e0d25c1c8599753bb7a4e47
7dbae043ffefe00b2309cf8ec1d34481a9947f7c 26-Jan-2017 Yifan Hong <elsk@google.com> Add lshal to embedded.mk.

Test: make -j64 and flash the device and
ensure that lshal is available on the device.

Bug: 34712252
Change-Id: If61047afb27f9da9f8825ce18e2dfc0b3dec10e2
/build/make/target/product/embedded.mk
1d6ab958ca9490f186c058b02382688011f83895 14-Jan-2017 Jiyong Park <jiyong@google.com> configstore: add default implementation of configstore@1.0 HAL

This change adds default implementation of configstore@1.0 HAL to all
embedded devices.

Bug: 34314793
Test: build. make sure /system/bin/hw has file
android.hardware.configstore@1.0-service

Change-Id: I65f416560de9d65c57e6cfcb9a6fe26b0140d4a6
/build/make/target/product/embedded.mk
748cc8640aed8e13fc1ad940208e5424501ef3b1 19-Jan-2017 Josh Gao <jmgao@google.com> Merge "Add crash_dump and tombstoned products." am: 6651199eeb am: 7cf55a4581 am: 1df77bc0c7
am: 85d13bcb8e

Change-Id: Ifffa02acab8d00a6d400c78ef27e0583f36b80ea
6651199eeb133fecd0102072aed22247d64297d3 19-Jan-2017 Josh Gao <jmgao@google.com> Merge "Add crash_dump and tombstoned products."
8cbd925748b9ca04fae9c02bb096f83a470c76d5 18-Jan-2017 Jorim Jaggi <jjaggi@google.com> Revert "SELinux: split property_contexts into platform and non-platform components."

This reverts commit c5ffdd4bb44bae3ad67ecea745f79b0a05015708.

Change-Id: I4c5fa6c68cbf0124117153660a2fd363f72388b6
/build/make/target/product/embedded.mk
84fcd62cb4103fc8c8bd511e52bf091a313b35b8 18-Jan-2017 Jorim Jaggi <jjaggi@google.com> Revert "SELinux: split property_contexts into platform and non-platform components."

This reverts commit c5ffdd4bb44bae3ad67ecea745f79b0a05015708.
/build/make/target/product/embedded.mk
3d425305eeb2d405d0a020c5e86b83abee360bef 18-Jan-2017 Sandeep Patil <sspatil@google.com> SELinux: split property_contexts into platform and non-platform components. am: c5ffdd4bb4 am: a94ae916ce am: eec071a34a
am: 8a3f41af27

Change-Id: I7d859256d4e0b3fed0a58932d5ddc9498a69c1eb
1b8d3bc0e2981cf9634f3eefcf9162ea4f12722a 18-Jan-2017 Sandeep Patil <sspatil@google.com> SELinux: split service_contexts into platform and non-platform components. am: e4ade08f63 am: 0068df10f6 am: 29c9cb811d
am: d091ce20b1

Change-Id: I3331c1b48a75374f675d8527255d3d28ed3251bd
c5ffdd4bb44bae3ad67ecea745f79b0a05015708 28-Dec-2016 Sandeep Patil <sspatil@google.com> SELinux: split property_contexts into platform and non-platform components.

Bug: 33746484
Test: Successfully boot with original service and property contexts.
Successfully boot with split serivce and property contexts.

Change-Id: I1f218ca842407d30650b8987ded6679672171091
Signed-off-by: Sandeep Patil <sspatil@google.com>
/build/make/target/product/embedded.mk
e6b2ddaf69e18d9a449d43c99c06bc63802f73ea 26-Oct-2016 Josh Gao <jmgao@google.com> Add crash_dump and tombstoned products.

Bug: http://b/30705528
Change-Id: I3f6c98f6f907f93e082db085a122557fc8488c83
/build/make/target/product/embedded.mk
e4ade08f6330946e95636b62c5262f15abac7545 28-Dec-2016 Sandeep Patil <sspatil@google.com> SELinux: split service_contexts into platform and non-platform components.

Bug: 33746484
Test: Successfully boot with original service and property contexts.
Successfully boot with split serivce and property contexts.

Change-Id: I6fec8d9b3023de09d69198c9e72311a1f03fe844
Signed-off-by: Sandeep Patil <sspatil@google.com>
/build/make/target/product/embedded.mk
e6b8475baf476b253425690bc5c3b3b9d214bab7 09-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Storaged build file"
3ac4a22f77e79054a8f5e825af7bf18d0afe07d2 09-Jan-2017 Steven Moreland <smoreland@google.com> Merge "embedded.mk: add android.hidl.memory@1.0-impl" am: 2ec742a956 am: ff2c0a1433 am: d1f4fc175e
am: 9db3e06696

Change-Id: Ie29c0bf8b763ea954653b7d33d78d82bc7bbfc3e
40aabca6f2ce8ff604c5b8186807c7d87e258d0a 09-Jan-2017 Dan Cashman <dcashman@google.com> Split seapp_contexts into plat and nonplat components. am: 6f1ea7101f am: c6321e54b6 am: 1960e5f085
am: a4d44e3d4c

Change-Id: I4f078f5767c23a9459cb03f9ac12cb4631fe8ec0
2ec742a956997309fd184168ef83a547382aee3a 09-Jan-2017 Treehugger Robot <treehugger-gerrit@google.com> Merge "embedded.mk: add android.hidl.memory@1.0-impl"
226d67462449cc296b2f270e958e291fab09e4ee 29-Jun-2016 ynwang <ynwang@google.com> Storaged build file

Add storaged to embedded.mk to be built.

Bug: 30983988

Change-Id: I157bc09bfe188423681e1b70b4d39ae212b7567e
/build/make/target/product/embedded.mk
94946d0eb8e5f8f723a41c305bce575e6b4edf47 08-Jan-2017 Steven Moreland <smoreland@google.com> embedded.mk: add android.hidl.memory@1.0-impl

Bug: 34134179
Test: both 32 and 64 bit versions of this file are on the device after a
clean build.

Change-Id: I75ab12246c2c44e39b5e863dfec98dc72a36fbbe
/build/make/target/product/embedded.mk
443f5e9e2f8f0a13b478c69715203f504886953e 06-Jan-2017 dcashman <dcashman@google.com> Merge "Build split file_contexts." am: 80e70ae04a am: dc9771e24c am: 9937a72425
am: a22bbc4bfb

Change-Id: I674242185e929ab3f381c1681414730cef4250f1
6f1ea7101f7994a08bf6494fcb3b02d092b96b05 22-Dec-2016 Dan Cashman <dcashman@google.com> Split seapp_contexts into plat and nonplat components.

Bug: 33746381
Test: Device boots with no extra denials.
Change-Id: Ib403be429562f5e22ed4dd042fb04b0795b558db
/build/make/target/product/embedded.mk
b52f040bec8cf34865fdb2556011b7e709871ae1 12-Dec-2016 dcashman <dcashman@google.com> Build split file_contexts.

Bug: 31363362
Test: Device uses new file_contexts files for labeling decisions.
Change-Id: I33c3297a2ec806f4b9f5dd25f3dd20c4b1001641
Signed-off-by: Sandeep Patil <sspatil@google.com>
/build/make/target/product/embedded.mk
21c197238d6089b638fe318fba4e54cafbc41501 27-Dec-2016 Elliott Hughes <enh@google.com> Revert "Revert "Merge changes from topic 'fsconfig-2'"" am: 2d7c86dfea am: feb4f2e54a am: 8a2ed5159c
am: 3315b71ca8

Change-Id: I385eb63030834d9d684baee6157d1a5777d117b1
feb4f2e54ae8e3bee2137d69f68f0e919ad104b7 27-Dec-2016 Elliott Hughes <enh@google.com> Revert "Revert "Merge changes from topic 'fsconfig-2'""
am: 2d7c86dfea

Change-Id: I825336a18f7d7525bb49dd65d24ddccbfef84ba5
5f60b74297d80d7ef03048c375540cc633a43ba5 27-Dec-2016 Elliott Hughes <enh@google.com> Merge "Revert "Revert "Merge changes from topic 'fsconfig-2'"""
8bcc1ea56be415240e2497d17cf31c94d2ebc644 22-Dec-2016 Steven Moreland <smoreland@google.com> Merge "embedded.mk: +android.hidl.memory@1.0-service" am: c1a11ec83f am: fbeb6b5f8f am: cfeaa71933
am: 553aa3d931

Change-Id: Ia39f4efa9ee10f218bed315e6939fed916368062
76764512523c67aebba5844dec0b4577c5287cfb 15-Dec-2016 Steven Moreland <smoreland@google.com> embedded.mk: +android.hidl.memory@1.0-service

This is the service that provides shared memory for hidl/treble
processes.

Bug: 32185232
Test: builds
Change-Id: I79162a781daad7aa704f4ee071fef0bbdea59a18
/build/make/target/product/embedded.mk
2d7c86dfeaffb67d18eac143c557db74af5c2b05 14-Dec-2016 Elliott Hughes <enh@google.com> Revert "Revert "Merge changes from topic 'fsconfig-2'""

This reverts commit fad4b4b715be25e874829345a14219716fc8c157.

Incorporating the following fixes:

1.

fsconfig: fix fs_config_* build for discovered headers

When android_file system_config.h is picked up from the device
directory, neither TARGET_FS_CONFIG_GEN or TARGET_ANDROID_FILESYSTEM_CONFIG_H
are specified. Thus, the build is not generating the required fs_config_files
and fs_config_dirs.

Test: Ensure that make fs_config_files works, and produces the same output as before
Build the system image and mount it as a loop back and dump the file system
capabilities with getcap. Verify that output to the supplied
android_file system_config.h

From the loopback of the system.img mount, from CWD system/bin:
$ getcap *
cnss-daemon = cap_net_bind_service+ep
hostapd = cap_net_admin,cap_net_raw+ep
imsdatadaemon = cap_net_bind_service+ep
ims_rtp_daemon = cap_net_bind_service+ep
logd = cap_setgid,cap_audit_control,cap_syslog+ep
mm-qcamera-daemon = cap_sys_nice+ep
pm-service = cap_net_bind_service+ep
run-as = cap_setgid,cap_setuid+ep
surfaceflinger = cap_sys_nice+ep
webview_zygote32 = cap_setgid,cap_setuid,cap_setpcap+ep
webview_zygote64 = cap_setgid,cap_setuid,cap_setpcap+ep

Compared to the android_filesystem_config.h:
{ 00700, AID_CAMERA, AID_SHELL, (1ULL << CAP_SYS_NICE), "system/bin/mm-qcamera-daemon" },
{ 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE), "system/bin/pm-service" },
{ 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE), "system/bin/imsdatadaemon" },
{ 00755, AID_SYSTEM, AID_RADIO, (1ULL << CAP_NET_BIND_SERVICE), "system/bin/ims_rtp_daemon" },
{ 00755, AID_SYSTEM, AID_SYSTEM, (1ULL << CAP_NET_BIND_SERVICE), "system/bin/cnss-daemon"},

2.

fsconfig: fix error message for duplicate AID

Fixes:
raise ValueError('Duplicate aid value "%u" for %s' % value,
TypeError: %u format: a number is required, not str

and

raise ValueError('Duplicate aid value "%s" for %s' % value,
TypeError: not enough arguments for format string

3.

fsconfig: add test for duplicate ranges

Add a test for duplicate range detection.

4.

fsconfig: skip AID_APP, AID_USER and all ranges

Do not output AID_APP, AID_USER and ranges. A range
is defined as ending with AID_ and ending in _START or
_END.

5.

fsconfig: test for skip AID_APP, AID_USER and all ranges

Test against AIDs that caused the bionic tests to fail.

Change-Id: I95569a9ccc83bd3231f8a6f395532cc2de316bd2
Signed-off-by: William Roberts <william.c.roberts@intel.com>
/build/make/target/product/embedded.mk
b4ed15b04eca651410ddc17c8c5d666ab2b61be8 17-Dec-2016 Daniel Cashman <dcashman@google.com> Merge "Revert "Add build dependencies for split sepolicy files."" am: cbdc0bd096 am: 5e8be7b822 am: 6549a83888
am: 9bff49c703

Change-Id: I47182fb8bb5f1947b02ec4c70d3f23a810eba5f5
df1e2102c6a30d95b79db20692edef4bb1f48b81 17-Dec-2016 Daniel Cashman <dcashman@google.com> Revert "Add build dependencies for split sepolicy files."

This reverts commit 086189145caa9b154d02aa3a888a8815bb60a0d5.

Change-Id: Idfd210d1f16eefcedda6154b0361611f53c5158f
/build/make/target/product/embedded.mk
5fce540af252e41cc3e0f35307ed652fbe894891 17-Dec-2016 dcashman <dcashman@google.com> Merge "Add build dependencies for split sepolicy files." am: 298f9b5925 am: bc1832f381 am: ced437a479
am: 40a04b4709

Change-Id: I35fda032da32a3bbb593154a9ed0287bf54304ad
086189145caa9b154d02aa3a888a8815bb60a0d5 28-Nov-2016 dcashman <dcashman@google.com> Add build dependencies for split sepolicy files.

Add build targets for split sepolicy files so they'll appear in the root dir for
on-device compilation. nonplat_sepolicy will eventually be removed as it should
be provided by a different partition. Also replace sepolicy.recovery with the
appropriate split components.

Bug: 31363362
Test: Policy builds on-device and boots.
Change-Id: I017dabe6940c3cd20de6c00bb5253274d5a9269b
/build/make/target/product/embedded.mk
a9b46ec4c3bf1283071551867c96df8078e98267 15-Dec-2016 dcashman <dcashman@google.com> Split mac_permissions.xml into plat and non-plat components. am: 15171f641e am: f976eae6f3 am: eb7c416fc2
am: f0907e844f

Change-Id: I8cec97e04f322911ecfc936b15d1e87d07d0fb9f
15171f641e4960dfa7e9b792ebea2ff06c99e7e4 14-Dec-2016 dcashman <dcashman@google.com> Split mac_permissions.xml into plat and non-plat components.

Bug: 31363362
Test: Bullhead and Sailfish both build and boot w/out new denials.
Change-Id: Id7e29ec09510741c4e925231401a6de81704fbf0
/build/make/target/product/embedded.mk
633b7495c537d60f556050cb751306365cc37ae9 13-Dec-2016 Elliott Hughes <enh@google.com> Revert "Merge changes from topic 'fsconfig-2'" am: fad4b4b715 am: e472384a4b am: 2ed4b63f7b
am: 90bf4657cc

Change-Id: I6df36bcb1cfbb814bfb7daa0cd64f1013c434935
fad4b4b715be25e874829345a14219716fc8c157 13-Dec-2016 Elliott Hughes <enh@google.com> Revert "Merge changes from topic 'fsconfig-2'"

This reverts commit 1b2de51881e0ff76e2ad9d3d0405fc7185b0f86f, reversing
changes made to 77ea32f378651a3585e245eb964dab979d191310.
/build/make/target/product/embedded.mk
af51373e7d687e8a577375ccf57b9e47b6535e37 10-Dec-2016 William Roberts <william.c.roberts@intel.com> fs_config: drop fs_config_files/dirs PRODUCT_PACKAGES requirement am: 7fe8b6d817 am: ee9af6edfb am: 0101f107c1
am: 718be50fc5

Change-Id: Ia5b7259ad39b5c68ceece65d2f8aa439b37e3957
02fc51dae2584b51aa4b8c2feacb57f6ebb4df89 10-Dec-2016 William Roberts <william.c.roberts@intel.com> fs_config: add group to build am: 2127b35526 am: bdbafb5c38 am: 596993abb5
am: 5fe1e4c5b0

Change-Id: I0df3cf1b96bd4445a556156c66fa4104988dc857
64e2dc363a08ebff2aa0c85de5ed9dd158518ac8 10-Dec-2016 William Roberts <william.c.roberts@intel.com> fs_config: add passwd to build am: 6d5e0c5df2 am: 788899790d am: bdcec1e327
am: a99749f1d8

Change-Id: Ie92542f2d70122c4d46c09fd84de6278af133bb2
ee9af6edfb56cd6f5d343d36402193ffd2d6e07f 10-Dec-2016 William Roberts <william.c.roberts@intel.com> fs_config: drop fs_config_files/dirs PRODUCT_PACKAGES requirement
am: 7fe8b6d817

Change-Id: Ie209bc0f1696ffdc5f167d229fc9f5378f8feb24
bdbafb5c387a896e720bee3cdcb898f513ca86da 10-Dec-2016 William Roberts <william.c.roberts@intel.com> fs_config: add group to build
am: 2127b35526

Change-Id: Icf5e4946bb6d53f2c8080a1327543ffb5a59531c
788899790d57d2933ac0e8604239f4ca0b19424c 10-Dec-2016 William Roberts <william.c.roberts@intel.com> fs_config: add passwd to build
am: 6d5e0c5df2

Change-Id: Ie912558d2258b3996fc4a5864f2c72e9781a3e62
1b2de51881e0ff76e2ad9d3d0405fc7185b0f86f 10-Dec-2016 Elliott Hughes <enh@google.com> Merge changes from topic 'fsconfig-2'

* changes:
fs_config: add unit tests
fs_config: drop fs_config_files/dirs PRODUCT_PACKAGES requirement
fs_config: add group to build
fs_config: introduce group generator
fs_config: add passwd to build
fs_config: introduce passwd generator
fs_config: generate friendly in AID class
fs_config: limit characters for AID_<name> sections
fs_config: generate oem AID header file
fs_config: android_id header generator
fs_config: support parsing android_filesystem_config.h
fs_config: modularize fs_config_generator
a74a1656e609af563abb437330e434e89ca18778 02-Dec-2016 dcashman <dcashman@google.com> Merge "Sort SELinux package inclusion." am: 15e1b5e239 am: d1b032237a am: 59f8c3f59a
am: 00611df41b

Change-Id: I8da31f1e49eff18ed0c25f74d4266bcfc563ecfb
c316783843f718839b17dd53085af82c2983e789 02-Dec-2016 dcashman <dcashman@google.com> Sort SELinux package inclusion.

This section will be modified as part of splitting these packages into platform
and non-platform components. Sort them all to avoid conflicts.

Bug: 31363362
Test: Builds
Change-Id: I91fb4d4d7c0a6971a19047ef2eb2981770a122ff
/build/make/target/product/embedded.mk
7fe8b6d8178e3f0c984ab6c05f25269ae3f9bceb 28-Apr-2016 William Roberts <william.c.roberts@intel.com> fs_config: drop fs_config_files/dirs PRODUCT_PACKAGES requirement

When configuring fs_config_files or fs_config_dirs for file_system
capabilities, drop the requirement that OEMs must add the target
to PRODUCT_PACKAGES. This limits the configuration requirement
to only needing to set the new and preferred TARGET_FS_CONFIG_GEN
or the older TARGET_ANDROID_FILESYSTEM_CONFIG_H method.

Test: That only setting TARGET_FS_CONFIG_GEN results in passwd and
group in the build image.
Change-Id: I818854fa1b3e94edaff59a32bd7cf23cf9b504aa
Signed-off-by: William Roberts <william.c.roberts@intel.com>
/build/make/target/product/embedded.mk
2127b35526ac9807656a7140202ac631df3e7cbb 26-Apr-2016 William Roberts <william.c.roberts@intel.com> fs_config: add group to build

Setup PRODUCT_PACKAGES for the group file.

The group file is always included in the product
build but may be empty.

Test: That the group file is in the build.
Change-Id: I2ed1759fbe42a7e6833bb754b00cadaf949f128d
Signed-off-by: William Roberts <william.c.roberts@intel.com>
/build/make/target/product/embedded.mk
6d5e0c5df25c1e3747a532d77c6c445a803d8b72 26-Apr-2016 William Roberts <william.c.roberts@intel.com> fs_config: add passwd to build

Setup PRODUCT_PACKAGES for the passwd file.

The passwd file is always included in the product
build but may be empty.

Test: That the passwd file is in the build image.
Change-Id: Iedbb81b15d3b281ff4ad36d28adc2ba4523785f2
Signed-off-by: William Roberts <william.c.roberts@intel.com>
/build/make/target/product/embedded.mk
9b0dc6a453d85748c587610fe433a2ca09c95b2d 01-Nov-2016 Sandeep Patil <sspatil@google.com> Add new 'charger' binary to default Android builds

Test: tested charger-only and recovery boot using new binary

Change-Id: I803a76747c29cf53f6012ea649fa044878423766
Signed-off-by: Sandeep Patil <sspatil@google.com>
/build/make/target/product/embedded.mk
bd710ed45abd0a9fa92956e0e3daa7ae8c049b68 20-Sep-2016 Iliyan Malchev <malchev@google.com> build: add hwservicemanager to the core packages

b/31458381
b/31240290

Test: passing build and runtime tests

Change-Id: I294c70d93d23ada94ff1175f2d3babd5b836eeee
Signed-off-by: Iliyan Malchev <malchev@google.com>
/build/make/target/product/embedded.mk
07b0a0da9f505ecebc388447ec68400ab9854f68 25-Jan-2016 Christopher Ferris <cferris@google.com> Merge "Add libc_malloc_debug to the always build list." am: 4d15f2f8c9
am: 093ca195bd

* commit '093ca195bd6a3e21c11ad04553b3fe5c6447ea97':
Add libc_malloc_debug to the always build list.
4d15f2f8c9adc463c6e904667b9793a3f3544ef4 25-Jan-2016 Christopher Ferris <cferris@google.com> Merge "Add libc_malloc_debug to the always build list."
24b1c64c5b6c91f72c3f2fa0f30d881c65efb124 22-Jan-2016 Alex Klyubin <klyubin@google.com> resolve merge conflicts of bb3d77ba95 to master.

Change-Id: Ib69e2a457c416b4da94fb76c231120632d47a07a
bc5dc64232a2b62c41550a764f0dd87f81d59ceb 22-Jan-2016 James Hawkins <jhawkins@google.com> bootstat: Add bootstat to the embedded target to support logging boot
time across devices.

Bug: 21724738
Change-Id: I165e8597103ea235a0826e321a1658823c4b4664
/build/make/target/product/embedded.mk
ccaeb65d8e4448563a40f01a291807baae9f0437 18-Dec-2015 Christopher Ferris <cferris@google.com> Add libc_malloc_debug to the always build list.

Change-Id: I26e553478b5ef4017aea1e06530931d4b18e308b
/build/make/target/product/embedded.mk
4a1db8a2a1eaf8800a1e749b3a5089cd9e193253 08-Dec-2015 Dimitry Ivanov <dimitry@google.com> Merge "Include libGLESv3.so to PRODUCT_PACKAGES" am: 73661d4220 am: 973decf35c
am: fb70c580b1

* commit 'fb70c580b1497a31ff345b36f032241fa55415b2':
Include libGLESv3.so to PRODUCT_PACKAGES
bb16dcf28ee0f9e9ee92d9db6d0c3f7eba3dbff8 19-Nov-2015 Dmitriy Ivanov <dimitry@google.com> Include libGLESv3.so to PRODUCT_PACKAGES

Bug: http://b/25754041
Change-Id: If5f5030e7e1da037d873f0252dd8beb8ce6fd4db
/build/make/target/product/embedded.mk
30c197eeaf7c6fdc54932b56cca2c0b917758a15 08-Oct-2015 Dianne Hackborn <hackbod@google.com> Include the new "cmd" command-line tool in all Android builds.

Change-Id: I93f415ddde0f4e273be04af3379ee706962416d2
/build/make/target/product/embedded.mk
844079e0f28420fa463ac8913332c4e8a5101f34 04-Sep-2015 Tom Cherry <tomcherry@google.com> resolved conflicts for merge of b8b53534 to mnc-dr-dev-plus-aosp

Change-Id: I72caaa4aaf9ec78abb83e9d9b3ced535ab3f7c04
05bd7f3499639dfa862871fa3aefc9916e34f732 03-Sep-2015 Tom Cherry <tomcherry@google.com> move init.trace.rc to frameworks/native

init.trace.rc will be renamed to atrace.rc and use the LOCAL_INIT_RC
mechanism to be included on /system appropriately.

Bug 23186545

Change-Id: Ibb86761d3e8d3c6d194ddb1220f93a71a8c6675b
/build/make/target/product/embedded.mk
74415b3b6d3969374e3062154cb0fd10066e9837 03-Sep-2015 Badhri Jagan Sridharan <badhri@google.com> am 28dd99d8: am a0eb142a: am dfea066f: Merge "Include init.usb.configfs.rc into rootdir" into mnc-dr-dev

* commit '28dd99d8eacb5b1baf4f16a07472de8bbd9d5100':
Include init.usb.configfs.rc into rootdir
a8a4a93733e7d13c9c2f555a0b19a8564420aa18 29-Aug-2015 Badhri Jagan Sridharan <Badhri@google.com> Include init.usb.configfs.rc into rootdir

Bug=23633457

Change-Id: I26bbc5ff597138b2ccac1de72117753739b31554
/build/make/target/product/embedded.mk
d3a803e6680e86f7b4960d51ab0b620728b793ca 04-Aug-2015 Stephen Smalley <sds@tycho.nsa.gov> build: switch over to file_contexts.bin only

Change all uses of the file_contexts file to use the
file_contexts.bin file instead.

Depends on
I75a781100082c23536f70ce3603f7de42408b5ba
I43806d564b83d57f05f5c36c8eba7b1ff4831b04
Id560d093440a2aba99cef28c20133b35feebf950
I15660f4b3e4c5cb8ae0ec1498c74d6fcbb9a0400

Change-Id: Iaf8c4b2e420f610425a07f48db7af32bda3f5b3a
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/build/make/target/product/embedded.mk
a65637d2303b4fda01ceafe3dbbd091064f0c7ca 08-Jun-2015 Richard Haines <richard_c_haines@btinternet.com> Update embedded.mk to support file_contexts.bin

This change supports external/libselinux changes to implement
a PCRE formatted binary file_contexts file.

Change-Id: I75a781100082c23536f70ce3603f7de42408b5ba
Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
/build/make/target/product/embedded.mk
abf5ef8fdd96cee524f8d6518b19f8092d6a6e46 15-May-2015 Neil Fuller <nfuller@google.com> Merge "Add tzdatacheck to image"
84b983a7ef5a618317968724c83c93ff42ca71c6 13-May-2015 Neil Fuller <nfuller@google.com> Add tzdatacheck to image

Bug: 21110439
Bug: 19941636
(cherry picked from commit 7d18a684177064a74dafbba8cc2f270f911936bf)

Change-Id: I29ab303d2695ba1cadf70c2d2f4440d34a8cede9
/build/make/target/product/embedded.mk
7d18a684177064a74dafbba8cc2f270f911936bf 13-May-2015 Neil Fuller <nfuller@google.com> Add tzdatacheck to image

Bug: 21110439
Bug: 19941636
Change-Id: I743236d9c7b433968865648ffae25451c6012a5f
/build/make/target/product/embedded.mk
c6355b9464deac4656182fd6022f7e04b5d2a75a 06-May-2015 Dan Albert <danalbert@google.com> Remove stlport from global package list.

This is now whitelisted per device.

Bug: http://b/15193147
Change-Id: I7fcd0891242fb552a17753b151cf431a398bbc44
(cherry picked from commit 0a93b56924fe5e12bacbb20f3b62ad93f1b5e577)
/build/make/target/product/embedded.mk
0a93b56924fe5e12bacbb20f3b62ad93f1b5e577 06-May-2015 Dan Albert <danalbert@google.com> Remove stlport from global package list.

This is now whitelisted per device.

Bug: http://b/15193147
Change-Id: I7fcd0891242fb552a17753b151cf431a398bbc44
/build/make/target/product/embedded.mk
9668a7ab1db6ca3cd7ce322c269f212c17c2dd51 13-Apr-2015 Ying Wang <wangying@google.com> Add host tool fastboot to every build.

Some tools expect fastboot to be present even in user builds.

Change-Id: I4b6ee458eb2feb0dc7a77ec33a04219c5f4adc0d
/build/make/target/product/embedded.mk
f25838a7ea81f64d14cc1e7a612a35b9a8c8c6a6 10-Mar-2015 Ying Wang <wangying@google.com> Support modules to be installed directly to recovery.img

Previously the recovery binary was configured to be installed to the
system.img and then got copied to recovery.img in the recovery.img's
build rule.
With this change, a module, such as the recovery binary, can configure
itself to be installed directly to the recovery.img, just like how other
modules get installed to system.img.

Bug: 19667686
Change-Id: I46b0b4a95cf078a68999db9c0f6635d6a3f5cd86
/build/make/target/product/embedded.mk
c00dedb21cac90119c645388c683b22731567190 05-Feb-2015 Elliott Hughes <enh@google.com> Make sure we keep building grep now it's broken out from toolbox.

Change-Id: Ib71e37c5ba238136a9790cd92ecec745e099341e
/build/make/target/product/embedded.mk
01bf7931ebd2c9d8923e031904a33b7b71c9f028 17-Dec-2014 Dan Albert <danalbert@google.com> Revert "Remove libstlport from PRODUCT_PACKAGES."

The platform dependence on stlport is now far enough gone that a
regular build no longer builds stlport (woot!). Unfortunately, vendor
blobs don't claim their dependencies, so the build system has to keep
track of this for them.

Bug: 18777920
This reverts commit ef11722e9b778ac6a0edca2f51b9e510e79416f9.

Change-Id: I6a0dd26dfc6837c419eb5dd2ec5258dd323fd4bf
/build/make/target/product/embedded.mk
626d3f0a77e8adcd707c557abfe99929c6816a70 23-Nov-2014 Elliott Hughes <enh@google.com> Ensure the base system includes toybox.

Change-Id: I0eec19328855d67da1c574a88b452f0eeec6adc7
/build/make/target/product/embedded.mk
ef11722e9b778ac6a0edca2f51b9e510e79416f9 17-Nov-2014 Dan Albert <danalbert@google.com> Remove libstlport from PRODUCT_PACKAGES.

Bug: 15193147
Change-Id: Idd2699d895393216bcd514da64145540faec4033
/build/make/target/product/embedded.mk
0c2dcc08454851b74a8c4ee265e2a56beab89052 04-Sep-2014 Elliott Hughes <enh@google.com> am cc3b0c41: am 5c11a76b: Merge "Add debug.atrace.tags.enableflags=0 to /default.prop."

* commit 'cc3b0c411389a7f8dbcc9317614f9027585cc3d0':
Add debug.atrace.tags.enableflags=0 to /default.prop.
88c5a130b442a3987168d3c4111871abeb4f97bd 03-Sep-2014 Stephen Smalley <sds@tycho.nsa.gov> Add debug.atrace.tags.enableflags=0 to /default.prop.

This ensures that the property is always set by init
prior to starting any other process, which avoids the need
for the bionic systrace code to try to set the property
if it has not already been set to avoid the full cost of
searching for an undefined property each time. See
change I30ed5b377c91ca4c36568a0e647ddf95d4e4a61a for
the relevant bionic code.

The problem with the current bionic code is that it can
trigger an attempt to set this property from any random
process, which will be denied unless the process is already
authorized to set debug properties. This is visible in the
form of various SELinux avc: denied messages and
init sys_prop: permission denied messages in dmesg output.
Allowing all domains to set such properties is undesirable.

Change-Id: I6d953c0c281fd72ad3eba8a479fd258023579b5b
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/build/make/target/product/embedded.mk
06940df71383b5acfdfdf9d4d4cf6e30090dfa7c 17-Jul-2014 Ying Wang <wangying@google.com> resolved conflicts for merge of ef44fb2d to lmp-dev-plus-aosp

Change-Id: I5551e6b1303f2b37d199a1b894f37c50839fdecc
b2be5ffdeda3a33d454dc7ee1b22578d1c3cff52 17-Jul-2014 Ying Wang <wangying@google.com> Remove linker64 and debuggerd64

We don't have separate *64 module names any more.
Now both 32-bit and 64-bit variants are built under the same module name.

Change-Id: I1956a6a88ec6fe280798be01928239d098dfe27a
/build/make/target/product/embedded.mk
64dd84a94f468b0e70996c55411d2be08c985267 12-Jun-2014 Nick Kralevich <nnk@google.com> am 003f84fb: am c80e876c: Merge "Add service_contexts to embedded.mk."

* commit '003f84fbbbffa0eb0b6958a2f7f4a120206decc8':
Add service_contexts to embedded.mk.
8b834ecedbeb7f9dcfe71a5a427c475fcf638a95 10-Jun-2014 Riley Spahn <rileyspahn@google.com> Add service_contexts to embedded.mk.

Add service_contexts to embedded.mk to support MAC checks in the
service manager.

Bug: 12909011
Change-Id: I31f4f4e1acb2be8167f2f11f93c936c18303135a
/build/make/target/product/embedded.mk
362d2d4123a755a3e39a2015cf49da7db24a26ad 02-Jun-2014 Nick Kralevich <nnk@google.com> am 333005f1: am c706ea79: Merge "Include selinux_version file with builds."

* commit '333005f1bfa7dc36d327ddb45fdf8fa2d38ca768':
Include selinux_version file with builds.
c706ea79629792f4432774643887f5681e8f145d 02-Jun-2014 Nick Kralevich <nnk@google.com> Merge "Include selinux_version file with builds."
faa2d24991682e31804f8cfcdc16a4f09fb4dbad 29-May-2014 Dave Allison <dallison@google.com> am f4115cdf: am 2a2ba735: Merge "Add libsigchain to the embedded.mk makefile"

* commit 'f4115cdfac6bfde8e3d7cab1e7782d078d764209':
Add libsigchain to the embedded.mk makefile
2a2ba735df028a6168368a399b6df27a6ec33fa4 29-May-2014 Dave Allison <dallison@google.com> Merge "Add libsigchain to the embedded.mk makefile"
1309152ec189e670d1c246bbabe1f33942e401b1 21-May-2014 Mark Salyzyn <salyzyn@google.com> am 1fe58202: am ea65c191: Merge "libctest: zap"

* commit '1fe582026940c70f4a7ff8f130372234d07d3611':
libctest: zap
ae0d2411444e7618e2e41ce6e966e519cb6a0c9f 21-May-2014 Mark Salyzyn <salyzyn@google.com> libctest: zap

Change-Id: Ia3ff0cad0995af428adf2dbdf10587dae904ec7d
/build/make/target/product/embedded.mk
330584ee817db41a4cd667c1e9b42130d544594b 16-May-2014 Dave Allison <dallison@google.com> Add libsigchain to the embedded.mk makefile

This library is used in a LD_PRELOAD environment variable and the linker shows
a warning if it is not present. This change is to added it to all targets so
that the warning is not shown. If ART is not provided on the device this
library has no effect.

Change-Id: I81f01b66fa9c78048534f4bcfc04d62b18057a03
/build/make/target/product/embedded.mk
65dad287166eadf2d42cd304caee77827de616ec 20-Mar-2014 Robert Craig <rpcraig@tycho.ncsc.mil> Include selinux_version file with builds.

The selinux_version file is used to perform policy
versioning checks by libselinux and SELinuxMMAC. When
loading policy a check is first performed to determine
if the policy out in /data/security/current should be
used to override the base policy shipped with the device.
The selinux_version file is used to make that choice. The
contents of the file simply contains the BUILD_ID that
the policy was built against. A simple string comparison
is then performed by libselinux and SELinuxMMAC.

Change-Id: I69d9d071743cfd46bb247c98f94a193396f8ebbd
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
/build/make/target/product/embedded.mk
25e75abac2c9229c0c4741e33f504a341a36ad94 16-Apr-2014 Ying Wang <wangying@google.com> am 6e3bbf64: am 0ac89b45: Merge "Remove libGLES_android from non-emulator builds; Remove screenrecord from SDK build."

* commit '6e3bbf64b2c8ac49b5b1e1ff368a120118c04e65':
Remove libGLES_android from non-emulator builds; Remove screenrecord from SDK build.
e948255ac6b807dc72e219312c3f7a06746bd57b 15-Apr-2014 Ying Wang <wangying@google.com> Remove libGLES_android from non-emulator builds; Remove screenrecord from SDK build.

Bug: 11368415
Bug: 14087863
Change-Id: I05d406d174ea1d1bf67c7922c03950e700978baa
/build/make/target/product/embedded.mk
46d69e9914ad359b63637f9734cf9e85e04af1a9 20-Mar-2014 Ying Wang <wangying@google.com> am 9ce34617: am 4f9d6f57: Merge "Fix embedded build"

* commit '9ce34617a001338093b0de85443925a37a967f0d':
Fix embedded build
8c7e74ee05de0b9f3875318cc405ff0de3d1c878 20-Mar-2014 Ying Wang <wangying@google.com> Fix embedded build

1) Disable dexpreopt if DALVIK_VM_LIB isn't set up by the product.
2) DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES is moved to config.mk,
for it's only decided by target arch.
3) Move Java module input from embedded.mk to base.mk.

Change-Id: Ife70b0cd8cee2e5c92f356c808affa56f494b49a
/build/make/target/product/embedded.mk
a0eb50accabe83b18bd3fe3b9d6417a4718af9e2 14-Feb-2014 Colin Cross <ccross@android.com> resolved conflicts for merge of 2fbe5018 to klp-modular-dev-plus-aosp

Change-Id: I623332e427ce8bfcf1b17e708ccca1d50cdbeadd
381435353d160301bda40a533f782371109047cb 13-Feb-2014 Colin Cross <ccross@android.com> add linker64 and debuggerd64 to all products

Add linker64 and debuggerd64 to embedded.mk. They will be silently
ignored on 32-bit builds, and filtered out on 32-bit sdk builds.

Change-Id: I8c30ea65e2b7e224ee73cc9fbbcb7555d3be04b5
/build/make/target/product/embedded.mk
ec0c99a6c574954fb37bd94ba18b02a20edbe122 24-Jan-2014 Nick Vaccaro <nvaccaro@google.com> Add atrace for supporting systrace tool

Change-Id: I6504a447218a70b0d148c0b5802228fb28934a0a
Signed-off-by: Nick Vaccaro <nvaccaro@google.com>
/build/make/target/product/embedded.mk
69c36ee7a8c1e3d8c7ca04d61f75d95585c58253 28-Jan-2014 Elliott Hughes <enh@google.com> am 4fbf23ef: am 0a3cf1a0: Merge "Remove libthread_db from the default include path."

* commit '4fbf23ef8267849ce88217a256b394de3904a4f6':
Remove libthread_db from the default include path.
2f8dcdd96114274d9c689caebd546d01176e3c6b 28-Jan-2014 Elliott Hughes <enh@google.com> Remove libthread_db from the default include path.

This should never have been on the default include path.

The NDK statically links its own libthread_db, so I'm removing
bionic's unused copy from devices.

Bug: 11882807
Change-Id: I49a67fe0902cc4bc178360f6c993959774d74e3a
/build/make/target/product/embedded.mk
a2466857412d3abe8351f7339d4b658ab0c899b8 11-Jul-2013 Todd Poynor <toddpoynor@google.com> build lmkd

Change-Id: I5e7c785d3f76ec2d0f30ae6aa948436f5d04957b
/build/make/target/product/embedded.mk
b9041a45b1f030d3e374420aa95e44f4c3029fb4 22-Nov-2013 The Android Open Source Project <initial-contribution@android.com> Merge commit 'c73341006286c391ae4d268a77f5e008045d5308' into HEAD

Change-Id: I4bf7d32d65e19dfa1f0533fdd3b2295c50b13005
36e681b02a7cd2554f038bcac65d7fdfc7889273 07-Nov-2013 Elliott Hughes <enh@google.com> resolved conflicts for merge of 12f87a5b to klp-dev-plus-aosp

Change-Id: I8ce0a86bbaae0c1e3ce5ed46de628ea22ea17d16
32bfd70333b72646909ccbcf50217b5a275912da 05-Nov-2013 Elliott Hughes <enh@google.com> Remove the hacks needed to support ash and mksh concurrently.

We no longer have ash, and we'd rather not have unnecessary symbolic links
on the system.

Change-Id: Icfb1a51f1baaf1861c203f6ed93843b094deb65d
/build/make/target/product/embedded.mk
3e272fd4081a74066515e85ae23e08cdd0685b40 26-Aug-2013 Geremy Condra <gcondra@google.com> am f482fa84: am d7a9f708: Merge "Hmm, contrary to Deckard\'s assurances, this broke internally. Reverting."

* commit 'f482fa848055925d8abe4a8a7f4801bc6c8fc291':
Hmm, contrary to Deckard's assurances, this broke internally. Reverting.
572c5f06670d2807b20b552c00d4b76269992ade 26-Aug-2013 Geremy Condra <gcondra@google.com> Hmm, contrary to Deckard's assurances, this broke internally. Reverting.

Change-Id: I0d7892cd619e742fb5d6b1bda6d0dba7d6cd47bf
/build/make/target/product/embedded.mk
8e3321c5853aa91353b8545ed66760d95c11720b 26-Aug-2013 Geremy Condra <gcondra@google.com> am 2724d8c4: am d5ec4db7: Merge "Add sepolicy_version to PRODUCT_PACKAGES"

* commit '2724d8c4ac1a8eea593425d682e7244a8e5cc9da':
Add sepolicy_version to PRODUCT_PACKAGES
711b8d5e1313549c3237c76f74060a0a997ccf03 11-May-2013 William Roberts <wroberts@sta.samsung.com> Add sepolicy_version to PRODUCT_PACKAGES

Change-Id: I3d2652dd594d272507c0a1485e21227149ee4af7
Signed-off-by: William Roberts <wroberts@tresys.com>
/build/make/target/product/embedded.mk
2b3bd4a88bff53eeaebbf29d54ffee008ff2ce3b 02-May-2013 Todd Poynor <toddpoynor@google.com> Add healthd

Change-Id: I055581a12fe88a4e1fb04e675036bf0d345c05c6
/build/make/target/product/embedded.mk
0650d1503d89f1563978f6006a2f904da7140027 24-Jul-2013 Ying Wang <wangying@google.com> Add PRODUCT_BOOT_JARS to derive BOOTCLASSPATH

- BOOTCLASSPATH now is product-configurable;
- No need to maintain the duplicate values in core/dex_preopt.mk.
- clean up some legacy ALL_PREBUILTs.
Bug: 9990214

Change-Id: Ie3953e66d282e335bb7782b0ebd56102c35ec10e
/build/make/target/product/embedded.mk
b8395796817572f863485ba85fc18a1e49ee1e68 21-May-2013 gcondra@google.com <gcondra@google.com> am cc9c2135: am 2e619b7c: Revert "Add the sepolicy.version file to the root directory."

* commit 'cc9c2135bc04489c382985270d6c5a444610b57e':
Revert "Add the sepolicy.version file to the root directory."
2e619b7c5458cb3b381bd8a02076f549dba8d045 17-May-2013 repo sync <gcondra@google.com> Revert "Add the sepolicy.version file to the root directory."

This reverts commit 83f646a0efdf69d84d3eb828eec74ec3881074f2.
/build/make/target/product/embedded.mk
8f8e35d7ddb064b509607e54e34eed439071902a 15-May-2013 gcondra@google.com <gcondra@google.com> am 809b537e: am 046ed25f: Merge "Add the sepolicy.version file to the root directory." into jb-mr2-dev

* commit '809b537e4a9fa7007bb455a630f999514f0f0cee':
Add the sepolicy.version file to the root directory.
83f646a0efdf69d84d3eb828eec74ec3881074f2 10-May-2013 repo sync <gcondra@google.com> Add the sepolicy.version file to the root directory.

Bug: 8841348
Change-Id: I9b4b096eb11b332a4c2c3cb8df179cf611a7ff43
/build/make/target/product/embedded.mk
dc75794ec27adf0f68e478e2ff2df88d91faa91b 25-Mar-2013 Benoit Goby <benoit@android.com> Add reboot to build

reboot is not a symlink to toolbox anymore and is built separately

Change-Id: I1ded0b46650eeb6365ded86dee1a58d2b0c903e6
/build/make/target/product/embedded.mk
92cd50c41611694281e40dad39a5bc316ef847d8 31-Oct-2012 Ying Wang <wangying@google.com> Remove nonexistent modules from PRODUCT_PACKAGES

and revert back to fatal error if sdk has nonexistent modules.

Change-Id: Ic7185128b0253b3591592b4167ea1e26cee1aa84
/build/make/target/product/embedded.mk
daf5e22dbac03e174e22c8209ed97c44c3a2a2c9 18-Oct-2012 Mike Lockwood <lockwood@google.com> Add new embedded target for a super minimal android build

Remove obsolete BUILD_TINY_ANDROID

Change-Id: Ic0f3a5b3250ea80529f5099653068f118a13b12e
/build/make/target/product/embedded.mk