OSDN Git Service

android-x86/build.git
9 years agoam b58119ea: Merge "Turn on _FORTIFY_SOURCE=2 for the host."
Elliott Hughes [Wed, 13 May 2015 19:39:53 +0000 (19:39 +0000)]
am b58119ea: Merge "Turn on _FORTIFY_SOURCE=2 for the host."

* commit 'b58119eab44bc5fe32353cda5f09661042618dde':
  Turn on _FORTIFY_SOURCE=2 for the host.

9 years agoam 2f7ae925: Merge "Add support for clobbered blocks"
Tao Bao [Wed, 13 May 2015 19:39:51 +0000 (19:39 +0000)]
am 2f7ae925: Merge "Add support for clobbered blocks"

* commit '2f7ae925a3fa7f46fbfe6bb22b9b7c5962de49aa':
  Add support for clobbered blocks

9 years agoMerge "Turn on _FORTIFY_SOURCE=2 for the host."
Elliott Hughes [Wed, 13 May 2015 19:10:37 +0000 (19:10 +0000)]
Merge "Turn on _FORTIFY_SOURCE=2 for the host."

9 years agoMerge "Add support for clobbered blocks"
Tao Bao [Wed, 13 May 2015 19:03:07 +0000 (19:03 +0000)]
Merge "Add support for clobbered blocks"

9 years agoam dc618332: Merge "Add bootsigner path as an option"
Tao Bao [Wed, 13 May 2015 18:50:59 +0000 (18:50 +0000)]
am dc618332: Merge "Add bootsigner path as an option"

* commit 'dc618332644cb01bfa1354f0299fc9dadc1cb592':
  Add bootsigner path as an option

9 years agoMerge "Add bootsigner path as an option"
Tao Bao [Wed, 13 May 2015 18:42:16 +0000 (18:42 +0000)]
Merge "Add bootsigner path as an option"

9 years agoam 3979b9bd: Merge "Remove libc++ from prepackaged shared libs in cts."
dcashman [Wed, 13 May 2015 18:29:36 +0000 (18:29 +0000)]
am 3979b9bd: Merge "Remove libc++ from prepackaged shared libs in cts."

* commit '3979b9bdbc49db21d62b7d67a0b2c9b5007ee6b0':
  Remove libc++ from prepackaged shared libs in cts.

9 years agoMerge "Remove libc++ from prepackaged shared libs in cts."
dcashman [Wed, 13 May 2015 18:19:42 +0000 (18:19 +0000)]
Merge "Remove libc++ from prepackaged shared libs in cts."

9 years agoAdd support for clobbered blocks
Tao Bao [Tue, 12 May 2015 18:42:31 +0000 (11:42 -0700)]
Add support for clobbered blocks

In ext4 filesystems, some blocks might be changed even being mounted
R/O, such as the superblock (block 0). We need to exclude such blocks
from integrity verification. Plus such blocks should always be
written to the target by copying instead of patching.

Bug: http://b/20939131
Change-Id: I991169ec307dfb231b2fe8908a0668595ecb2060

9 years agoAdd bootsigner path as an option
Baligh Uddin [Thu, 20 Nov 2014 17:52:05 +0000 (09:52 -0800)]
Add bootsigner path as an option

Change-Id: I3d804b7937aafea8274b06edab097a6dca8f04cd
(cherry picked from commit e204868f1f2bf2c6a85cf09edb52c06d593584c0)

9 years agoRemove libc++ from prepackaged shared libs in cts.
dcashman [Tue, 12 May 2015 18:31:09 +0000 (11:31 -0700)]
Remove libc++ from prepackaged shared libs in cts.

Commit 28acbeab18f6083299c07f9ebe769d22e49f8107 removed the dependency of
sepolicy-analyze on libc++, eliminating the only consumer of the library for the
cts host-side tests.  Remove the library since it is no longer needed but leave
the ability to add other shared libs in the future.

Bug: 19566396
Change-Id: I4fbfa44ce9f099ad058fd0630ac48749e389e3e1

9 years agoTurn on _FORTIFY_SOURCE=2 for the host.
Elliott Hughes [Wed, 13 May 2015 04:41:52 +0000 (21:41 -0700)]
Turn on _FORTIFY_SOURCE=2 for the host.

Bug: http://b/20558757
Change-Id: Ic0c173d25dc6b2fa9c3122a523af5f37bc1b8c55

9 years agoam 75f3c5a8: Merge "Revert "Revert "Enable linker -fix-cortex-a53-843419"""
Andrew Hsieh [Wed, 13 May 2015 01:17:10 +0000 (01:17 +0000)]
am 75f3c5a8: Merge "Revert "Revert "Enable linker -fix-cortex-a53-843419"""

* commit '75f3c5a8494a6c0415165645f9fb2c830445f943':
  Revert "Revert "Enable linker -fix-cortex-a53-843419""

9 years agoMerge "Revert "Revert "Enable linker -fix-cortex-a53-843419"""
Andrew Hsieh [Wed, 13 May 2015 01:08:49 +0000 (01:08 +0000)]
Merge "Revert "Revert "Enable linker -fix-cortex-a53-843419"""

9 years agoam a1e55c5f: Merge "Fix using libc++_static in dynamic binaries."
Dan Albert [Tue, 12 May 2015 22:10:13 +0000 (22:10 +0000)]
am a1e55c5f: Merge "Fix using libc++_static in dynamic binaries."

* commit 'a1e55c5f532f1f5bbc15b717bdb7ee4b1d45a25b':
  Fix using libc++_static in dynamic binaries.

9 years agoMerge "Fix using libc++_static in dynamic binaries."
Dan Albert [Tue, 12 May 2015 22:00:32 +0000 (22:00 +0000)]
Merge "Fix using libc++_static in dynamic binaries."

9 years agoFix using libc++_static in dynamic binaries.
Dan Albert [Tue, 12 May 2015 18:00:31 +0000 (11:00 -0700)]
Fix using libc++_static in dynamic binaries.

Change-Id: I89bacfbf270d2d1bc1b9b2fa6951b355a67b808c

9 years agoRevert "Revert "Enable linker -fix-cortex-a53-843419""
Andrew Hsieh [Mon, 11 May 2015 06:03:07 +0000 (06:03 +0000)]
Revert "Revert "Enable linker -fix-cortex-a53-843419""

This reverts commit 32e1689684682aadf1a5d5af523ccafae5907572.

Now that prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9 is also updated

Change-Id: Id95c1c4cc651c434461655e62b8f23afd56b53e4

9 years agoam 44158945: Merge "Wrap zipfile.write(), writestr() and close()"
Tao Bao [Fri, 8 May 2015 23:06:36 +0000 (23:06 +0000)]
am 44158945: Merge "Wrap zipfile.write(), writestr() and close()"

* commit '4415894579186c0c4f8d006ed625c0379b1b9d40':
  Wrap zipfile.write(), writestr() and close()

9 years agoMerge "Wrap zipfile.write(), writestr() and close()"
Tao Bao [Fri, 8 May 2015 22:52:03 +0000 (22:52 +0000)]
Merge "Wrap zipfile.write(), writestr() and close()"

9 years agoWrap zipfile.write(), writestr() and close()
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: Ice494371ca6654e88ded2ae0eb680f51082effcb

9 years agoam 9db69c1b: Merge "Add task to print transitive dependencies and their license files."
Ying Wang [Thu, 7 May 2015 22:55:37 +0000 (22:55 +0000)]
am 9db69c1b: Merge "Add task to print transitive dependencies and their license files."

* commit '9db69c1b0891707cfb22aaa6158cd9d11312dffc':
  Add task to print transitive dependencies and their license files.

9 years agoMerge "Add task to print transitive dependencies and their license files."
Ying Wang [Thu, 7 May 2015 22:43:56 +0000 (22:43 +0000)]
Merge "Add task to print transitive dependencies and their license files."

9 years agoAdd task to print transitive dependencies and their license files.
Ying Wang [Thu, 7 May 2015 19:08:53 +0000 (12:08 -0700)]
Add task to print transitive dependencies and their license files.

Print modules and their transitive dependencies with license files.
To invoke, run
"make deps-license PROJ_PATH=<proj-path-patterns> DEP_PATH=<dep-path-patterns>".
PROJ_PATH restricts the paths of the source modules;
DEP_PATH restricts the paths of the dependency modules.
Both can be makefile patterns supported by makefile function $(filter).
Example:
  $ make deps-license packages/app/% external/%
  prints all modules in packages/app/ with their dpendencies in external/.
The printout lines look like "<module_name> :: <module_paths> :: <license_files>".

Bug: 20823995
Change-Id: I06b66e85ff56c8628bffa3d948085ed45870100f

9 years agoam 0a00ef50: Merge "Do not pack relocations for executables"
Dmitriy Ivanov [Thu, 7 May 2015 21:22:44 +0000 (21:22 +0000)]
am 0a00ef50: Merge "Do not pack relocations for executables"

* commit '0a00ef5084d6cb6adf3cc2a6f159410b51d2c13b':
  Do not pack relocations for executables

9 years agoMerge "Do not pack relocations for executables"
Dmitriy Ivanov [Thu, 7 May 2015 21:09:48 +0000 (21:09 +0000)]
Merge "Do not pack relocations for executables"

9 years agoDo not pack relocations for executables
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

9 years agoam afec6236: Merge "Build: Update Mips64 generic build for ART"
Andreas Gampe [Thu, 7 May 2015 16:15:22 +0000 (16:15 +0000)]
am afec6236: Merge "Build: Update Mips64 generic build for ART"

* commit 'afec6236bbb8ab13908ddd71b0bfd0a142928e01':
  Build: Update Mips64 generic build for ART

9 years agoMerge "Build: Update Mips64 generic build for ART"
Andreas Gampe [Thu, 7 May 2015 16:02:16 +0000 (16:02 +0000)]
Merge "Build: Update Mips64 generic build for ART"

9 years agoBuild: Update Mips64 generic build for ART
Andreas Gampe [Thu, 7 May 2015 03:56:33 +0000 (20:56 -0700)]
Build: Update Mips64 generic build for ART

For ART testing, we need:

1) A larger userdata partition. A lot of files end up there as it
is multi-arch.

2) Don't strip prebuilts. Technically we only care about core-libart,
but this is the best high-level change that doesn't impact other
files.

Change-Id: Ic36bfcf80ba50a602752ca0a3031dda89a0f3051

9 years agoam 0e8413e4: Merge "Remove stlport from global package list."
Dan Albert [Wed, 6 May 2015 21:29:13 +0000 (21:29 +0000)]
am 0e8413e4: Merge "Remove stlport from global package list."

* commit '0e8413e45e59dd8598e6d63ebdad03469b3c01eb':
  Remove stlport from global package list.

9 years agoMerge "Remove stlport from global package list."
Dan Albert [Wed, 6 May 2015 21:15:57 +0000 (21:15 +0000)]
Merge "Remove stlport from global package list."

9 years agoRemove stlport from global package list.
Dan Albert [Wed, 6 May 2015 16:49:10 +0000 (09:49 -0700)]
Remove stlport from global package list.

This is now whitelisted per device.

Bug: http://b/15193147
Change-Id: I7fcd0891242fb552a17753b151cf431a398bbc44

9 years agoam 5ee74388: Merge "Disallow using stlport."
Dan Albert [Wed, 6 May 2015 20:09:26 +0000 (20:09 +0000)]
am 5ee74388: Merge "Disallow using stlport."

* commit '5ee74388b1e5678f353ba8a804e8bb3a20420cb5':
  Disallow using stlport.

9 years agoam 955ebbaa: Merge "Cleanup libc++ configuration."
Dan Albert [Wed, 6 May 2015 20:09:25 +0000 (20:09 +0000)]
am 955ebbaa: Merge "Cleanup libc++ configuration."

* commit '955ebbaa952479f9c99391ee81c6b35d3db9b410':
  Cleanup libc++ configuration.

9 years agoMerge "Disallow using stlport."
Dan Albert [Wed, 6 May 2015 19:53:39 +0000 (19:53 +0000)]
Merge "Disallow using stlport."

9 years agoMerge "Cleanup libc++ configuration."
Dan Albert [Wed, 6 May 2015 19:51:05 +0000 (19:51 +0000)]
Merge "Cleanup libc++ configuration."

9 years agoDisallow using stlport.
Dan Albert [Wed, 6 May 2015 17:08:32 +0000 (10:08 -0700)]
Disallow using stlport.

The only remaining users of stlport are vendor blobs. Prevent any new
users from using it.

Bug: http://b/15193147
Change-Id: I577a16c8c52e2c7d939c3b5026e18ad90e4b9f26

9 years agoCleanup libc++ configuration.
Dan Albert [Wed, 6 May 2015 17:08:11 +0000 (10:08 -0700)]
Cleanup libc++ configuration.

Change-Id: I2162f2a19c7f13cfbd4a2530a783a4e671d7cdb1

9 years agoam b2ce04b4: Merge "Make Windows a non-multilib target."
Dan Albert [Tue, 5 May 2015 23:53:35 +0000 (23:53 +0000)]
am b2ce04b4: Merge "Make Windows a non-multilib target."

* commit 'b2ce04b4317331903b6ec325ea473f5fc5c8aca3':
  Make Windows a non-multilib target.

9 years agoMerge "Make Windows a non-multilib target."
Dan Albert [Tue, 5 May 2015 23:38:59 +0000 (23:38 +0000)]
Merge "Make Windows a non-multilib target."

9 years agoMake Windows a non-multilib target.
Dan Albert [Tue, 5 May 2015 01:17:52 +0000 (18:17 -0700)]
Make Windows a non-multilib target.

We don't have a toolchain for 64-bit windows.

This allows running `USE_MINGW=1 mm` in a directory that has a host
module with LOCAL_MULTILIB := both.

Change-Id: I31f981b38fb80b0d6582bab0a4bd580a3c654c91

9 years agoam b5ccb461: Merge "Select the correct target STL with USE_MINGW."
Dan Albert [Tue, 5 May 2015 21:49:40 +0000 (21:49 +0000)]
am b5ccb461: Merge "Select the correct target STL with USE_MINGW."

* commit 'b5ccb461ed50dec49a5bc0e6cdbe8ffd62080d7d':
  Select the correct target STL with USE_MINGW.

9 years agoMerge "Select the correct target STL with USE_MINGW."
Dan Albert [Tue, 5 May 2015 21:40:01 +0000 (21:40 +0000)]
Merge "Select the correct target STL with USE_MINGW."

9 years agoam 48240423: Merge "Fix JDK check for USE_MINGW=1."
Dan Albert [Tue, 5 May 2015 18:55:22 +0000 (18:55 +0000)]
am 48240423: Merge "Fix JDK check for USE_MINGW=1."

* commit '4824042356e780153153ac7aafa6ce6e1b8df7f2':
  Fix JDK check for USE_MINGW=1.

9 years agoMerge "Fix JDK check for USE_MINGW=1."
Dan Albert [Tue, 5 May 2015 18:45:54 +0000 (18:45 +0000)]
Merge "Fix JDK check for USE_MINGW=1."

9 years agoFix JDK check for USE_MINGW=1.
Dan Albert [Tue, 5 May 2015 18:41:52 +0000 (11:41 -0700)]
Fix JDK check for USE_MINGW=1.

Change-Id: I3bdd9258e8870fc00a5f1f74682a949dc487d851

9 years agoam 8ace80b3: Merge "Fix mips build"
Dmitriy Ivanov [Tue, 5 May 2015 01:26:42 +0000 (01:26 +0000)]
am 8ace80b3: Merge "Fix mips build"

* commit '8ace80b37590e5b22c115698e20b8a9911f7a865':
  Fix mips build

9 years agoMerge "Fix mips build"
Dmitriy Ivanov [Tue, 5 May 2015 01:16:56 +0000 (01:16 +0000)]
Merge "Fix mips build"

9 years agoFix mips build
Dmitriy Ivanov [Tue, 5 May 2015 01:10:47 +0000 (18:10 -0700)]
Fix mips build

Change-Id: Ifbb2df36c173511c118f34cfa39bb01ca7f7d380

9 years agoam f2748888: Merge "Upgrade x86 gcc to 4.9 and disable devirtualization."
Chih-Hung Hsieh [Tue, 5 May 2015 01:10:24 +0000 (01:10 +0000)]
am f2748888: Merge "Upgrade x86 gcc to 4.9 and disable devirtualization."

* commit 'f2748888707d09adc5abb6fe3725e55db917351e':
  Upgrade x86 gcc to 4.9 and disable devirtualization.

9 years agoam b9a8aa63: Merge "Fix prebuilts for target builds with USE_MINGW=1."
Dan Albert [Tue, 5 May 2015 01:10:23 +0000 (01:10 +0000)]
am b9a8aa63: Merge "Fix prebuilts for target builds with USE_MINGW=1."

* commit 'b9a8aa63cb5f9fedb27d06f422d7a5b54f9a8009':
  Fix prebuilts for target builds with USE_MINGW=1.

9 years agoam d0d0f464: Merge "Pack module before making symbolic version"
Dmitriy Ivanov [Tue, 5 May 2015 01:10:22 +0000 (01:10 +0000)]
am d0d0f464: Merge "Pack module before making symbolic version"

* commit 'd0d0f464ee37a3ecd4a4d70158ca12db00550638':
  Pack module before making symbolic version

9 years agoMerge "Upgrade x86 gcc to 4.9 and disable devirtualization."
Chih-Hung Hsieh [Mon, 4 May 2015 23:36:50 +0000 (23:36 +0000)]
Merge "Upgrade x86 gcc to 4.9 and disable devirtualization."

9 years agoSelect the correct target STL with USE_MINGW.
Dan Albert [Mon, 4 May 2015 23:34:19 +0000 (16:34 -0700)]
Select the correct target STL with USE_MINGW.

The previous check tested against USE_MINGW even for target builds.
Hadn't been a problem because people don't typically set USE_MINGW
directly.

Change-Id: I90fe0ea890c44917eb29dd02d7c7f76c19e7fbd6

9 years agoMerge "Fix prebuilts for target builds with USE_MINGW=1."
Dan Albert [Mon, 4 May 2015 22:46:57 +0000 (22:46 +0000)]
Merge "Fix prebuilts for target builds with USE_MINGW=1."

9 years agoFix prebuilts for target builds with USE_MINGW=1.
Dan Albert [Mon, 4 May 2015 19:44:44 +0000 (12:44 -0700)]
Fix prebuilts for target builds with USE_MINGW=1.

USE_MINGW=1 mm didn't work in directories that contained target modules
because the build system would use the Windows locations and extensions
when trying to find the host GCC prebuilts. Windows is the target OS,
not the OS we're building from.

Change-Id: Ic994fed15388d0c7d393f71ba28fe7afdc659f5c

9 years agoUpgrade x86 gcc to 4.9 and disable devirtualization.
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

9 years agoMerge "Pack module before making symbolic version"
Dmitriy Ivanov [Mon, 4 May 2015 20:15:46 +0000 (20:15 +0000)]
Merge "Pack module before making symbolic version"

9 years agoPack module before making symbolic version
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
(cherry picked from commit 258b29cf7652ae170a8c7907fa7361cb30542cd1)

9 years agoam c112341b: Merge "common.py: Add support for squashfs"
Mohamad Ayyash [Fri, 1 May 2015 23:08:42 +0000 (23:08 +0000)]
am c112341b: Merge "common.py: Add support for squashfs"

* commit 'c112341bab721fe692c87e17aaf2d554f5b8c6c2':
  common.py: Add support for squashfs

9 years agoMerge "common.py: Add support for squashfs"
Mohamad Ayyash [Fri, 1 May 2015 22:58:08 +0000 (22:58 +0000)]
Merge "common.py: Add support for squashfs"

9 years agocommon.py: Add support for squashfs
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>
9 years agoam 0a3b080a: Merge "Revert "Revert "Pack relocations for mips64"""
Dmitriy Ivanov [Thu, 30 Apr 2015 06:18:40 +0000 (06:18 +0000)]
am 0a3b080a: Merge "Revert "Revert "Pack relocations for mips64"""

* commit '0a3b080ab4ddc50db84ef7a58dca79613a79a1d7':
  Revert "Revert "Pack relocations for mips64""

9 years agoMerge "Revert "Revert "Pack relocations for mips64"""
Dmitriy Ivanov [Thu, 30 Apr 2015 06:10:19 +0000 (06:10 +0000)]
Merge "Revert "Revert "Pack relocations for mips64"""

9 years agoRevert "Revert "Pack relocations for mips64""
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

9 years agoam cb238772: Merge "Revert "Revert "Pack relocations for mips"""
Dmitriy Ivanov [Wed, 29 Apr 2015 22:50:23 +0000 (22:50 +0000)]
am cb238772: Merge "Revert "Revert "Pack relocations for mips"""

* commit 'cb2387722d6f331e80c0631c9572729dd4f99de6':
  Revert "Revert "Pack relocations for mips""

9 years agoMerge "Revert "Revert "Pack relocations for mips"""
Dmitriy Ivanov [Wed, 29 Apr 2015 22:43:32 +0000 (22:43 +0000)]
Merge "Revert "Revert "Pack relocations for mips"""

9 years agoRevert "Revert "Pack relocations for mips""
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

9 years agoam b7550093: Merge "Revert "Pack relocations for mips""
Dimitry Ivanov [Wed, 29 Apr 2015 19:26:28 +0000 (19:26 +0000)]
am b7550093: Merge "Revert "Pack relocations for mips""

* commit 'b755009325c9c2b1e9651a53f548d206a0c8d2c3':
  Revert "Pack relocations for mips"

9 years agoMerge "Revert "Pack relocations for mips""
Dimitry Ivanov [Wed, 29 Apr 2015 19:11:05 +0000 (19:11 +0000)]
Merge "Revert "Pack relocations for mips""

9 years agoam 37ddcad5: Merge "Define BOARD_SEPOLICY_DIRS for 64-bit emulators."
Nick Kralevich [Wed, 29 Apr 2015 19:12:44 +0000 (19:12 +0000)]
am 37ddcad5: Merge "Define BOARD_SEPOLICY_DIRS for 64-bit emulators."

* commit '37ddcad5a7074d26ef8392714d332a133267c568':
  Define BOARD_SEPOLICY_DIRS for 64-bit emulators.

9 years agoam dcf8bd8c: Merge "Revert "Pack relocations for mips64""
Dimitry Ivanov [Wed, 29 Apr 2015 19:12:43 +0000 (19:12 +0000)]
am dcf8bd8c: Merge "Revert "Pack relocations for mips64""

* commit 'dcf8bd8c0770b3e60342cce3683a7816b6224ae6':
  Revert "Pack relocations for mips64"

9 years agoMerge "Define BOARD_SEPOLICY_DIRS for 64-bit emulators."
Nick Kralevich [Wed, 29 Apr 2015 19:07:00 +0000 (19:07 +0000)]
Merge "Define BOARD_SEPOLICY_DIRS for 64-bit emulators."

9 years agoMerge "Revert "Pack relocations for mips64""
Dimitry Ivanov [Wed, 29 Apr 2015 19:03:56 +0000 (19:03 +0000)]
Merge "Revert "Pack relocations for mips64""

9 years agoRevert "Pack relocations for mips64"
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

9 years agoRevert "Pack relocations for mips"
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

9 years agoDefine BOARD_SEPOLICY_DIRS for 64-bit emulators.
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.

Change-Id: I7b4459b32298698fc2908cbbdd0e3afadbe5ac24
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
9 years agoam d2ef36ec: Merge "Add float support to binary event log."
Jeff Brown [Wed, 29 Apr 2015 01:55:14 +0000 (01:55 +0000)]
am d2ef36ec: Merge "Add float support to binary event log."

* commit 'd2ef36ecbd0ab4c227f51c817869c423eecbdc4d':
  Add float support to binary event log.

9 years agoMerge "Add float support to binary event log."
Jeff Brown [Wed, 29 Apr 2015 01:42:45 +0000 (01:42 +0000)]
Merge "Add float support to binary event log."

9 years agoAdd float support to binary event log.
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

9 years agoam cd092913: Merge "Don\'t pack ASAN executables."
Evgeniy Stepanov [Tue, 28 Apr 2015 22:10:21 +0000 (22:10 +0000)]
am cd092913: Merge "Don\'t pack ASAN executables."

* commit 'cd092913aa5dedbaeb4b7b1a6949b3bea15fe75d':
  Don't pack ASAN executables.

9 years agoam 5a54a468: Merge "--no-as-needed needs -Wl."
Dan Albert [Tue, 28 Apr 2015 22:10:18 +0000 (22:10 +0000)]
am 5a54a468: Merge "--no-as-needed needs -Wl."

* commit '5a54a468bb133d034687869b0771ea700243d4ba':
  --no-as-needed needs -Wl.

9 years agoMerge "Don't pack ASAN executables."
Evgeniy Stepanov [Tue, 28 Apr 2015 22:06:29 +0000 (22:06 +0000)]
Merge "Don't pack ASAN executables."

9 years agoDon't pack ASAN executables.
Dan Albert [Tue, 28 Apr 2015 21:59:11 +0000 (14:59 -0700)]
Don't pack ASAN executables.

The relocation packer is causing the kernel to load the executable
overlapping ASAN's shadow space.

Bug: http://b/20665974
Change-Id: Ifc5914f4fbed5f4f00ed1c795d01cf2fcb849cfe

9 years agoMerge "--no-as-needed needs -Wl."
Dan Albert [Tue, 28 Apr 2015 21:56:44 +0000 (21:56 +0000)]
Merge "--no-as-needed needs -Wl."

9 years ago--no-as-needed needs -Wl.
Dan Albert [Tue, 28 Apr 2015 21:55:50 +0000 (14:55 -0700)]
--no-as-needed needs -Wl.

Not sure why my checkbuild passed.

Change-Id: Iead84121daaaa32c5dd1f0712e9b7caaffd58352

9 years agoam a06323d6: Merge "Make asan more closely match clang behavior."
Dan Albert [Tue, 28 Apr 2015 21:31:19 +0000 (21:31 +0000)]
am a06323d6: Merge "Make asan more closely match clang behavior."

* commit 'a06323d6ed122031ce5c60244d85193dda083c47':
  Make asan more closely match clang behavior.

9 years agoMerge "Make asan more closely match clang behavior."
Dan Albert [Tue, 28 Apr 2015 21:18:57 +0000 (21:18 +0000)]
Merge "Make asan more closely match clang behavior."

9 years agoMake asan more closely match clang behavior.
Dan Albert [Tue, 28 Apr 2015 20:23:36 +0000 (13:23 -0700)]
Make asan more closely match clang behavior.

Always link libm with asan. Hasn't been a problem before because ASAN
was only ever used when libc++ was as well, which already links libm.

Pass --no-as-needed for host modules.

These aren't needed for the target builds because the target uses the
shared RTL.

Change-Id: I5d6a3c2dd557b5231be2b7711df6438693753a88

9 years agoam a7ebd27b: Merge "Fix bad variable names."
Dan Albert [Tue, 28 Apr 2015 18:41:26 +0000 (18:41 +0000)]
am a7ebd27b: Merge "Fix bad variable names."

* commit 'a7ebd27bc5436942d2801619473f4c4633ce2df5':
  Fix bad variable names.

9 years agoMerge "Fix bad variable names."
Dan Albert [Tue, 28 Apr 2015 18:32:47 +0000 (18:32 +0000)]
Merge "Fix bad variable names."

9 years agoFix bad variable names.
Dan Albert [Tue, 28 Apr 2015 18:26:45 +0000 (11:26 -0700)]
Fix bad variable names.

My working tree was still dirty when I verified the original change.

Change-Id: I3e6fa6908b809c016231b398c5d30d8cce3b87ab

9 years agoam 55f3c4c2: Merge "Fix AddressSanitizer link order and multilib setup."
Evgenii Stepanov [Mon, 27 Apr 2015 22:56:55 +0000 (22:56 +0000)]
am 55f3c4c2: Merge "Fix AddressSanitizer link order and multilib setup."

* commit '55f3c4c25e4ec9cf80331aa512df8daf8d601fdf':
  Fix AddressSanitizer link order and multilib setup.

9 years agoMerge "Fix AddressSanitizer link order and multilib setup."
Evgenii Stepanov [Mon, 27 Apr 2015 22:46:40 +0000 (22:46 +0000)]
Merge "Fix AddressSanitizer link order and multilib setup."

9 years agoFix AddressSanitizer link order and multilib setup.
Evgenii Stepanov [Fri, 24 Apr 2015 23:34:47 +0000 (16:34 -0700)]
Fix AddressSanitizer link order and multilib setup.

ASan runtime library (when using dynamic linking) must be the first
dependency of the main executable to achieve correct symbol
interposition. This matches how the clang driver works.

In multilib setup, ASan-RT name depends on the target arch:
  /system/lib/libclang_rt.asan-arm-android.so
  /system/lib64/libclang_rt.asan-arm64-android.so

We also set RPATH to /system/lib/asan or /system/lib64/asan
to have a place for ASan-only versions of system libraries.

Change-Id: I5c0cdb89e5e08a1950eb276e406da9f31a6e52dd

9 years agoam 959f0ecc: Merge "Add LOCAL_SANITIZE_RECOVER."
Dan Albert [Mon, 27 Apr 2015 20:09:30 +0000 (20:09 +0000)]
am 959f0ecc: Merge "Add LOCAL_SANITIZE_RECOVER."

* commit '959f0eccb444876eb4d30ff4d4542c078e5eb307':
  Add LOCAL_SANITIZE_RECOVER.

9 years agoMerge "Add LOCAL_SANITIZE_RECOVER."
Dan Albert [Mon, 27 Apr 2015 19:53:01 +0000 (19:53 +0000)]
Merge "Add LOCAL_SANITIZE_RECOVER."

9 years agoAdd LOCAL_SANITIZE_RECOVER.
Dan Albert [Fri, 17 Apr 2015 01:08:44 +0000 (18:08 -0700)]
Add LOCAL_SANITIZE_RECOVER.

This is needed for projects that have known ubsan issues that we can't
fix right away (perhaps because it's an upstream project that we're
diligent about keeping in sync with upsteam).

Also make the normal ubsan use -fno-sanitize-recover=all by default.

Change-Id: I1b0f3309792f32dbd08c18816d7306e76c8d7c30

9 years agoam b271669a: Merge "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.