Go to file
Adam Lesinski a1ac84cd8d MingW doesn't handle __attribute__((weak)) for Windows PE
Windows PE format doesn't have the same support for weak symbols
as ELF does.

The symbol android_log_id_to_name was strangely omitted from the
resulting Windows executable and the callsite where it was supposed
to be called was relaced with a different symbol, which caused a crash
in AAPT on Windows.

This change works due to a careful set of #ifdefs that ensure only one
definition of android_log_id_to_name is defined, but there are other
uses of __attribute__((weak)) which should be inspected.

Change-Id: I3b58076e31d9b28c5143773a170e9ffda9fa3815
2014-10-20 12:33:59 -07:00
adb Fix windows-specific error without messing up Makefile flags. 2014-10-01 17:37:06 -07:00
adf libadf: silence false positive warning 2014-05-07 15:27:59 -07:00
cpio cpio: Turn on -Werror 2014-05-23 09:48:09 -07:00
debuggerd Move ABI: line below header when dumping stacks. 2014-09-11 14:20:04 -07:00
fastboot Remove obsolete reference to ddk; Fixes for -Werror 2014-09-30 02:24:07 -07:00
fastbootd Judge mmap failed by MAP_FAILED instead of NULL 2014-05-22 12:51:39 +08:00
fs_mgr Preserve errno from fsmgr_do_mount 2014-09-11 17:31:49 -07:00
gpttool gpttool: turn on -Werror 2014-05-05 10:30:04 -07:00
healthd healthd: charger: Run animation even if capacity is 0 2014-09-23 17:09:28 -07:00
include LibNativeBridge: Add early init & env setup 2014-09-26 13:04:36 -07:00
init Include reason when wiping data. 2014-09-24 11:46:36 -07:00
libbacktrace Add uncached argument to BacktraceMap::Create on darwin 2014-08-05 00:48:45 -07:00
libcutils Use the correct debuggerd given the tid. 2014-09-12 20:12:11 -07:00
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror" 2014-05-21 21:19:27 +00:00
libion libion: Turn on -Werror 2014-05-21 12:58:38 -07:00
liblog MingW doesn't handle __attribute__((weak)) for Windows PE 2014-10-20 12:33:59 -07:00
libmemtrack system/core 64-bit cleanup. 2014-01-16 12:54:18 -08:00
libmincrypt Remove declaration of unused static variable 2014-05-12 17:47:39 +02:00
libnativebridge Use initUnchangeableSystemProperty for initializing os.arch. 2014-10-01 18:57:59 +01:00
libnetutils Support resetting connections tied to any nonexistent address. 2014-09-08 23:35:52 -07:00
libpixelflinger Build pixelflinger tests as native tests, not executables. 2014-06-26 13:22:44 +01:00
libprocessgroup Fix issue : processgroup truncates buffer 2014-10-15 11:36:28 -07:00
libsparse am d4d09637: am db32e788: am a2b03c4a: Merge "libsparse: turn on -Werror" 2014-05-08 21:43:07 +00:00
libsuspend am 1291df76: am c5fa4b19: am 065c2706: Merge "libsuspend: Turn on -Werror" 2014-05-22 19:21:07 +00:00
libsync Add gtest conformance tests for libsync. Not complete yet, but substantially more comprehensive than the interactive test that was there before. 2014-06-10 23:33:18 +00:00
libsysutils Support parsing netlink route messages. 2014-06-21 10:55:07 +09:00
libusbhost libusbhost: Fix IOCTL call during usb_request_cancel 2014-08-07 01:13:31 +00:00
libutils Fix windows specific behavior of FileMap 2014-10-16 12:09:06 -07:00
libziparchive Fix toolchain issue for windows build of libziparchive. 2014-10-16 07:49:16 +00:00
libzipfile Build host with multilib both enabled. 2014-06-05 11:42:26 -07:00
lmkd lmkd: kill a process if zoneinfo can't be read 2014-07-14 17:41:17 -07:00
logcat logcat: document help tail from time 2014-09-01 10:42:49 -07:00
logd logd: in nonblocking read, sched_yield() synchronization 2014-09-29 11:09:22 -07:00
logwrapper Fix "ptsname is not thread-safe; use ptsname_r instead" build break. 2014-07-29 11:08:57 -07:00
mkbootimg mkbootimg: turn on -Werror 2014-05-05 10:30:04 -07:00
netcfg Cleanup: Delete dead code. 2014-07-22 15:00:21 -07:00
reboot reboot: Turn on -Werror 2014-05-21 12:58:38 -07:00
rootdir Merge "Add bootanimation to audio group so it can play boot sound" into lmp-dev 2014-10-06 18:40:46 +00:00
run-as run-as: build 1161573 failure 2014-05-08 21:18:23 +00:00
sdcard Fix sdcard truncates. 2014-07-31 12:03:03 -07:00
toolbox newfs_msdos: Set sectors per fat once 2014-10-10 14:40:48 -07:00
.gitignore Don't compile abort_socket.c for host targets. It is only intended to run on Linux targets. 2009-05-26 13:23:23 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk add cleanspec for lmkd 2014-07-10 14:26:57 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00
README auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ThirdPartyProject.prop add meta-files about 3rd party projects 2010-07-16 11:41:39 -07:00

README

The system/ directory is intended for pieces of the world that are the
core of the embedded linux platform at the heart of Android.  These
essential bits are required for basic booting, operation, and debugging.

They should not depend on libraries outside of system/... (some of them
do currently -- they need to be updated or changed) and they should not
be required for the simulator build.

The license for all these pieces should be clean (Apache2, BSD, or MIT).

Currently system/bluetooth/... and system/extra/... have some pieces
with GPL/LGPL licensed code.

Assorted Issues:

- pppd depends on libutils for logging
- pppd depends on libcrypt/libcrypto
- init, linker, debuggerd, toolbox, usbd depend on libcutils
- should probably rename bionic to libc