Iliyan Malchev
2e835e714c
am 2b756f79: am 248f4d53: envsetup.sh: add functions to enable and generate core dumps
...
* commit '2b756f79461c3cc5c227dc83e6dd3f360ad3f247':
envsetup.sh: add functions to enable and generate core dumps
2014-10-31 22:59:59 +00:00
Iliyan Malchev
2b756f7946
am 248f4d53: envsetup.sh: add functions to enable and generate core dumps
...
* commit '248f4d53b306bd3baddb1534d3d06076460e83d4':
envsetup.sh: add functions to enable and generate core dumps
2014-10-31 21:02:59 +00:00
Iliyan Malchev
248f4d53b3
envsetup.sh: add functions to enable and generate core dumps
...
The shell functions in this patch enable crashing processes with the core limit
set correctly to dump core in directory /cores. They do so by remounting the
root partition, which is RAM-backed, and by creating the 0777-chmodded /cores
under it. They also set the core file pattern in /proc/sys/kernel/core_pattern
to be /cores/core.%p, such that a core dump will have the crashing process' PID
appended to it. You enable core-dump generation once per boot, as follows:
coredump-setup
If a process does not have its core-size rlimit set (as most do not), you can
either set it manually by typing "adb shell prlimit <pid> 4 -1 -1", or by
typing coredump-enable <name>, e.g.
coredump-enable $(pid mediaserver)
Alternatively, you can cause a running process to dump core by sending it a
SIGSEGV via the shell function core <name>, e.g.:
core $(pid mediaserver)
Change-Id: Ib174e7ee95515fb9866fa6bf0d5b5bf23f3ec61b
Signed-off-by: Iliyan Malchev <malchev@google.com>
2014-10-31 13:50:58 -07:00
Nick Kralevich
8de5b64a08
am 54e18379: am 36084e64: Merge "Label goldfish block devices with their own types."
...
* commit '54e1837910cb3c40d22436bc40a7c0469df184b0':
Label goldfish block devices with their own types.
2014-10-31 18:34:12 +00:00
Nick Kralevich
54e1837910
am 36084e64: Merge "Label goldfish block devices with their own types."
...
* commit '36084e64a1b603f0ca848bba5ca91938f853dc4c':
Label goldfish block devices with their own types.
2014-10-31 18:31:34 +00:00
Nick Kralevich
36084e64a1
Merge "Label goldfish block devices with their own types."
2014-10-31 18:27:18 +00:00
Stephen Smalley
2ef5bf74fa
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>
2014-10-31 14:19:55 -04:00
Nick Kralevich
61d13ba425
am 4fe702e4: am dfa2f8a6: Merge "Mark qemu_device as a mlstrustedobject."
...
* commit '4fe702e4dcf5ff3e6dcc4dea1e842d7977ff3393':
Mark qemu_device as a mlstrustedobject.
2014-10-31 17:40:47 +00:00
Nick Kralevich
4fe702e4dc
am dfa2f8a6: Merge "Mark qemu_device as a mlstrustedobject."
...
* commit 'dfa2f8a6e309bca516a11d83abd1aa8733acce69':
Mark qemu_device as a mlstrustedobject.
2014-10-31 17:36:28 +00:00
Nick Kralevich
dfa2f8a6e3
Merge "Mark qemu_device as a mlstrustedobject."
2014-10-31 17:30:15 +00:00
Stephen Smalley
968ce565f7
Mark qemu_device as a mlstrustedobject.
...
Allow apps running with any level to write to it.
Change-Id: I8fca1f377e14c624db5273bdacf8400addc6210d
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-10-31 13:28:09 -04:00
Ying Wang
4ef8133a42
am f5672925: Add support for prebuilt AARs.
...
* commit 'f56729250448200834c5c95c86c937e887d73623':
Add support for prebuilt AARs.
2014-10-31 00:13:50 +00:00
Ying Wang
75a7d3a620
am 7f18adc2: am 871b8df1: Merge "Add -fcolor-diagnostics to global clang cflags."
...
* commit '7f18adc240ca311d225ee9164e6d982f9a005d62':
Add -fcolor-diagnostics to global clang cflags.
2014-10-30 23:46:08 +00:00
Ying Wang
7f18adc240
am 871b8df1: Merge "Add -fcolor-diagnostics to global clang cflags."
...
* commit '871b8df128b144f39d40889e463722a032c4d246':
Add -fcolor-diagnostics to global clang cflags.
2014-10-30 23:43:02 +00:00
Ying Wang
871b8df128
Merge "Add -fcolor-diagnostics to global clang cflags."
2014-10-30 21:18:03 +00:00
Ying Wang
c7d1a973b0
Add -fcolor-diagnostics to global clang cflags.
...
Bug: 18187181
Change-Id: Ifcbe34b685b1dfd7ffc801bcdad7bd8208e45f86
2014-10-30 12:22:29 -07:00
Michael Runge
aa898700b0
am 63f01de8: Add post-install verification phase
...
automerge: c9594af
* commit 'c9594afa930e5400d35bbf24a17cb9be8d978888':
Add post-install verification phase
2014-10-30 19:01:43 +00:00
Chih-hung Hsieh
1834008417
am 51e55c1d: Revert "Continue to use march=i686 before fix of g++ ICE."
...
* commit '51e55c1d22576de38ca4b65deaded7b3a1af8387':
Revert "Continue to use march=i686 before fix of g++ ICE."
2014-10-30 16:08:20 +00:00
Chih-hung Hsieh
51e55c1d22
Revert "Continue to use march=i686 before fix of g++ ICE."
...
This reverts commit f70f009ca8
.
Change-Id: I3e1b18cf342e747c8a8405f1fc2513e5ebafc4b6
2014-10-30 01:55:45 +00:00
Ying Wang
f567292504
Add support for prebuilt AARs.
...
- You can give a .aar as source file to a prebuilt static Java library
module. The build system will set up dependencies and rules to extract
classes.jar and other resource files.
- To build against a prebuilt AAR module, use:
LOCAL_STATIC_JAVA_AAR_LIBRARIES := <module names of aar prebuilt AARs>
The build system will set up rules to merge the library's
AndroidManifest.xml with the main AndroidManifest.xml, add the AAR's
resource dirs and link/merge the AAR's classes.jar.
Bug: 18168693
Change-Id: I478913d5d498f800b322529d7c2c2c0ea78425e5
2014-10-29 23:40:52 +00:00
Chih-Hung Hsieh
23103f4fa9
am f70f009c: Continue to use march=i686 before fix of g++ ICE.
...
* commit 'f70f009ca8b4779cc3a5f44e7d92b1c297e16c8b':
Continue to use march=i686 before fix of g++ ICE.
2014-10-29 22:07:26 +00:00
Chih-Hung Hsieh
f70f009ca8
Continue to use march=i686 before fix of g++ ICE.
...
BUG: 18174291
BUG: 18171557
Change-Id: Ica9e420e3cc1904a4298e2ab1c6201a254cbf6d1
2014-10-29 14:46:15 -07:00
Jeff Davidson
4e4660961b
am ed9981d9: am 427d1e98: Merge "Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE."
...
* commit 'ed9981d927cb24b106df9b3c350b6b63e570026f':
Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE.
2014-10-29 20:42:11 +00:00
Ian Rogers
c156f68cff
am 508e27bf: am 93cb8c7d: Merge "Specify -mcpu=krait for clang."
...
* commit '508e27bfd7f470a945978c2b24403b0827dcde18':
Specify -mcpu=krait for clang.
2014-10-29 19:43:16 +00:00
Michael Runge
c9594afa93
am 63f01de8: Add post-install verification phase
...
* commit '63f01de81892aa4e40b517464b3d9ca7db666c9d':
Add post-install verification phase
2014-10-29 18:51:51 +00:00
Jeff Davidson
ed9981d927
am 427d1e98: Merge "Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE."
...
* commit '427d1e98eceb78f5cb8f1e50d00d342fc7f359c6':
Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE.
2014-10-29 17:40:05 +00:00
Jeff Davidson
427d1e98ec
Merge "Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE."
2014-10-29 17:35:17 +00:00
Neil Fuller
4b642748dd
am acd65c7d: am 97ef1d46: Merge "Add OpenJDK 8 experimental support"
...
* commit 'acd65c7db0212bff2b7b1878a26b7a105522cd44':
Add OpenJDK 8 experimental support
2014-10-29 17:11:52 +00:00
Chih-Hung Hsieh
9fd8469237
am 736a146c: am 717ebfc1: Merge "Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS."
...
* commit '736a146c3c44b6b753e0b7866d3f0f43e9be76e5':
Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS.
2014-10-29 17:11:51 +00:00
Dan Albert
d905ec2ac6
am ef8912d9: am d274e04a: Merge "Don\'t sort shared library link order."
...
* commit 'ef8912d93f5ca3722d761da6c0b0f05e2480a41d':
Don't sort shared library link order.
2014-10-29 17:11:50 +00:00
Chih-Hung Hsieh
3b5261ac75
am 6555580d: am ea503d21: Merge "Raise x86 arch requirement to prescott."
...
* commit '6555580d35ac570005923866fb4035265a0b5b98':
Raise x86 arch requirement to prescott.
2014-10-29 17:11:49 +00:00
Neil Fuller
c5c60e2c2a
am f7ce9508: am 4dfda1fa: Merge "Remove Java 6 build support"
...
* commit 'f7ce9508dec85c67d3a2ebe84db073a01355eba5':
Remove Java 6 build support
2014-10-29 17:11:24 +00:00
Chih-Hung Hsieh
0704df6c61
am 54fd82d1: am 660f3c9a: Merge "Set default to Clang integrated assembler."
...
* commit '54fd82d111113c7969052cd315cc71bd31b4e161':
Set default to Clang integrated assembler.
2014-10-29 16:42:52 +00:00
Ian Rogers
508e27bfd7
am 93cb8c7d: Merge "Specify -mcpu=krait for clang."
...
* commit '93cb8c7d951b89eeb1e3cee2433bffecc13fdb11':
Specify -mcpu=krait for clang.
2014-10-29 12:32:37 +00:00
Bill Yi
205e4d690e
am 4ac049b7: (-s ours) Restore AOSP-style version numbers - DO NOT MERGE
...
* commit '4ac049b7ec188161dccf6fa9b1f23c76f8330857':
Restore AOSP-style version numbers - DO NOT MERGE
2014-10-29 07:01:01 +00:00
Michael Runge
63f01de818
Add post-install verification phase
...
Verify the SHA sum of all patched and extracted files after
a file system remount.
Bug: 18145574
Change-Id: I2f053d085543e10e39153a774542d37ee0a238bd
2014-10-29 02:54:51 +00:00
Ian Rogers
93cb8c7d95
Merge "Specify -mcpu=krait for clang."
2014-10-28 23:03:36 +00:00
Ian Rogers
e270873407
Specify -mcpu=krait for clang.
...
Change-Id: I64682cddf57246341c1727ca16c56f7ce0c6fd0a
2014-10-28 15:50:02 -07:00
Adam Lesinski
256ea6cad0
Merge "Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings" into lmp-mr1-dev
...
automerge: 708e021
* commit '708e021a319eea4cb549a73745fafb9467776fcf':
Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings
2014-10-28 18:09:11 +00:00
Adam Lesinski
708e021a31
Merge "Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings" into lmp-mr1-dev
2014-10-28 17:41:30 +00:00
Neil Fuller
acd65c7db0
am 97ef1d46: Merge "Add OpenJDK 8 experimental support"
...
* commit '97ef1d46cdae3776e49900b2ed92748f6127bbb0':
Add OpenJDK 8 experimental support
2014-10-28 04:50:49 +00:00
Chih-Hung Hsieh
736a146c3c
am 717ebfc1: Merge "Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS."
...
* commit '717ebfc13182202ab38e17c0cd008924e9e5c4e9':
Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS.
2014-10-28 04:48:54 +00:00
Dan Albert
ef8912d93f
am d274e04a: Merge "Don\'t sort shared library link order."
...
* commit 'd274e04ac4317d7cfc2de02ca215e064c018c234':
Don't sort shared library link order.
2014-10-28 04:46:53 +00:00
Chih-Hung Hsieh
6555580d35
am ea503d21: Merge "Raise x86 arch requirement to prescott."
...
* commit 'ea503d21c7d5ecb3deacbf50f3ec7366bf7bd573':
Raise x86 arch requirement to prescott.
2014-10-28 04:46:49 +00:00
Ying Wang
83cd45517d
Store symbols.zip in apps_only build. automerge: a60fb49
...
automerge: a73b611
* commit 'a73b611e6b2a626b144170f15509e02f3318976e':
Store symbols.zip in apps_only build.
2014-10-28 03:36:22 +00:00
Ying Wang
a73b611e6b
Store symbols.zip in apps_only build.
...
automerge: a60fb49
* commit 'a60fb49704946b9d5cf0551ddd56bd1072131b85':
Store symbols.zip in apps_only build.
2014-10-28 00:15:59 +00:00
Adam Lesinski
b4efae440b
Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings
...
It's better practice to include the minimal set of windows APIs anyways
and we're not doing anything that requires more.
Change-Id: I1b4362be4f707738b9cfbd6a87caabff8b8409ac
2014-10-27 14:26:35 -07:00
Ying Wang
a60fb49704
Store symbols.zip in apps_only build.
...
Bug: 18103055
Change-Id: I0eb335e944138b0edc3050d19c076891f499a07c
2014-10-27 17:57:11 +00:00
Neil Fuller
f7ce9508de
am 4dfda1fa: Merge "Remove Java 6 build support"
...
* commit '4dfda1fa4201e41022396b77054168ffc73b590c':
Remove Java 6 build support
2014-10-24 20:18:15 +00:00
Chih-Hung Hsieh
54fd82d111
am 660f3c9a: Merge "Set default to Clang integrated assembler."
...
* commit '660f3c9ae9cb99f428fb62fb6a1256679eb9f138':
Set default to Clang integrated assembler.
2014-10-24 13:02:00 +00:00