OSDN Git Service

android-x86/build.git
8 years agoRename libext2 host libraries to standard suffix.
Alex Deymo [Thu, 10 Dec 2015 02:02:56 +0000 (18:02 -0800)]
Rename libext2 host libraries to standard suffix.

libext2_uuid_host was renamed to libext2_uuid-host to match the
"-host" suffix used in most libraries.

Bug: 24619596
TEST=make dist

(cherry picked from commit 41ac44ed2b3de5cf883834490e3ed98496dd5622)

Change-Id: I07e3a5e896230ed3ce1c102c607cbd1aa02c67e0

8 years agoSet -Xdoclint:none
Narayan Kamath [Thu, 10 Dec 2015 22:24:39 +0000 (22:24 +0000)]
Set -Xdoclint:none

Mac builds use a javadoc tool that fails on more warnings than linux
builds.  Add -Xdoclint:none to all java 8 standard doclet javadoc
commands.

Don't add it to javadoc commands that use the com.google.doclava.Doclava
doclet, it doesn't understand -Xdoclint:none.

Change-Id: I6c2f69555ca64b028d22b06286156491f51ac86c

8 years agoMerge "Fix the mips build." am: 0f8bd686e1
Dan Albert [Thu, 10 Dec 2015 00:37:26 +0000 (00:37 +0000)]
Merge "Fix the mips build." am: 0f8bd686e1
am: 064b18f155

* commit '064b18f1558c2a2ef9a82451a8955c4bfebbbac4':
  Fix the mips build.

8 years agoMerge "Fix the mips build."
Dan Albert [Thu, 10 Dec 2015 00:34:52 +0000 (16:34 -0800)]
Merge "Fix the mips build."
am: 0f8bd686e1

* commit '0f8bd686e1ef6f5936d478cff4de8d9248daca35':
  Fix the mips build.

8 years agoMerge "Fix the mips build."
Dan Albert [Thu, 10 Dec 2015 00:28:25 +0000 (00:28 +0000)]
Merge "Fix the mips build."

8 years agoFix the mips build.
Dan Albert [Thu, 10 Dec 2015 00:26:20 +0000 (16:26 -0800)]
Fix the mips build.

The linker can't do --hash-style=gnu for mips.

Change-Id: I66a77067f8be6fc92ca686d3e6e159beb72cf76b

8 years agoMerge "Add support for LOCAL_NDK_STL_VARIANT := none." am: 2ad9079305
Dan Albert [Thu, 10 Dec 2015 00:24:31 +0000 (16:24 -0800)]
Merge "Add support for LOCAL_NDK_STL_VARIANT := none." am: 2ad9079305
am: 9a986a6e68

* commit '9a986a6e682e2c22b5a63637589a88314a83316b':
  Add support for LOCAL_NDK_STL_VARIANT := none.

8 years agoMerge "Add support for LOCAL_NDK_STL_VARIANT := none."
Dan Albert [Thu, 10 Dec 2015 00:22:00 +0000 (00:22 +0000)]
Merge "Add support for LOCAL_NDK_STL_VARIANT := none."
am: 2ad9079305

* commit '2ad9079305cc7aedfcfccf2c360c58502dc7d16e':
  Add support for LOCAL_NDK_STL_VARIANT := none.

8 years agoMerge "Add support for LOCAL_NDK_STL_VARIANT := none."
Dan Albert [Thu, 10 Dec 2015 00:17:23 +0000 (00:17 +0000)]
Merge "Add support for LOCAL_NDK_STL_VARIANT := none."

8 years agoAdd support for LOCAL_NDK_STL_VARIANT := none.
Dan Albert [Wed, 9 Dec 2015 22:46:13 +0000 (14:46 -0800)]
Add support for LOCAL_NDK_STL_VARIANT := none.

Sometimes we don't want any STL.

Change-Id: I08b4389b7882702c0e483a1456f7775fe4da1c75

8 years agoMerge "Build NDK binaries with --hash-style=both." am: 30cb36ff5e
Dan Albert [Wed, 9 Dec 2015 23:50:25 +0000 (23:50 +0000)]
Merge "Build NDK binaries with --hash-style=both." am: 30cb36ff5e
am: 0477dce031

* commit '0477dce031cadff3f2b9d64fe35a3bd9afa8810f':
  Build NDK binaries with --hash-style=both.

8 years agoMerge "Build NDK binaries with --hash-style=both."
Dan Albert [Wed, 9 Dec 2015 23:48:12 +0000 (23:48 +0000)]
Merge "Build NDK binaries with --hash-style=both."
am: 30cb36ff5e

* commit '30cb36ff5e4834800a0c4694d0ccfe9759ffea83':
  Build NDK binaries with --hash-style=both.

8 years agoMerge "Build NDK binaries with --hash-style=both."
Dan Albert [Wed, 9 Dec 2015 23:41:01 +0000 (23:41 +0000)]
Merge "Build NDK binaries with --hash-style=both."

8 years agoDO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308...
Zach Jang [Wed, 9 Dec 2015 23:22:32 +0000 (23:22 +0000)]
DO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308 am: 41846b0063  -s ours am: db4d57a84c am: 02115bf55a am: 4c51cd1a9b am: 3a68198b39 am: 4d64f608c3
am: 4dbf8afb1c  -s ours

* commit '4dbf8afb1c05dc60eaa2fbe5f90e08b8455e5c93':
  DO NOT MERGE - Update security string to 2016-02-01

8 years agoUpdate Security String to 2016-02-01 am: f0f73c06e2 am: 5e2b003a11 am: 8b5be4dd4f...
Zach Jang [Wed, 9 Dec 2015 23:19:46 +0000 (23:19 +0000)]
Update Security String to 2016-02-01 am: f0f73c06e2 am: 5e2b003a11 am: 8b5be4dd4f am: 1536565dc3 am: 61fc840849
am: 96c1a8cf01

* commit '96c1a8cf01fbc00b7c888d9ad1192509498a9b9d':
  Update Security String to 2016-02-01

8 years agoDO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308...
Zach Jang [Wed, 9 Dec 2015 23:19:11 +0000 (23:19 +0000)]
DO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308 am: 41846b0063  -s ours am: db4d57a84c am: 02115bf55a am: 4c51cd1a9b am: 3a68198b39
am: 4d64f608c3

* commit '4d64f608c31a616419c38e786ea73992aefb046a':
  DO NOT MERGE - Update security string to 2016-02-01

8 years agoDO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308...
Zach Jang [Wed, 9 Dec 2015 23:15:48 +0000 (23:15 +0000)]
DO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308 am: 41846b0063  -s ours am: db4d57a84c am: 02115bf55a am: 4c51cd1a9b
am: 3a68198b39

* commit '3a68198b39229ed24f6749a6f491072d04f1bac8':
  DO NOT MERGE - Update security string to 2016-02-01

8 years agoDO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308...
Zach Jang [Wed, 9 Dec 2015 23:13:05 +0000 (23:13 +0000)]
DO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308 am: 41846b0063  -s ours am: db4d57a84c am: 02115bf55a
am: 4c51cd1a9b

* commit '4c51cd1a9b5c41e4092aef7c5fb4cc0364873a2c':
  DO NOT MERGE - Update security string to 2016-02-01

8 years agoUpdate Security String to 2016-02-01 am: f0f73c06e2 am: 5e2b003a11 am: 8b5be4dd4f...
Zach Jang [Wed, 9 Dec 2015 23:09:34 +0000 (15:09 -0800)]
Update Security String to 2016-02-01 am: f0f73c06e2 am: 5e2b003a11 am: 8b5be4dd4f am: 1536565dc3
am: 61fc840849

* commit '61fc840849a617ddca29189b40169abbc88544f3':
  Update Security String to 2016-02-01

8 years agoDO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308...
Zach Jang [Wed, 9 Dec 2015 23:09:34 +0000 (23:09 +0000)]
DO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308 am: 41846b0063  -s ours am: db4d57a84c
am: 02115bf55a

* commit '02115bf55a840790bbbca3c452a85bc97381522a':
  DO NOT MERGE - Update security string to 2016-02-01

8 years agoUpdate Security String to 2016-02-01 am: f0f73c06e2 am: 5e2b003a11 am: 8b5be4dd4f
Zach Jang [Wed, 9 Dec 2015 23:06:44 +0000 (23:06 +0000)]
Update Security String to 2016-02-01 am: f0f73c06e2 am: 5e2b003a11 am: 8b5be4dd4f
am: 1536565dc3

* commit '1536565dc3ef67ad2e0ac7727554c29bb9638a97':
  Update Security String to 2016-02-01

8 years agoDO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308...
Zach Jang [Wed, 9 Dec 2015 23:06:44 +0000 (23:06 +0000)]
DO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308 am: 41846b0063  -s ours
am: db4d57a84c

* commit 'db4d57a84c8f0f6b51d9b69c2e0ec3ac825270c0':
  DO NOT MERGE - Update security string to 2016-02-01

8 years agoUpdate Security String to 2016-02-01 am: f0f73c06e2 am: 5e2b003a11
Zach Jang [Wed, 9 Dec 2015 23:03:18 +0000 (15:03 -0800)]
Update Security String to 2016-02-01 am: f0f73c06e2 am: 5e2b003a11
am: 8b5be4dd4f

* commit '8b5be4dd4f50266362f689d4c8f7d20fc25c5baf':
  Update Security String to 2016-02-01

8 years agoDO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308
Zach Jang [Wed, 9 Dec 2015 23:03:18 +0000 (23:03 +0000)]
DO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b am: af970fb308
am: 41846b0063  -s ours

* commit '41846b00633d3eba58193565c8f6c213006cea5d':
  DO NOT MERGE - Update security string to 2016-02-01

8 years agoUpdate Security String to 2016-02-01 am: f0f73c06e2
Zach Jang [Wed, 9 Dec 2015 23:00:35 +0000 (23:00 +0000)]
Update Security String to 2016-02-01 am: f0f73c06e2
am: 5e2b003a11

* commit '5e2b003a116c8de6bfadf4b74d0cc676e0ed0d76':
  Update Security String to 2016-02-01

8 years agoDO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b
Zach Jang [Wed, 9 Dec 2015 23:00:35 +0000 (23:00 +0000)]
DO NOT MERGE - Update security string to 2016-02-01 am: 929a4abd2b
am: af970fb308

* commit 'af970fb308dd7914e8dccb56e8ea08d50e92e617':
  DO NOT MERGE - Update security string to 2016-02-01

8 years agoUpdate Security String to 2016-02-01
Zach Jang [Wed, 9 Dec 2015 22:57:15 +0000 (14:57 -0800)]
Update Security String to 2016-02-01
am: f0f73c06e2

* commit 'f0f73c06e25e17ecf8e06f42c51efac102597f57':
  Update Security String to 2016-02-01

8 years agoDO NOT MERGE - Update security string to 2016-02-01
Zach Jang [Wed, 9 Dec 2015 22:57:15 +0000 (14:57 -0800)]
DO NOT MERGE - Update security string to 2016-02-01
am: 929a4abd2b

* commit '929a4abd2b777715bc730593aee87643a30706d6':
  DO NOT MERGE - Update security string to 2016-02-01

8 years agoBuild NDK binaries with --hash-style=both.
Dan Albert [Wed, 9 Dec 2015 22:52:25 +0000 (14:52 -0800)]
Build NDK binaries with --hash-style=both.

Change-Id: I1c3b7415c654b783c6bb7e38a40d4c279826400f

8 years agoDO NOT MERGE - Update security string to 2016-02-01
Zach Jang [Wed, 9 Dec 2015 22:45:57 +0000 (14:45 -0800)]
DO NOT MERGE - Update security string to 2016-02-01

b/26110717

Change-Id: Ifbb78b8c7cd5d2efa9e5501fc4e7216f336ccadc

8 years agoUpdate Security String to 2016-02-01
Zach Jang [Wed, 9 Dec 2015 20:46:59 +0000 (12:46 -0800)]
Update Security String to 2016-02-01

b/26110717

Change-Id: I1085f5d053b07c6c81d2ef22fbba5ab9157a67f2

8 years agoMerge "Do not run zipalign when re-signing APKs." am: 31066abfde
Alex Klyubin [Tue, 8 Dec 2015 20:26:50 +0000 (20:26 +0000)]
Merge "Do not run zipalign when re-signing APKs." am: 31066abfde
am: 95ba90d1f0

* commit '95ba90d1f0ded087683f9283b5c3538dd4f349d7':
  Do not run zipalign when re-signing APKs.

8 years agoMerge "Do not run zipalign when re-signing APKs."
Alex Klyubin [Tue, 8 Dec 2015 20:23:37 +0000 (20:23 +0000)]
Merge "Do not run zipalign when re-signing APKs."
am: 31066abfde

* commit '31066abfde08abdefe00be67074a2c7401917f97':
  Do not run zipalign when re-signing APKs.

8 years agoMerge "Do not run zipalign when re-signing APKs."
Alex Klyubin [Tue, 8 Dec 2015 20:15:11 +0000 (20:15 +0000)]
Merge "Do not run zipalign when re-signing APKs."

8 years agoDo not run zipalign when re-signing APKs.
Alex Klyubin [Fri, 4 Dec 2015 17:21:08 +0000 (09:21 -0800)]
Do not run zipalign when re-signing APKs.

Running zipalign is no longer needed because signapk takes care of
alignment.

Bug: 25794543
Change-Id: I1080240a67ea6f1b41585fff83d18d57fdcf44e2

8 years agoMerge "Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES" am: 616b8a5370 am...
Ying Wang [Tue, 8 Dec 2015 18:24:59 +0000 (18:24 +0000)]
Merge "Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES" am: 616b8a5370 am: 914a568ba0
am: 036e542c43  -s ours

* commit '036e542c439577a636b344467f82a193f2e2cc32':
  Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES

8 years agoMerge "Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES" am: 616b8a5370
Ying Wang [Tue, 8 Dec 2015 18:03:15 +0000 (10:03 -0800)]
Merge "Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES" am: 616b8a5370
am: 914a568ba0

* commit '914a568ba0b31fd0502b86b1d45abdf0f6ee49f1':
  Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES

8 years agoMerge "Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES"
Ying Wang [Tue, 8 Dec 2015 17:59:55 +0000 (17:59 +0000)]
Merge "Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES"
am: 616b8a5370

* commit '616b8a5370e6ad5cb8519fbe2c00eaa6637da260':
  Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES

8 years agoMerge "Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES"
Ying Wang [Tue, 8 Dec 2015 17:56:05 +0000 (17:56 +0000)]
Merge "Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES"

8 years agoMerge "Revert "enable -fstack-protector-strong"" am: 27ab42654e am: fff2841298
Elliott Hughes [Tue, 8 Dec 2015 03:04:57 +0000 (03:04 +0000)]
Merge "Revert "enable -fstack-protector-strong"" am: 27ab42654e am: fff2841298
am: 6627bc55a6

* commit '6627bc55a677f42a2dbf325249775d4b5b3263ec':
  Revert "enable -fstack-protector-strong"

8 years agoMerge "Do not run zipalign when building APK (except prebuilts)." am: b437f58006...
Alex Klyubin [Tue, 8 Dec 2015 03:04:50 +0000 (03:04 +0000)]
Merge "Do not run zipalign when building APK (except prebuilts)." am: b437f58006 am: fddfc2c604
am: 60d6e2eb00

* commit '60d6e2eb002b12c28c0f28527c020837adea9164':
  Do not run zipalign when building APK (except prebuilts).

8 years agoMerge "Fix TARGET_ASAN build." am: 9bbc67b55a am: 4f0cb0307b
Ying Wang [Tue, 8 Dec 2015 03:04:43 +0000 (03:04 +0000)]
Merge "Fix TARGET_ASAN build." am: 9bbc67b55a am: 4f0cb0307b
am: 8d5ff73ce4

* commit '8d5ff73ce4a3a48a414f25289ba5220f3e91f0cd':
  Fix TARGET_ASAN build.

8 years agoMerge "Include libGLESv3.so to PRODUCT_PACKAGES" am: 73661d4220 am: 973decf35c
Dimitry Ivanov [Tue, 8 Dec 2015 03:04:34 +0000 (03:04 +0000)]
Merge "Include libGLESv3.so to PRODUCT_PACKAGES" am: 73661d4220 am: 973decf35c
am: fb70c580b1

* commit 'fb70c580b1497a31ff345b36f032241fa55415b2':
  Include libGLESv3.so to PRODUCT_PACKAGES

8 years agoMerge "Revert "enable -fstack-protector-strong"" am: 27ab42654e
Elliott Hughes [Tue, 8 Dec 2015 03:01:32 +0000 (03:01 +0000)]
Merge "Revert "enable -fstack-protector-strong"" am: 27ab42654e
am: fff2841298

* commit 'fff2841298afda2c80e354fc69eca543f72fdb33':
  Revert "enable -fstack-protector-strong"

8 years agoMerge "Do not run zipalign when building APK (except prebuilts)." am: b437f58006
Alex Klyubin [Tue, 8 Dec 2015 03:01:25 +0000 (03:01 +0000)]
Merge "Do not run zipalign when building APK (except prebuilts)." am: b437f58006
am: fddfc2c604

* commit 'fddfc2c604bd51f11d65518a23f13ef153938500':
  Do not run zipalign when building APK (except prebuilts).

8 years agoMerge "Fix TARGET_ASAN build." am: 9bbc67b55a
Ying Wang [Tue, 8 Dec 2015 03:01:18 +0000 (03:01 +0000)]
Merge "Fix TARGET_ASAN build." am: 9bbc67b55a
am: 4f0cb0307b

* commit '4f0cb0307b93b407abe110f3d17085d7807c137c':
  Fix TARGET_ASAN build.

8 years agoMerge "Include libGLESv3.so to PRODUCT_PACKAGES" am: 73661d4220
Dimitry Ivanov [Tue, 8 Dec 2015 03:01:12 +0000 (03:01 +0000)]
Merge "Include libGLESv3.so to PRODUCT_PACKAGES" am: 73661d4220
am: 973decf35c

* commit '973decf35c2592d6ab9ab5ad9e94e36cd61e0c16':
  Include libGLESv3.so to PRODUCT_PACKAGES

8 years agoMerge "Revert "enable -fstack-protector-strong""
Elliott Hughes [Tue, 8 Dec 2015 02:58:25 +0000 (18:58 -0800)]
Merge "Revert "enable -fstack-protector-strong""
am: 27ab42654e

* commit '27ab42654ebd5ffdc55bb6b727723e6980649ef9':
  Revert "enable -fstack-protector-strong"

8 years agoMerge "Do not run zipalign when building APK (except prebuilts)."
Alex Klyubin [Tue, 8 Dec 2015 02:58:19 +0000 (18:58 -0800)]
Merge "Do not run zipalign when building APK (except prebuilts)."
am: b437f58006

* commit 'b437f58006af3d8b15eb3308ab5174da1a7c6c0d':
  Do not run zipalign when building APK (except prebuilts).

8 years agoMerge "Fix TARGET_ASAN build."
Ying Wang [Tue, 8 Dec 2015 02:58:12 +0000 (18:58 -0800)]
Merge "Fix TARGET_ASAN build."
am: 9bbc67b55a

* commit '9bbc67b55ac6876920b3ca5a73673d0a10c3fb52':
  Fix TARGET_ASAN build.

8 years agoMerge "Include libGLESv3.so to PRODUCT_PACKAGES"
Dimitry Ivanov [Tue, 8 Dec 2015 02:58:05 +0000 (18:58 -0800)]
Merge "Include libGLESv3.so to PRODUCT_PACKAGES"
am: 73661d4220

* commit '73661d4220b85987ee5e5f34a3fc538283c19c34':
  Include libGLESv3.so to PRODUCT_PACKAGES

8 years agoMerge "Revert "enable -fstack-protector-strong""
Elliott Hughes [Tue, 8 Dec 2015 02:54:01 +0000 (02:54 +0000)]
Merge "Revert "enable -fstack-protector-strong""

8 years agoRevert "enable -fstack-protector-strong"
Elliott Hughes [Tue, 8 Dec 2015 02:53:51 +0000 (02:53 +0000)]
Revert "enable -fstack-protector-strong"

This reverts commit 8765b1035f813be2c26988a73cf3e9815aa5adf6.

This prevents x86 from booting.

http://b/26046864

Change-Id: Ica3f7e7e639c99fd3158df3643acb49307197881

8 years agoSet -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES
Ying Wang [Mon, 23 Nov 2015 22:57:26 +0000 (14:57 -0800)]
Set -bootclasspath to "" if LOCAL_NO_STANDARD_LIBRARIES

Without this if a Java libraryw with LOCAL_NO_STANDARD_LIBRARIES doesn't
have core-libart in its LOCAL_JAVA_LIBRARIES, it would use core-libart
as bootclasspath but without having dependency on it.

Change-Id: I611a5a5df2bf0ad59e0be50ed1ad1afe8b843e90
(cherry-pick from commit c6a301756cd6bc58691cde69513b28e7ee0d1ac6)

8 years agoMerge "Do not run zipalign when building APK (except prebuilts)."
Alex Klyubin [Mon, 7 Dec 2015 22:08:14 +0000 (22:08 +0000)]
Merge "Do not run zipalign when building APK (except prebuilts)."

8 years agoFix missing $.
Ying Wang [Mon, 7 Dec 2015 20:20:59 +0000 (12:20 -0800)]
Fix missing $.

Bug: 24139963
Change-Id: Ia39cff486c51f845215976bb483baffeb9e56a80

8 years agoMerge "Fix TARGET_ASAN build."
Ying Wang [Mon, 7 Dec 2015 19:32:21 +0000 (19:32 +0000)]
Merge "Fix TARGET_ASAN build."

8 years agoMerge "Include libGLESv3.so to PRODUCT_PACKAGES"
Dimitry Ivanov [Mon, 7 Dec 2015 19:00:58 +0000 (19:00 +0000)]
Merge "Include libGLESv3.so to PRODUCT_PACKAGES"

8 years agoFix TARGET_ASAN build.
Ying Wang [Mon, 7 Dec 2015 18:45:19 +0000 (10:45 -0800)]
Fix TARGET_ASAN build.

Bug: 26044735
Change-Id: I9c6b3b16637ca2d0da4765e896a9f03c1d5dc51c

8 years agoMerge "enable -fstack-protector-strong" am: 2a49aba35b am: c5c2e60707
Nick Kralevich [Sat, 5 Dec 2015 22:29:26 +0000 (14:29 -0800)]
Merge "enable -fstack-protector-strong" am: 2a49aba35b am: c5c2e60707
am: a799c4beab

* commit 'a799c4beabeae4335a4b3d7fd262468ef04953c7':
  enable -fstack-protector-strong

8 years agoMerge "enable -fstack-protector-strong" am: 2a49aba35b
Nick Kralevich [Sat, 5 Dec 2015 22:26:46 +0000 (22:26 +0000)]
Merge "enable -fstack-protector-strong" am: 2a49aba35b
am: c5c2e60707

* commit 'c5c2e60707cb1b5623705a78724e27efdf3cb7d5':
  enable -fstack-protector-strong

8 years agoMerge "enable -fstack-protector-strong"
Nick Kralevich [Sat, 5 Dec 2015 22:23:57 +0000 (14:23 -0800)]
Merge "enable -fstack-protector-strong"
am: 2a49aba35b

* commit '2a49aba35b9b9216df1da245f1af13c6faa5a850':
  enable -fstack-protector-strong

8 years agoMerge "enable -fstack-protector-strong"
Nick Kralevich [Sat, 5 Dec 2015 22:20:46 +0000 (22:20 +0000)]
Merge "enable -fstack-protector-strong"

8 years agoenable -fstack-protector-strong
Daniel Micay [Fri, 4 Dec 2015 22:36:26 +0000 (17:36 -0500)]
enable -fstack-protector-strong

This results in nearly all functions with the possibility of stack
corruption getting stack canaries, because it applies to any function
taking a reference to the frame or with a local array rather than just
the functions with arrays larger than 8 bytes. It was developed for use
in Chrome (and Chrome OS) and has also been adopted by various other
distributions (Arch, Fedora, Ubuntu, etc).

The code size increase ranges from ~1.5% to ~2.5%, compared to ~0.3% to
~0.7% with the more conservative switch. The increase in the performance
loss is usually minimal. The overall size increase once everything other
than C and C++ code is taken into account is minimal, and it greatly
improves the mitigation of stack buffer overflow vulnerabilities.

https://lwn.net/Articles/584225/

Change-Id: Ie83d381e09d94deb34c5ff142a101ba3d14cf3ba

8 years agoMerge "Gmake doesn\'t like newline in macro expansion result." am: c7d5e54dfe am...
Ying Wang [Sat, 5 Dec 2015 02:09:06 +0000 (02:09 +0000)]
Merge "Gmake doesn\'t like newline in macro expansion result." am: c7d5e54dfe am: fe27825ca5
am: 82b304264e

* commit '82b304264ea590c6d331e4d87db3167875b31c10':
  Gmake doesn't like newline in macro expansion result.

8 years agoMerge "Sanity check LOCAL_SRC_FILES_EXCLUDE" am: cc3b2a5854 am: a4769d2956
Dan Willemsen [Sat, 5 Dec 2015 02:08:42 +0000 (02:08 +0000)]
Merge "Sanity check LOCAL_SRC_FILES_EXCLUDE" am: cc3b2a5854 am: a4769d2956
am: 2b661fe7e0

* commit '2b661fe7e03b73be082b1d5be0d21e9c64393f4b':
  Sanity check LOCAL_SRC_FILES_EXCLUDE

8 years agoMerge "Gmake doesn\'t like newline in macro expansion result." am: c7d5e54dfe
Ying Wang [Sat, 5 Dec 2015 00:56:12 +0000 (16:56 -0800)]
Merge "Gmake doesn\'t like newline in macro expansion result." am: c7d5e54dfe
am: fe27825ca5

* commit 'fe27825ca548e3f0afd869fd9dca91716c578457':
  Gmake doesn't like newline in macro expansion result.

8 years agoMerge "Gmake doesn\'t like newline in macro expansion result."
Ying Wang [Sat, 5 Dec 2015 00:53:25 +0000 (00:53 +0000)]
Merge "Gmake doesn\'t like newline in macro expansion result."
am: c7d5e54dfe

* commit 'c7d5e54dfe71766dc60adcf06e6ec1a2b12cdda9':
  Gmake doesn't like newline in macro expansion result.

8 years agoMerge "Gmake doesn't like newline in macro expansion result."
Ying Wang [Sat, 5 Dec 2015 00:49:46 +0000 (00:49 +0000)]
Merge "Gmake doesn't like newline in macro expansion result."

8 years agoGmake doesn't like newline in macro expansion result.
Ying Wang [Sat, 5 Dec 2015 00:44:03 +0000 (16:44 -0800)]
Gmake doesn't like newline in macro expansion result.

When $(call func) in the makefile text expansion includes newline, gmake
reports error "missing separator". But it's fine if the expansion includes
only spaces. That's a bit odd.
This change fixes the "missing separator".

Change-Id: I094e5ae1725699ebfa4ed66544eef037dd68714c

8 years agoMerge "Sanity check LOCAL_SRC_FILES_EXCLUDE" am: cc3b2a5854
Dan Willemsen [Fri, 4 Dec 2015 23:21:17 +0000 (23:21 +0000)]
Merge "Sanity check LOCAL_SRC_FILES_EXCLUDE" am: cc3b2a5854
am: a4769d2956

* commit 'a4769d2956fab9750d856c4f0990f81ff9f6759c':
  Sanity check LOCAL_SRC_FILES_EXCLUDE

8 years agoMerge "Sanity check LOCAL_SRC_FILES_EXCLUDE"
Dan Willemsen [Fri, 4 Dec 2015 23:17:58 +0000 (15:17 -0800)]
Merge "Sanity check LOCAL_SRC_FILES_EXCLUDE"
am: cc3b2a5854

* commit 'cc3b2a58548832ab7a6620d6b607d315f06dfc06':
  Sanity check LOCAL_SRC_FILES_EXCLUDE

8 years agoMerge "Sanity check LOCAL_SRC_FILES_EXCLUDE"
Dan Willemsen [Fri, 4 Dec 2015 23:12:16 +0000 (23:12 +0000)]
Merge "Sanity check LOCAL_SRC_FILES_EXCLUDE"

8 years agoDo not run zipalign when building APK (except prebuilts).
Alex Klyubin [Fri, 4 Dec 2015 18:07:41 +0000 (10:07 -0800)]
Do not run zipalign when building APK (except prebuilts).

This changes the build system to no longer run zipalign except for
those prebuilts which do not need to re-signed.

Running zipalign is no longer needed because signapk takes care of
alignment. For those prebuilts which do not need to be re-signed
signapk is not invoked and thus zipalign is still needed because the
prebuilts may not have been aligned properly. This exemption will go
away once prebuilts are properly aligned.

Bug: 25794543
Change-Id: I31f10af80b9baa3c9481cb36f41e5e5046e852f9

8 years agoMerge "Make signapk align .so entries to 4096 bytes." am: dbb5527a9e am: 7f1eda800d
Alex Klyubin [Fri, 4 Dec 2015 17:16:49 +0000 (17:16 +0000)]
Merge "Make signapk align .so entries to 4096 bytes." am: dbb5527a9e am: 7f1eda800d
am: 3ad587e9ff

* commit '3ad587e9ff6b90b80b30b82d0bc51cc40b95c85a':
  Make signapk align .so entries to 4096 bytes.

8 years agoMerge "Remove extra definition of AIDL" am: 77f411e116 am: b275dd1623
Colin Cross [Fri, 4 Dec 2015 17:16:34 +0000 (17:16 +0000)]
Merge "Remove extra definition of AIDL" am: 77f411e116 am: b275dd1623
am: 934e131465

* commit '934e1314658b30aa8ca22766a3404ff6955d4ece':
  Remove extra definition of AIDL

8 years agoMerge "Make signapk align .so entries to 4096 bytes." am: dbb5527a9e
Alex Klyubin [Fri, 4 Dec 2015 17:13:36 +0000 (17:13 +0000)]
Merge "Make signapk align .so entries to 4096 bytes." am: dbb5527a9e
am: 7f1eda800d

* commit '7f1eda800d8cdb793b521e20798eaacb3fe410ad':
  Make signapk align .so entries to 4096 bytes.

8 years agoMerge "Make signapk align .so entries to 4096 bytes."
Alex Klyubin [Fri, 4 Dec 2015 17:10:01 +0000 (17:10 +0000)]
Merge "Make signapk align .so entries to 4096 bytes."
am: dbb5527a9e

* commit 'dbb5527a9ef27f292794d1e51ae56d1df68c328b':
  Make signapk align .so entries to 4096 bytes.

8 years agoMerge "Make signapk align .so entries to 4096 bytes."
Alex Klyubin [Fri, 4 Dec 2015 17:05:27 +0000 (17:05 +0000)]
Merge "Make signapk align .so entries to 4096 bytes."

8 years agoMerge "Remove synchronized from the public API docs"
Neil Fuller [Fri, 4 Dec 2015 11:09:54 +0000 (11:09 +0000)]
Merge "Remove synchronized from the public API docs"

8 years agoSanity check LOCAL_SRC_FILES_EXCLUDE
Dan Willemsen [Fri, 4 Dec 2015 06:58:39 +0000 (22:58 -0800)]
Sanity check LOCAL_SRC_FILES_EXCLUDE

Error out if there is a file listed in LOCAL_SRC_FILES_EXCLUDE but not in
LOCAL_SRC_FILES. This should catch typos or other mistakes that would
otherwise be missed.

Change-Id: Iaddf575a6ce35238998ac47b59591a7d05fbcd0d

8 years agoUse prebuilt tools in place
Colin Cross [Fri, 4 Dec 2015 02:00:52 +0000 (02:00 +0000)]
Use prebuilt tools in place
am: 9a89ed5300  -s ours

* commit '9a89ed5300b1288f9dd4fcfc2f0191fa9772bcb7':
  Use prebuilt tools in place

8 years agoMerge "Remove extra definition of AIDL" am: 77f411e116
Colin Cross [Thu, 3 Dec 2015 22:00:48 +0000 (22:00 +0000)]
Merge "Remove extra definition of AIDL" am: 77f411e116
am: b275dd1623

* commit 'b275dd1623ca5256d9dfb8542cd324c624c6e9fe':
  Remove extra definition of AIDL

8 years agoMerge "Remove extra definition of AIDL"
Colin Cross [Thu, 3 Dec 2015 21:56:25 +0000 (21:56 +0000)]
Merge "Remove extra definition of AIDL"
am: 77f411e116

* commit '77f411e116981ae1de9f060b128e4df0b2facd57':
  Remove extra definition of AIDL

8 years agoMerge "Remove extra definition of AIDL"
Colin Cross [Thu, 3 Dec 2015 21:41:59 +0000 (21:41 +0000)]
Merge "Remove extra definition of AIDL"

8 years agoUse prebuilt tools in place
Colin Cross [Thu, 3 Dec 2015 00:33:04 +0000 (16:33 -0800)]
Use prebuilt tools in place

Don't install the prebuilt SDK tools for TARGET_BUILD_APPS builds, just
execute them in place.  Avoids issues with duplicate rules for the
prebuilts and source modules when building with TARGET_BUILD_APPS in a
full platform tree.

Change-Id: I3cdb4f1a8208e8750310a5cc6130657613b683d1
(cherry picked from commit fd08247bcfa47508da3cea41a004310cf28dd0fa)

8 years agoRemove extra definition of AIDL
Colin Cross [Thu, 3 Dec 2015 21:32:18 +0000 (13:32 -0800)]
Remove extra definition of AIDL

AIDL is defined in the sometimes-prebuilt tools section, remove the
extra definition that was overriding it.

Change-Id: I677bf46475fd5fd4a9258c77d91ecee806e5f205

8 years agoMerge "Use prebuilt tools in place" am: 50e0646dbe am: 8581e58b3b
Colin Cross [Thu, 3 Dec 2015 20:24:30 +0000 (20:24 +0000)]
Merge "Use prebuilt tools in place" am: 50e0646dbe am: 8581e58b3b
am: 64747f5101

* commit '64747f5101f3a4f2385faa493643a513bd67a557':
  Use prebuilt tools in place

8 years agoMerge "Use prebuilt tools in place" am: 50e0646dbe
Colin Cross [Thu, 3 Dec 2015 20:21:32 +0000 (20:21 +0000)]
Merge "Use prebuilt tools in place" am: 50e0646dbe
am: 8581e58b3b

* commit '8581e58b3b845905f19a66a62bb735ac7fdbcf9e':
  Use prebuilt tools in place

8 years agoMerge "Use prebuilt tools in place"
Colin Cross [Thu, 3 Dec 2015 20:18:38 +0000 (20:18 +0000)]
Merge "Use prebuilt tools in place"
am: 50e0646dbe

* commit '50e0646dbe1fb52918b38c75aefc49d24bfd9a24':
  Use prebuilt tools in place

8 years agoMerge "Use prebuilt tools in place"
Colin Cross [Thu, 3 Dec 2015 20:12:48 +0000 (20:12 +0000)]
Merge "Use prebuilt tools in place"

8 years agoMerge "Remove warnings from ijar/classfile.cc" am: 128053b91b am: 8707422e4e
Shinichiro Hamaji [Thu, 3 Dec 2015 17:29:50 +0000 (17:29 +0000)]
Merge "Remove warnings from ijar/classfile.cc" am: 128053b91b am: 8707422e4e
am: ba1277549d

* commit 'ba1277549d322091ecbfc6b3738c9590f65ef823':
  Remove warnings from ijar/classfile.cc

8 years agoMerge "Remove warnings from ijar/classfile.cc" am: 128053b91b
Shinichiro Hamaji [Thu, 3 Dec 2015 05:45:48 +0000 (05:45 +0000)]
Merge "Remove warnings from ijar/classfile.cc" am: 128053b91b
am: 8707422e4e

* commit '8707422e4ee24ca96befbf2bf54deca2590bedfa':
  Remove warnings from ijar/classfile.cc

8 years agoMerge "Remove warnings from ijar/classfile.cc"
Shinichiro Hamaji [Thu, 3 Dec 2015 05:42:52 +0000 (05:42 +0000)]
Merge "Remove warnings from ijar/classfile.cc"
am: 128053b91b

* commit '128053b91b959d0664c33659063c5246eb57a594':
  Remove warnings from ijar/classfile.cc

8 years agoMerge "Remove warnings from ijar/classfile.cc"
Shinichiro Hamaji [Thu, 3 Dec 2015 05:39:24 +0000 (05:39 +0000)]
Merge "Remove warnings from ijar/classfile.cc"

8 years agoMake signapk align .so entries to 4096 bytes.
Alex Klyubin [Thu, 3 Dec 2015 03:02:01 +0000 (19:02 -0800)]
Make signapk align .so entries to 4096 bytes.

This makes signapk align uncompressed .so entries to memory page
boundary (4096 bytes) to enable such libraries to be loaded at runtime
through memory-mapping the APK.

With this change in place, there should no longer be a need to run
zipalign after (or before) signapk.

Bug: 25794543
Change-Id: I74775af15a683791f57fcbd3497a79951b3f63a1

8 years agoMerge "releasetools: Always use recovery mount options." am: 643d466f7b am: 1709cf3768
Tao Bao [Thu, 3 Dec 2015 01:38:34 +0000 (01:38 +0000)]
Merge "releasetools: Always use recovery mount options." am: 643d466f7b am: 1709cf3768
am: 50aa7c731b

* commit '50aa7c731b338d32d676326589652f21249dc2c9':
  releasetools: Always use recovery mount options.

8 years agoMerge "releasetools: Always use recovery mount options." am: 643d466f7b
Tao Bao [Thu, 3 Dec 2015 01:35:04 +0000 (01:35 +0000)]
Merge "releasetools: Always use recovery mount options." am: 643d466f7b
am: 1709cf3768

* commit '1709cf3768b54c1abc267b5ee92f57023e206c26':
  releasetools: Always use recovery mount options.

8 years agoMerge "releasetools: Always use recovery mount options."
Tao Bao [Thu, 3 Dec 2015 01:30:40 +0000 (01:30 +0000)]
Merge "releasetools: Always use recovery mount options."
am: 643d466f7b

* commit '643d466f7b853ab4009723e2da200e3a6642d2ad':
  releasetools: Always use recovery mount options.

8 years agoMerge "releasetools: Always use recovery mount options."
Tao Bao [Thu, 3 Dec 2015 01:24:15 +0000 (01:24 +0000)]
Merge "releasetools: Always use recovery mount options."