Commit graph

1823 commits

Author SHA1 Message Date
Andreas Gampe
4938f3300a Revert "Build: Add asanwrapper in SANITIZE_LITE"
This reverts commit eee31511f7.

Rewriting of app_process adds an automatic dependency.

Bug: 33224213
Test: m
Change-Id: Idd9509d116692954224f4d2ffd6c81b69e9a85a3
2016-11-30 16:39:40 -08:00
Andreas Gampe
98bfec1187 Build: Add asanwrapper in SANITIZE_LITE am: eee31511f7 am: 3c326183ca am: 18c9a0d841
am: bae6a8bc63

Change-Id: I3023fe54c86b13d12609f2517aa2abd214a614e3
2016-12-01 00:33:34 +00:00
Andreas Gampe
d425b3ae29 Build: Add sanitized app_process am: a35d92e431 am: 2ceff14391 am: 77541fee1b
am: 95532682c5

Change-Id: I3e641ab40b394522abd50c50c612861ed6384eff
2016-12-01 00:33:28 +00:00
Andreas Gampe
3c326183ca Build: Add asanwrapper in SANITIZE_LITE
am: eee31511f7

Change-Id: I2fda3c98543296418b7c4741e8425f1ab35f7fb1
2016-12-01 00:06:26 +00:00
Andreas Gampe
2ceff14391 Build: Add sanitized app_process
am: a35d92e431

Change-Id: Idc10fa334820dab5de1a697092e4c14fb6023425
2016-12-01 00:06:20 +00:00
Pirama Arumuga Nainar
f3121cd73f Do not *directly* package libbcc.so
Bug: http://b/28866258

Remove libbcc.so from the list of directly packaged modules.  64-bit
libbcc.so gets included as a dependency for the bcc executable (which is
a required package).  32-bit libbcc.so is no longer necessary on 64-bit
devices.

This change also removes 32-bit libLLVM.so from a 64-bit system image
(leading to a 13M reduction in Angler's system image on AOSP) and a
considerable reduction in build time.

Test: - Build all topics in this CL
      - RsTest (including the 32-bit ABI) and CTS tests pass on x86 and
        x86_64 emulators and Angler.

Change-Id: I10f07e322a615f37d6967b7c938635f544ddceff
2016-11-30 15:45:25 -08:00
Treehugger Robot
de24e6198e Merge changes from topic 'app_process_sanitized_binaries'
* changes:
  Build: Add asanwrapper in SANITIZE_LITE
  Build: Add sanitized app_process
2016-11-30 21:00:56 +00:00
Andreas Gampe
eee31511f7 Build: Add asanwrapper in SANITIZE_LITE
Add asanwrapper helper binary to PRODUCT_PACKAGES when building with
SANITIZE_LITE=true.

Bug: 33224213
Test: m SANITIZE_TARGET=address SANITIZE_LITE=true && ls $OUT/system/bin/asanwrapper
Change-Id: Ic4d8973b9e9ddfd9ef8663735bf5f70d8f9f70e1
2016-11-30 10:20:20 -08:00
Paul Duffin
6470f4fa99 Replace core-junit with legacy-test
m -j32 checkbuild cts droid
adb reboot bootloader
fastboot flashall -w
cts-tradefed run cts -m CtsLibcoreTestCases

Bug: 30188076
Test: As above
Change-Id: I2d49cb3c451cb265d026f9a700a61b3fc0d2ed82
2016-11-30 13:50:56 +00:00
Andreas Gampe
a35d92e431 Build: Add sanitized app_process
Add sanitized app_process module to PRODUCT_PACKAGES when building
with SANITIZE_LITE=true

Bug: 33224213
Test: m SANITIZE_TARGET=address SANITIZE_LITE=true && ls $OUT/system/bin/asan
Change-Id: Ic67976f1b897b638d569ec6f42d5a8d59f8a9285
2016-11-29 19:22:01 -08:00
Andreas Gampe
c54a03b944 Merge "Revert "Build: Bring back SDK dependencies"" am: 2bbeae7f8a am: f606cc1677 am: 724d458547
am: 8573639479

Change-Id: I57a2ee2251e998333e3dab191ec3f125f46ac4f8
2016-11-30 01:03:39 +00:00
Andreas Gampe
f606cc1677 Merge "Revert "Build: Bring back SDK dependencies""
am: 2bbeae7f8a

Change-Id: I9560d6a8f9971db89c87499b2e177bd0bb921cff
2016-11-30 00:48:39 +00:00
William Roberts
7fe8b6d817 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>
2016-11-29 16:21:17 -08:00
William Roberts
2127b35526 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>
2016-11-29 16:21:17 -08:00
William Roberts
6d5e0c5df2 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>
2016-11-29 16:21:17 -08:00
Eric Laurent
758ef878dd remove legacy audio policy manager
Test: make angler-eng
Change-Id: I396741f90e17345a77d169f972cfb017ec4965a3
2016-11-28 17:58:33 -08:00
Andreas Gampe
5d9c6165d0 Revert "Build: Bring back SDK dependencies"
This reverts commit ff00c5d78f.

Test: m
2016-11-17 19:42:51 -08:00
Andreas Gampe
40dc461400 Merge "Build: Bring back SDK dependencies" am: eb06c77b80 am: 2a2442c6f2 am: 7cfb848e4e
am: ba7acc6eb2

Change-Id: I2b5f49120404bc48703e6f5c0e7285077ed2bd08
2016-11-18 03:04:59 +00:00
Andreas Gampe
2a2442c6f2 Merge "Build: Bring back SDK dependencies"
am: eb06c77b80

Change-Id: I0c15adcd387980b94c5544427d4f4fdad3f7ff31
2016-11-18 02:57:28 +00:00
Andreas Gampe
ff00c5d78f Build: Bring back SDK dependencies
Temporarily re-add SDK dependencies to runtime_libart.mk.

Test: m sdk_repo
Change-Id: I5c2054d7be6ea1c5e6eadbcb3453cabfc64728d6
2016-11-17 18:21:36 -08:00
Andreas Gampe
b225895a25 Merge "Build: Refactor and clean up runtime_libart" am: 020f5275d5 am: bd7d5aea2a am: 41e7b3d871
am: 554bf050a6

Change-Id: I8734cbdd1fb9149b94e05ec3b55f18cf266deec7
2016-11-18 01:38:52 +00:00
Andreas Gampe
bd7d5aea2a Merge "Build: Refactor and clean up runtime_libart"
am: 020f5275d5

Change-Id: Ifff0829fe3b7e306527e3654ee3833a1935c1ac3
2016-11-18 01:32:20 +00:00
Andreas Gampe
71d3185464 Merge "Build: Add agent library to default packages" am: 709aaa5aea am: 349b67c6ba am: 6cb66e246c
am: 99ee16839b

Change-Id: Idfd52587dbafb4f846477e93e4376eb04f5ae0b1
2016-11-18 00:28:16 +00:00
Andreas Gampe
349b67c6ba Merge "Build: Add agent library to default packages"
am: 709aaa5aea

Change-Id: I61e55b948838d8845d04802e87d435ac8b9f9b3c
2016-11-17 23:42:38 +00:00
Andreas Gampe
9a3e5ac355 Build: Refactor and clean up runtime_libart
Split out dependencies and removes some transitives. In preparation
for moving the modules.

Test: m
Test: Device boots
Change-Id: I7cdccd178eef9a625607a74ba8496651591e4cb4
2016-11-17 14:37:11 -08:00
Andreas Gampe
cd82dceb3c Build: Add agent library to default packages
Add libopenjdkjvmti to ART dependencies.

Bug: 31455788
Test: m && ls $OUT/system/lib/libopenjdkjvmti.so
Change-Id: Iccf35f04548d74df87ec05f2cb555c1db9d137c6
2016-11-17 13:05:13 -08:00
Fyodor Kupolov
b2b0ef7c9d Include privapp-permissions-platform.xml
Test: manual
Bug: 31008485
Change-Id: Id53ccc2563e228b311e0e9af740f6699785351da
2016-11-16 10:48:52 -08:00
Robert Sesek
58babe86b9 Merge "Add webview_zygote target to core_minimal.mk PRODUCT_PACKAGES." am: 07b4a59843 am: cda21868aa am: 24f01c6d9d
am: 43596505af

Change-Id: I454269e9a4d97f7d1b6c8df6968c8bc88c4132e0
2016-11-15 19:51:22 +00:00
Robert Sesek
cda21868aa Merge "Add webview_zygote target to core_minimal.mk PRODUCT_PACKAGES."
am: 07b4a59843

Change-Id: Ie5dc3d3d617203ea467ace4440ef0119cb75ad75
2016-11-15 19:30:51 +00:00
Robert Sesek
dcb603f115 Add webview_zygote target to core_minimal.mk PRODUCT_PACKAGES.
Test: lunch aosp_angler-eng && m checkbuild

Bug: 21643067
Change-Id: I1e0b81055fb74d7238f245e11bf2409c776f2efd
2016-11-11 12:38:13 -05:00
Sandeep Patil
da3cfe6c8e Merge "Add new 'charger' binary to default Android builds" 2016-11-08 23:45:15 +00:00
Sandeep Patil
9b0dc6a453 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>
2016-11-01 17:02:13 -07:00
Colin Cross
910986486c Merge "Move perfprofd installation to PRODUCT_PACKAGES_DEBUG" am: 47bfd3422f am: f22e056df6 am: 136afebf3e
am: 9de54f3812

Change-Id: Ic6b540548353f2c2b58d2b1bfbe38f0badebd428
2016-10-28 20:24:38 +00:00
Colin Cross
f22e056df6 Merge "Move perfprofd installation to PRODUCT_PACKAGES_DEBUG"
am: 47bfd3422f

Change-Id: I427c8ae7893b0a927e410318738450c8358b1219
2016-10-28 20:10:07 +00:00
Colin Cross
1e28014c78 Move perfprofd installation to PRODUCT_PACKAGES_DEBUG
LOCAL_MODULE_TAGS is deprecated, use PRODUCT_PACKAGES_DEBUG instead.

Test: none
Change-Id: I670147f4fe38b02ccafe01b96d8078502404113c
2016-10-27 15:41:57 -07:00
Joe Onorato
002a6c769d Add bit helper utility
- Add it to the base build (the first one in the hierarchy that includes
  the activity manager).
- Add tab completion commands to envsetup.sh

Test: . build/envsetup.sh ; make
Change-Id: Id24acaa0f17f198bda329016ff17170ad93624ec
2016-10-20 16:41:37 -07:00
Jeff Sharkey
2b1776cd04 Merge "PRODUCT_PACKAGES: add to tune2fs." am: 4337794acd am: a35fba1954 am: 7f5ac24eec
am: 3f391240d5

Change-Id: I2fc6a644e0dbc90ace58470b468be4e994531eeb
2016-10-12 01:41:23 +00:00
Jeff Sharkey
3f391240d5 Merge "PRODUCT_PACKAGES: add to tune2fs." am: 4337794acd am: a35fba1954
am: 7f5ac24eec

Change-Id: Ia038eb10af41c7403a04e9e5411700cd86079640
2016-10-12 01:35:52 +00:00
Jeff Sharkey
4337794acd Merge "PRODUCT_PACKAGES: add to tune2fs." 2016-10-12 01:16:33 +00:00
Iliyan Malchev
ae9164a7b1 Merge "build: add hwservicemanager to the core packages" am: 69bd0bf22a am: 3f044f007f am: a65c0d3481
am: 8293fb67b3

Change-Id: I07ab4f331fc0f0d80884c358a4e45f288b91da17
2016-09-27 00:22:27 +00:00
Iliyan Malchev
8293fb67b3 Merge "build: add hwservicemanager to the core packages" am: 69bd0bf22a am: 3f044f007f
am: a65c0d3481

Change-Id: If5968ce47c39b5fd55f30893550d581d4c04e414
2016-09-27 00:16:42 +00:00
Iliyan Malchev
bd710ed45a 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>
2016-09-26 14:21:10 -07:00
liminghao
a4b899da0c PRODUCT_PACKAGES: add to tune2fs.
N/A

Change-Id: Ie3cb9953046adb3dd6320a84e7572c84d7e07565
Signed-off-by: liminghao <liminghao@xiaomi.com>
2016-08-17 11:06:16 +08:00
Dan Sandler
c1f1d59c71 Merge \\\"The easter egg is now its own APK.\\\" into nyc-dev am: 18ecea3986 am: 377d5bdb3f
am: c3e2c808de

Change-Id: I5510ccc04c4b3b1b334d8525bb5c0569d569b5ab
2016-06-26 23:07:28 +00:00
Ian Pedowitz
c3e2c808de Merge \\"The easter egg is now its own APK.\\" into nyc-dev am: 18ecea3986
am: 377d5bdb3f

Change-Id: I11f7501dcf768397acc4cfc74eee58d27013b6a4
2016-06-26 23:03:00 +00:00
Dan Sandler
377d5bdb3f Merge \"The easter egg is now its own APK.\" into nyc-dev
am: 18ecea3986

Change-Id: I4712931d6e73ecb08dae76b77ad12585a914882b
2016-06-26 22:56:05 +00:00
Dan Sandler
e4224c46cb Merge \"The easter egg is now its own APK.\" into nyc-dev
am: 18ecea3986

Change-Id: Ica7456ab7bf01dba0f294fce3720b0e19db02f38
2016-06-26 22:56:03 +00:00
Dan Sandler
26c4ef4c65 The easter egg is now its own APK.
It should be included wherever SystemUI is.

Bug: 27376882
Change-Id: Ibe2688c86e58bdfb8a5278c9c4939d7cdb524078
2016-06-26 18:07:59 +00:00
Roozbeh Pournader
a51b0b6012 Merge \"Revert \"Add Serbian in Latin script to the full locale list\" [DO NOT MERGE]\" into nyc-mr1-dev
am: 9b6ce7bf0d

Change-Id: Ia696c61ce6e24e29627356cfe66819ac98dfafc2
2016-06-24 02:51:25 +00:00
Roozbeh Pournader
9b6ce7bf0d Merge "Revert "Add Serbian in Latin script to the full locale list" [DO NOT MERGE]" into nyc-mr1-dev 2016-06-23 21:52:35 +00:00
Roozbeh Pournader
34247cfda3 Revert "Add Serbian in Latin script to the full locale list" [DO NOT MERGE]
This reverts commit 4c6e1b62e0, since sr-Latn is no longer planned for MR1.

Bug: 29455508
Bug: 29601930
Change-Id: I47c240fa7456940ecb272f05e94f563b221c92c3
2016-06-23 20:03:44 +00:00
Daniel Nishi
3744f23c23 Merge \\"Add the StorageManager APK to the core build.\\" into nyc-mr1-dev am: 36ae59228c
am: 3893beb80f

Change-Id: Iee59dd73f3ee98fc52e87a2e4182f9a15d3c816a
2016-06-22 23:59:11 +00:00
Daniel Nishi
3893beb80f Merge \"Add the StorageManager APK to the core build.\" into nyc-mr1-dev
am: 36ae59228c

Change-Id: I09c099f3cbeee26b91a8de56b794c5e6cc581d9f
2016-06-22 23:56:23 +00:00
Daniel Nishi
36ae59228c Merge "Add the StorageManager APK to the core build." into nyc-mr1-dev 2016-06-22 23:50:07 +00:00
Roozbeh Pournader
6e2a9a898f Add Serbian in Latin script to the full locale list am: 4c6e1b62e0
am: c5a4be50d8

Change-Id: I920705b088fd24d08f335a2066550c1d1577f77b
2016-06-20 23:30:27 +00:00
Roozbeh Pournader
c5a4be50d8 Add Serbian in Latin script to the full locale list
am: 4c6e1b62e0

Change-Id: Ib5c08536c454bafdbd31dc4eb50db3fe1d46def9
2016-06-20 23:25:24 +00:00
Roozbeh Pournader
4c6e1b62e0 Add Serbian in Latin script to the full locale list
Bug: 29455508
Change-Id: I3b6e889d42c41c653824cca15463466d5ccedb43
2016-06-17 21:28:41 -07:00
Daniel Nishi
936cc2a09c Add the StorageManager APK to the core build.
Bug: 28965462
Change-Id: Id2877a22f0b8e675cecc0430013a008993145d6e
2016-06-10 13:14:57 -07:00
Roozbeh Pournader
8e9eddba35 Remove last mention of EXTENDED_FONT_FOOTPRINT.
Setting EXTENDED_FONT_FOOTPRINT has been a no-op for a while, since
no one reads it anymore. Also do the same for naver-fonts, which had
also become a no-op.

Bug: 21785576
Change-Id: I3818adcbba11398024b82c2f22fe2d545b55418d
2016-06-09 17:51:16 -07:00
Vikas Marwaha
43ded3587e resolve merge conflicts of 07886f1 to nyc-dev-plus-aosp am: 98dce87fe1
am: 589ed96538

Change-Id: Ibe488f2cfd6570724dcdfdd69e2ee0396d7af631
2016-06-09 05:57:55 +00:00
Vikas Marwaha
98dce87fe1 resolve merge conflicts of 07886f1 to nyc-dev-plus-aosp
Change-Id: Iae0444b9e9e7b4db3bfd94f5712e22aa08a122b5
2016-06-09 05:46:40 +00:00
Vikas Marwaha
465fa9b38f Added make files for variable PRODUCT_SHIPPING_API_LEVEL.
Bug: 26381401

Change-Id: I8f2e630118cfa474564eb21911448bc813fcfec7
2016-06-07 15:08:27 -07:00
Narayan Kamath
ca235f376e Merge "Add default values for pm.dexopt.core-app." into nyc-dev am: da147a7c20 am: 8b62c008f6
am: 753ead8dbe

* commit '753ead8dbedc4bb4e620e009be8c3608e995294c':
  Add default values for pm.dexopt.core-app.

Change-Id: I038cb8ebe14cc529eae8985926bce10f9045a5d0
2016-06-06 16:11:52 +00:00
Narayan Kamath
8b62c008f6 Merge "Add default values for pm.dexopt.core-app." into nyc-dev
am: da147a7c20

* commit 'da147a7c20bf73f9b3736f6c479f3a8f3f56ab9e':
  Add default values for pm.dexopt.core-app.

Change-Id: I566fc87539166998340617bbcc7336b5fcc691bc
2016-06-06 15:15:01 +00:00
Vikas Marwaha
404ccc83c4 Add variable PRODUCT_SHIPPING_API_LEVEL and make files with the
new read only product property ro.product.first_api_level.

PRODUCT_SHIPPING_API_LEVEL declares which API level a device first
shipped with. We use this variable to set a read-only property that
can be used in CTS/GTS tests.

Change-Id: If54202075d3b92ed380655cde8b3fc50c5ba73b3
2016-06-03 23:02:27 +00:00
Narayan Kamath
41a3b1b413 Add default values for pm.dexopt.core-app.
bug: 28998083

Change-Id: Iec4415ad7e5122c1168024f6ccf39b5e342cc7fd
2016-06-02 16:35:03 +01:00
Bjoern Johansson
b9403bf0ae Merge "Remove Dev Settings app from emulator images" into nyc-dev am: 4f2f58791f am: a521a01345
am: bbcd1931ae

* commit 'bbcd1931ae00d44b23d931b4daaaf50cc096d3e5':
  Remove Dev Settings app from emulator images

Change-Id: I72fdb7af955fe00c5d5d488eb3693b4ef9726048
2016-05-27 18:43:54 +00:00
Bjoern Johansson
a521a01345 Merge "Remove Dev Settings app from emulator images" into nyc-dev
am: 4f2f58791f

* commit '4f2f58791f31a66a61865e6c6095a2113609577a':
  Remove Dev Settings app from emulator images

Change-Id: Ib7f40046ec64ba08055fec219107b782ebbc1340
2016-05-27 17:24:36 +00:00
Bjoern Johansson
d7db5d514a Remove Dev Settings app from emulator images
The Dev Settings app currently just launches an intent that is received
by the regular Settings app. However, since N the Settings app only
receives the intent when developer mode is enabled. If it is not enabled
the Dev Settings app will crash. Since the Dev Settings app doesn't
really add much benefit this change removes it from the emulator system
images to prevent this issue. The user will have to access the developer
settings from the regular Settings app just like on a physical device.

BUG: 27549126

Change-Id: I8191f9003bb452ef76c4b236b965368b48be3d25
2016-05-25 18:31:25 -07:00
Andreas Gampe
de3371e60e Merge "Build: Only use compiled-classes file when available" into nyc-dev am: 57c3aea442 am: 5d558c5f13
am: 8666487b4a

* commit '8666487b4aed7062022835e00133e4038500d63a':
  Build: Only use compiled-classes file when available

Change-Id: I1d67876deb38c69bf320497b13d09ba801d6022c
2016-05-23 20:59:43 +00:00
Andreas Gampe
5d558c5f13 Merge "Build: Only use compiled-classes file when available" into nyc-dev
am: 57c3aea442

* commit '57c3aea442bff67e4452eee7ff8f13294fbad34b':
  Build: Only use compiled-classes file when available

Change-Id: I9a3ae7385483f9f5d934d8cd6660c17c57529989
2016-05-23 20:48:00 +00:00
Andreas Gampe
bbb0b31cf2 Build: Only use compiled-classes file when available
Don't pull in things from frameworks/base when they're not there.

Bug: 28878540
Change-Id: Ida8a5e4e46dc5cd5bdedc4bb66640abb4969e1f3
2016-05-20 13:52:02 -07:00
Andreas Gampe
f35add046b Build: Use phone compiled-classes in core_minimal am: 695b28f67c am: 28efcb6d39
am: e98ef11300

* commit 'e98ef11300e5de77c15a52414e805f9757fd1cde':
  Build: Use phone compiled-classes in core_minimal

Change-Id: I6c68dab4d4bd630d32b66e8113f162f801f33e40
2016-05-19 05:17:01 +00:00
Andreas Gampe
28efcb6d39 Build: Use phone compiled-classes in core_minimal
am: 695b28f67c

* commit '695b28f67c88b87486911f8881078e7857e989a8':
  Build: Use phone compiled-classes in core_minimal

Change-Id: I3b3a362c17c741994b34a2f70301806eadf9098d
2016-05-19 05:10:55 +00:00
Andreas Gampe
695b28f67c Build: Use phone compiled-classes in core_minimal
Use default phone compiled-classes list to cut down boot image
size on most devices.

Bug: 28026683
Change-Id: I73bb59b792923ebc7549f775085b1c9aed88cc1a
2016-05-18 20:10:43 -07:00
Alex Light
60c7fd15a8 Add fake libart
Bug: 27775991

Change-Id: I54cbdf2340dcfdd9b3973d9d10c8bd94492736fb
(cherry picked from commit 6da74d8f1f)
2016-05-18 07:58:05 -07:00
Amith Yamasani
a33fdd03a1 Merge "Add CtsShimPrebuilt" into nyc-dev am: 85c33f500a am: 5742010b85
am: de56b882bc

* commit 'de56b882bc1363d98af2f01034b5108d57397c1b':
  Add CtsShimPrebuilt

Change-Id: I88d028c6ac64aa5b3cc7d41263bbe44d2fd5c641
2016-05-17 00:48:18 +00:00
Amith Yamasani
de56b882bc Merge "Add CtsShimPrebuilt" into nyc-dev am: 85c33f500a
am: 5742010b85

* commit '5742010b8522cc059b3d1473e0afc378dc04dce2':
  Add CtsShimPrebuilt

Change-Id: Ic3c32ba9f99abc89680240cf45d7d4de820d6499
2016-05-17 00:41:59 +00:00
Amith Yamasani
e536d704e5 Merge "Add CtsShimPrebuilt" into nyc-dev
am: 85c33f500a

* commit '85c33f500aa2ef7c70c1644617e7439b97f22a79':
  Add CtsShimPrebuilt

Change-Id: I604118ab69b52d8965f30ef3f8e0d841a4d7a288
2016-05-17 00:33:05 +00:00
Amith Yamasani
6f7873ca6f Add CtsShimPrebuilt
It was needed for a CTS test but was accidentally
left out?

Bug: 28398205
Change-Id: I7deea60e6b11bc11d3bd8e82170fc42df7cec3c7
2016-05-16 12:43:43 -07:00
Roozbeh Pournader
e95bea903d Merge "Remove Romansh from PRODUCT_LOCALES" into nyc-dev am: 6e034af238 am: cb7f422ea2
am: 0c727a9a82

* commit '0c727a9a82d799097ef592f1825f58dbaca1e489':
  Remove Romansh from PRODUCT_LOCALES

Change-Id: I0e2e0eb3094c85b505e0860955234caa59777c02
2016-05-07 00:17:25 +00:00
Roozbeh Pournader
0c727a9a82 Merge "Remove Romansh from PRODUCT_LOCALES" into nyc-dev am: 6e034af238
am: cb7f422ea2

* commit 'cb7f422ea22ba427f3d3d4402fb4067f3187be39':
  Remove Romansh from PRODUCT_LOCALES

Change-Id: Icd2e096223fcf4027040fdf1400355b28da6c719
2016-05-07 00:12:24 +00:00
Roozbeh Pournader
1d9cfc58f1 Merge "Remove Romansh from PRODUCT_LOCALES" into nyc-dev
am: 6e034af238

* commit '6e034af238a677db70bc0b10f7f9e08bc8b8aef9':
  Remove Romansh from PRODUCT_LOCALES

Change-Id: I2c6572c55699d43cc687f7acc6c51b6f66c97a54
2016-05-07 00:07:16 +00:00
Roozbeh Pournader
6e034af238 Merge "Remove Romansh from PRODUCT_LOCALES" into nyc-dev 2016-05-06 23:51:48 +00:00
Roozbeh Pournader
1a6a5626f7 Remove Romansh from PRODUCT_LOCALES
The inclusion of Romansh (rm_CH), while it did not have localized
strings, was causing the incorrect assumption that the system
supports Romansh, causing the language fallback to work incorrectly
when Romansh was in the list of user's locales.

Hindi (hi_IN) was also included twice, and this removes the duplicate
too.

Bug: 27325465
Change-Id: I87ec06dc459137f71bb8e5e2f431f629bd51928e
2016-05-06 15:10:51 -07:00
Bjoern Johansson
e71fd3b90e Merge "Indicate that all emulator images support USB" into nyc-dev am: 513e69ec69 am: 7b3407f801
am: 97892ffe8c

* commit '97892ffe8cb5965cfcf63451403bd0fdadbe90c0':
  Indicate that all emulator images support USB

Change-Id: I98c6b6d3fda37a8e09f0bf21c7f8fa69083a44ea
2016-05-05 15:50:18 +00:00
Bjoern Johansson
7b3407f801 Merge "Indicate that all emulator images support USB" into nyc-dev
am: 513e69ec69

* commit '513e69ec69a7e5c61888668a4b16ccab6073419c':
  Indicate that all emulator images support USB

Change-Id: Ie6ee7dbd4fd5cde1ecf828440047cbf81f51aa66
2016-05-05 15:45:00 +00:00
Bjoern Johansson
6b04d94ff7 Indicate that all emulator images support USB
The Android framework assumes that if an app uses UsbManager then there
must be USB support on the device. In order to deal with this the
emulator has to indicate USB support. Previously this was true for
Google SDK phone images because USB support is part of the common API
packages that gets installed. For AOSP and some other build targets USB
support was not included. This change indicates support for USB for all
emulator system images.

BUG: 28088069

Change-Id: I880210e89e6ad3412bdc069d6c20ed54a52cff83
2016-05-04 22:40:56 +00:00
Jim Kaye
ce418b1b82 Merge "Fix Emulator CTS test for video performance" 2016-05-03 19:52:17 +00:00
Todd Kennedy
6924703ed3 Revert "Revert "Add shim app for CTS testing"" am: 98ffa937bf am: 83f39f6ed2
am: cfc7abe611

* commit 'cfc7abe6110fca86d899e27e02043ab9334dc073':
  Revert "Revert "Add shim app for CTS testing""

Change-Id: If869af11852551b319f2eaa79675e7ecf152a597
2016-05-03 19:47:11 +00:00
Todd Kennedy
cfc7abe611 Revert "Revert "Add shim app for CTS testing"" am: 98ffa937bf
am: 83f39f6ed2

* commit '83f39f6ed2ac43c2c5c884b2675d6cab82948d17':
  Revert "Revert "Add shim app for CTS testing""

Change-Id: Ib8e3e7a6b8d99f314e800a0e3ad9b6cb70bc1634
2016-05-03 19:44:51 +00:00
Todd Kennedy
d43b93e7e2 Revert "Revert "Add shim app for CTS testing""
am: 98ffa937bf

* commit '98ffa937bf6d7acc6a1964c7157c906e1a86203c':
  Revert "Revert "Add shim app for CTS testing""

Change-Id: I2eb7d0357861fb9144a9937b6bb60c14af3d6151
2016-05-03 19:42:38 +00:00
Todd Kennedy
98ffa937bf Revert "Revert "Add shim app for CTS testing""
This reverts commit 31003c48c1.

Bug: 28398205
Change-Id: Ia884957e224f46157af31814c32c5e0e1a33b7b8
2016-05-03 11:16:35 -07:00
Todd Kennedy
d6ee767cd1 Merge "Revert "Add shim app for CTS testing"" into nyc-dev am: 878775fd75 am: 0451b2f946
am: f41918a5c2

* commit 'f41918a5c2de881dcd9d3b4d351111172d36e93f':
  Revert "Add shim app for CTS testing"

Change-Id: I1d6054e59819abec5e69201f86fbab2f36d488be
2016-05-03 00:23:11 +00:00
Todd Kennedy
0451b2f946 Merge "Revert "Add shim app for CTS testing"" into nyc-dev
am: 878775fd75

* commit '878775fd750d7164bd0920b4b94b59e0edab8ed3':
  Revert "Add shim app for CTS testing"

Change-Id: Ie5df8c8ea8785b8562866522f6d13e54b5ce52d5
2016-05-03 00:08:55 +00:00
Todd Kennedy
878775fd75 Merge "Revert "Add shim app for CTS testing"" into nyc-dev 2016-05-02 23:56:37 +00:00
Todd Kennedy
31003c48c1 Revert "Add shim app for CTS testing"
Build errors when trying to dex2oat the CtsShim prebuilt even though it's marked with "hasCode=false".

This reverts commit d987a11126.

Change-Id: If47b3bcd4c727da7acd9068c02f8fb671ed0ae84
2016-05-02 23:54:08 +00:00
Todd Kennedy
1c3705ee60 Merge "Add shim app for CTS testing" into nyc-dev am: 6d0c367a64 am: 0bd176651e
am: 55ec854841

* commit '55ec85484182fa08e309edf6e543e163414ccdec':
  Add shim app for CTS testing

Change-Id: I0fa9715518ff84501e465e7727e6ed34072f4bbe
2016-05-02 23:09:44 +00:00
Todd Kennedy
55ec854841 Merge "Add shim app for CTS testing" into nyc-dev am: 6d0c367a64
am: 0bd176651e

* commit '0bd176651e89200089fed06a9b4481285c8edf5a':
  Add shim app for CTS testing

Change-Id: I5c16088ab06e6fad7f42209d2beacadce15f0af0
2016-05-02 23:04:43 +00:00
Todd Kennedy
46785aea64 Merge "Add shim app for CTS testing" into nyc-dev
am: 6d0c367a64

* commit '6d0c367a64b91cdf8dc6bc25605bff7b13f35a35':
  Add shim app for CTS testing

Change-Id: Ic6342cd60478364533514b576ccc86b6db7ab695
2016-05-02 22:59:21 +00:00
Todd Kennedy
6d0c367a64 Merge "Add shim app for CTS testing" into nyc-dev 2016-05-02 22:49:55 +00:00
Felipe Leme
1f3fe7872a Merge "Added bugreportz binary." into nyc-dev am: 386df80e85 am: b382c63a61
am: f3bab6b4fe

* commit 'f3bab6b4fe0786e0deef1b72df3faeb32c4ceb99':
  Added bugreportz binary.

Change-Id: I9469e80b1e5f57c3022faa95cd360efb0116e175
2016-05-02 20:15:01 +00:00
Felipe Leme
b382c63a61 Merge "Added bugreportz binary." into nyc-dev
am: 386df80e85

* commit '386df80e85e2098a32c41fee4b8b379991b360b8':
  Added bugreportz binary.

Change-Id: I25aa201a3a7a77771cb57f3eb3ceff435dc1cd15
2016-05-02 20:05:29 +00:00
Felipe Leme
90ab323be2 Added bugreportz binary.
BUG: 28479946
Change-Id: Ic0d1b6598867ccbbc65f3fdc0d32cac7c53128a3
2016-05-02 11:18:07 -07:00
Todd Kennedy
d987a11126 Add shim app for CTS testing
We need a shim application on the system partition that we can upgrade
during CTS tests.

Bug: 27450489
Change-Id: I32a72dc5110cedd466cdee2607965c705f7aa6d3
2016-04-29 07:31:31 -07:00
Alex Light
1097fda70b Merge "Add fake libart" into nyc-dev am: 1c04ad1 am: 6a7d150
am: f3485ce

* commit 'f3485cea6ea11e1772bb7573061db245b57f6d69':
  Add fake libart

Change-Id: If45149bae8ae3584986202c3c725a66435fdfe83
2016-04-25 22:51:01 +00:00
TreeHugger Robot
f3485cea6e Merge "Add fake libart" into nyc-dev am: 1c04ad1
am: 6a7d150

* commit '6a7d1509c5684b50cca1a1da7b2fb22c337ace5b':
  Add fake libart

Change-Id: Idc22d4168b66ec465411d27d69d6476da1104851
2016-04-25 22:14:37 +00:00
Alex Light
f82ca86328 Merge "Add fake libart" into nyc-dev
am: 1c04ad1

* commit '1c04ad1b02ea5d149eca71722e76fa14bfe3a6cc':
  Add fake libart

Change-Id: Ib90361465b9f8a79f05181a18f062d82d28754ba
2016-04-25 22:14:37 +00:00
TreeHugger Robot
1c04ad1b02 Merge "Add fake libart" into nyc-dev 2016-04-25 21:53:31 +00:00
Christopher Tate
63c11fc240 Merge "Wallpaper backup/restore is now in its own package" into nyc-dev am: 8e9431e am: 85520a6
am: cd7fdd7

* commit 'cd7fdd714e4fc7ad9052dafb8b5c3904bb80fd1a':
  Wallpaper backup/restore is now in its own package

Change-Id: I442713927ebc9c42b0d46ee993a020e88b225509
2016-04-20 22:52:20 +00:00
Christopher Tate
85520a6b2f Merge "Wallpaper backup/restore is now in its own package" into nyc-dev
am: 8e9431e

* commit '8e9431e54f23c089b3e664a82c622783ef13796c':
  Wallpaper backup/restore is now in its own package

Change-Id: I3501a452d26316da8787a4695fe2ea46ba85518c
2016-04-20 22:19:25 +00:00
Alex Light
6da74d8f1f Add fake libart
Bug: 27775991

Change-Id: I54cbdf2340dcfdd9b3973d9d10c8bd94492736fb
2016-04-19 14:31:55 -07:00
Christopher Tate
65e3b75ddc Wallpaper backup/restore is now in its own package
Bug 25453848
Bug 25727875

Change-Id: I774afad99d23f4f7ffb1675909a5a17732af3fb8
2016-04-19 13:08:21 -07:00
Dimitry Ivanov
0d0cc6fd39 Merge "Make sure platform libraries are built, regardless of webview.apk" am: da7fef6 am: b077e80 am: 6c7d7c1
am: 7ff01db

* commit '7ff01dbda466dfbc8d6386b1069aed2789792399':
  Make sure platform libraries are built, regardless of webview.apk

Change-Id: Id63296a60ed2ead92bb6d9769801edb6c807b562
2016-04-19 17:24:51 +00:00
Dimitry Ivanov
6c7d7c1f8b Merge "Make sure platform libraries are built, regardless of webview.apk" am: da7fef6
am: b077e80

* commit 'b077e80d041f74af240111f457ebd4dd168da6dd':
  Make sure platform libraries are built, regardless of webview.apk

Change-Id: Ie463aeed9f8f9ef1b12d89d571c8a23d5432b05d
2016-04-19 17:18:49 +00:00
Nikola Veljkovic
8f1ac7c9d6 Make sure platform libraries are built, regardless of webview.apk
Prebuilt WebView is missing for mips64 architecture. Allow device
to boot without it, by making sure platform support libraries are
part of the system image.

WebView APK can then be installed separately.

Change-Id: Iabbb5e6a4778b7542d24bb4f789a7be96232e50c
2016-04-19 14:25:50 +00:00
Jim Kaye
75fa188d11 Merge "Fix Emulator CTS tests for Camera, Location, Sensors, Telephony" 2016-04-18 23:49:41 +00:00
TreeHugger Robot
6084acafa8 Merge "Revert "Set WifiHAL to only log debug by default."" into nyc-dev am: b55f571
am: 211fc7a

* commit '211fc7a2c43ff80fc3bacbab0894dd01b8b0b0e3':
  Revert "Set WifiHAL to only log debug by default."

Change-Id: Icfd56ec8b8f978e55e23f3e1d9861c40b4ffcb11
2016-04-15 02:12:54 +00:00
mukesh agrawal
211fc7a2c4 Merge "Revert "Set WifiHAL to only log debug by default."" into nyc-dev
am: b55f571

* commit 'b55f57192707aab7e193798ac4d3158338ef6395':
  Revert "Set WifiHAL to only log debug by default."

Change-Id: I676918c02d43feeacdae2bf561fc28f05e3f9c9b
2016-04-15 00:42:56 +00:00
mukesh agrawal
9d14641a19 Revert "Set WifiHAL to only log debug by default."
Recent changes have brought the log volumes for
the QCA WifiHAL down to reasonable levels. As
such, we no longer need to use a custom default
log level for WifiHAL.

This reverts commit f83213a5b5.

BUG=28178513
TEST=build, check log volume after >12 hours
2016-04-14 16:06:13 -07:00
Jim Kaye
e1396bb7b5 Fix Emulator CTS test for video performance
Add measured/expected video frame-rate values for the Emulator.
These are set as wide as possible and centered around the results
from trial runs made on a Linux host.

This fixes the tests in package com.android.cts.videoperf

Change-Id: I0ca6c28011168e8efda8fd913e253eb7380badfc
2016-04-14 21:37:36 +00:00
Jim Kaye
8ad53a6f46 Fix Emulator CTS tests for Camera, Location, Sensors, Telephony
This gets all the android.app.cts.SystemFeaturesTest tests to pass.

In addition to these changes, the AVD's config.ini must indicate
an emulated front camera and no back camera.

https://code.google.com/p/android/issues/detail?id=205072

Change-Id: Ibf9103e4121f71063ac9f4ca7307b94f53963a2e
2016-04-13 15:46:44 -07:00
Michael Wright
596cd7cab6 Merge "DO NOT MERGE Remove inputflinger from the nyc build." into nyc-dev
am: 3ae0f24

* commit '3ae0f24dc2dd4b86505c6657c3caefd5c57e3ab9':
  DO NOT MERGE Remove inputflinger from the nyc build.

Change-Id: I5eaf73397b3749f0ea1b2092b5abb514fe5125eb
2016-04-13 17:06:44 +00:00
Michael Wright
3ae0f24dc2 Merge "DO NOT MERGE Remove inputflinger from the nyc build." into nyc-dev 2016-04-13 16:57:13 +00:00
Michael Wright
22adbae358 DO NOT MERGE Remove inputflinger from the nyc build.
Change-Id: Iba52bcb3f7089984333b63eb43ea9d8ad4522e55
2016-04-12 09:26:02 -04:00
Tom Cherry
6f808b261f Merge "Add ext libs to core_tiny, they\'re needed for wear PDK" into nyc-dev
am: ca0df0c

* commit 'ca0df0c249593148f4bc036cac2662b3066b7fb5':
  Add ext libs to core_tiny, they're needed for wear PDK

Change-Id: I79bd83f3a886e03e764db1c75e5cf4d2d1aa2627
2016-04-12 01:49:27 +00:00
Tom Cherry
ca0df0c249 Merge "Add ext libs to core_tiny, they're needed for wear PDK" into nyc-dev 2016-04-12 01:31:47 +00:00
Tom Cherry
1d242f18a6 Add ext libs to core_tiny, they're needed for wear PDK
Bug: 27698377
Bug: 28117608
Change-Id: I12b93fe241d8d71d61d1cdb28d95e6c824e2420d
2016-04-11 17:06:59 -07:00
Maurice Lam
285ea2188d Merge "Add be and bs to l10n builds" into nyc-dev
am: e09b2c1

* commit 'e09b2c16e32cee89d6b5ac29fe5a905b76872179':
  Add be and bs to l10n builds

Change-Id: I4dc1d353dd5a3d0ed3f4c0f9dc2192421946d87a
2016-04-11 21:54:51 +00:00
Maurice Lam
e09b2c16e3 Merge "Add be and bs to l10n builds" into nyc-dev 2016-04-11 21:35:46 +00:00
Svetoslav Ganov
07f509784c Merge "Add ext libs to AOSP - they are part of the system" into nyc-dev
am: 048faf9

* commit '048faf920cde39ccb97a0bd937362860199295b6':
  Add ext libs to AOSP - they are part of the system

Change-Id: Iddadf028161702bb7199d47165fbb189bebe22f8
2016-04-07 23:48:12 +00:00
Svetoslav Ganov
8ead371831 Add ext libs to AOSP - they are part of the system
bug:27698377

Change-Id: Ic426e08e450598c53e4dbf9c734d808b19fae705
2016-04-07 15:29:58 -07:00
Maurice Lam
cc06c5998a Add be and bs to l10n builds
Bug: 27409618
Change-Id: I244796a12d756521f8191abcacf1f15134079783
2016-04-01 12:08:05 -07:00
Philip P. Moltmann
3d25656b2e Merge "Add PrintServiceRecommendationService to the default distro" into nyc-dev
am: 8690de4

* commit '8690de4302cb231668def658a1e3b1bfe30eacda':
  Add PrintServiceRecommendationService to the default distro

Change-Id: I3b2a8bf61507ce0eb93deb736078501478765505
2016-03-31 02:10:43 +00:00
Philip P. Moltmann
8690de4302 Merge "Add PrintServiceRecommendationService to the default distro" into nyc-dev 2016-03-31 01:33:17 +00:00
Andreas Gampe
9b69d2bda7 Merge "Build: Switch eng build boot dexopt to verify-at-runtime" into nyc-dev
am: be97a41

* commit 'be97a415715824562e4ea93efb211b0d5baeb300':
  Build: Switch eng build boot dexopt to verify-at-runtime

Change-Id: I9b0f42aa72fe33fac9f8afee90820bab02b2729b
2016-03-30 23:18:12 +00:00
Andreas Gampe
8e121663e6 Build: Switch eng build boot dexopt to verify-at-runtime
To have faster turnaround.

Bug: 26794212
Change-Id: I1d7877ec8c9cfff62bf14cbd23a790ee7a0b2734
2016-03-30 12:55:53 -07:00
Philip P. Moltmann
85ec6296c1 Add PrintServiceRecommendationService to the default distro
Bug: 24533249
Change-Id: I0736b842c813c63924d026b2ab5d5e92ff92df76
2016-03-28 15:15:56 -07:00
Andreas Gampe
6cbc22cbec Build: Add first-boot dexopt settings defaults
am: b9171a3

* commit 'b9171a320680a85f4302c9cdfc2b2f54516f9c3f':
  Build: Add first-boot dexopt settings defaults
2016-03-28 03:14:52 +00:00
Andreas Gampe
b9171a3206 Build: Add first-boot dexopt settings defaults
Needed for factory-reset/first-boot/upgrade to N.

Bug: 27689078
Change-Id: I010e38c8a10445f87e95e1ff8d9daf1d051f2b06
2016-03-25 18:08:40 -07:00
Joe Onorato
978cda07ee Merge "Set WifiHAL to only log debug by default." into nyc-dev
am: 11a4a85

* commit '11a4a85b75557dd0d0ae9ef84720316036d7c8d8':
  Set WifiHAL to only log debug by default.
2016-03-26 00:45:18 +00:00
Joe Onorato
f83213a5b5 Set WifiHAL to only log debug by default.
This is not the proper way to really fix this, but it is the best thing to
do in the time period we have for N.  In the future they will be moving
more to a dumpsys style approach.

Change-Id: I98ec7928cd93a3edfb93cdbf3703132ac6658699
2016-03-25 15:36:42 -07:00
Ying Wang
77f67cd048 Merge "Support x86+arm multilib build."
am: d314805

* commit 'd314805c29fdbee3508b99c14ca63e1a8d170c3b':
  Support x86+arm multilib build.
2016-03-25 21:51:21 +00:00
Ying Wang
87538e4f8b Support x86+arm multilib build.
Support TARGET_2ND_ARCH as the binary translation arch.
See target/board/generic_x86_arm/BoardConfig.mk and
target/product/aosp_x86_arm.mk as example for the setup.

In BoardConfig, use the TARGET_2ND_ARCH/etc. variables to set up the
binary translation arch;
Set "TARGET_TRANSLATE_2ND_ARCH := true" to tell the build system it's
not a typical 64-bit multilib configuration.
In product makefile, use "PRODUCT_PACKAGES += libfoo_<2nd_arch>" to
install the TARGET_2ND_ARCH libraries. This also pulls in any dependency
libraries.
By default we don't install any TARGET_2ND_ARCH modules, unless it's
pulled in by PRODUCT_PACKAGES.

Bug: 27526885
Change-Id: I0578e9c80da0532d2fa886a8fcdb140bbc703009
(cherry-pick from commit 277e75a488)
2016-03-25 13:29:53 -07:00
Andreas Gampe
0647bcb8e5 Build: Provide default values for dexopt settings
Provide default values for system properties used by the package
manager.

Bug: 27689078
Change-Id: Iedab0c0b1da6c905658546df7992f77fd6b55da1
2016-03-23 15:04:36 -07:00
Pierre Imai
0040280747 Remove references to deleted dhcpcd
Change-Id: Ic977c3aaa72544310696b970e73c64401aafbbc8
2016-03-18 10:18:50 +09:00
Dimitry Ivanov
19946aef6a Add config file listing public native libraries
This file contains list of libraries that should be directly or
indirectly accessible to apps for the platform. Note that this
file is not device specific but rather device class specific.

Bug: http://b/27546414
Change-Id: Ica2e6c5cedac6e4af9bd78addaa512b2fa272d64
(cherry picked from commit 795132dccd)
2016-03-17 11:22:06 -07:00
Dimitry Ivanov
795132dccd Add config file listing public native libraries
This file contains list of libraries that should be directly or
indirectly accessible to apps for the platform. Note that this
file is not device specific but rather device class specific.

Bug: http://b/27546414
Change-Id: Ica2e6c5cedac6e4af9bd78addaa512b2fa272d64
2016-03-16 15:07:19 -07:00
Prathmesh Prabhu
8f8c9cbd47 emulator: Add a product packages overlay.
Emulator is a product, so add an overlay that allows us to override some
stock android resources.

BUG: 27484734
Change-Id: I1b651316a14f6d5c79651813ad13302b67507cae
2016-03-04 13:43:04 -08:00
Prathmesh Prabhu
98afd8ab2a [Emulator] Add comment about including AOSP messaging on AOSP images.
We've gone back and forth on this a few times.
Just state clearly why we're including the AOSP messaging APP here.

BUG:22097835
Change-Id: I26864ba033f0a211d038fa3526241c869d677217
2016-02-26 19:26:05 +00:00