Paul Duffin
74f8ee05de
Merge "Replace core-junit with legacy-test"
...
am: 32cc1f80e5
Change-Id: Id425eff2aaafdf8ad63bc66ef2d28f71d32d6e8b
2016-12-01 10:42:16 +00:00
Rakesh Iyer
1492f7a106
Merge "Updated static_java_library.mk to support proguard options."
2016-11-30 23:04:17 +00: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
Dan Willemsen
2c412e9c92
Prohibit host modules from using LOCAL_COPY_HEADERS am: 6e51ef61a7
am: dc556b4bc0
am: 6e0c0da5dc
...
am: 7dd10c1085
Change-Id: I9d7b9721ae471c5f2a57b2ff49006b701fdfb49b
2016-11-29 20:59:13 +00:00
Dan Willemsen
a45af9e63c
Add basic VNDK support in Make am: bab0fa6928
am: 323efd3035
am: 2e300cdb70
...
am: f987fa38a2
Change-Id: I4e43bb2127e646532d67a9d7350b01c84f51734c
2016-11-29 20:59:06 +00:00
Dan Willemsen
be6152d51a
Remove GLOBAL_LD_DIRS am: e5836c4bb0
am: 28cf7d49ab
am: 4d20d14143
...
am: 0351f5c988
Change-Id: I5a9bb51b92e02c8811b68bf043346ed6e72c5a1b
2016-11-29 20:58:58 +00:00
Dan Willemsen
7dd10c1085
Prohibit host modules from using LOCAL_COPY_HEADERS am: 6e51ef61a7
am: dc556b4bc0
...
am: 6e0c0da5dc
Change-Id: I31dc4a8648a8183f553b780d14c40114358a8087
2016-11-29 20:53:41 +00:00
Dan Willemsen
f987fa38a2
Add basic VNDK support in Make am: bab0fa6928
am: 323efd3035
...
am: 2e300cdb70
Change-Id: Ifac610b8456a4d3093a350d9d5dd11d07f4ec776
2016-11-29 20:53:34 +00:00
Dan Willemsen
0351f5c988
Remove GLOBAL_LD_DIRS am: e5836c4bb0
am: 28cf7d49ab
...
am: 4d20d14143
Change-Id: Idbe7af62a70df03b6070f870646107b9c1c4636c
2016-11-29 20:53:27 +00:00
Dan Willemsen
6e0c0da5dc
Prohibit host modules from using LOCAL_COPY_HEADERS am: 6e51ef61a7
...
am: dc556b4bc0
Change-Id: I332c1128472baef57367bbf7be25ed0338a8f4d2
2016-11-29 20:47:40 +00:00
Dan Willemsen
2e300cdb70
Add basic VNDK support in Make am: bab0fa6928
...
am: 323efd3035
Change-Id: I6a3f89a810782b965152a415947da26b930fc408
2016-11-29 20:47:33 +00:00
Dan Willemsen
4d20d14143
Remove GLOBAL_LD_DIRS am: e5836c4bb0
...
am: 28cf7d49ab
Change-Id: I35109a1e1ec6fb546da0e4cf439e670d4f8c8cd0
2016-11-29 20:47:27 +00:00
Dan Willemsen
dc556b4bc0
Prohibit host modules from using LOCAL_COPY_HEADERS
...
am: 6e51ef61a7
Change-Id: Id7c80e4dba5a505a04ce47d459c0a525debc4d53
2016-11-29 20:42:37 +00:00
Dan Willemsen
323efd3035
Add basic VNDK support in Make
...
am: bab0fa6928
Change-Id: Ie2bc9062891b2f8000b1db471b27f58c74190e92
2016-11-29 20:42:32 +00:00
Dan Willemsen
28cf7d49ab
Remove GLOBAL_LD_DIRS
...
am: e5836c4bb0
Change-Id: I6683ed19bff601075e82065c5c1dc783d62249b4
2016-11-29 20:42:26 +00:00
Colin Cross
fe10963496
Fix warning with AAPT2 and LOCAL_STATIC_ANDROID_LIBRARIES
...
Building with LOCAL_STATIC_ANDROID_LIBARIES and LOCAL_USE_APPT2
causes a warning:
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
Only call find-subdir-assets if my_res_dir is not empty.
Also improve the warning message to make it easier to find the module
that caused it.
Test: m -j
Change-Id: I9a71162c7e2ed82f64d6844baca256968ac77317
2016-11-29 11:12:56 -08:00
Adam Seaton
63c8e1ea9d
Updating Security String to 2017-01-05 on nyc-dev am: 190129bc61
am: b9085822a5
am: 091dea5c83
...
am: 223b79e356
Change-Id: I2348ef3b34370e4bbc5634a17565cfc2d54b0217
2016-11-28 22:17:27 +00:00
Adam Seaton
0d0a1221d0
Updating Security String to 2017-01-01 on nyc-dev am: 202380f93e
am: 6108f21d36
am: 6a954bbdbc
...
am: 2e5e286112
Change-Id: I25ce54c3b60632005f4c5d6a76241f9a996d9961
2016-11-28 22:17:21 +00:00
Dan Willemsen
6e51ef61a7
Prohibit host modules from using LOCAL_COPY_HEADERS
...
There are no users left, so remove all of this.
Test: lunch aosp_arm-eng; m -j native
Test: build/tools/kati_all_products.sh on aosp and internal master
Change-Id: I32f5c8b470a43dd203d7e20c192167630e4e6888
2016-11-28 13:46:17 -08:00
Dan Willemsen
bab0fa6928
Add basic VNDK support in Make
...
Add BOARD_VNDK_VERSION and LOCAL_USE_VNDK to specify the version of the
VNDK that will be used globally, and whether to use the VNDK on a module
basis.
If the board is using the VNDK:
* LOCAL_COPY_HEADERS may only be used by modules defining LOCAL_USE_VNDK
* LOCAL_USE_VNDK modules will compile against the NDK headers and stub
libraries, but continue to use the platform libc++.
* LOCAL_USE_VNDK modules will not have the global includes like
system/core/include, but it will use device-specific kernel headers.
This change does not attempt to enforce any linking constraints, that
will come in a later patch.
Test: out/build-aosp_arm.ninja is identical before/after
Change-Id: Icce65d4974f085093d500b5b2516983788fe2905
2016-11-28 13:46:17 -08:00
Dan Willemsen
e5836c4bb0
Remove GLOBAL_LD_DIRS
...
The last user of this was the NDK, which has been using full paths in
binary.mk. So remove it.
Test: lunch aosp_arm-eng; m -j native
Change-Id: Ida2523a2d19131ee3ef005edb3e5bcf830710b11
2016-11-28 13:46:17 -08:00
Tao Bao
cc6294669b
Makefile: Pack verity_verifier into otatools.zip. am: 7f02f3413b
am: 3b35352e1b
am: 24ed10c0cb
...
am: 34c5e69b27
Change-Id: I5a5193e1be510b5f89b40672400d1118d6f9dc07
2016-11-28 18:26:14 +00:00
Tao Bao
34c5e69b27
Makefile: Pack verity_verifier into otatools.zip. am: 7f02f3413b
am: 3b35352e1b
...
am: 24ed10c0cb
Change-Id: Id58169022f211e52da196deecc8736f4f2d7945c
2016-11-28 18:22:14 +00:00
Tao Bao
24ed10c0cb
Makefile: Pack verity_verifier into otatools.zip. am: 7f02f3413b
...
am: 3b35352e1b
Change-Id: Ia25e3e004abce18bbd05001b783a2eeda1717e20
2016-11-28 18:17:42 +00:00
Tao Bao
3b35352e1b
Makefile: Pack verity_verifier into otatools.zip.
...
am: 7f02f3413b
Change-Id: Ib9c73dd16016b582dbaf2c40ebfc9b20c1adabe3
2016-11-28 18:13:43 +00:00
Tao Bao
31543713fc
Merge "Makefile: Pack verity_verifier into otatools.zip."
2016-11-28 18:04:04 +00:00
Ian Pedowitz
85ad682924
resolve merge conflicts of 6ff975b
to master
...
Test: None (comment only change)
Change-Id: Ib1d948eb7bf9a9638d1989da82a8a3c5c885b5c4
2016-11-23 17:22:06 -08:00
Ian Pedowitz
6ff975bc3c
Adding in some documentation to ensure files are updated as needed
...
am: fc0189fec2
Change-Id: I40d09f7a98f7b9fbe30f2b15c1e65dc6662e0352
2016-11-24 01:13:14 +00:00
Ian Pedowitz
fc0189fec2
Adding in some documentation to ensure files are updated as needed
...
Also pulls forward the comments added in 9a3d92f719
to nyc-mr2-dev
Bug: 33090697
Bug: 32608129
Test: None (comment only change)
Change-Id: Ic23d099767ad4c711bf2d3586cdefd626dec1ce0
2016-11-23 14:55:20 -08:00
Tao Bao
7f02f3413b
Makefile: Pack verity_verifier into otatools.zip.
...
verity_verifier is needed when verifying verity metadata.
Bug: 32173582
Test: `m otatools-package`
Change-Id: I63fdeb75cdca10ea38c1df978d64701acdd4c1db
2016-11-22 15:36:57 -08:00
Stuart Scott
270faa62e1
Remove tradefed prebuilt dependancy
...
Test: make cts
Change-Id: I6d75e9e8ca0f4327c0e6e1203d9009359d3819b8
2016-11-22 15:12:35 -08:00
Adrien Schildknecht
9a072cc0b0
Add support for creating ext4 images with mke2fs
...
We are investigating replacing make_ext4fs with the upstream tool mke2fs.
To mitigate the trouble that may arise if the new tool behave differently
compared to the old one, there will be a transition period.
Devices that want to use the new way of creating ext4 images can set the
variable "TARGET_USES_MKE2FS" to true in their BoardConfig.mk
By default, the build system will choose the old tool 'make_ext4fs'.
Test: m otapackage with TARGET_USES_MKE2FS={,false,true}
Change-Id: I282bcb9efe335a86c53986283090ca947d65c7f8
2016-11-18 17:06:29 -08:00
Dan Albert
4bf74cdcb2
Merge "Support LOCAL_SDK_VERSION := current
for NDK." am: c7d2fe614e
am: 6cac9ba834
am: 1cb992bc8e
...
am: a7019e2493
Change-Id: I4573c205d92f659d4a72a64fe87f957605a57f70
2016-11-18 19:20:08 +00:00
Dan Albert
a7019e2493
Merge "Support LOCAL_SDK_VERSION := current
for NDK." am: c7d2fe614e
am: 6cac9ba834
...
am: 1cb992bc8e
Change-Id: If6643f5e842e50482d3ba5d34d3aa43f24d982f5
2016-11-18 19:16:14 +00:00
Dan Albert
1cb992bc8e
Merge "Support LOCAL_SDK_VERSION := current
for NDK." am: c7d2fe614e
...
am: 6cac9ba834
Change-Id: If64f88bee6162adada642ddedcf84747443068cc
2016-11-18 19:12:37 +00:00
Dan Albert
6cac9ba834
Merge "Support LOCAL_SDK_VERSION := current
for NDK."
...
am: c7d2fe614e
Change-Id: Ibf9a4ffa74f5d05f68bd34db908fe4e5a67fe173
2016-11-18 19:09:36 +00:00
Treehugger Robot
c7d2fe614e
Merge "Support LOCAL_SDK_VERSION := current
for NDK."
2016-11-18 19:04:40 +00:00
Adam Seaton
cea04f3feb
Updating Security String to 2017-01-05 on nyc-dev am: 190129bc61
am: b9085822a5
am: 091dea5c83
am: 223b79e356
am: 3b6ceb6dc1
...
am: df350bdb66
Change-Id: I875fa00f0b6359c390bec953dd92703a4c7310f3
2016-11-17 00:30:03 +00:00
Adam Seaton
6eb7ad5e10
Updating Security String to 2017-01-01 on nyc-dev am: 202380f93e
am: 6108f21d36
am: 6a954bbdbc
am: 2e5e286112
am: 7a83d3131b
...
am: 3e3c6e34ae
Change-Id: I59b7bf97a357831395c0810c467c35c9eb4da143
2016-11-17 00:29:55 +00:00
Adam Seaton
df350bdb66
Updating Security String to 2017-01-05 on nyc-dev am: 190129bc61
am: b9085822a5
am: 091dea5c83
am: 223b79e356
...
am: 3b6ceb6dc1
Change-Id: I6c138ff2335abc94fa5b39a7f37967aa757171e1
2016-11-17 00:22:52 +00:00
Adam Seaton
3e3c6e34ae
Updating Security String to 2017-01-01 on nyc-dev am: 202380f93e
am: 6108f21d36
am: 6a954bbdbc
am: 2e5e286112
...
am: 7a83d3131b
Change-Id: Idd390446f8a0c83b0dbbe9e89c0a3cc171c942a5
2016-11-17 00:22:47 +00:00
Adam Seaton
3b6ceb6dc1
Updating Security String to 2017-01-05 on nyc-dev am: 190129bc61
am: b9085822a5
am: 091dea5c83
...
am: 223b79e356
Change-Id: Ib8479d61177d014774b704d9cb416df303d1f766
2016-11-17 00:15:11 +00:00
Adam Seaton
7a83d3131b
Updating Security String to 2017-01-01 on nyc-dev am: 202380f93e
am: 6108f21d36
am: 6a954bbdbc
...
am: 2e5e286112
Change-Id: I79c96fb8f07692e546ec2004e5d034f7207b9112
2016-11-17 00:15:06 +00:00
Adam Seaton
223b79e356
Updating Security String to 2017-01-05 on nyc-dev am: 190129bc61
am: b9085822a5
...
am: 091dea5c83
Change-Id: I02770ce32407d10f7de4e9ba4aa37458c77b5080
2016-11-17 00:08:11 +00:00
Adam Seaton
2e5e286112
Updating Security String to 2017-01-01 on nyc-dev am: 202380f93e
am: 6108f21d36
...
am: 6a954bbdbc
Change-Id: I3bc91aeb5674d2030634d88c960a2d84f4a84059
2016-11-17 00:08:06 +00:00
Adam Seaton
091dea5c83
Updating Security String to 2017-01-05 on nyc-dev am: 190129bc61
...
am: b9085822a5
Change-Id: I8230fa0c0c13b89274bab56a04b183e4c8b0ebe7
2016-11-17 00:00:40 +00:00
Adam Seaton
6a954bbdbc
Updating Security String to 2017-01-01 on nyc-dev am: 202380f93e
...
am: 6108f21d36
Change-Id: Ibac521fa4d9e04c15e8178d9844c970257c11f58
2016-11-17 00:00:35 +00:00
Adam Seaton
b9085822a5
Updating Security String to 2017-01-05 on nyc-dev
...
am: 190129bc61
Change-Id: I806b3dfebb6dc08059313b979a435684341a759c
2016-11-16 23:53:39 +00:00
Adam Seaton
6108f21d36
Updating Security String to 2017-01-01 on nyc-dev
...
am: 202380f93e
Change-Id: Ib7310ca722b459e385478393c725391907f191f6
2016-11-16 23:53:34 +00:00
Jason Tholstrup
37926dedfd
Updated static_java_library.mk to support proguard options.
...
For reference we are trying to build an AAR and want to filter out anything private and anything marked @hide.
Test: built dist and verified package contents.
Change-Id: I2b9847501d677f56d3918ac0694e6e1f6cda32c8
2016-11-16 13:57:37 -08:00