OSDN Git Service
Ying Wang [Mon, 11 May 2015 21:56:20 +0000 (14:56 -0700)]
Keep Throwable's constructor that takes a String argument.
Bug:
20495321
Change-Id: Iaf041da325e1d31f136f36e8ed85b2d90c578b0e
Stephen Smalley [Wed, 29 Apr 2015 13:55:08 +0000 (09:55 -0400)]
Define BOARD_SEPOLICY_DIRS for 64-bit emulators.
Define BOARD_SEPOLICY_DIRS for the arm64, mips64, and x86_64
emulator targets. As a first cut, simply inherit from the
existing policy directories used for generic and generic_x86.
We may need further board-specific policy added for these targets
but testing will require first enabling SELinux in the relevant
kernel configs.
(cherrypicked from commit
21ebc213bb3717ec3e692991eeadc423113943ab)
Change-Id: I7b4459b32298698fc2908cbbdd0e3afadbe5ac24
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Tao Bao [Wed, 1 Apr 2015 18:21:55 +0000 (11:21 -0700)]
Wrap zipfile.write(), writestr() and close()
In order to work around the zip 2GiB limit, we need to wrap the related
functions in zipfile. Calls to those functions should always be replaced
with calls to the wrappers instead.
Bug:
18015246
Change-Id: I499574cee51ec4804bc10cbefe0b17940afed918
(cherry picked from commit
2ed665a033c587b276b1615516e5354e2ace47cd)
Andres Morales [Fri, 8 May 2015 22:04:26 +0000 (22:04 +0000)]
Merge "[versionitis] pull image id from recovery into props" into mnc-dev
Andres Morales [Thu, 7 May 2015 03:44:22 +0000 (20:44 -0700)]
[versionitis] pull image id from recovery into props
- remove root/build.prop, merge with root/default.prop
Change-Id: I913c67d948678745c0bb1b614ac10a0b7488e5c4
Ying Wang [Fri, 8 May 2015 20:27:25 +0000 (13:27 -0700)]
Cleaned the outdated incrementaljavac.
Nobody is using this feature and now we switched to jack.
Change-Id: I749b486eb347cbf3ee7b107565fc800eeb238c44
Ying Wang [Fri, 8 May 2015 18:51:21 +0000 (18:51 +0000)]
Merge "Revert "Fix and cleanup."" into mnc-dev
Ying Wang [Fri, 8 May 2015 18:51:00 +0000 (18:51 +0000)]
Revert "Fix and cleanup."
This reverts commit
f28bad5227dd566395e458b5266e716d7fa5f958.
Change-Id: Ib64936457a1236fabbe7c6b9c56f52ef650342e7
Ying Wang [Fri, 8 May 2015 18:11:55 +0000 (18:11 +0000)]
Merge "Fix and cleanup." into mnc-dev
Ying Wang [Fri, 8 May 2015 03:59:15 +0000 (03:59 +0000)]
Merge "Fix Mac build." into mnc-dev
Ying Wang [Fri, 8 May 2015 03:57:56 +0000 (20:57 -0700)]
Fix Mac build.
Mac doesn't like "cp -r -L", but "cp -R -L".
Change-Id: I32bd8e5171db4ed811e158d91482671b14622825
Ying Wang [Thu, 7 May 2015 23:53:13 +0000 (16:53 -0700)]
Fix and cleanup.
- Detect java-source-list before transforming to java-source-list-uniq.
This fixes non-fatal errors in build log like:
/bin/bash:
out/target/common/obj/APPS/android.core.tests.libcore.package.tzdata_intermediates/classes/java-source-list:
No such file or directory
- Cleaned the outdated incrementaljavac. Nobody is using this feature
and now we switched to jack.
Change-Id: If1adb9b5820d9b295a11984c0f170f9a7ff4de7b
Dmitriy Ivanov [Wed, 29 Apr 2015 19:13:37 +0000 (12:13 -0700)]
Do not pack relocations for executables
Bug: http://b/
20665974
Change-Id: Ibc13b5d6bd05dfbc7ff8475068fe7363f58e7e67
(cherry picked from commit
e24b6f77ffba8f7d9c2a7acbb7a0b748197d48c4)
Robin Lee [Thu, 7 May 2015 14:55:48 +0000 (14:55 +0000)]
Revert "Switch from Calculator to ExactCalculator"
Temporary revert to get TT builds in shape.
This reverts commit
846505dc35bb155c1c2cf54d407a946e8f732494.
Bug:
20745303
Change-Id: Id3455cba38b7aabaffa63c8531a6430f69897c6e
Joe Fernandez [Thu, 7 May 2015 06:42:07 +0000 (06:42 +0000)]
am
c4ef9bb0: am
a9d796a4: docs: Add navigation heading for Develop > Preview
* commit '
c4ef9bb08f504c3ca58727403f607cd051edbf5d':
docs: Add navigation heading for Develop > Preview
Joe Fernandez [Thu, 7 May 2015 06:29:59 +0000 (06:29 +0000)]
am
a9d796a4: docs: Add navigation heading for Develop > Preview
* commit '
a9d796a4f9e198f17de6f1a27264b1b4fc9a778a':
docs: Add navigation heading for Develop > Preview
Joe Fernandez [Wed, 6 May 2015 05:07:42 +0000 (22:07 -0700)]
docs: Add navigation heading for Develop > Preview
Change-Id: I133672c6ecb5e778f49c31d091812ed7b6dc6b24
Yigit Boyar [Thu, 7 May 2015 01:40:09 +0000 (01:40 +0000)]
Merge "DO NOT MERGE Remove RecyclerView tests form pathmap" into mnc-dev
Yigit Boyar [Thu, 30 Apr 2015 02:34:56 +0000 (19:34 -0700)]
DO NOT MERGE Remove RecyclerView tests form pathmap
Bug:
20675894
Change-Id: Ia482c860b7c02f1c37b94c961cf283754c60cbcc
(cherry picked from commit
a85c85ae370be73fbc920177c87e739d7353059b)
Jeff Brown [Tue, 5 May 2015 03:07:11 +0000 (20:07 -0700)]
Revert "Build docs for android-support-media-protocols.jar."
This reverts commit
5d0da1f959c5f9f38def94d76cdf0cddf52e3edf.
Bug:
20641986
Change-Id: I68d79186179b8b542b323ab630c6ed7620eb6f27
Dirk Dougherty [Wed, 6 May 2015 17:13:01 +0000 (17:13 +0000)]
am
e94fcf31: am
29e93436: Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.
* commit '
e94fcf31a08a7cce45171b5f8cce29b50d2cefd8':
Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.
Dirk Dougherty [Wed, 6 May 2015 17:00:22 +0000 (17:00 +0000)]
am
29e93436: Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.
* commit '
29e934367b927fb13417bee77008600ad5a39dcc':
Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.
Dirk Dougherty [Wed, 6 May 2015 01:17:13 +0000 (18:17 -0700)]
Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.
Change-Id: I9eabbbcd823fb29bd2209172c458cb9dad5f24d2
Chih-Hung Hsieh [Fri, 1 May 2015 21:53:59 +0000 (14:53 -0700)]
Upgrade x86 gcc to 4.9 and disable devirtualization.
Also filter out gcc-only flags -Wno-clobbered and -fno-devirtualize
when compiled with clang/llvm.
BUG:
19872411
Change-Id: I6de57583be04da607f569df65e93531787dbb789
(cherry picked from AOSP commit
90036610ddfe0455553a1b46bb8adbeafde0cac1)
Ying Wang [Tue, 5 May 2015 02:21:48 +0000 (19:21 -0700)]
Raise SDK version for ProGuard processing when app links support library.
When an app's LOCAL_SDK_VERSION is lower than the support library's
LOCAL_SDK_VERSION, we artifically raises the "SDK version" "linked"
by ProGuard, to
- suppress ProGuard warnings of referencing symbols unknown to the
lower SDK version.
- prevent ProGuard stripping subclass in the support library that
extends class added in the higher SDK version.
This allows us to remove the dangerous ProGuard flag
"-dontwarn android.support.**".
Notes:
- We don't raise the app's LOCAL_SDK_VERSION, so that the app's own
code is still unable to use the higher SDK version.
- For platform build, we can't just raise to the "current" SDK,
because would break apps that use APIs removed from the current SDK.
We raise it to framework.jar instead, which contains the most complete
symbol set.
Bug:
20658265
Change-Id: I90099073457a65cb8031fbaec6b396d68ce614a7
(cherry picked from commit
8e8d1e7abadb53d5dcb211fac6ab6ed20f5dc9ac)
Dirk Dougherty [Tue, 5 May 2015 02:35:03 +0000 (02:35 +0000)]
am
e99d5320: am
032a4946: Doc change: css/js, assets for landing page, header/footer designs.
* commit '
e99d5320dd70de6f5ada67dd0c2dd9761e6a6c32':
Doc change: css/js, assets for landing page, header/footer designs.
Dirk Dougherty [Tue, 5 May 2015 02:23:28 +0000 (02:23 +0000)]
am
032a4946: Doc change: css/js, assets for landing page, header/footer designs.
* commit '
032a494654978c3ceed73268f99615ff3d0d686e':
Doc change: css/js, assets for landing page, header/footer designs.
Dirk Dougherty [Tue, 5 May 2015 01:48:10 +0000 (01:48 +0000)]
am
55abf4c2: am
ff233cc9: Doc change: remove deprecated templates-sdk-dyn files, add new development files based on production templates-sdk.
* commit '
55abf4c22d08693cfb2838a79654fc32c7de3ff8':
Doc change: remove deprecated templates-sdk-dyn files, add new development files based on production templates-sdk.
Dirk Dougherty [Tue, 5 May 2015 01:17:33 +0000 (18:17 -0700)]
Doc change: css/js, assets for landing page, header/footer designs.
Change-Id: I9430a725bd7ba12cb0ac7da1a5ed9c3bfa8e321e
Dirk Dougherty [Tue, 5 May 2015 01:04:31 +0000 (01:04 +0000)]
am
ff233cc9: Doc change: remove deprecated templates-sdk-dyn files, add new development files based on production templates-sdk.
* commit '
ff233cc92e379d501d8b256ba9a015827d77e012':
Doc change: remove deprecated templates-sdk-dyn files, add new development files based on production templates-sdk.
Joe Fernandez [Mon, 4 May 2015 22:19:28 +0000 (22:19 +0000)]
am
657b2971: am
fa6ee37f: am
53b98761: docs: fix sticky header hiding RenderScript reference headings
* commit '
657b2971f8a6f4a1b6dac68915c557304970d716':
docs: fix sticky header hiding RenderScript reference headings
Joe Fernandez [Mon, 4 May 2015 22:19:27 +0000 (22:19 +0000)]
am
63904d26: am
03b107c8: docs: update masthead template for Preview docs
* commit '
63904d26ad473d8446fea12775ef37e9ae2c8e59':
docs: update masthead template for Preview docs
Dirk Dougherty [Mon, 4 May 2015 21:37:05 +0000 (14:37 -0700)]
Doc change: remove deprecated templates-sdk-dyn files, add new development files based on production templates-sdk.
Change-Id: I5a94aaa8ba375010191a12f210954c22395fed40
Dmitriy Ivanov [Mon, 4 May 2015 20:11:08 +0000 (20:11 +0000)]
Merge "Pack module before making symbolic version" into mnc-dev
Dmitriy Ivanov [Sat, 2 May 2015 01:12:29 +0000 (18:12 -0700)]
Pack module before making symbolic version
We need PT_LOAD segments to match for the gdb sake.
If we pack module after stripping symbolic version
PT_LOAD differ from actual ones; this confuses gdb.
Bug: http://b/
20687795
Change-Id: If7b1ffcda918d0cc47051a30ca1202007ed62403
Ying Wang [Mon, 4 May 2015 18:43:13 +0000 (18:43 +0000)]
Merge "Revert "Don't extract jni from prebuilt apks."" into mnc-dev
Ying Wang [Mon, 4 May 2015 18:39:46 +0000 (18:39 +0000)]
Revert "Don't extract jni from prebuilt apks."
This reverts commit
3797466fbd31cc3ca5a1eddea64e7fdf0921ea67.
Bug:
20810492
Bug:
20811499
Change-Id: Ic922d9daccc4550db489c0f3d4ad6b4ff85b5e60
Ying Wang [Sat, 2 May 2015 16:33:45 +0000 (16:33 +0000)]
Merge "Don't extract jni from prebuilt apks." into mnc-dev
Joe Fernandez [Fri, 1 May 2015 23:14:51 +0000 (23:14 +0000)]
am
fa6ee37f: am
53b98761: docs: fix sticky header hiding RenderScript reference headings
* commit '
fa6ee37fae42ef08ebcb63dcaf8122f0f6f5311a':
docs: fix sticky header hiding RenderScript reference headings
Ying Wang [Fri, 1 May 2015 21:02:26 +0000 (14:02 -0700)]
Don't extract jni from prebuilt apks.
- We don't need LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES now, for we always
page-align jni shared libraries and store them umcompressed.
- For prebuilt apks, we don't extract jni any more; Instead we always run
uncompress-shared-libs on them.
- For apks built from source, we still install the jni separately, because
that way multiple apks can share the same jni and it saves space.
With this change, for most prebuilt apks, we don't need to specify
LOCAL_PREBUILT_JNI_LIBS ("@lib/<abi>/foo.so") any more, for the build
system automatically replaces the embedded jni with uncompressed files;
But if a prebuilt is a fat apk (i.e. containing jni not needed by the
current product architecture), you still need LOCAL_PREBUILT_JNI_LIBS to
specify what jni to keep. Otherwise all embedded jni will be replaced with
uncompressed files, that wastes space.
Bug:
8076853
Change-Id: Icf07e0998ac3602e6e05e80fed836fbafca33e01
Joe Fernandez [Fri, 1 May 2015 23:05:35 +0000 (23:05 +0000)]
am
53b98761: docs: fix sticky header hiding RenderScript reference headings
* commit '
53b98761b288fcf833db62bb4700fba20b319961':
docs: fix sticky header hiding RenderScript reference headings
Mohamad Ayyash [Fri, 1 May 2015 22:39:36 +0000 (15:39 -0700)]
common.py: Add support for squashfs
Change-Id: Ia40f8c6307d0213d43207aee91c4c8a5b5ad6f1e
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Joe Fernandez [Fri, 1 May 2015 22:57:46 +0000 (22:57 +0000)]
am
03b107c8: docs: update masthead template for Preview docs
* commit '
03b107c8563c5edf5fe25435e609329d1fc7a62f':
docs: update masthead template for Preview docs
Joe Fernandez [Fri, 1 May 2015 22:41:20 +0000 (15:41 -0700)]
docs: update masthead template for Preview docs
Change-Id: I00ec56064a5193491fce5389cdff7cb5824e567c
Ying Wang [Fri, 1 May 2015 02:46:00 +0000 (19:46 -0700)]
Deference symlinks when copying LOCAL_PICKUP_FILES.
Change-Id: I2399529ee9168bb93a4cad5daa61cd2ea500df04
Ying Wang [Thu, 30 Apr 2015 16:55:08 +0000 (09:55 -0700)]
Fix jack transformation on prebuilt AAR.
Change-Id: I74f932cff606138943d97b923bbd059bcd496e46
Dmitriy Ivanov [Wed, 29 Apr 2015 22:34:21 +0000 (15:34 -0700)]
Revert "Revert "Pack relocations for mips64""
This reverts commit
6399dcce598c2ac54bd87bc754028513405c049f.
Bug: http://b/
20658994
(cherry picked from commit
8387d99ec3649390f815d447a44674fc9ca18823)
Joe Fernandez [Thu, 30 Apr 2015 03:22:22 +0000 (20:22 -0700)]
docs: fix sticky header hiding RenderScript reference headings
b/
20637508
Change-Id: I64996db4fc986cbe0f4506b5524a708a9e14cbc8
Dmitriy Ivanov [Wed, 29 Apr 2015 21:50:05 +0000 (14:50 -0700)]
Revert "Revert "Pack relocations for mips""
This reverts commit
d05fd6fc821db3e09c988370c6ac24c3354232f7.
Bug: http://b/
20658994
Change-Id: Iccbd4846b310306ed11b87f4566b8aaadfa63ebb
(cherry picked from commit
cb2b3d47addad6b7370df4b8aa77a53f98045cfb)
Dimitry Ivanov [Wed, 29 Apr 2015 19:37:46 +0000 (19:37 +0000)]
Merge "Revert "Pack relocations for mips"" into mnc-dev
Dimitry Ivanov [Wed, 29 Apr 2015 18:57:54 +0000 (18:57 +0000)]
Revert "Pack relocations for mips"
This reverts commit
9dc1a7359f2351e18f08d69ea725f884541b2f2f.
Bug: http://b/
20658994
Change-Id: Ib10c764a7d06db823ee2fccfa47240e0a639d4bc
(cherry picked from commit
d05fd6fc821db3e09c988370c6ac24c3354232f7)
Dimitry Ivanov [Wed, 29 Apr 2015 18:59:05 +0000 (18:59 +0000)]
Revert "Pack relocations for mips64"
This reverts commit
8bd30fe3cb82e50caab50e4091c5977e5e24db0e.
Bug: http://b/
20658994
Change-Id: I6c31094559a12b824344802bf3993f91aee79a26
(cherry picked from commit
6399dcce598c2ac54bd87bc754028513405c049f)
Chris Banes [Wed, 29 Apr 2015 09:17:22 +0000 (09:17 +0000)]
am
8f168d1b: Add design support library docs
* commit '
8f168d1b986516112d103958070830c9075f6ce2':
Add design support library docs
Jeff Brown [Tue, 28 Apr 2015 19:46:22 +0000 (12:46 -0700)]
Add float support to binary event log.
Bug:
20664753
Change-Id: Iab232b1f172094919839d57f15644dfb2eaa1425
Chris Banes [Tue, 28 Apr 2015 11:01:49 +0000 (12:01 +0100)]
Add design support library docs
BUG:
20524332
Change-Id: I471ab17a2a5ccc43f4ef0fa04b7c2e9077d56361
bohu [Mon, 27 Apr 2015 19:05:03 +0000 (12:05 -0700)]
Bump sdk arm system image size to 750M
To fix broken build of arm system images.
Change-Id: I960dbb2a5a895557499fcf38655cd8907e768ef9
(cherry picked from commit
9f42be14b8864c123d3df29ade44e3a92096679e)
Ryosuke Matsuuchi [Mon, 27 Apr 2015 07:38:01 +0000 (07:38 +0000)]
am
02ff9f36: am
64879ead: am
90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs
* commit '
02ff9f36d2e962e783126fc136ec490fb4af5069':
Dirk Dougherty [Mon, 27 Apr 2015 07:38:00 +0000 (07:38 +0000)]
am
2b540ab5: am
1bd563a8: am
42321423: Merge "Doc change: increment metadata for updated Distribute landing page content." into lmp-docs
* commit '
2b540ab581f769e7ed5102c770311aec0f80b2cd':
Ryosuke Matsuuchi [Mon, 27 Apr 2015 07:24:27 +0000 (07:24 +0000)]
am
64879ead: am
90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs
* commit '
64879ead4514463a4efc7dcd00c4339d14136d11':
Dirk Dougherty [Mon, 27 Apr 2015 07:24:25 +0000 (07:24 +0000)]
am
1bd563a8: am
42321423: Merge "Doc change: increment metadata for updated Distribute landing page content." into lmp-docs
* commit '
1bd563a8ab4adb1df9b36e07739804453bc37d0c':
Ryosuke Matsuuchi [Sun, 26 Apr 2015 19:15:27 +0000 (19:15 +0000)]
am
90ac39d2: Merge "doc: Add Korean version of DAC/distribute/ page." into lmp-docs
* commit '
90ac39d2b56171b92f8d136fb8e35a63f8b70ff1':
doc: Add Korean version of DAC/distribute/ page.
Dirk Dougherty [Sun, 26 Apr 2015 19:15:15 +0000 (19:15 +0000)]
am
42321423: Merge "Doc change: increment metadata for updated Distribute landing page content." into lmp-docs
* commit '
4232142313a582939d80209a1449f3e4a08f6701':
Doc change: increment metadata for updated Distribute landing page content.
Elliott Hughes [Sat, 25 Apr 2015 18:44:03 +0000 (18:44 +0000)]
am
6e40faa2: am
44984951: am
162e1906: am
b271669a: Merge "Fix a trivial comment typo."
* commit '
6e40faa241b241f1c32edb40d36f9c407d8f6790':
Fix a trivial comment typo.
Elliott Hughes [Sat, 25 Apr 2015 18:31:57 +0000 (18:31 +0000)]
am
44984951: am
162e1906: am
b271669a: Merge "Fix a trivial comment typo."
* commit '
449849513b995021e326b3b1a500139cea712ba8':
Fix a trivial comment typo.
Elliott Hughes [Sat, 25 Apr 2015 18:23:50 +0000 (18:23 +0000)]
am
162e1906: am
b271669a: Merge "Fix a trivial comment typo."
* commit '
162e19061c7fcdf9e212a561f75427cf1126ea67':
Fix a trivial comment typo.
Elliott Hughes [Sat, 25 Apr 2015 18:10:58 +0000 (18:10 +0000)]
am
b271669a: Merge "Fix a trivial comment typo."
* commit '
b271669a0c6dd4287ed1631acecd94c3f443bc8d':
Fix a trivial comment typo.
Elliott Hughes [Sat, 25 Apr 2015 18:04:21 +0000 (18:04 +0000)]
Merge "Fix a trivial comment typo."
Elliott Hughes [Sat, 25 Apr 2015 18:02:40 +0000 (11:02 -0700)]
Fix a trivial comment typo.
Bug: https://code.google.com/p/android/issues/detail?id=170069
Change-Id: Iacd308893561a991971b191d4d10a78ca82753d4
Sami Tolvanen [Sat, 25 Apr 2015 10:01:53 +0000 (10:01 +0000)]
am
045d817c: am
497b74d5: am
d21d1d27: am
00e1f003: Merge "Check partition hash before resorting to block_image_verify"
* commit '
045d817cce8cb1feb0186b537306cabf1a5069cd':
Check partition hash before resorting to block_image_verify
Sami Tolvanen [Sat, 25 Apr 2015 09:48:19 +0000 (09:48 +0000)]
am
497b74d5: am
d21d1d27: am
00e1f003: Merge "Check partition hash before resorting to block_image_verify"
* commit '
497b74d5a28d9471566159535038e454ffa15857':
Check partition hash before resorting to block_image_verify
Sami Tolvanen [Sat, 25 Apr 2015 09:32:33 +0000 (09:32 +0000)]
am
d21d1d27: am
00e1f003: Merge "Check partition hash before resorting to block_image_verify"
* commit '
d21d1d273b83e701667beeabe0c76fd6888e15fc':
Check partition hash before resorting to block_image_verify
Sami Tolvanen [Sat, 25 Apr 2015 08:07:04 +0000 (08:07 +0000)]
am
00e1f003: Merge "Check partition hash before resorting to block_image_verify"
* commit '
00e1f0033eede8f23ff72097c98b7fd70a4e349d':
Check partition hash before resorting to block_image_verify
Sami Tolvanen [Sat, 25 Apr 2015 08:00:01 +0000 (08:00 +0000)]
Merge "Check partition hash before resorting to block_image_verify"
Nick Kralevich [Sat, 25 Apr 2015 05:15:48 +0000 (05:15 +0000)]
am
c98d6b35: am
6612d4a0: am
edc3371a: am
f3a6b07b: Merge "host compiler: enable compiler hardening flags"
* commit '
c98d6b35ba7e9381089b1b7c8b47f384e5772a4f':
host compiler: enable compiler hardening flags
Nick Kralevich [Sat, 25 Apr 2015 05:04:39 +0000 (05:04 +0000)]
am
6612d4a0: am
edc3371a: am
f3a6b07b: Merge "host compiler: enable compiler hardening flags"
* commit '
6612d4a0888bce32ff987e9897dede9829b5a822':
host compiler: enable compiler hardening flags
Nick Kralevich [Sat, 25 Apr 2015 04:54:12 +0000 (04:54 +0000)]
am
edc3371a: am
f3a6b07b: Merge "host compiler: enable compiler hardening flags"
* commit '
edc3371aeaf0f963d95b4d8bfb0e35b8b17ee648':
host compiler: enable compiler hardening flags
Nick Kralevich [Sat, 25 Apr 2015 04:44:34 +0000 (04:44 +0000)]
am
f3a6b07b: Merge "host compiler: enable compiler hardening flags"
* commit '
f3a6b07b80a32b822f63cb1d34de64e8395484a8':
host compiler: enable compiler hardening flags
Nick Kralevich [Sat, 25 Apr 2015 04:35:46 +0000 (04:35 +0000)]
Merge "host compiler: enable compiler hardening flags"
Nick Kralevich [Sat, 25 Apr 2015 04:26:08 +0000 (21:26 -0700)]
host compiler: enable compiler hardening flags
Enable the following compiler hardening flags:
* -Wl,-z,relro
* -Wl,-z,now
* -fstack-protector
relro / bind_now make the relro region read-only after linking,
preventing certain attacks against ELF data structures.
stack-protector adds stack canaries, which can detect exploits
which overwrite parts of the stack.
Explicitly not added in this change is FORTIFY_SOURCE=2. Adding that
option turns on glibc's warn_unused_result attributes. This generates
a huge number of new compile time warnings, and for the multiple
makefiles which have -Werror in them, turns those warnings into errors.
I'm not able to fix all the errors right away.
Bug:
20558757
Change-Id: I86791177c6695f5325233d9dd9a5dd3ccc2b1a2f
Dmitriy Ivanov [Sat, 25 Apr 2015 00:31:30 +0000 (00:31 +0000)]
am
80421984: am
aac1b9d9: am
f674a67d: am
573dfb7c: Merge "Pack relocations for mips64"
* commit '
804219841d7f581cf78f3f68e13381b6631513a0':
Pack relocations for mips64
Dmitriy Ivanov [Sat, 25 Apr 2015 00:20:48 +0000 (00:20 +0000)]
am
aac1b9d9: am
f674a67d: am
573dfb7c: Merge "Pack relocations for mips64"
* commit '
aac1b9d9bfc82aa739c7f38c82538ac73ea1040f':
Pack relocations for mips64
Dmitriy Ivanov [Sat, 25 Apr 2015 00:09:51 +0000 (00:09 +0000)]
am
f674a67d: am
573dfb7c: Merge "Pack relocations for mips64"
* commit '
f674a67d6ef3d446dd726ce9600bd905815506b6':
Pack relocations for mips64
Dmitriy Ivanov [Fri, 24 Apr 2015 23:59:03 +0000 (23:59 +0000)]
am
573dfb7c: Merge "Pack relocations for mips64"
* commit '
573dfb7cb8f768452744ddb781cc65412ed1a618':
Pack relocations for mips64
Dmitriy Ivanov [Fri, 24 Apr 2015 23:51:28 +0000 (23:51 +0000)]
Merge "Pack relocations for mips64"
Dmitriy Ivanov [Fri, 24 Apr 2015 23:36:21 +0000 (23:36 +0000)]
am
7347196a: am
df7afb47: am
3b023915: am
4fa4e4be: Merge "Do not pack relocations for prebuilts by default"
* commit '
7347196acbf640caaf68e4e790489a40d770a083':
Do not pack relocations for prebuilts by default
Dmitriy Ivanov [Fri, 24 Apr 2015 23:32:38 +0000 (16:32 -0700)]
Pack relocations for mips64
Bug: http://b/
18051137
Change-Id: I063c5d6cf007658c0efe9cb1d65ed8026b3e7dae
Dmitriy Ivanov [Fri, 24 Apr 2015 23:26:31 +0000 (23:26 +0000)]
am
df7afb47: am
3b023915: am
4fa4e4be: Merge "Do not pack relocations for prebuilts by default"
* commit '
df7afb47d8d69f53316218dd4b0510aa8201ce7c':
Do not pack relocations for prebuilts by default
Dmitriy Ivanov [Fri, 24 Apr 2015 23:14:00 +0000 (23:14 +0000)]
am
3b023915: am
4fa4e4be: Merge "Do not pack relocations for prebuilts by default"
* commit '
3b023915e8374341c6a69cd40b0811e10b3cb1b5':
Do not pack relocations for prebuilts by default
Dmitriy Ivanov [Fri, 24 Apr 2015 23:04:46 +0000 (23:04 +0000)]
am
4fa4e4be: Merge "Do not pack relocations for prebuilts by default"
* commit '
4fa4e4befd5bc88ab37d7c7b20d3a67d351a1925':
Do not pack relocations for prebuilts by default
Dmitriy Ivanov [Fri, 24 Apr 2015 22:56:08 +0000 (22:56 +0000)]
Merge "Do not pack relocations for prebuilts by default"
Dmitriy Ivanov [Fri, 24 Apr 2015 22:33:14 +0000 (15:33 -0700)]
Do not pack relocations for prebuilts by default
Do not pack relocations for prebuilds unless
LOCAL_PACK_MODULE_RELOCATIONS is true
Bug: http://b/
20537715
Bug: http://b/
18051137
Change-Id: Iddef3b09741da6ae10d73c98103b868cc7695d38
Dmitriy Ivanov [Fri, 24 Apr 2015 21:09:38 +0000 (21:09 +0000)]
am
10537b6f: am
513be561: am
cae46525: am
691a4379: Merge "Pack relocations for mips"
* commit '
10537b6f41342c50fc0c80bd85ff1b126054086f':
Pack relocations for mips
Dmitriy Ivanov [Fri, 24 Apr 2015 20:12:37 +0000 (20:12 +0000)]
am
513be561: am
cae46525: am
691a4379: Merge "Pack relocations for mips"
* commit '
513be561e9eca26bd73a0a6c8c2764b20430d60f':
Pack relocations for mips
Dmitriy Ivanov [Fri, 24 Apr 2015 20:05:03 +0000 (20:05 +0000)]
am
cae46525: am
691a4379: Merge "Pack relocations for mips"
* commit '
cae4652514c220d1b8d9fbbdca1204bc6cb25954':
Pack relocations for mips
Dmitriy Ivanov [Fri, 24 Apr 2015 19:55:39 +0000 (19:55 +0000)]
am
691a4379: Merge "Pack relocations for mips"
* commit '
691a4379c3386e39fc362d632acca5276060c23a':
Pack relocations for mips
Dmitriy Ivanov [Fri, 24 Apr 2015 19:45:22 +0000 (19:45 +0000)]
Merge "Pack relocations for mips"
Dmitriy Ivanov [Fri, 24 Apr 2015 19:20:02 +0000 (12:20 -0700)]
Pack relocations for mips
Bug: http://b/
18051137
Change-Id: Id5e0adfb55273f23e1c99b4eecb318c6b8d19989
Dmitriy Ivanov [Fri, 24 Apr 2015 18:28:05 +0000 (18:28 +0000)]
am
5754ad7e: am
5c327ec3: am
0f7ecd64: am
b1c2727a: Merge "Pack relocations for x86"
* commit '
5754ad7ead23fb613f9fe4de2970283d18141ea5':
Pack relocations for x86
Dmitriy Ivanov [Fri, 24 Apr 2015 18:16:35 +0000 (18:16 +0000)]
am
5c327ec3: am
0f7ecd64: am
b1c2727a: Merge "Pack relocations for x86"
* commit '
5c327ec39cc83f1f87f012abb29a9b13a0be02b7':
Pack relocations for x86
Dmitriy Ivanov [Fri, 24 Apr 2015 18:07:03 +0000 (18:07 +0000)]
am
0f7ecd64: am
b1c2727a: Merge "Pack relocations for x86"
* commit '
0f7ecd648bd5aa7f2798615559eb2cfd72e5d918':
Pack relocations for x86