Commit Graph

41618 Commits

Author SHA1 Message Date
Zach Riggle 6319deed41 Add support for honggfuzz to BUILD_FUZZ_TEST
Change-Id: I38f70d1a57649635be95c59187da05ba22fcf687
2017-12-27 22:08:27 +00:00
bohu f3aa0668c2 Merge "emulator: support system-as-root" am: 44e363f1e3 am: 253dfc22a6
am: 5909b07cc4  -s ours

Change-Id: Ie2c45d04d7d179f754b4a9ca92b64081d68636dc
2017-11-30 20:20:09 +00:00
bohu 5909b07cc4 Merge "emulator: support system-as-root" am: 44e363f1e3
am: 253dfc22a6

Change-Id: I9eab659873195ee7a46e8fc83556a0a5b011d746
2017-11-30 20:16:28 +00:00
bohu 253dfc22a6 Merge "emulator: support system-as-root"
am: 44e363f1e3

Change-Id: Ib1ea4ec4f388a1d28f6db2789029aa06c169c3da
2017-11-30 20:12:53 +00:00
Treehugger Robot 44e363f1e3 Merge "emulator: support system-as-root" 2017-11-30 20:07:58 +00:00
TreeHugger Robot 9eda23256e Merge "emulator: support system-as-root" 2017-11-30 20:02:42 +00:00
Jae Shin cb01a2c1c8 Merge "Include config files to VNDK snapshot" am: 2e42c54028 am: 6e11749f59
am: c9110ae56a

Change-Id: Ia7d0263b7c6986da52cb889ee52582313ba6f33d
2017-11-30 11:13:47 +00:00
Jae Shin c9110ae56a Merge "Include config files to VNDK snapshot" am: 2e42c54028
am: 6e11749f59

Change-Id: I8a00bbb9472867082f1cafa551ae1f373a88b831
2017-11-30 11:11:12 +00:00
Jae Shin 6e11749f59 Merge "Include config files to VNDK snapshot"
am: 2e42c54028

Change-Id: I8bd9c608258475747ec173eb4a3c2d91d460591a
2017-11-30 11:08:38 +00:00
Jae Shin 2e42c54028 Merge "Include config files to VNDK snapshot" 2017-11-30 11:04:19 +00:00
Jae Shin 4736dc188e Include config files to VNDK snapshot
Additionally package ld.config.txt, llndk.libraries.txt,
vndksp.libraries.txt, vndkcore.libraries.txt,
vndkprivate.libraries.txt.

Also defer packaging TARGET_2ND_ARCH build outputs.

Test: m -j vndk dist
Test: development/vndk/snapshot/build.sh
Bug: 66059995
Change-Id: I2a85dde60824126dd16fd3732ddb0af8ae06d934
2017-11-30 11:04:06 +00:00
TreeHugger Robot b4ccf714c0 Merge "Fix build error" 2017-11-30 10:24:43 +00:00
Sundong Ahn 8e7a4c413f Fix build error
Fix the build error when TARGET_BUILD_APPS is set

Bug: None
Test: make -j40 && make -j110 showcommands dist
TARGET_BUILD_APPS='TimeZoneData TimeZoneData_test1 TimeZoneData_test2'
TARGET_BUILD_VARIANT=userdebug

Change-Id: I981b0a245d7e8f2dabbd4e51db52d17aeacc6106
2017-11-30 08:33:06 +00:00
Dan Willemsen 2f86b432b0 Merge changes from topic "clang_supported" am: 30f514cc51 am: d7ac0198d9
am: f5fe7af413

Change-Id: I3b29abe75008c128d8b180f2798cef6184a382c1
2017-11-30 08:20:09 +00:00
Dan Willemsen f4505a095a Fix / suppress warnings for clang+mingw am: 25c73e9156 am: 9be8a79255
am: 215b6bddbe

Change-Id: I6822c72da477cb691b387009e6c3da40af21d12e
2017-11-30 08:19:36 +00:00
Dan Willemsen f5fe7af413 Merge changes from topic "clang_supported" am: 30f514cc51
am: d7ac0198d9

Change-Id: I80095e128b66de0ea5d295e7b4b2e707529bc74e
2017-11-30 08:15:55 +00:00
Dan Willemsen 215b6bddbe Fix / suppress warnings for clang+mingw am: 25c73e9156
am: 9be8a79255

Change-Id: I5a625aa5dcaebd9255cd9b8808ec859a9c672531
2017-11-30 08:15:30 +00:00
Dan Willemsen d7ac0198d9 Merge changes from topic "clang_supported"
am: 30f514cc51

Change-Id: Ie6327c5bdeab61452d19284761953acbba1598b7
2017-11-30 08:12:40 +00:00
Dan Willemsen 9be8a79255 Fix / suppress warnings for clang+mingw
am: 25c73e9156

Change-Id: I7f60ee6efc214605c397f91656f7aaf0a76a038d
2017-11-30 08:11:57 +00:00
Dan Willemsen 30f514cc51 Merge changes from topic "clang_supported"
* changes:
  Prepare for clang+mingw windows builds
  Fix / suppress warnings for clang+mingw
2017-11-30 08:05:58 +00:00
TreeHugger Robot 0c49bcf16a Merge "Add LOCAL_SDK_VERSION := system_$(VER)" 2017-11-30 06:52:40 +00:00
TreeHugger Robot b4e72d71ae Merge "[Android.bp] soong_config for ARC++" 2017-11-30 06:45:51 +00:00
Colin Cross 41efbd6f10 Merge "Copy soong java prebuilts to classes-pre-proguard.jar" am: b8d6ac2150 am: 2228f62d03
am: 128a35eb66

Change-Id: I43a9239a61c8492a3eb6551acd88bae6f132e26b
2017-11-30 06:38:30 +00:00
Colin Cross 128a35eb66 Merge "Copy soong java prebuilts to classes-pre-proguard.jar" am: b8d6ac2150
am: 2228f62d03

Change-Id: I400fe53a51a7af3ac1b2913868f7abfa43d838b9
2017-11-30 06:35:56 +00:00
Colin Cross 2228f62d03 Merge "Copy soong java prebuilts to classes-pre-proguard.jar"
am: b8d6ac2150

Change-Id: I514048bfcca823269c7473baf17b6b8b2dae0e8d
2017-11-30 06:33:22 +00:00
Treehugger Robot b8d6ac2150 Merge "Copy soong java prebuilts to classes-pre-proguard.jar" 2017-11-30 06:27:21 +00:00
bohu e9046cbbaa emulator: support system-as-root
BUG: 69770927

Test: build sdk_gphone_x86-userdebug, boot up
to home with Tot emulator

Test: build sdk_phone_armv7-userdebug, boot up
to home with Tot emulator

Change-Id: I39348bf35cb748c08ed68a048389bbfc2279a91c
Merged-In: I39348bf35cb748c08ed68a048389bbfc2279a91c
2017-11-29 22:08:28 -08:00
bohu d445fbedb4 emulator: support system-as-root
BUG: 69770927

Test: build sdk_gphone_x86-userdebug, boot up
to home with Tot emulator

Test: build sdk_phone_armv7-userdebug, boot up
to home with Tot emulator

Change-Id: I39348bf35cb748c08ed68a048389bbfc2279a91c
2017-11-29 21:44:46 -08:00
Dan Willemsen c01ad7b384 Prepare for clang+mingw windows builds
Use $(prefix)CLANG_SUPPORTED from Soong to control whether to use clang
for host builds or not. It's fairly general, but I only expect it to be
used to so that Windows builds can be switched between GCC and Clang
with a single switch.

Also separate native-host-cross from native-host so that it's easier to
build all possible windows modules.

Bug: 69933068
Test: m native-host-cross
Test: switch clang on and off, grep w64.*g++ out/build-aosp_arm.ninja
Change-Id: I205c5bc6739b72a539ece935381107ec1dd5bd48
2017-11-29 21:05:48 -08:00
Colin Cross e5c6b75813 Merge "Add support for app prebuilts from soong" am: 9b292d269e am: 9541ce91c2
am: ffa1cc020d

Change-Id: I1acc7b9e14bc23d30089c26d09cfb321e78551e9
2017-11-30 04:58:26 +00:00
Colin Cross ffa1cc020d Merge "Add support for app prebuilts from soong" am: 9b292d269e
am: 9541ce91c2

Change-Id: Ib161bd82513805d0372c0e8f85b4736933ce14e4
2017-11-30 04:56:19 +00:00
Dan Willemsen 25c73e9156 Fix / suppress warnings for clang+mingw
Switch attribute error to attribute unavailable, which apparently works
since it then broke the build :-/

Suppress unused parameter warnings. They aren't that useful for windows
functions that are just #ifndef WIN32. This is marked as a global cflag,
but something is overriding that with the clang+mingw changes, and it's
not actually that hard to suppress or fix where necessary.

Bug: 69933068
Test: mmma build/tools/libhost
Change-Id: I09adda4544bc9b56452b4fe182dba3d0b701dcbb
2017-11-29 20:54:33 -08:00
Colin Cross 9541ce91c2 Merge "Add support for app prebuilts from soong"
am: 9b292d269e

Change-Id: Ibbee4e2ca76659b4886ea629c6fa1d3b15ae9066
2017-11-30 04:52:43 +00:00
Colin Cross 9b292d269e Merge "Add support for app prebuilts from soong" 2017-11-30 04:49:20 +00:00
Colin Cross 6d0ca1f6cc Copy soong java prebuilts to classes-pre-proguard.jar
Some robolectric rules assume that classes-pre-proguard.jar
exists.  Soong doesn't support proguard yet, so copy classes.jar
to classes-pre-proguard.jar for now.

Bug: 69917341
Test: m checkbuild tests
Change-Id: I818363ec13c2e5e1c4ab5bd6389ea4687de953eb
2017-11-29 20:46:32 -08:00
Colin Cross e05e6df136 Add support for app prebuilts from soong
Allow soong to pass a built app to Make as a prebuilt .apk.

Bug: 69917341
Test: m checkbuild tests docs
Change-Id: I49dbe4c51c5b9f48fb82cb05b8eed7e3fe9fd4f6
2017-11-29 20:46:18 -08:00
Risan f6c45ce17b [Android.bp] soong_config for ARC++
Test: compile
Bug: 64500663

Change-Id: Id81ea4926b40e739fe16c9c71a9895556a504e9e
2017-11-30 04:19:24 +00:00
Dan Willemsen e3d0b83f76 Merge "Switch unused deprecated variables to obsolete" am: f170166521 am: f20b59e4d7
am: 142a601bd3

Change-Id: I8a6292d13c4a9b8b654830bf3ffff9cf140ea1dc
2017-11-30 02:16:53 +00:00
Dan Willemsen 142a601bd3 Merge "Switch unused deprecated variables to obsolete" am: f170166521
am: f20b59e4d7

Change-Id: I978c3b5aeb7329e35220648b3f24101e7cf1568b
2017-11-30 02:13:37 +00:00
Dan Willemsen f20b59e4d7 Merge "Switch unused deprecated variables to obsolete"
am: f170166521

Change-Id: Ibe1d991ea61eb953fa161d0e2a04faac1c6309f4
2017-11-30 02:10:49 +00:00
Dan Willemsen f170166521 Merge "Switch unused deprecated variables to obsolete" 2017-11-30 01:49:11 +00:00
Sundong Ahn ef212cbe8d Add LOCAL_SDK_VERSION := system_$(VER)
The system_$(VER) can be set in LOCAL_SDK_VERSION, and the apk will use
android_system.jar at build time.
If LOCAL_SDK_VERSION is not defined and this module is installed in
vendor.img, LOCAL_SDK_VERSION is set to system_current.

Bug: 67724799
Test: 1. build && run on taimen
2. LOCAL_SDK_VERSION:=system_27 in ims.apk && build ims.apk && check
the vsdk_v27_intermediates.

Change-Id: I5b11c78b8fcd4a2f2a5e3b141527cd34dbe80018
2017-11-30 10:04:09 +09:00
Jeff Gaston 4eeae43590 Merge "Export PRODUCT_SOONG_NAMESPACES to Soong" am: 9ddf8ea3a5 am: 4db75cfb63
am: 6ec6943683

Change-Id: Idd0824d4e01c6add0fe9083407f3531c5fba7213
2017-11-30 00:38:49 +00:00
Jeff Gaston 6ec6943683 Merge "Export PRODUCT_SOONG_NAMESPACES to Soong" am: 9ddf8ea3a5
am: 4db75cfb63

Change-Id: If3371fb160aea129e4a3c637389f231cc9fffcdc
2017-11-30 00:20:38 +00:00
Jeff Gaston 4db75cfb63 Merge "Export PRODUCT_SOONG_NAMESPACES to Soong"
am: 9ddf8ea3a5

Change-Id: Ia3fe844259d7808477e286b68edbf51e29631e7d
2017-11-30 00:15:32 +00:00
Treehugger Robot 9ddf8ea3a5 Merge "Export PRODUCT_SOONG_NAMESPACES to Soong" 2017-11-29 23:54:29 +00:00
Tianjie Xu 17867754ef Merge "Improve the comment in AddSplitTransfers" am: cca4a4c993 am: 4b57c28908
am: 65bee4ee78

Change-Id: Id74b344092f70d1da29ac3a5c33e3bba75742c5f
2017-11-29 22:07:06 +00:00
Tianjie Xu 65bee4ee78 Merge "Improve the comment in AddSplitTransfers" am: cca4a4c993
am: 4b57c28908

Change-Id: I7108dd09f0f3f48c84135827cf9a6e190d63d034
2017-11-29 22:01:58 +00:00
Tianjie Xu 4b57c28908 Merge "Improve the comment in AddSplitTransfers"
am: cca4a4c993

Change-Id: I853cd62997a964b91324d079e6940926c889ba6d
2017-11-29 21:57:52 +00:00
Tianjie Xu cca4a4c993 Merge "Improve the comment in AddSplitTransfers" 2017-11-29 21:48:55 +00:00