OSDN Git Service

android-x86/build.git
9 years agoam b6fb86dd: am c340a306: Merge "Explain __USE_MINGW_ANSI_STDIO."
Elliott Hughes [Fri, 15 May 2015 21:08:33 +0000 (21:08 +0000)]
am b6fb86dd: am c340a306: Merge "Explain __USE_MINGW_ANSI_STDIO."

* commit 'b6fb86dd7f1b2e8b4225513439546ff7694b3f25':
  Explain __USE_MINGW_ANSI_STDIO.

9 years agoam c340a306: Merge "Explain __USE_MINGW_ANSI_STDIO."
Elliott Hughes [Fri, 15 May 2015 21:01:18 +0000 (21:01 +0000)]
am c340a306: Merge "Explain __USE_MINGW_ANSI_STDIO."

* commit 'c340a30641ca4ed5c40612f3bfe36b41fadca0c0':
  Explain __USE_MINGW_ANSI_STDIO.

9 years agoMerge "Explain __USE_MINGW_ANSI_STDIO."
Elliott Hughes [Fri, 15 May 2015 20:52:55 +0000 (20:52 +0000)]
Merge "Explain __USE_MINGW_ANSI_STDIO."

9 years agoam 53df3d67: am e89b6f5d: Merge "Update device to use set_prop() macro"
Nick Kralevich [Fri, 15 May 2015 19:46:52 +0000 (19:46 +0000)]
am 53df3d67: am e89b6f5d: Merge "Update device to use set_prop() macro"

* commit '53df3d67b22b70dff841b41603945d1ae4221246':
  Update device to use set_prop() macro

9 years agoam e89b6f5d: Merge "Update device to use set_prop() macro"
Nick Kralevich [Fri, 15 May 2015 19:34:43 +0000 (19:34 +0000)]
am e89b6f5d: Merge "Update device to use set_prop() macro"

* commit 'e89b6f5df1b971c27ec85efb5dd41b9012930dcc':
  Update device to use set_prop() macro

9 years agoMerge "Update device to use set_prop() macro"
Nick Kralevich [Fri, 15 May 2015 19:26:56 +0000 (19:26 +0000)]
Merge "Update device to use set_prop() macro"

9 years agoam 09ee0a42: Merge "Label /dev/goldfish_pipe as qemu_device" into mnc-dev
Daniel Cashman [Fri, 15 May 2015 16:47:40 +0000 (16:47 +0000)]
am 09ee0a42: Merge "Label /dev/goldfish_pipe as qemu_device" into mnc-dev

* commit '09ee0a4252dbfd811f8345ab095c95ab78a1595f':
  Label /dev/goldfish_pipe as qemu_device

9 years agoam 45d8cf5a: am cea991d7: Merge "Label /dev/goldfish_pipe as qemu_device"
Nick Kralevich [Fri, 15 May 2015 16:45:04 +0000 (16:45 +0000)]
am 45d8cf5a: am cea991d7: Merge "Label /dev/goldfish_pipe as qemu_device"

* commit '45d8cf5aafd3108c861dadfa85e1177714fee4ae':
  Label /dev/goldfish_pipe as qemu_device

9 years agoam 344d54c3: am abf5ef8f: Merge "Add tzdatacheck to image"
Neil Fuller [Fri, 15 May 2015 16:44:57 +0000 (16:44 +0000)]
am 344d54c3: am abf5ef8f: Merge "Add tzdatacheck to image"

* commit '344d54c3fb1acca40f58899a0ad7db753fcf3810':
  Add tzdatacheck to image

9 years agoMerge "Label /dev/goldfish_pipe as qemu_device" into mnc-dev
Daniel Cashman [Fri, 15 May 2015 15:42:24 +0000 (15:42 +0000)]
Merge "Label /dev/goldfish_pipe as qemu_device" into mnc-dev

9 years agoLabel /dev/goldfish_pipe as qemu_device
Yu Ning [Thu, 14 May 2015 16:00:35 +0000 (00:00 +0800)]
Label /dev/goldfish_pipe as qemu_device

In goldfish kernel 3.10, qemu_pipe has been renamed to goldfish_pipe.
However, in the emulator's SELinux policy, there is no specific security
context assigned to /dev/goldfish_pipe, and the one inherited from /dev
(u:object_r:device:s0) prevents various processes (qemud, qemu-props,
etc.) from reading and writing goldfish_pipe. Consequently, the classic
x86_64 emulator will not boot if GPU emulation is enabled ("-gpu host"),
and does not render the UI correctly if launched with "-gpu off".

Fix this issue by assigning /dev/goldfish_pipe the same security context
as /dev/qemu_pipe.

This CL also benefits the new ("ranchu") emulator, where all supported
ABIs (arm64, mips64, x86 and x86_64) use 3.10-based kernels. Without
this fix, the new emulator boots and works, but there are avc denials
related to goldfish_pipe.

Last but not least, it is now possible to boot the classic x86 emulator
with a 3.10-based kernel instead of the current 3.4-based one, without
disabling SELinux.

(cherry-pick of commit: a5053e6b35fa1188d94a851a3032126141e5c87f)

Change-Id: I52e75c94d3ae3758cbbf5bc0e1d84254fdf5c6cb
Signed-off-by: Yu Ning <yu.ning@intel.com>
9 years agoam cea991d7: Merge "Label /dev/goldfish_pipe as qemu_device"
Nick Kralevich [Fri, 15 May 2015 13:10:55 +0000 (13:10 +0000)]
am cea991d7: Merge "Label /dev/goldfish_pipe as qemu_device"

* commit 'cea991d7785d9a6f1f520f2d82f946930ef21bf1':
  Label /dev/goldfish_pipe as qemu_device

9 years agoMerge "Label /dev/goldfish_pipe as qemu_device"
Nick Kralevich [Fri, 15 May 2015 13:00:25 +0000 (13:00 +0000)]
Merge "Label /dev/goldfish_pipe as qemu_device"

9 years agoam abf5ef8f: Merge "Add tzdatacheck to image"
Neil Fuller [Fri, 15 May 2015 09:30:35 +0000 (09:30 +0000)]
am abf5ef8f: Merge "Add tzdatacheck to image"

* commit 'abf5ef8fdd96cee524f8d6518b19f8092d6a6e46':
  Add tzdatacheck to image

9 years agoMerge "Add tzdatacheck to image"
Neil Fuller [Fri, 15 May 2015 09:09:44 +0000 (09:09 +0000)]
Merge "Add tzdatacheck to image"

9 years agoLabel /dev/goldfish_pipe as qemu_device
Yu Ning [Thu, 14 May 2015 16:00:35 +0000 (00:00 +0800)]
Label /dev/goldfish_pipe as qemu_device

In goldfish kernel 3.10, qemu_pipe has been renamed to goldfish_pipe.
However, in the emulator's SELinux policy, there is no specific security
context assigned to /dev/goldfish_pipe, and the one inherited from /dev
(u:object_r:device:s0) prevents various processes (qemud, qemu-props,
etc.) from reading and writing goldfish_pipe. Consequently, the classic
x86_64 emulator will not boot if GPU emulation is enabled ("-gpu host"),
and does not render the UI correctly if launched with "-gpu off".

Fix this issue by assigning /dev/goldfish_pipe the same security context
as /dev/qemu_pipe.

This CL also benefits the new ("ranchu") emulator, where all supported
ABIs (arm64, mips64, x86 and x86_64) use 3.10-based kernels. Without
this fix, the new emulator boots and works, but there are avc denials
related to goldfish_pipe.

Last but not least, it is now possible to boot the classic x86 emulator
with a 3.10-based kernel instead of the current 3.4-based one, without
disabling SELinux.

Change-Id: Iad979c0ee9d0a410be12b83ac1bef9476b50a6dc
Signed-off-by: Yu Ning <yu.ning@intel.com>
9 years agoExplain __USE_MINGW_ANSI_STDIO.
Elliott Hughes [Fri, 15 May 2015 03:55:49 +0000 (20:55 -0700)]
Explain __USE_MINGW_ANSI_STDIO.

Change-Id: I6900a7cddfb5aa4365c3e0f6f6f0fa9203c0fe43

9 years agoam 1a833d24: Merge "Add support for clobbered blocks" into mnc-dev
Tao Bao [Thu, 14 May 2015 22:16:55 +0000 (22:16 +0000)]
am 1a833d24: Merge "Add support for clobbered blocks" into mnc-dev

* commit '1a833d24c466f4bf765d0f00d02dded9aad0477b':
  Add support for clobbered blocks

9 years agoMerge "Add support for clobbered blocks" into mnc-dev
Tao Bao [Thu, 14 May 2015 21:54:20 +0000 (21:54 +0000)]
Merge "Add support for clobbered blocks" into mnc-dev

9 years agoam f9f9c3f3: Merge "Add tzdatacheck to image" into mnc-dev
Neil Fuller [Thu, 14 May 2015 19:27:45 +0000 (19:27 +0000)]
am f9f9c3f3: Merge "Add tzdatacheck to image" into mnc-dev

* commit 'f9f9c3f31e85a96aeb13af065d8eb8dbf33dd05c':
  Add tzdatacheck to image

9 years agoam 7ffd7c20: am df5c798f: Merge "[MIPS] Temporarily disable Mips shared-textrel errors"
Ying Wang [Thu, 14 May 2015 16:35:30 +0000 (16:35 +0000)]
am 7ffd7c20: am df5c798f: Merge "[MIPS] Temporarily disable Mips shared-textrel errors"

* commit '7ffd7c207be55b86416845dbd5ffa8f69518ab68':
  [MIPS] Temporarily disable Mips shared-textrel errors

9 years agoam df5c798f: Merge "[MIPS] Temporarily disable Mips shared-textrel errors"
Ying Wang [Thu, 14 May 2015 16:26:33 +0000 (16:26 +0000)]
am df5c798f: Merge "[MIPS] Temporarily disable Mips shared-textrel errors"

* commit 'df5c798f368bc16a858281b4d5d0ecc2b7040cfe':
  [MIPS] Temporarily disable Mips shared-textrel errors

9 years agoMerge "[MIPS] Temporarily disable Mips shared-textrel errors"
Ying Wang [Thu, 14 May 2015 16:11:58 +0000 (16:11 +0000)]
Merge "[MIPS] Temporarily disable Mips shared-textrel errors"

9 years agoam dfd58ba5: am 7033819e: Merge "Remove unused #include <selinux/android.h>"
Jeff Vander Stoep [Thu, 14 May 2015 15:51:46 +0000 (15:51 +0000)]
am dfd58ba5: am 7033819e: Merge "Remove unused #include <selinux/android.h>"

* commit 'dfd58ba54e4a4e5d3a5aa2527a9e48b344f37894':
  Remove unused #include <selinux/android.h>

9 years agoam 7033819e: Merge "Remove unused #include <selinux/android.h>"
Jeff Vander Stoep [Thu, 14 May 2015 15:41:45 +0000 (15:41 +0000)]
am 7033819e: Merge "Remove unused #include <selinux/android.h>"

* commit '7033819eeba08f9e550bc50fd1b01625d5f7e673':
  Remove unused #include <selinux/android.h>

9 years agoMerge "Remove unused #include <selinux/android.h>"
Jeff Vander Stoep [Thu, 14 May 2015 15:27:50 +0000 (15:27 +0000)]
Merge "Remove unused #include <selinux/android.h>"

9 years agoAdd tzdatacheck to image
Neil Fuller [Wed, 13 May 2015 16:47:29 +0000 (17:47 +0100)]
Add tzdatacheck to image

Bug: 21110439
Bug: 19941636
(cherry picked from commit 7d18a684177064a74dafbba8cc2f270f911936bf)

Change-Id: I29ab303d2695ba1cadf70c2d2f4440d34a8cede9

9 years agoMerge "Add tzdatacheck to image" into mnc-dev
Neil Fuller [Thu, 14 May 2015 10:15:00 +0000 (10:15 +0000)]
Merge "Add tzdatacheck to image" into mnc-dev

9 years agoAdd tzdatacheck to image
Neil Fuller [Wed, 13 May 2015 16:47:29 +0000 (17:47 +0100)]
Add tzdatacheck to image

Bug: 21110439
Bug: 19941636
Change-Id: I743236d9c7b433968865648ffae25451c6012a5f

9 years agoam 8025e285: am 802f05f0: am 2f9407e1: am f004b114: am 302e2f9c: Docs: Modified ...
David Friedman [Thu, 14 May 2015 01:45:01 +0000 (01:45 +0000)]
am 8025e285: am 802f05f0: am 2f9407e1: am f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

* commit '8025e2854e31decd672e938fc94cd735ee9071e2':
  Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

9 years agoam 8eade31f: am 7fbb988d: Merge "Add percent library to support libraries build....
Filip Gruszczynski [Thu, 14 May 2015 00:55:58 +0000 (00:55 +0000)]
am 8eade31f: am 7fbb988d: Merge "Add percent library to support libraries build." into lmp-mr1-ub-dev

* commit '8eade31f989224d006f012364ab91f1c9a102c5c':
  Add percent library to support libraries build.

9 years agoam 802f05f0: am 2f9407e1: am f004b114: am 302e2f9c: Docs: Modified .cs page to reflec...
David Friedman [Thu, 14 May 2015 00:00:12 +0000 (00:00 +0000)]
am 802f05f0: am 2f9407e1: am f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

* commit '802f05f0e47ab15955b0c460db0c751b982a6f34':
  Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

9 years agoam 2f9407e1: am f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal...
David Friedman [Wed, 13 May 2015 23:46:38 +0000 (23:46 +0000)]
am 2f9407e1: am f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

* commit '2f9407e197242eb3a9db188f901369e09e11a152':
  Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

9 years agoam 7fbb988d: Merge "Add percent library to support libraries build." into lmp-mr1...
Filip Gruszczynski [Wed, 13 May 2015 23:46:29 +0000 (23:46 +0000)]
am 7fbb988d: Merge "Add percent library to support libraries build." into lmp-mr1-ub-dev

* commit '7fbb988da154ad91461c3d51994ae0ff99d94032':
  Add percent library to support libraries build.

9 years agoMerge "Add percent library to support libraries build." into lmp-mr1-ub-dev
Filip Gruszczynski [Wed, 13 May 2015 23:32:06 +0000 (23:32 +0000)]
Merge "Add percent library to support libraries build." into lmp-mr1-ub-dev

9 years agoam f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin...
David Friedman [Wed, 13 May 2015 23:30:43 +0000 (23:30 +0000)]
am f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

* commit 'f004b1149db26f24188eeaa1fe65a4743c4e9b31':
  Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

9 years agoam 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK downl...
David Friedman [Wed, 13 May 2015 23:16:45 +0000 (23:16 +0000)]
am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

* commit '302e2f9cb58de33c529b6ac02421fb0b63b7fcb0':
  Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.

9 years agoam 02a80261: am 7a72fdd4: am f97b2ef2: Style and template updates to support responsi...
Dirk Dougherty [Wed, 13 May 2015 22:13:32 +0000 (22:13 +0000)]
am 02a80261: am 7a72fdd4: am f97b2ef2: Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).

* commit '02a80261437839655900732718e5149c27979de8':
  Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).

9 years agoam c0ba40b8: Merge "Remove libc++ from prepackaged shared libs in cts." into mnc-dev
dcashman [Wed, 13 May 2015 22:03:35 +0000 (22:03 +0000)]
am c0ba40b8: Merge "Remove libc++ from prepackaged shared libs in cts." into mnc-dev

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

9 years agoam 7a72fdd4: am f97b2ef2: Style and template updates to support responsive layout...
Dirk Dougherty [Wed, 13 May 2015 21:44:39 +0000 (21:44 +0000)]
am 7a72fdd4: am f97b2ef2: Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).

* commit '7a72fdd4e46c907c7deac8e6cd75df156ec244f0':
  Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).

9 years agoam f97b2ef2: Style and template updates to support responsive layout, mobile nav...
Dirk Dougherty [Wed, 13 May 2015 21:34:56 +0000 (21:34 +0000)]
am f97b2ef2: Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).

* commit 'f97b2ef21a9940ec7a41c9116a79f9b2a36e0c1d':
  Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).

9 years agoam 385cdb78: am 0dac6788: Merge "Revert "Revert "Turn on _FORTIFY_SOURCE=2 for the...
Elliott Hughes [Wed, 13 May 2015 21:34:09 +0000 (21:34 +0000)]
am 385cdb78: am 0dac6788: Merge "Revert "Revert "Turn on _FORTIFY_SOURCE=2 for the host."""

* commit '385cdb7855bfb3983d21fe7344d56d863f638985':
  Revert "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""

9 years agoRemove unused #include <selinux/android.h>
Jeff Vander Stoep [Wed, 13 May 2015 21:24:04 +0000 (14:24 -0700)]
Remove unused #include <selinux/android.h>

Change-Id: Iebc59784c7318edb1c1f686e040ed581259bdd5a

9 years agoam 0dac6788: Merge "Revert "Revert "Turn on _FORTIFY_SOURCE=2 for the host."""
Elliott Hughes [Wed, 13 May 2015 21:22:17 +0000 (21:22 +0000)]
am 0dac6788: Merge "Revert "Revert "Turn on _FORTIFY_SOURCE=2 for the host."""

* commit '0dac67880b6e1ddec9d4aa5ed741e2f62bd96284':
  Revert "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""

9 years agoam 56ad4250: am 1d8e8c96: Merge "Add libbenchmark\'s new dependency on libbase."
Elliott Hughes [Wed, 13 May 2015 21:13:10 +0000 (21:13 +0000)]
am 56ad4250: am 1d8e8c96: Merge "Add libbenchmark\'s new dependency on libbase."

* commit '56ad4250257004a3281db9c703cba4eb8cd6ada4':
  Add libbenchmark's new dependency on libbase.

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

9 years agoam 1d8e8c96: Merge "Add libbenchmark\'s new dependency on libbase."
Elliott Hughes [Wed, 13 May 2015 21:00:53 +0000 (21:00 +0000)]
am 1d8e8c96: Merge "Add libbenchmark\'s new dependency on libbase."

* commit '1d8e8c96941fb9ea9a7980104506ab9dbdfc2e68':
  Add libbenchmark's new dependency on libbase.

9 years agoStyle and template updates to support responsive layout, mobile nav, email signup...
Dirk Dougherty [Wed, 13 May 2015 04:23:05 +0000 (21:23 -0700)]
Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).

Change-Id: I6e33dd10e1c9e8b378080464b4b70ac6b10df8b7

9 years agoMerge "Add libbenchmark's new dependency on libbase."
Elliott Hughes [Wed, 13 May 2015 20:53:32 +0000 (20:53 +0000)]
Merge "Add libbenchmark's new dependency on libbase."

9 years agoAdd libbenchmark's new dependency on libbase.
Elliott Hughes [Wed, 13 May 2015 20:47:30 +0000 (13:47 -0700)]
Add libbenchmark's new dependency on libbase.

Change-Id: I6f9700b3e51a3b681d3d91b88103eed31764f61e

9 years agoam 463377d0: am 2a3034b3: Merge "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""
Elliott Hughes [Wed, 13 May 2015 20:29:40 +0000 (20:29 +0000)]
am 463377d0: am 2a3034b3: Merge "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""

* commit '463377d0c43a7a0e096d5d428b161061863089bb':
  Revert "Turn on _FORTIFY_SOURCE=2 for the host."

9 years agoam 35fb49df: am b58119ea: Merge "Turn on _FORTIFY_SOURCE=2 for the host."
Elliott Hughes [Wed, 13 May 2015 20:29:38 +0000 (20:29 +0000)]
am 35fb49df: am b58119ea: Merge "Turn on _FORTIFY_SOURCE=2 for the host."

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

9 years agoam 412a5c3f: am 2f7ae925: Merge "Add support for clobbered blocks"
Tao Bao [Wed, 13 May 2015 20:29:37 +0000 (20:29 +0000)]
am 412a5c3f: am 2f7ae925: Merge "Add support for clobbered blocks"

* commit '412a5c3f52dafcb21fb86d6ca6bb5fd3deed90a4':
  Add support for clobbered blocks

9 years agoam 84d3af3e: am dc618332: Merge "Add bootsigner path as an option"
Tao Bao [Wed, 13 May 2015 20:29:35 +0000 (20:29 +0000)]
am 84d3af3e: am dc618332: Merge "Add bootsigner path as an option"

* commit '84d3af3eaa58930754327fb04444bac48beaa750':
  Add bootsigner path as an option

9 years agoresolved conflicts for merge of eab5ab5d to mnc-dev-plus-aosp
dcashman [Wed, 13 May 2015 20:20:05 +0000 (13:20 -0700)]
resolved conflicts for merge of eab5ab5d to mnc-dev-plus-aosp

Change-Id: Ic7ba16887aa778fad6911a4bfb155e91b9b3c88e

9 years agoRevert "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""
Elliott Hughes [Wed, 13 May 2015 20:15:19 +0000 (20:15 +0000)]
Revert "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""

This reverts commit e27b214fc248d8927c42c5529d5c9fe75e2591aa.

Change-Id: I3d739c0594dbe4ecd62c5b07064ada7de6cdaadb

9 years agoam 2a3034b3: Merge "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""
Elliott Hughes [Wed, 13 May 2015 19:39:55 +0000 (19:39 +0000)]
am 2a3034b3: Merge "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""

* commit '2a3034b33650b68e6b8335b9698e9330079c6ef6':
  Revert "Turn on _FORTIFY_SOURCE=2 for the host."

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 "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""
Elliott Hughes [Wed, 13 May 2015 19:33:17 +0000 (19:33 +0000)]
Merge "Revert "Turn on _FORTIFY_SOURCE=2 for the host.""

9 years agoRevert "Turn on _FORTIFY_SOURCE=2 for the host."
Elliott Hughes [Wed, 13 May 2015 19:32:59 +0000 (19:32 +0000)]
Revert "Turn on _FORTIFY_SOURCE=2 for the host."

This reverts commit 224806d00ea1fbafde1adfd6fdf26693170f2648.

Change-Id: I654157ec4be7ff95356ab4a25b27c44762793e74

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: I657025b7b1ad50d4365e7b18dc39308facfe864e
(cherry picked from commit ff7778166bd13a90c89fa333591ee2037f587a11)

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 agoMerge "Remove libc++ from prepackaged shared libs in cts." into mnc-dev
dcashman [Wed, 13 May 2015 18:36:30 +0000 (18:36 +0000)]
Merge "Remove libc++ from prepackaged shared libs in cts." into mnc-dev

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.

(cherry-pick of commit: 214a171424cea488f0a5c042cf18f56550693570)

Bug: 19566396
Change-Id: I36f45c3e92c2d6370e98baa4c527835af66691fa

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 ago[MIPS] Temporarily disable Mips shared-textrel errors
Duane Sand [Wed, 29 Apr 2015 23:20:51 +0000 (16:20 -0700)]
[MIPS] Temporarily disable Mips shared-textrel errors

Clang++ for Mips and Mips64 generates read-only exception unwind
tables that trigger DT_TEXTREL warnings at link time.  Until Clang
is fixed, ignore those performance warnings instead of failing the build.

With this patch, Mips clang++ can be (optionally) used when building
libdeqp.

NDK's Mips llvm has been using an alternate temporary fix, marking the
.gcc_exception_table section as read-write for Mips only:
   https://android-review.googlesource.com/#/c/119660/

A permanent fix using a read-only exception table is pending upstream:
   http://reviews.llvm.org/D9669

Change-Id: Ie0cd7da398acbe45dbe39adc251e7fd5b5ca1445

9 years agoam 8788add7: Add locales sq_AL, gu_IN, and pa_IN for mnc-{dev,release} Bug: 21095280
Geoff Mendal [Wed, 13 May 2015 17:29:02 +0000 (17:29 +0000)]
am 8788add7: Add locales sq_AL, gu_IN, and pa_IN for mnc-{dev,release} Bug: 21095280

* commit '8788add72c093b16d9a2f301c3da71f0b328f3d1':
  Add locales sq_AL, gu_IN, and pa_IN for mnc-{dev,release} Bug: 21095280

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 agoAdd locales sq_AL, gu_IN, and pa_IN for mnc-{dev,release}
Geoff Mendal [Wed, 13 May 2015 16:57:01 +0000 (09:57 -0700)]
Add locales sq_AL, gu_IN, and pa_IN for mnc-{dev,release}
Bug: 21095280

9 years agoam 4b4c0df5: am 75f3c5a8: Merge "Revert "Revert "Enable linker -fix-cortex-a53-843419"""
Andrew Hsieh [Wed, 13 May 2015 16:32:34 +0000 (16:32 +0000)]
am 4b4c0df5: am 75f3c5a8: Merge "Revert "Revert "Enable linker -fix-cortex-a53-843419"""

* commit '4b4c0df54aa54693854fafd0dca1674ef90011fb':
  Revert "Revert "Enable linker -fix-cortex-a53-843419""

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 agoam 939e5a0f: am a1e55c5f: Merge "Fix using libc++_static in dynamic binaries."
Dan Albert [Wed, 13 May 2015 15:52:38 +0000 (15:52 +0000)]
am 939e5a0f: am a1e55c5f: Merge "Fix using libc++_static in dynamic binaries."

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

9 years agoDocs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download
David Friedman [Wed, 13 May 2015 14:10:22 +0000 (07:10 -0700)]
Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download
option.

Change-Id: I6ac64b6a2e0f4cca75e043c92a7e0e2395fe71de

9 years agoam 3ce2e60f: Merge "New "sm" shell tool to call StorageManager." into mnc-dev
Jeff Sharkey [Wed, 13 May 2015 05:43:18 +0000 (05:43 +0000)]
am 3ce2e60f: Merge "New "sm" shell tool to call StorageManager." into mnc-dev

* commit '3ce2e60ffc13ba8f8c0ac691db27e4c422e7e2d3':
  New "sm" shell tool to call StorageManager.

9 years agoam 0ed694f3: DO NOT MERGE - Change PLATFORM_VERSION from MNC to M
Bart Sears [Wed, 13 May 2015 05:43:17 +0000 (05:43 +0000)]
am 0ed694f3: DO NOT MERGE - Change PLATFORM_VERSION from MNC to M

* commit '0ed694f3261411fb6f028539aabedfba87580c1f':
  DO NOT MERGE - Change PLATFORM_VERSION from MNC to M

9 years agoMerge "New "sm" shell tool to call StorageManager." into mnc-dev
Jeff Sharkey [Wed, 13 May 2015 05:27:38 +0000 (05:27 +0000)]
Merge "New "sm" shell tool to call StorageManager." into mnc-dev

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 agoUpdate device to use set_prop() macro
William Roberts [Mon, 11 May 2015 17:23:59 +0000 (10:23 -0700)]
Update device to use set_prop() macro

Change-Id: I630ba0178439c935d08062892990d43a3cc1239e
Signed-off-by: William Roberts <william.c.roberts@linux.intel.com>
9 years agoDO NOT MERGE - Change PLATFORM_VERSION from MNC to M
Bart Sears [Wed, 13 May 2015 01:36:10 +0000 (18:36 -0700)]
DO NOT MERGE - Change PLATFORM_VERSION from MNC to M

Goodbye to the cookie...

Change-Id: I0474115250411ccdfbdc769c6a464f9dbc460e8f

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 f807d1fa: Merge "Remove stlport from global package list." into mnc-dev
Dan Albert [Tue, 12 May 2015 23:33:11 +0000 (23:33 +0000)]
am f807d1fa: Merge "Remove stlport from global package list." into mnc-dev

* commit 'f807d1fa6f701558fe767fc85497bab8e5eb536a':
  Remove stlport from global package list.

9 years agoam 93f22ee7: Merge "Disallow using stlport." into mnc-dev
Dan Albert [Tue, 12 May 2015 23:33:10 +0000 (23:33 +0000)]
am 93f22ee7: Merge "Disallow using stlport." into mnc-dev

* commit '93f22ee7e2987158dbfa2b30db38ae3f6b67128b':
  Disallow using stlport.

9 years agoMerge "Remove stlport from global package list." into mnc-dev
Dan Albert [Tue, 12 May 2015 23:11:15 +0000 (23:11 +0000)]
Merge "Remove stlport from global package list." into mnc-dev

9 years agoMerge "Disallow using stlport." into mnc-dev
Dan Albert [Tue, 12 May 2015 23:11:10 +0000 (23:11 +0000)]
Merge "Disallow using stlport." into mnc-dev

9 years agoam 04cfb9e1: Merge changes Idd0f477f,I937d2020,I3b95c868 into mnc-dev
Evgeniy Stepanov [Tue, 12 May 2015 22:59:58 +0000 (22:59 +0000)]
am 04cfb9e1: Merge changes Idd0f477f,I937d2020,I3b95c868 into mnc-dev

* commit '04cfb9e11306a778b92b4abae6946ebf096b0af5':
  --no-as-needed needs -Wl.
  Fix AddressSanitizer link order and multilib setup.
  Make asan more closely match clang behavior.

9 years agoNew "sm" shell tool to call StorageManager.
Jeff Sharkey [Tue, 12 May 2015 22:53:29 +0000 (15:53 -0700)]
New "sm" shell tool to call StorageManager.

Bug: 19993667
Change-Id: I9021794eb6f69c7f53151a887a85788d315ab67d

9 years agoMerge changes Idd0f477f,I937d2020,I3b95c868 into mnc-dev
Evgeniy Stepanov [Tue, 12 May 2015 22:34:16 +0000 (22:34 +0000)]
Merge changes Idd0f477f,I937d2020,I3b95c868 into mnc-dev

* changes:
  --no-as-needed needs -Wl.
  Fix AddressSanitizer link order and multilib setup.
  Make asan more closely match clang behavior.

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 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: Idd0f477faebf0b7d79998c8a86610728c2c8cc5d

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: I937d202077b6e433ba476c075d31be818b662d53

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: I3b95c8682c0f63bac6b726f8cd15c638aaa98311