Commit Graph

34022 Commits

Author SHA1 Message Date
Tao Bao 6cd54739a4 Remove the backwards compatibility support for misc_info.txt.
We introduced META/misc_info.txt to hold the misc info since Gingerbread
(commit 37974731fc). Remove the backwards
compatibility support for building pre-G TF zips.

Test: `m dist` works.
Change-Id: Ibff7aaf69cc7e460634c049d11a004f7196f8f73
2017-02-27 17:00:13 -08:00
Alex Klyubin b5846d8453 Merge "Make secilc available" am: bbdd0e8745
am: 22bcc5db9d

Change-Id: I99dc65221725b1ebbb2cfc008645dd88109f9034
2017-02-27 23:25:46 +00:00
Alex Klyubin 22bcc5db9d Merge "Make secilc available"
am: bbdd0e8745

Change-Id: I6ce67f392ab6523f2ac96e4f32e37a93e9272095
2017-02-27 23:23:57 +00:00
Treehugger Robot bbdd0e8745 Merge "Make secilc available" 2017-02-27 23:20:59 +00:00
Philip P. Moltmann fa064b30ef Ship BuiltInPrintService in default repo
Bug: 31992514
Test: Built
Change-Id: I074a14ea9141866dffe9dfa128f18927230314c7
2017-02-27 14:55:35 -08:00
Alex Klyubin 46dd574918 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
2017-02-27 13:28:42 -08:00
Ryan Campbell b55ff74713 Support path exclusion for native coverage.
Specify list of paths to exclude from coverage instrumentation.

Test: make NATIVE_COVERAGE=true COVERAGE_PATHS=hardware/interfaces
COVERAGE_EXCLUDE_PATHS=hardware/interfaces/graphics
Bug: 35769817

Change-Id: I3747fdddb381101b9ebf51909b9686e820148aad
2017-02-27 09:09:16 -08:00
Tao Bao 4df32cb42a Make the packaging of VBOOT_SIGNER tools conditional. am: 5e04c38bbd am: 36846f0b53 am: 9084561e77 am: aaadc6dddf
am: 00fe184be3

Change-Id: I4363ed76a8a65892f0ca91af1aea43effac17a9b
2017-02-27 00:58:49 +00:00
Tao Bao ab8422e34a Revert "Revert "releasetools: Allow using futility-host to sign old TF.zip."" am: 77620b5a45 am: 9eea2cde67 am: 8fa3351890 am: dce7c28f7c
am: 869793b198

Change-Id: I9e060501f29dd96c6d1bd4d004a09db2c643e7f7
2017-02-27 00:58:41 +00:00
Tao Bao 22bc9fddd2 Revert "Revert "Build FUTILITY tool from futility-host."" am: 69ad150dd3 am: 56e0166eb8 am: 98eb433d99 am: e5609912f0
am: c0f5628788

Change-Id: If9ddc04ca702facd86a49cd994fb98aebbde9a7b
2017-02-27 00:58:34 +00:00
Tao Bao 00fe184be3 Make the packaging of VBOOT_SIGNER tools conditional. am: 5e04c38bbd am: 36846f0b53 am: 9084561e77
am: aaadc6dddf

Change-Id: I3ab3a1bb9a79f863df47ab983f8b78464e5db824
2017-02-27 00:54:46 +00:00
Tao Bao 869793b198 Revert "Revert "releasetools: Allow using futility-host to sign old TF.zip."" am: 77620b5a45 am: 9eea2cde67 am: 8fa3351890
am: dce7c28f7c

Change-Id: I502e7ac469acbfb6802c7fb91e37ec6d716d4147
2017-02-27 00:54:40 +00:00
Tao Bao c0f5628788 Revert "Revert "Build FUTILITY tool from futility-host."" am: 69ad150dd3 am: 56e0166eb8 am: 98eb433d99
am: e5609912f0

Change-Id: Ib84b7a4d646c3623f35be52c188fd72ef26c0e8c
2017-02-27 00:54:33 +00:00
Tao Bao aaadc6dddf Make the packaging of VBOOT_SIGNER tools conditional. am: 5e04c38bbd am: 36846f0b53
am: 9084561e77

Change-Id: Ic69e7510478741af9c8d9c7de89d038ce854eb88
2017-02-27 00:51:44 +00:00
Tao Bao dce7c28f7c Revert "Revert "releasetools: Allow using futility-host to sign old TF.zip."" am: 77620b5a45 am: 9eea2cde67
am: 8fa3351890

Change-Id: I8b37357d63c00627713ae7597157d8d2aa90fcb3
2017-02-27 00:51:38 +00:00
Tao Bao e5609912f0 Revert "Revert "Build FUTILITY tool from futility-host."" am: 69ad150dd3 am: 56e0166eb8
am: 98eb433d99

Change-Id: I46ba148c7fbc07ab54d156c6f89397190f740203
2017-02-27 00:51:32 +00:00
Tao Bao 9084561e77 Make the packaging of VBOOT_SIGNER tools conditional. am: 5e04c38bbd
am: 36846f0b53

Change-Id: I94e95a75c212ca062ffd6ff76e45f72f0a1ade9c
2017-02-27 00:48:14 +00:00
Tao Bao 8fa3351890 Revert "Revert "releasetools: Allow using futility-host to sign old TF.zip."" am: 77620b5a45
am: 9eea2cde67

Change-Id: Ib5c77170d06bfe4f2289d2565e9e56b8b3c0b080
2017-02-27 00:48:09 +00:00
Tao Bao 98eb433d99 Revert "Revert "Build FUTILITY tool from futility-host."" am: 69ad150dd3
am: 56e0166eb8

Change-Id: If27ca67f70d7d4f9d50a9abd8687fc2734a2c882
2017-02-27 00:48:03 +00:00
Tao Bao 36846f0b53 Make the packaging of VBOOT_SIGNER tools conditional.
am: 5e04c38bbd

Change-Id: Ia22cfef3581e1ea5a2479fb01fb9e5ef000f5220
2017-02-27 00:44:43 +00:00
Tao Bao 9eea2cde67 Revert "Revert "releasetools: Allow using futility-host to sign old TF.zip.""
am: 77620b5a45

Change-Id: Id9071f867b430c74231003be3b40b43aa4f72141
2017-02-27 00:44:38 +00:00
Tao Bao 56e0166eb8 Revert "Revert "Build FUTILITY tool from futility-host.""
am: 69ad150dd3

Change-Id: I380512827cde6d522ea2994cecf8045f66d242b9
2017-02-27 00:44:32 +00:00
Tao Bao 9def0e5609 Merge "releasetools: Fix an equality check bug when asserting stash size." am: 2af09af86b
am: db5463d8dd

Change-Id: I198b9be0d250cabb25c0ea9bae11b47f29856873
2017-02-26 21:39:23 +00:00
Tao Bao db5463d8dd Merge "releasetools: Fix an equality check bug when asserting stash size."
am: 2af09af86b

Change-Id: I8b0293834845d0db752805496717f3117ce19f0d
2017-02-26 21:35:52 +00:00
Treehugger Robot 2af09af86b Merge "releasetools: Fix an equality check bug when asserting stash size." 2017-02-26 21:31:24 +00:00
Tao Bao e8c68a03c8 releasetools: Fix an equality check bug when asserting stash size.
Otherwise the comparison is inconsistent between ReviseStashSize() and
WriteTransfers().

Bug: 35775675
Test: Successfully generate a previously failed incremental.
Change-Id: I554a51a210bf322cb5c79e28cf85607a417b094a
2017-02-26 10:58:22 -08:00
Tao Bao 583235d048 Makefile: Add the missing dependency on FUTILITY. am: 1c4c8c4532 am: b9c4a17cf6 am: 6ea25dfd92 am: 84ec323c9b
am: 0873d8c71a

Change-Id: I38cbca5f7f31c7cbdf448e41c91d223d42abfa92
2017-02-26 18:57:43 +00:00
Tao Bao 0873d8c71a Makefile: Add the missing dependency on FUTILITY. am: 1c4c8c4532 am: b9c4a17cf6 am: 6ea25dfd92
am: 84ec323c9b

Change-Id: I0aeb6692a0efdea595939106e65ada0d93f425a7
2017-02-26 18:54:42 +00:00
Tao Bao 84ec323c9b Makefile: Add the missing dependency on FUTILITY. am: 1c4c8c4532 am: b9c4a17cf6
am: 6ea25dfd92

Change-Id: I97b524989ab24fae5ecf97c13c58e338062ce936
2017-02-26 18:51:10 +00:00
Tao Bao 6ea25dfd92 Makefile: Add the missing dependency on FUTILITY. am: 1c4c8c4532
am: b9c4a17cf6

Change-Id: I040d079e7d63c621cd18cb738fe1724b81274a26
2017-02-26 18:47:41 +00:00
Tao Bao b9c4a17cf6 Makefile: Add the missing dependency on FUTILITY.
am: 1c4c8c4532

Change-Id: I91adb6798764a78cba2e21072aea29dee532f157
2017-02-26 18:44:09 +00:00
Tao Bao 5e04c38bbd Make the packaging of VBOOT_SIGNER tools conditional.
Otherwise it may fail the targets that don't have
external/vboot_reference in the manifest.

Bug: 35467608
Test: lunch aosp_dragon-userdebug; m otatools-package
Test: lunch aosp_bullhead-userdebug; m otatools-package
Change-Id: I35700a4d7d0723992badcfb4a03be85d07a4b9a9
(cherry picked from commit d2aed4309a)
2017-02-25 09:23:43 -08:00
Tao Bao 77620b5a45 Revert "Revert "releasetools: Allow using futility-host to sign old TF.zip.""
This reverts commit d6145b6a16.

The cause of the earlier breakage has been identified and fixed by
commit 4b577413ff.

Bug: 35467608
Test: lunch ryu-userdebug; m dist otatools-package
(cherry picked from commit 4f30f7cfa1)
2017-02-25 08:38:51 -08:00
Tao Bao 69ad150dd3 Revert "Revert "Build FUTILITY tool from futility-host.""
This reverts commit b9186f2b52.

The cause of the earlier breakage has been identified and fixed by
commit 4b577413ff.

Bug: 35467608
Test: lunch ryu-userdebug; m otatools-package
Change-Id: I0ca329a3844b7d5d74443f7495b363e0f1c1c391
(cherry picked from commit 9b524ef60d)
2017-02-25 08:38:30 -08:00
Tao Bao 1c4c8c4532 Makefile: Add the missing dependency on FUTILITY.
Bug: 35467608
Test: lunch aosp_dragon-userdebug; m dist
Change-Id: If3824ac22926f3c3cc09d5b82cb0f6da4132f937
(cherry picked from commit 4b577413ff)
2017-02-25 08:32:48 -08:00
Colin Cross a23d93bc8f Merge "Port java.mk desugar changes to host_dalvik_java_library.mk" am: 12e17ca46c
am: d730a19870

Change-Id: Idc7f2b393b0d181e8aae3a15a9c376bf0189823a
2017-02-25 01:43:49 +00:00
Colin Cross d730a19870 Merge "Port java.mk desugar changes to host_dalvik_java_library.mk"
am: 12e17ca46c

Change-Id: I31bec1f575b0fcf9d4875f381a1f982abc2d9d7b
2017-02-25 01:40:50 +00:00
Treehugger Robot 12e17ca46c Merge "Port java.mk desugar changes to host_dalvik_java_library.mk" 2017-02-25 01:34:31 +00:00
Chih-Hung Hsieh edef957aeb Merge "Add a script to check OWNERS file syntax." am: d84721a2cc
am: a5b0fec8b6

Change-Id: I9cb8eb3737daa56621adcf237bcbb43b354497ef
2017-02-25 01:09:09 +00:00
Chih-Hung Hsieh a5b0fec8b6 Merge "Add a script to check OWNERS file syntax."
am: d84721a2cc

Change-Id: I804d5a19873392d2069bd4662110f10386a8d431
2017-02-25 01:06:38 +00:00
Treehugger Robot d84721a2cc Merge "Add a script to check OWNERS file syntax." 2017-02-25 01:00:18 +00:00
Dan Willemsen 1e4fb7f161 Improve module tags warnings
Stop blaming base_rules.mk, put the module makefile at the beginning
of the line. That way scripts like warn.py can parse this better.

Test: multiproduct_kati, grep logs
Change-Id: I5e6844097b44e47b8126159c1760b7524134310d
2017-02-24 23:52:22 +00:00
Colin Cross 8f2f7b9fab Port java.mk desugar changes to host_dalvik_java_library.mk
host_dalvik_java_library.mk shares less of the implementation
with the device side than I thought, port the desugar changes
from java.mk.

Test: m -j ANDROID_FORCE_JACK_ENABLED=disabled core-oj-hostdex
Change-Id: I5e09673c5eae6bf95d63540e7b626c67da87e9f1
2017-02-24 23:51:12 +00:00
Dan Willemsen e19ca033c6 Improve warnings for package-modules.mk
Include the calling makefile and package name instead of just a warning
pointing to package-modules.mk

Test: multiproduct_kati, grep logs
Change-Id: I4fa35540b9695b44eea6c23463e137ec37d1d2c9
2017-02-24 15:49:50 -08:00
Dan Willemsen 594c3fc3d7 Fix all_named_products, remove kati_all_products
all_named_products was giving the file path instead of product name for
the name:path format of PRODUCT_MAKEFILES.

kati_all_products has been replaced with multiproduct_kati

Test: get_build_var all_named_products
Test: multiproduct_kati
Change-Id: I24015ef0778ac7cd45201aa55c1737b0553f09fe
2017-02-24 15:49:46 -08:00
Chih-Hung Hsieh adaed14ff3 Add a script to check OWNERS file syntax.
* -v option to print found files and email addresses.
* -c option to check found email addresses.

Bug: 33166666
Test: ./checkowners.py -v -c `find . -name OWNERS`
Change-Id: I32f23f19e904055e421ddec713536c8a5c970af4
2017-02-24 15:28:29 -08:00
Josh Gao f1ed0fb048 Merge "Statically link libwinpthread into windows binaries." am: 61d68b6152
am: aa19e7a2bb

Change-Id: I1f6ae14785d66e621ec8c07cc312655713e58436
2017-02-24 21:11:25 +00:00
Josh Gao aa19e7a2bb Merge "Statically link libwinpthread into windows binaries."
am: 61d68b6152

Change-Id: I616c7ddc16239086006f0d9a99fd0742ea0cd780
2017-02-24 21:08:55 +00:00
Josh Gao 61d68b6152 Merge "Statically link libwinpthread into windows binaries." 2017-02-24 21:02:25 +00:00
Dan Willemsen d2445ea0b2 Merge "Add progress indicator to Android.mk includes" am: 353a659a31
am: 100edc4a4c

Change-Id: I15a726888d1487652e321c24b2c0d4e8ba86107b
2017-02-24 17:59:12 +00:00