OSDN Git Service

android-x86/build.git
9 years agoMerge "Remove libstlport from PRODUCT_PACKAGES."
Dan Albert [Mon, 17 Nov 2014 23:05:48 +0000 (23:05 +0000)]
Merge "Remove libstlport from PRODUCT_PACKAGES."

9 years agoRemove libstlport from PRODUCT_PACKAGES.
Dan Albert [Mon, 17 Nov 2014 22:26:11 +0000 (14:26 -0800)]
Remove libstlport from PRODUCT_PACKAGES.

Bug: 15193147
Change-Id: Idd2699d895393216bcd514da64145540faec4033

9 years agoMerge "Add -Wl,--hash-style=sysv flag to rs: transform-bc-to-so for compatibility...
Miao Wang [Mon, 17 Nov 2014 21:25:24 +0000 (21:25 +0000)]
Merge "Add -Wl,--hash-style=sysv flag to rs: transform-bc-to-so for compatibility lib."

9 years agoMerge "Disable gnu style linker hash for NDK builds."
Dan Albert [Mon, 17 Nov 2014 20:29:42 +0000 (20:29 +0000)]
Merge "Disable gnu style linker hash for NDK builds."

9 years agoMerge "Fix PDK build."
Ying Wang [Mon, 17 Nov 2014 19:34:32 +0000 (19:34 +0000)]
Merge "Fix PDK build."

9 years agoMerge "Install preloaded-classes as a standalone configuration file"
Ying Wang [Mon, 17 Nov 2014 19:34:21 +0000 (19:34 +0000)]
Merge "Install preloaded-classes as a standalone configuration file"

9 years agoMerge "Colorize build success/failure message."
Dan Albert [Mon, 17 Nov 2014 19:34:11 +0000 (19:34 +0000)]
Merge "Colorize build success/failure message."

9 years agoFix PDK build.
Ying Wang [Mon, 17 Nov 2014 19:01:18 +0000 (11:01 -0800)]
Fix PDK build.

Add frameworks/base/preloaded-classes to PRODUCT_COPY_FILES only if it
exists in the source tree.

Bug: 18305157
Change-Id: I46c277ebfb8095f9e5fe0fbb21276d932509f2eb

9 years agoInstall preloaded-classes as a standalone configuration file
Ying Wang [Thu, 13 Nov 2014 23:19:12 +0000 (15:19 -0800)]
Install preloaded-classes as a standalone configuration file

Install preloaded-classes as a standalone configuration file
/system/etc/preloaded-classes, so we can configure different file per product.
To override the default frameworks/base/preloaded-classes, just override
in your product configuration makefile with PRODUCT_COPY_FILES before it
inherits from build/target/product/base.mk: if there are multiple items
in PRODUCT_COPY_FILES with the same destination, the first one takes
precedence.

Bug: 18305157
Change-Id: I937632b4a1aa73310ec90e73fd708fbd0c704a21

9 years agoMerge "Remove logic for platform stlport gtest."
Dan Albert [Sat, 15 Nov 2014 23:42:15 +0000 (23:42 +0000)]
Merge "Remove logic for platform stlport gtest."

9 years agoAdd -Wl,--hash-style=sysv flag to rs: transform-bc-to-so for compatibility lib.
Miao Wang [Sat, 15 Nov 2014 22:25:33 +0000 (14:25 -0800)]
Add -Wl,--hash-style=sysv flag to rs: transform-bc-to-so for compatibility lib.

Bug 18395015

Change-Id: Ib9aecf347c685c8b8b725eecfbc0cec03d9b2c1b

9 years agoColorize build success/failure message.
Dan Albert [Sun, 9 Nov 2014 06:41:52 +0000 (22:41 -0800)]
Colorize build success/failure message.

Change-Id: I8901689876e65f5b72050c40e1580f167e49c2b0

9 years agoDisable gnu style linker hash for NDK builds.
Dan Albert [Fri, 14 Nov 2014 23:28:49 +0000 (15:28 -0800)]
Disable gnu style linker hash for NDK builds.

This feature is now available in AOSP, but not for any shipped
release. We don't have an API version for the release that this will
be available in yet, so for now the check is commented out.

Bug: 18395015
Change-Id: I247233d047ed5a7564d6602d47c9ad962313c8dc

9 years agoMerge "sign_target_files_apks: fix recovery patch generation"
Ying Wang [Fri, 14 Nov 2014 18:53:57 +0000 (18:53 +0000)]
Merge "sign_target_files_apks: fix recovery patch generation"

9 years agoMerge "Refactor transform-o-to-* definitions."
Dan Albert [Fri, 14 Nov 2014 18:01:21 +0000 (18:01 +0000)]
Merge "Refactor transform-o-to-* definitions."

9 years agoMerge "Fix device detection and path to tapas"
Dmitriy Ivanov [Fri, 14 Nov 2014 17:50:39 +0000 (17:50 +0000)]
Merge "Fix device detection and path to tapas"

9 years agoFix device detection and path to tapas
Dmitriy Ivanov [Wed, 12 Nov 2014 22:16:12 +0000 (14:16 -0800)]
Fix device detection and path to tapas

 1. Some devices do not set ro.product.device in which
    case take it from ro.hardware

 2. Add path to tapas symbols to sysroot and solib-search-path
    for tapas users only

Change-Id: I4eed2d3c3aefd95070beebdbfba4464a524c3066

9 years agoMerge "Clean out *.prop files due to dex2oat instruction-set flag change."
Stephen Hines [Fri, 14 Nov 2014 03:07:31 +0000 (03:07 +0000)]
Merge "Clean out *.prop files due to dex2oat instruction-set flag change."

9 years agoClean out *.prop files due to dex2oat instruction-set flag change.
Stephen Hines [Fri, 14 Nov 2014 03:03:59 +0000 (19:03 -0800)]
Clean out *.prop files due to dex2oat instruction-set flag change.

Change-Id: Ib1e94cfe08bad9e51fd46e8a1a09926877f179de

9 years agoMerge "Switch --hash-style to gnu"
Dmitriy Ivanov [Fri, 14 Nov 2014 01:46:59 +0000 (01:46 +0000)]
Merge "Switch --hash-style to gnu"

9 years agoMerge "Pass instruction set variant to dex2oat."
Ian Rogers [Fri, 14 Nov 2014 00:21:52 +0000 (00:21 +0000)]
Merge "Pass instruction set variant to dex2oat."

9 years agoRefactor transform-o-to-* definitions.
Dan Albert [Thu, 13 Nov 2014 18:15:46 +0000 (10:15 -0800)]
Refactor transform-o-to-* definitions.

Previously, there was one generic definition for each of the
transform-o-to-* functions in definitions.mk, and one target specific
one in each combo/TARGET_*.mk. The generic one was entirely unused,
and the target specific ones were all nearly identical.

Changing anything in these functions was tedious at best, and often
error prone. The differences between any 32-bit arch and its 64-bit
equivalent were restricted to the name of the linker, and the ARM and
MIPS definitions were identical. The few differences between ARM and
x86 looked to be compatibility for an old (ca. 2008) toolchain issue
with --gc-sections, and a bug (LDFLAGS coming first rather than
later).

To simplify things, I've moved the definitions for these out of
combo/TARGET_*.mk and back into definitions.mk. The differences
between ARM and x86 have been scrapped. Anything that really does
still need to be target specific can be handled as I have the linker:
add a TARGET_FOO variable to the given target and then add it to the
generic definition.

Change-Id: I54dc1bffc32ac39f27f0b87247dd6a6dbaf0b162

9 years agoMerge "kill HAVE_FORKEXEC"
Yabin Cui [Thu, 13 Nov 2014 23:22:46 +0000 (23:22 +0000)]
Merge "kill HAVE_FORKEXEC"

9 years agoSwitch --hash-style to gnu
Dmitriy Ivanov [Thu, 13 Nov 2014 22:51:10 +0000 (14:51 -0800)]
Switch --hash-style to gnu

Bug: 18373609
Change-Id: Ia2c965fb86295858d9a97db2ec8d54d99e3d431f

9 years agoMerge "kill HAVE_LOCALTIME_R"
Yabin Cui [Thu, 13 Nov 2014 20:00:23 +0000 (20:00 +0000)]
Merge "kill HAVE_LOCALTIME_R"

9 years agokill HAVE_LOCALTIME_R
Yabin Cui [Thu, 13 Nov 2014 19:51:37 +0000 (11:51 -0800)]
kill HAVE_LOCALTIME_R

Bug: 18361583
Change-Id: If76334a6e18893b65d9b526271620a460a75bf22

9 years agoMerge "kill HAVE_GETHOSTBYNAME_R"
Yabin Cui [Thu, 13 Nov 2014 19:10:25 +0000 (19:10 +0000)]
Merge "kill HAVE_GETHOSTBYNAME_R"

9 years agokill HAVE_GETHOSTBYNAME_R
Yabin Cui [Thu, 13 Nov 2014 18:25:56 +0000 (10:25 -0800)]
kill HAVE_GETHOSTBYNAME_R

Bug: 18363225
Change-Id: Ib34c094cd21b2221178755acdd9475a5bc2bf2c0

9 years agoMerge "Remove HAVE_SHORT_ENUMS."
Elliott Hughes [Thu, 13 Nov 2014 05:20:37 +0000 (05:20 +0000)]
Merge "Remove HAVE_SHORT_ENUMS."

9 years agoRemove HAVE_SHORT_ENUMS.
Elliott Hughes [Thu, 13 Nov 2014 05:07:07 +0000 (21:07 -0800)]
Remove HAVE_SHORT_ENUMS.

Change-Id: Ia0e8a52cd8d7655508754ec0a6482f2dd055a68e

9 years agokill HAVE_FORKEXEC
Yabin Cui [Thu, 13 Nov 2014 01:15:30 +0000 (17:15 -0800)]
kill HAVE_FORKEXEC

Bug: 18317407
Change-Id: Idaff8a161305325dbb0a9e00764afe98b66e3312

9 years agoMerge "kill HAVE_POSIX_FILEMAP"
Yabin Cui [Thu, 13 Nov 2014 00:02:24 +0000 (00:02 +0000)]
Merge "kill HAVE_POSIX_FILEMAP"

9 years agoMerge "Upgrade host tool to x86_64-linux-glibc2.15-4.8"
Chih-Hung Hsieh [Wed, 12 Nov 2014 23:13:36 +0000 (23:13 +0000)]
Merge "Upgrade host tool to x86_64-linux-glibc2.15-4.8"

9 years agosign_target_files_apks: fix recovery patch generation
Andrew Boie [Mon, 15 Sep 2014 23:01:07 +0000 (16:01 -0700)]
sign_target_files_apks: fix recovery patch generation

When rebuilding recovery, the boot images created for patching
purposes still were being signed with the old verity key and
not the new one specified on the command line.

In addition, the replacement verity public key in the boot ramdisk
wasn't being used.

Change-Id: I451e17d1cf08c507580c4b58134c1069532740e8
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
9 years agoRemove logic for platform stlport gtest.
Dan Albert [Wed, 12 Nov 2014 00:19:59 +0000 (16:19 -0800)]
Remove logic for platform stlport gtest.

Now that the platforms stlport linked gtest is gone, we don't need the
logic for this any more. All platform tests will use libc++ (which has
been renamed to libgtest without a suffix).

Note that tests built with the NDK will still use stlport, but they
will use the NDK's stlport, not the platform's.

Bug: 15193147
Change-Id: Ifcb2489ed60c41e4ed028096b516c1ee643de907

9 years agoMerge "Make modules depend on their makefile."
Dan Albert [Tue, 11 Nov 2014 22:47:47 +0000 (22:47 +0000)]
Merge "Make modules depend on their makefile."

9 years agoMake modules depend on their makefile.
Dan Albert [Sun, 9 Nov 2014 06:20:03 +0000 (22:20 -0800)]
Make modules depend on their makefile.

This should obviate much of the need for cleanspecs, and also make it
unnecessary to continue adding LOCAL_ADDITIONAL_DEPENDENCIES for this
sort of thing all over the tree.

Change-Id: I97aa8fd280ae868a5f6364f8b7bf3c2fe235d6ce

9 years agoMerge "Use platform protobuf unless building with NDK."
Dan Albert [Tue, 11 Nov 2014 19:28:34 +0000 (19:28 +0000)]
Merge "Use platform protobuf unless building with NDK."

9 years agoUse platform protobuf unless building with NDK.
Dan Albert [Tue, 11 Nov 2014 18:42:17 +0000 (10:42 -0800)]
Use platform protobuf unless building with NDK.

The NDK protobuf library depends on the final target linking stlport
(since it is a static library). Since the platform stlport is going
away, we need to use a separate version of the protobuf library that
is compiled for the platform against libc++.

Note that this should be the case for _all_ libraries built with the
NDK. If a library needs to be used by both an NDK built final target
and a platform built final target, there should be both an NDK and
platform version of the library.

Bug: 15193147
Change-Id: I0ead61c2d1cd9d0248b304ab7d8682dedd6e8366

9 years agokill HAVE_POSIX_FILEMAP
Yabin Cui [Tue, 11 Nov 2014 18:34:37 +0000 (10:34 -0800)]
kill HAVE_POSIX_FILEMAP

Bug: 18315579
Change-Id: I7a20ad40dc0ec121f0e84202831e6019005104e7

9 years agoMerge "Remove unused variables from select.mk."
Elliott Hughes [Tue, 11 Nov 2014 17:59:17 +0000 (17:59 +0000)]
Merge "Remove unused variables from select.mk."

9 years agoMerge "remove __linux__ in AndroidConfig.h"
Yabin Cui [Tue, 11 Nov 2014 17:32:34 +0000 (17:32 +0000)]
Merge "remove __linux__ in AndroidConfig.h"

9 years agoRemove unused variables from select.mk.
Elliott Hughes [Tue, 11 Nov 2014 04:06:29 +0000 (20:06 -0800)]
Remove unused variables from select.mk.

I've no idea what these were meant to be for, but they're unused.

Change-Id: I978568bd83f91eb952c35a3a481bd517312062f0

9 years agoremove __linux__ in AndroidConfig.h
Yabin Cui [Tue, 11 Nov 2014 03:11:11 +0000 (19:11 -0800)]
remove __linux__ in AndroidConfig.h

Bug: 18316409
Change-Id: If6644074ec86efc2f9f91a98bf82fe26be6f66d3

9 years agoMerge "kill OS_CASE_SENSITIVE"
Yabin Cui [Tue, 11 Nov 2014 01:08:45 +0000 (01:08 +0000)]
Merge "kill OS_CASE_SENSITIVE"

9 years agoMerge "kill HAVE_INOTIFY"
Yabin Cui [Tue, 11 Nov 2014 00:11:03 +0000 (00:11 +0000)]
Merge "kill HAVE_INOTIFY"

9 years agoMerge "kill HAVE_STAT_ST_MTIM"
Yabin Cui [Tue, 11 Nov 2014 00:04:35 +0000 (00:04 +0000)]
Merge "kill HAVE_STAT_ST_MTIM"

9 years agoMerge "Remove HAVE_DIRENT_D_TYPE."
Elliott Hughes [Mon, 10 Nov 2014 23:57:09 +0000 (23:57 +0000)]
Merge "Remove HAVE_DIRENT_D_TYPE."

9 years agokill HAVE_INOTIFY
Yabin Cui [Mon, 10 Nov 2014 23:44:27 +0000 (15:44 -0800)]
kill HAVE_INOTIFY

Bug: 18314841
Change-Id: Idfcbeb62a57f72a47eb732f085fbd1ab27302f85

9 years agoRemove HAVE_DIRENT_D_TYPE.
Elliott Hughes [Mon, 10 Nov 2014 23:33:39 +0000 (15:33 -0800)]
Remove HAVE_DIRENT_D_TYPE.

Only Windows doesn't have it, and we don't build atree for Windows.

Change-Id: Ib6e96be73340c36cdfcb3654ed540f690bf7550b

9 years agokill HAVE_STAT_ST_MTIM
Yabin Cui [Mon, 10 Nov 2014 18:37:14 +0000 (10:37 -0800)]
kill HAVE_STAT_ST_MTIM

Bug: 18300671
Change-Id: I92b5691924b995d9c883fc0f777c566ac4c35d1d

9 years agokill OS_CASE_SENSITIVE
Yabin Cui [Mon, 10 Nov 2014 23:03:11 +0000 (15:03 -0800)]
kill OS_CASE_SENSITIVE

Bug: 18314594
Change-Id: I5dc5072d43299c0e5d96ce9640e8405cbb633506

9 years agoMerge "kill HAVE_SCHED_SETSCHEDULER"
Yabin Cui [Mon, 10 Nov 2014 22:22:44 +0000 (22:22 +0000)]
Merge "kill HAVE_SCHED_SETSCHEDULER"

9 years agokill HAVE_SCHED_SETSCHEDULER
Yabin Cui [Mon, 10 Nov 2014 20:18:59 +0000 (12:18 -0800)]
kill HAVE_SCHED_SETSCHEDULER

Bug: 18300670
Change-Id: I66fb3d0070751ffaa2bc6b53274b22d967350312

9 years agoMerge "Remove logic for libstdc++ gtest libs."
Dan Albert [Mon, 10 Nov 2014 19:22:10 +0000 (19:22 +0000)]
Merge "Remove logic for libstdc++ gtest libs."

9 years agoRemove logic for libstdc++ gtest libs.
Dan Albert [Sun, 9 Nov 2014 08:55:25 +0000 (00:55 -0800)]
Remove logic for libstdc++ gtest libs.

The libstdc++ linked gtest libraries are no longer necessary.

Change-Id: Ia98263bc2541b6c8fd0b3e22bb6fec85104a2210

9 years agoPass instruction set variant to dex2oat.
Ian Rogers [Fri, 17 Oct 2014 08:05:50 +0000 (01:05 -0700)]
Pass instruction set variant to dex2oat.

Also, add it to the ANDROID_BUILD_PROPERTIES.
Remove non-default instruction set features.
Bug: 18056890

Change-Id: I9169cdfecbb176f62b941852948222edc3f511fd

9 years agoMerge "Remove more namespace pollution (HAVE_TM_GMTOFF)."
Elliott Hughes [Sat, 8 Nov 2014 23:31:18 +0000 (23:31 +0000)]
Merge "Remove more namespace pollution (HAVE_TM_GMTOFF)."

9 years agoRemove more namespace pollution (HAVE_TM_GMTOFF).
Elliott Hughes [Sat, 8 Nov 2014 22:21:12 +0000 (14:21 -0800)]
Remove more namespace pollution (HAVE_TM_GMTOFF).

Change-Id: I9c2d7ffb66127c1b73076f8674ecf29aada0fa38

9 years agoMerge "Remove more namespace pollution (HAVE_FUNOPEN)."
Elliott Hughes [Sat, 8 Nov 2014 22:10:03 +0000 (22:10 +0000)]
Merge "Remove more namespace pollution (HAVE_FUNOPEN)."

9 years agoRemove more namespace pollution (HAVE_FUNOPEN).
Elliott Hughes [Sat, 8 Nov 2014 20:39:28 +0000 (12:39 -0800)]
Remove more namespace pollution (HAVE_FUNOPEN).

Change-Id: I25a64ce39cd7bdd99aa6412413554b96d3cb113e

9 years agoMerge "Remove more namespace pollution."
Elliott Hughes [Sat, 8 Nov 2014 18:55:53 +0000 (18:55 +0000)]
Merge "Remove more namespace pollution."

9 years agoRemove more namespace pollution.
Elliott Hughes [Sat, 8 Nov 2014 17:56:50 +0000 (09:56 -0800)]
Remove more namespace pollution.

Nothing in our tree is using this HAVE_BACKTRACE definition, but we do have
a hack in external/llvm to work around the namespace pollution.

Change-Id: Ib51d8bbd598dd2961a028216bf0b489dc7ad4880

9 years agoMerge "Cleanspec for libc++ migration."
Dan Albert [Fri, 7 Nov 2014 22:09:17 +0000 (22:09 +0000)]
Merge "Cleanspec for libc++ migration."

9 years agoMerge "Make libc++ the default STL."
Dan Albert [Fri, 7 Nov 2014 22:09:13 +0000 (22:09 +0000)]
Merge "Make libc++ the default STL."

9 years agoCleanspec for libc++ migration.
Dan Albert [Fri, 7 Nov 2014 21:22:11 +0000 (13:22 -0800)]
Cleanspec for libc++ migration.

This affects most native code in the tree, so the only real option is
to nuke out from orbit.

Change-Id: Ia3a794731e703c3ca02b55f6f7827d3425dca5cb

9 years agoMake libc++ the default STL.
Dan Albert [Fri, 17 Oct 2014 02:07:41 +0000 (19:07 -0700)]
Make libc++ the default STL.

Previously, code defaulted to using libstdc++ (which was GNU libstdc++
on the host, or Bionic's "libstdc++" on the target). Now we default to
libc++. The exception for this is when using mingw, because we cannot
build libc++ for mingw.

Change-Id: I68726fa26cdcb6263f17c838d3e859debd57fae1

9 years agoMerge "Fix error of PRIVATE_LDLIBS introduced by de36cd72."
Ying Wang [Fri, 7 Nov 2014 18:06:55 +0000 (18:06 +0000)]
Merge "Fix error of PRIVATE_LDLIBS introduced by de36cd72."

9 years agoFix error of PRIVATE_LDLIBS introduced by de36cd72.
Ying Wang [Fri, 7 Nov 2014 18:05:03 +0000 (10:05 -0800)]
Fix error of PRIVATE_LDLIBS introduced by de36cd72.

Change-Id: I85644899c8527e061c331eecc707ca1bb0e3fac4

9 years agoMerge "Missed a dependency on pthreads."
Dan Albert [Fri, 7 Nov 2014 17:35:25 +0000 (17:35 +0000)]
Merge "Missed a dependency on pthreads."

9 years agoMerge "Update build ID to AOSP"
Ying Wang [Fri, 7 Nov 2014 17:22:11 +0000 (17:22 +0000)]
Merge "Update build ID to AOSP"

9 years agoUpdate build ID to AOSP
Chirayu Desai [Fri, 7 Nov 2014 10:39:09 +0000 (16:09 +0530)]
Update build ID to AOSP

and display the build number

Change-Id: Ib2f9964b87f591cae235e5094a7f14c897c1872d

9 years agoMissed a dependency on pthreads.
Dan Albert [Fri, 7 Nov 2014 01:32:25 +0000 (17:32 -0800)]
Missed a dependency on pthreads.

Change-Id: I060c9c65b07efe89a308fccf71a1096424a7de39

9 years agoam 478eda53: Merge "FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT."
Ying Wang [Fri, 7 Nov 2014 00:58:32 +0000 (00:58 +0000)]
am 478eda53: Merge "FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT."

* commit '478eda5365f866c830f957d6bd1aba3854d55bcc':
  FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.

9 years agoMerge "FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT."
Ying Wang [Thu, 6 Nov 2014 23:09:25 +0000 (23:09 +0000)]
Merge "FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT."

9 years agoFORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.
Ying Wang [Thu, 6 Nov 2014 22:11:33 +0000 (14:11 -0800)]
FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.

Because we don't have 32-bit prebuilt libLLVM/libclang.

Change-Id: I86dac33e9bcbcb3d197f7d1e4c9d33bd4e7c473e

9 years agoUpgrade host tool to x86_64-linux-glibc2.15-4.8
Chih-Hung Hsieh [Wed, 5 Nov 2014 18:45:11 +0000 (10:45 -0800)]
Upgrade host tool to x86_64-linux-glibc2.15-4.8

BUG: 17915392
Change-Id: I301b8ae70fabedfafea5ae0094bbd46c208f4622

9 years agoam b0efa98d: Merge "Switch qemud to permissive_or_unconfined()."
Daniel Cashman [Thu, 6 Nov 2014 19:22:01 +0000 (19:22 +0000)]
am b0efa98d: Merge "Switch qemud to permissive_or_unconfined()."

* commit 'b0efa98d97c04f4f97f57aae954aa61cb14683fe':
  Switch qemud to permissive_or_unconfined().

9 years agoMerge "Switch qemud to permissive_or_unconfined()."
Daniel Cashman [Thu, 6 Nov 2014 18:50:40 +0000 (18:50 +0000)]
Merge "Switch qemud to permissive_or_unconfined()."

9 years agoSwitch qemud to permissive_or_unconfined().
Stephen Smalley [Thu, 6 Nov 2014 14:36:40 +0000 (09:36 -0500)]
Switch qemud to permissive_or_unconfined().

Switch the qemud domain from unconfined_domain() to
permissive_or_unconfined() so that we can start collecting and
addressing denials in -userdebug/-eng builds.

Also allow access to the serial device.

Change-Id: I9c7a6ddc8c2e64bfc6c5bb896eed1729ab205d60
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
9 years agoam 5968de73: Merge "Remove stale dexopt flags."
Ian Rogers [Thu, 6 Nov 2014 00:05:36 +0000 (00:05 +0000)]
am 5968de73: Merge "Remove stale dexopt flags."

* commit '5968de73fb78e2ca8f32ab0588cac92f74a0435e':
  Remove stale dexopt flags.

9 years agoMerge "Remove stale dexopt flags."
Ian Rogers [Wed, 5 Nov 2014 23:21:40 +0000 (23:21 +0000)]
Merge "Remove stale dexopt flags."

9 years agoRemove stale dexopt flags.
Ian Rogers [Wed, 5 Nov 2014 22:53:53 +0000 (14:53 -0800)]
Remove stale dexopt flags.

Change-Id: Ib58d39012eabd5f854b9434ab922340fcfe43b57

9 years agoam 7a301af1: Merge "Force colorsheme to SVG, since darkblue doesn\'t exist on X11"
Ying Wang [Wed, 5 Nov 2014 19:01:48 +0000 (19:01 +0000)]
am 7a301af1: Merge "Force colorsheme to SVG, since darkblue doesn\'t exist on X11"

* commit '7a301af1e0a3d590e42d3317940e65f739b9f930':
  Force colorsheme to SVG, since darkblue doesn't exist on X11

9 years agoam 8683612f: Merge "definitions.mk: look for definitions.mk in device/*/build also"
Ying Wang [Wed, 5 Nov 2014 19:01:47 +0000 (19:01 +0000)]
am 8683612f: Merge "definitions.mk: look for definitions.mk in device/*/build also"

* commit '8683612fbd15640ae59daf7ba7c36e1f2ff8e687':
  definitions.mk: look for definitions.mk in device/*/build also

9 years agoMerge "Force colorsheme to SVG, since darkblue doesn't exist on X11"
Ying Wang [Wed, 5 Nov 2014 18:36:36 +0000 (18:36 +0000)]
Merge "Force colorsheme to SVG, since darkblue doesn't exist on X11"

9 years agoMerge "definitions.mk: look for definitions.mk in device/*/build also"
Ying Wang [Wed, 5 Nov 2014 17:49:59 +0000 (17:49 +0000)]
Merge "definitions.mk: look for definitions.mk in device/*/build also"

9 years agoam 35e4ede5: Merge "Use automatic color option with the latest clang."
Stephen Hines [Tue, 4 Nov 2014 17:44:44 +0000 (17:44 +0000)]
am 35e4ede5: Merge "Use automatic color option with the latest clang."

* commit '35e4ede5974053d05ae0f8791e60ba77a31907b3':
  Use automatic color option with the latest clang.

9 years agoMerge "Use automatic color option with the latest clang."
Stephen Hines [Tue, 4 Nov 2014 17:41:36 +0000 (17:41 +0000)]
Merge "Use automatic color option with the latest clang."

9 years agoUse automatic color option with the latest clang.
Stephen Hines [Tue, 4 Nov 2014 07:39:49 +0000 (23:39 -0800)]
Use automatic color option with the latest clang.

Bug: 18187181

Now that I checked in the latest prebuilts, clang will automatically use
color on terminals and no color on redirection to files or non-terminals.

Change-Id: I9be00c44947946cc18ce59c936b7f45d0ce2b6fc

9 years agoam ce915d95: Merge "Never use ASAN for acp."
Dan Albert [Mon, 3 Nov 2014 17:40:31 +0000 (17:40 +0000)]
am ce915d95: Merge "Never use ASAN for acp."

* commit 'ce915d950aaea86e566c8aec06be181a65c17cf2':
  Never use ASAN for acp.

9 years agoMerge "Never use ASAN for acp."
Dan Albert [Mon, 3 Nov 2014 17:36:13 +0000 (17:36 +0000)]
Merge "Never use ASAN for acp."

9 years agoam bd0e8af7: Merge "Replacement for gdbclient"
Dmitriy Ivanov [Sat, 1 Nov 2014 01:17:51 +0000 (01:17 +0000)]
am bd0e8af7: Merge "Replacement for gdbclient"

* commit 'bd0e8af734d5b6e28e2710bf53beb1b674e3fdb2':
  Replacement for gdbclient

9 years agoMerge "Replacement for gdbclient"
Dmitriy Ivanov [Sat, 1 Nov 2014 01:13:38 +0000 (01:13 +0000)]
Merge "Replacement for gdbclient"

9 years agoReplacement for gdbclient
Dmitriy Ivanov [Fri, 31 Oct 2014 05:00:17 +0000 (22:00 -0700)]
Replacement for gdbclient

 Differences between this implementation and the old one:
 1. Resolves symbols/gdb based on device information (lunch
    target is irrelevant)
 2. Works with downloaded from build-server symbols
 3. Does not require user to specify exe file - detects it automatically

Change-Id: I4e7ce0a51868634593a9f104fe3f2fa67b54ca9f

9 years agoNever use ASAN for acp.
Dan Albert [Fri, 31 Oct 2014 23:30:26 +0000 (16:30 -0700)]
Never use ASAN for acp.

Since acp is needed to build the ASAN libs, we can't use ASAN to
instrument it. Since libhost is included statically in acp, we can't
instrument that either.

Change-Id: Idb389df945380b6ef447fc3d3ead8be27ec09011

9 years agoam 36084e64: Merge "Label goldfish block devices with their own types."
Nick Kralevich [Fri, 31 Oct 2014 18:31:34 +0000 (18:31 +0000)]
am 36084e64: Merge "Label goldfish block devices with their own types."

* commit '36084e64a1b603f0ca848bba5ca91938f853dc4c':
  Label goldfish block devices with their own types.

9 years agoMerge "Label goldfish block devices with their own types."
Nick Kralevich [Fri, 31 Oct 2014 18:27:17 +0000 (18:27 +0000)]
Merge "Label goldfish block devices with their own types."

9 years agoLabel goldfish block devices with their own types.
Stephen Smalley [Fri, 31 Oct 2014 18:19:55 +0000 (14:19 -0400)]
Label goldfish block devices with their own types.

This assigns block device types as per device/generic/goldfish/fstab.goldfish.
Eliminates (permissive) avc:  denied messages for fsck.

Change-Id: Ia72bdfb16975f051548b6b2c0636e4f907295789
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
9 years agoam dfa2f8a6: Merge "Mark qemu_device as a mlstrustedobject."
Nick Kralevich [Fri, 31 Oct 2014 17:36:28 +0000 (17:36 +0000)]
am dfa2f8a6: Merge "Mark qemu_device as a mlstrustedobject."

* commit 'dfa2f8a6e309bca516a11d83abd1aa8733acce69':
  Mark qemu_device as a mlstrustedobject.