Commit Graph

30496 Commits

Author SHA1 Message Date
Adam Seaton f45494279a Update comments around PLATFORM_SECURITY_LEVEL
Bug: 29881091
Change-Id: Ib30aac55540513e43af147914f4470a78f368ef6
2016-08-25 15:24:56 -07:00
Colin Cross 76c4533899 Export TARGET_PREFER_32_BIT_EXECUTABLES to soong
Change-Id: I1427d88c7539c5ed0c4c238bad4a28f73d29ef0f
2016-08-25 14:49:17 -07:00
Colin Cross 7d26f58c09 Merge "Install symlinks when using shortcut phony targets" am: 6f1cf129f2
am: f9ed0fffe4

Change-Id: Idfc6453e8581b58fbc584f2a7c5d0fd8b605b805
2016-08-25 20:49:45 +00:00
Colin Cross f9ed0fffe4 Merge "Install symlinks when using shortcut phony targets"
am: 6f1cf129f2

Change-Id: I73386358b3b74ed71f0e3640eb06b74eb923fb5a
2016-08-25 20:47:19 +00:00
Colin Cross 6f1cf129f2 Merge "Install symlinks when using shortcut phony targets" 2016-08-25 20:39:31 +00:00
Chih-hung Hsieh 920f36ad97 Merge "Suppress clang-tidy checks in frameworks/compile/mclinker." am: a9ee94f441
am: 5c2ca39c58

Change-Id: I99de763757298270f6ce4cc124cc6ead840ace02
2016-08-25 02:36:57 +00:00
Chih-hung Hsieh 5c2ca39c58 Merge "Suppress clang-tidy checks in frameworks/compile/mclinker."
am: a9ee94f441

Change-Id: I9b3d7949d58fe6f6c80b7717c61e8efe8b5bc706
2016-08-25 02:33:59 +00:00
Chih-hung Hsieh a9ee94f441 Merge "Suppress clang-tidy checks in frameworks/compile/mclinker." 2016-08-25 02:24:32 +00:00
Colin Cross 6d34b61bd3 Install symlinks when using shortcut phony targets
Make symlinks an order-only dependency of the module name phony target
so that they get installed with make module or make MODULES-IN-path.

Test: mmma -j art/dalvikvm, remove symlink in $OUT and retry
Change-Id: Iae472a1c8fa1e8386cc9556cfe819bd4fca99428
2016-08-24 15:24:29 -07:00
Tianjie Xu 8532aa4c42 Merge "Don't regenerate userdata.img when signing" am: a7adc06e68
am: bdd89369d9

Change-Id: Ia22016998e26c0e1e4b8ae66c035a93a8df6a993
2016-08-24 21:18:30 +00:00
Tianjie Xu bdd89369d9 Merge "Don't regenerate userdata.img when signing"
am: a7adc06e68

Change-Id: Ib6139262f366fa864e03d98796e5384fa12c7c55
2016-08-24 21:15:33 +00:00
Treehugger Robot a7adc06e68 Merge "Don't regenerate userdata.img when signing" 2016-08-24 21:10:08 +00:00
Chih-hung Hsieh 4b62375ee1 Merge "Recognize new warning messages." am: b8f6f5dced
am: 70a851d9c5

Change-Id: If13c32d6bd39bebd9534145b34a7af2d8175a70d
2016-08-24 21:02:59 +00:00
Chih-hung Hsieh 70a851d9c5 Merge "Recognize new warning messages."
am: b8f6f5dced

Change-Id: I1d3ee3bed661be31f03b76e5c2abfd3e56d18bff
2016-08-24 21:00:01 +00:00
Chih-hung Hsieh b8f6f5dced Merge "Recognize new warning messages." 2016-08-24 20:56:36 +00:00
Chih-Hung Hsieh 01530a6ff2 Recognize new warning messages.
* Generalize regular expression to match new warning messages.
* Remove old unused pattern.

Change-Id: I54f2e5bdb255b290cb3751ba56558f5fe8d7245e
Test: Run warn.py with build.log
2016-08-24 20:53:27 +00:00
Tianjie Xu b48589af57 Don't regenerate userdata.img when signing
The userdata.img and cache.img entries are not useful in signed builds;
because fastboot doesn't look at these two entries in the *img.zip when
flashing a device. And they aren't used elsewhere. Therefore, skip
building the image files for them when signing the target files with
sign_target_files_apks. Also, add an option "--is_signing" to avoid
adding these two images when we call add_img_to_target_files.

Change-Id: I39ba91a86d9a856d7d01771f6d1403dbf21f2011
Test: Run sign_target_files_apks on a target file and userdata/cache.img doesn't not generate.
Bug: 30642470
2016-08-24 12:50:35 -07:00
Yohann Roussel 51403950b3 Merge "Allow selection of prebuilts min sdk" am: 624619d4d0
am: 1d7e0f2c74

Change-Id: I54d5035cecbfa6785a68c9d454ffb27a5e8346cd
2016-08-24 09:52:28 +00:00
Yohann Roussel 1d7e0f2c74 Merge "Allow selection of prebuilts min sdk"
am: 624619d4d0

Change-Id: I54df2acb3003c0222b3f3d909d3f9c80dfda493d
2016-08-24 09:50:29 +00:00
Yohann Roussel 624619d4d0 Merge "Allow selection of prebuilts min sdk" 2016-08-24 09:39:30 +00:00
Chih-Hung Hsieh b9ea8d191d Suppress clang-tidy checks in frameworks/compile/mclinker.
Too many warnings need to wait for upstream changes.
Test: build with WITH_TIDY=1.

Change-Id: I0b1272049ad757670182668db130512a538b3096
2016-08-23 11:07:19 -07:00
Casey Dahlin 75db430a08 Merge "List partition_table.bpt as an output of running bpttool" am: aba93cf736
am: 14aa63a52a

Change-Id: If2ef06aa3c0b77506ccd7384577497d2a49456bc
2016-08-23 01:01:18 +00:00
Casey Dahlin 14aa63a52a Merge "List partition_table.bpt as an output of running bpttool"
am: aba93cf736

Change-Id: Ib986d3551a2bfff5ce813139380378b11dd84d82
2016-08-23 00:56:19 +00:00
Treehugger Robot aba93cf736 Merge "List partition_table.bpt as an output of running bpttool" 2016-08-23 00:41:52 +00:00
Dirk Dougherty ffa6f37f66 Merge "Misc cleanup for static doc pages. Remove extra line breaks in output, clean up formatting, remove elements and attrs not needed in ds builds." into nyc-dev
am: 61ed44b678

Change-Id: I4d918122ed20f96fb9281a9ed8ee9e5f28678b1c
2016-08-22 23:18:41 +00:00
Dirk Dougherty 15193e8200 Misc cleanup for static doc pages. Remove extra line breaks in output, clean up formatting, remove elements and attrs not needed in ds builds.
am: baa86c7bfe

Change-Id: I2e03858f2cf6af6bd418775befb683c124085678
2016-08-22 23:18:41 +00:00
Dirk Dougherty 61ed44b678 Merge "Misc cleanup for static doc pages. Remove extra line breaks in output, clean up formatting, remove elements and attrs not needed in ds builds." into nyc-dev 2016-08-22 23:04:28 +00:00
Casey Dahlin 04d15dd9a3 List partition_table.bpt as an output of running bpttool
Change-Id: I8bb1e03e451bf148e421ecac346bf20ce5d4695b
Test: Verified builds can now depend on partition_table.bpt
Bug: 30971990
2016-08-22 16:00:39 -07:00
Alistair Strachan 93e05a935b DO NOT MERGE ANYWHERE Avoid accidentally using the host's native 'as' command. am: eea0ad4ca0 -s ours am: 15d96a6b74 -s ours
am: 9aacce7aed  -s ours

Change-Id: I3a7145cd6e06bd8bdb367306f7c5386e367750cf
2016-08-22 21:00:29 +00:00
Alistair Strachan 9aacce7aed DO NOT MERGE ANYWHERE Avoid accidentally using the host's native 'as' command. am: eea0ad4ca0 -s ours
am: 15d96a6b74  -s ours

Change-Id: Ia123b7a3fd44fe6f5abbe94dee77c7293b44291f
2016-08-22 20:56:27 +00:00
Alistair Strachan 15d96a6b74 DO NOT MERGE ANYWHERE Avoid accidentally using the host's native 'as' command.
am: eea0ad4ca0  -s ours

Change-Id: I65b9ff6de6a44559eacfb862680e020584fdd059
2016-08-22 20:51:28 +00:00
Alistair Strachan eea0ad4ca0 DO NOT MERGE ANYWHERE Avoid accidentally using the host's native 'as' command.
When invoking clang for the host to assemble .S files, the -B flag
would not be provided, which allowed the host prebuilt clang to
use an 'as' from the native environment. Most of the time this
"just works", but some newer 'as' versions cause problems with
the older prebuilt toolchain, for example by generating
unsupported relocation types.

To avoid this problem, simply use the -B flag to tell clang to
invoke the assembler from the correct prebuilt gcc prefix.

(cherry-picked from AOSP commit 5ff9c81b6c)

Change-Id: I18ea4f37ae637b652cfd7321c41929f8be075342
Signed-off-by: Alistair Strachan <alistair.strachan@imgtec.com>
2016-08-22 20:25:27 +00:00
Tao Bao 59c8c55611 Merge "releasetools: Allow creating target_files with ZIP64." am: 794c69e603
am: cfab69eb32

Change-Id: Ia63006b29593301c8e5a4f5bfec28eb515d43e60
2016-08-22 19:14:21 +00:00
Tao Bao cfab69eb32 Merge "releasetools: Allow creating target_files with ZIP64."
am: 794c69e603

Change-Id: I94eac12de16cac4e4034d933f83fbfa61ca20591
2016-08-22 19:09:55 +00:00
Treehugger Robot 794c69e603 Merge "releasetools: Allow creating target_files with ZIP64." 2016-08-22 18:59:13 +00:00
Tao Bao 9c84e50f4c releasetools: Allow creating target_files with ZIP64.
add_img_to_target_files.py fails when the target_files.zip is over 4GiB
when adding IMAGES/ folder. Specify the flag to allow creating
target_files.zip with ZIP64 extension.

Other zip artifacts (-img.zip, -ota.zip etc) remain in non-ZIP64 format.
zip2zip is not affected, which still creates non-ZIP64 zips even when
copying from target_files in ZIP64.

Bug: 30961841
Test: "make dist" with large system image and check the artifacts.

Change-Id: I0568745f01ef8f0239081f783eac92288d4fdd84
2016-08-22 10:40:24 -07:00
Yohann Roussel 5960c54664 Allow selection of prebuilts min sdk
Bug: 30966099

Change-Id: I55128d5a321bd65b4e12b90afbf7efe8ccb35829
2016-08-22 09:54:32 +02:00
Dirk Dougherty baa86c7bfe Misc cleanup for static doc pages. Remove extra line breaks in output, clean up formatting, remove elements and attrs not needed in ds builds.
Change-Id: Iceea38241b08fd9571d26862f0468f8b25da7f1c
2016-08-21 11:40:19 -07:00
Dirk Dougherty e3b4b75fca Merge "update dac legacy templates for N release." into nyc-dev
am: c5a1c1b3c4

Change-Id: I5535731dcf6adcb4a3a5ecb5c0423bf5025012d1
2016-08-19 05:31:18 +00:00
Dirk Dougherty 75106bc9f1 update dac legacy templates for N release.
am: 8aec568883

Change-Id: I34cd948facfc7e2ba8e8056475628f670061193e
2016-08-19 05:31:18 +00:00
Dirk Dougherty c5a1c1b3c4 Merge "update dac legacy templates for N release." into nyc-dev 2016-08-19 05:27:59 +00:00
Dirk Dougherty 8aec568883 update dac legacy templates for N release.
Change-Id: I746e5cd15ff7485a69df6006a9302408e9e38c5b
2016-08-18 19:34:32 -07:00
Adam Seaton c948ebb181 Merge "Update Security String to 2016-10-05 to Platform and CTS for October Security Updates (rebased)" into mnc-dev am: 5c021503c6 am: 728d476140 am: 683d0f3780 am: 497d30de82
am: 888c180b88

Change-Id: I7a13a3034c551e41ec6698cf0a6b5531cf97abbf
2016-08-18 22:17:59 +00:00
Adam Seaton 40a4e23824 Update Security String to 2016-10-05 to Platform and CTS for October Security Updates (rebased) am: bb45bd20e9 am: eacfc7749b am: b93fd61d88 am: 35e3465433
am: 68fede2142

Change-Id: I6e4e41743108647a00e5a4d93bd3aea9a5ead6ca
2016-08-18 22:17:59 +00:00
Adam Seaton 888c180b88 Merge "Update Security String to 2016-10-05 to Platform and CTS for October Security Updates (rebased)" into mnc-dev am: 5c021503c6 am: 728d476140 am: 683d0f3780
am: 497d30de82

Change-Id: I4a252fd56a7be17fb17271f97fe67bb8119fac1b
2016-08-18 22:14:18 +00:00
Adam Seaton 68fede2142 Update Security String to 2016-10-05 to Platform and CTS for October Security Updates (rebased) am: bb45bd20e9 am: eacfc7749b am: b93fd61d88
am: 35e3465433

Change-Id: Ie52eeb02bdfa1f17f3f584ec7fd03c274008037f
2016-08-18 22:14:18 +00:00
Adam Seaton 497d30de82 Merge "Update Security String to 2016-10-05 to Platform and CTS for October Security Updates (rebased)" into mnc-dev am: 5c021503c6 am: 728d476140
am: 683d0f3780

Change-Id: Ib212304a4bf2401c8e6c58fed54d59f300b485ef
2016-08-18 22:10:49 +00:00
Adam Seaton 35e3465433 Update Security String to 2016-10-05 to Platform and CTS for October Security Updates (rebased) am: bb45bd20e9 am: eacfc7749b
am: b93fd61d88

Change-Id: I759c475cf971ef5eff39a12b11277338c4823696
2016-08-18 22:10:48 +00:00
Adam Seaton 683d0f3780 Merge "Update Security String to 2016-10-05 to Platform and CTS for October Security Updates (rebased)" into mnc-dev am: 5c021503c6
am: 728d476140

Change-Id: I8896e9674a44bf238569683e1b3e905721a0fb84
2016-08-18 22:07:49 +00:00
Adam Seaton b93fd61d88 Update Security String to 2016-10-05 to Platform and CTS for October Security Updates (rebased) am: bb45bd20e9
am: eacfc7749b

Change-Id: If1da1eb56de73999837f681443e0722b3edd5ee4
2016-08-18 22:07:48 +00:00