Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cm 9.1.0 #2

Open
wants to merge 2,343 commits into
base: eclair
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2343 commits
Select commit Hold shift + click to select a range
918638c
enable HAVE_DLADDR, since... we have it
pixelflinger Sep 28, 2011
b14bbf0
Merge "Pick up on androidboot.hardware kernel cmd option"
Sep 28, 2011
2a32df2
Merge "enable HAVE_DLADDR, since... we have it"
pixelflinger Sep 28, 2011
47ddb51
Support adding, deleting, and clearing IPv6 addrs.
lcolitti Sep 26, 2011
f32189a
merge in ics-release history after reset to master
Sep 29, 2011
4520246
Fix SocketListener socket leak issue.
Sep 29, 2011
15c8c3e
Merge "Support adding, deleting, and clearing IPv6 addrs."
lcolitti Sep 29, 2011
823ebc4
charger: dump the last_kmsg when going into charger mode
Sep 30, 2011
7353155
Revert "charger: show animation when the device is unplugged"
Sep 30, 2011
9892aa5
Merge "Fix SocketListener socket leak issue."
digit-android Sep 30, 2011
d43bd57
merge in ics-release history after reset to master
Sep 30, 2011
01851ea
am 823ebc4d: charger: dump the last_kmsg when going into charger mode
Sep 30, 2011
db982b0
am 73531557: Revert "charger: show animation when the device is unplu…
Sep 30, 2011
e65e946
Add log group to rild to improve log collection on modem issue
Sep 29, 2011
e5de9ee
libnl_2: Fix getting family_id
Sep 30, 2011
7005c03
Create drmrpc group for security services
jefftinker Sep 30, 2011
e701e8e
merge in ics-release history after reset to master
Oct 3, 2011
4bf3c02
Add checking for log entry format
kruton Oct 1, 2011
5688509
Add command line help for the new 'adb backup -all -nosystem'
Oct 4, 2011
134959a
Merge "Create drmrpc group for security services"
jefftinker Oct 4, 2011
114f242
Merge "Add command line help for the new 'adb backup -all -nosystem'"
Oct 4, 2011
a6d44f0
merge in ics-release history after reset to master
Oct 5, 2011
ce020a7
Merge "Add checking for log entry format"
kruton Oct 5, 2011
2e6cff8
merge in ics-release history after reset to master
Oct 6, 2011
65c4df5
Add drmrpc group to mediaserver and drmserver so they can make the dr…
jefftinker Oct 7, 2011
8d43cb6
Allow CAMERA_CMD_SET_DISPLAY_ORIENTATION to change during preview.
Oct 7, 2011
bc76bb4
Merge "Allow CAMERA_CMD_SET_DISPLAY_ORIENTATION to change during prev…
Oct 7, 2011
f791e17
Merge "Add drmrpc group to mediaserver and drmserver so they can make…
jefftinker Oct 8, 2011
0b446a4
merge in ics-release history after reset to master
Oct 9, 2011
4e803c3
Merge "Add log group to rild to improve log collection on modem issue"
Oct 10, 2011
6306d41
DO NOT MERGE libsysutils: Fix potential overwrites in FrameworkListener
digit-android Jan 17, 2011
6d74b0d
merge in ics-release history after reset to master
Oct 11, 2011
d707fb3
enable heap randomization.
nickkral Oct 6, 2011
984351b
merge in ics-release history after reset to master
Oct 12, 2011
6bcd4d3
Add ANDROID_API macro to export symbols
romainguy Oct 12, 2011
d11e1a0
charger: print last_kmsg directly using klog_write
Oct 12, 2011
2471a6a
charger: sync with the current key state on boot
Oct 12, 2011
2d978c0
charger: ignore key event if value didn't change
Oct 12, 2011
baad284
Update camera documentation about face detection.
Oct 13, 2011
5babfad
am baad2843: Update camera documentation about face detection.
Oct 13, 2011
50888f7
merge in ics-release history after reset to master
Oct 13, 2011
136dcc5
Show maps near native fault address
fadden Sep 22, 2011
47cca06
Merge changes Idcb48155,Iecb8c3db,I4924134b into ics-mr0
Oct 13, 2011
d6da4d4
am 47cca063: Merge changes Idcb48155,Iecb8c3db,I4924134b into ics-mr0
Oct 13, 2011
471157a
charger: key state being the same is not an error
Oct 13, 2011
6606dc9
am 471157a3: charger: key state being the same is not an error
Oct 13, 2011
90e6f93
Merge "Show maps near native fault address"
fadden Oct 13, 2011
41e0cef
Append log data to tombstones
fadden Oct 13, 2011
76feaf3
Merge "Append log data to tombstones"
fadden Oct 14, 2011
ec14bce
merge in ics-release history after reset to master
Oct 16, 2011
63f4a84
liblog: ensure that the message length is consistent
nickkral Oct 17, 2011
4607050
logcat: add sanity check
nickkral Oct 17, 2011
b064ed8
am 6306d419: DO NOT MERGE libsysutils: Fix potential overwrites in Fr…
digit-android Oct 17, 2011
0f9581a
am b064ed88: (-s ours) am 6306d419: DO NOT MERGE libsysutils: Fix pot…
digit-android Oct 17, 2011
50f128a
am 0f9581ab: (-s ours) am b064ed88: (-s ours) am 6306d419: DO NOT MER…
digit-android Oct 17, 2011
aa75df7
[maguro] : add setprop net.tcp.buffersize.hspa
sinikang Oct 16, 2011
8cdd4c3
am aa75df74: [maguro] : add setprop net.tcp.buffersize.hspa
sinikang Oct 18, 2011
543cdd2
merge in ics-release history after reset to master
Oct 18, 2011
4423df7
Merge "logcat: add sanity check"
nickkral Oct 18, 2011
e1ede15
liblog: do better checks of log messages.
nickkral Oct 18, 2011
f2eae5a
Enhance debuggerd memory dumps
fadden Oct 18, 2011
05a28e1
Merge "Enhance debuggerd memory dumps"
fadden Oct 19, 2011
e5cc539
Add log summary to tombstones
fadden Oct 19, 2011
9ccc4aa
merge in ics-release history after reset to master
Oct 19, 2011
b62ace9
Merge "liblog: do better checks of log messages."
nickkral Oct 19, 2011
c69b6b7
Merge "Add log summary to tombstones"
fadden Oct 19, 2011
08dedcf
Enable verbose register memory dumps
fadden Oct 19, 2011
899ebdc
merge in ics-release history after reset to master
Oct 20, 2011
a286480
Fix the class_reset command
Oct 26, 2011
a820a0e
Gracefully handle truncated log messages.
jsharkey Oct 27, 2011
72410cc
am a286480f: Fix the class_reset command
Oct 27, 2011
1c50ba1
merge in ics-mr1-release history after reset to ics-mr1
Oct 27, 2011
31a02db
Fix build
Oct 28, 2011
604f52e
Reconcile with AOSP master
Oct 28, 2011
71619f1
am 604f52e3: Reconcile with AOSP master
Oct 28, 2011
70212a4
Merge "Gracefully handle truncated log messages." into ics-mr1
jsharkey Oct 28, 2011
477df68
Remove log spam
isheriff Oct 29, 2011
17233ee
merge in ics-mr1-release history after reset to ics-mr1
Oct 30, 2011
04a8759
restart surfaceflinger and drmserver when servicemanager dies
pixelflinger Oct 31, 2011
9ec3f3e
charger: make the almost-full frame only show when it's current level
Oct 31, 2011
332baee
merge in ics-mr1-release history after reset to ics-mr1
Nov 1, 2011
d4f2976
Merge "Remove log spam" into ics-mr0
isheriff Nov 1, 2011
a7997f4
am d4f29767: Merge "Remove log spam" into ics-mr0
isheriff Nov 1, 2011
6fb3df8
Merge "charger: make the almost-full frame only show when it's curren…
Nov 1, 2011
3e3d078
am 6fb3df8d: Merge "charger: make the almost-full frame only show whe…
Nov 1, 2011
d99fe5e
libnl_2: Fix memory leaks
Nov 1, 2011
4f7c084
Merge "libnl_2: Fix memory leaks" into ics-mr0
Nov 2, 2011
e718466
am 4f7c0843: Merge "libnl_2: Fix memory leaks" into ics-mr0
Nov 2, 2011
6d9f023
Revert "Merge "libnl_2: Fix memory leaks" into ics-mr0"
Nov 2, 2011
3d69524
merge in ics-mr1-release history after reset to ics-mr1
Nov 2, 2011
df241e5
merge in ics-factoryrom-2-release history after reset to ics-mr0
Nov 2, 2011
77aa295
Revert "Merge "Remove log spam" into ics-mr0"
Nov 2, 2011
fa792b1
Revert "Merge "charger: make the almost-full frame only show when it'…
Nov 2, 2011
6641b39
Revert "Merge "libnl_2: Fix memory leaks" into ics-mr0"
Nov 2, 2011
0e4d9eb
Reconcile with ics-factoryrom-2-release
Nov 2, 2011
2342074
merge in ics-factoryrom-2-release history after reset to ics-mr0
Nov 3, 2011
86eeea5
Revert "Merge "Remove log spam" into ics-mr0"
Nov 3, 2011
08ffd07
Revert "Merge "charger: make the almost-full frame only show when it'…
Nov 3, 2011
b1966c5
Revert "Merge "libnl_2: Fix memory leaks" into ics-mr0"
Nov 3, 2011
6182d03
Reconcile with ics-factoryrom-2-release
Nov 4, 2011
4a25390
rootdir: init.rc: write default oom_adj before starting ueventd
Nov 4, 2011
3c58933
am 4a253908: rootdir: init.rc: write default oom_adj before starting …
Nov 7, 2011
ed21633
Wimax: wimax related changes for libnetutils
Oct 13, 2011
7938d6d
merge in ics-mr1-release history after reset to ics-mr1
Nov 8, 2011
c761b54
Merge "Wimax: wimax related changes for libnetutils" into ics-mr1
Nov 8, 2011
989b2a3
merge in ics-mr1-release history after reset to ics-mr1
Nov 9, 2011
61b90bd
adb: grant it AID_NET_BW_STATS for full /proc/net/xt_qtaguid/stats
jpa468 Nov 9, 2011
0026371
merge in ics-mr1-release history after reset to ics-mr1
Nov 10, 2011
c602324
Reconcile with ics-factoryrom-2-release
Nov 16, 2011
b90cb1d
am c6023243: Reconcile with ics-factoryrom-2-release
Nov 16, 2011
ecf0e9e
DO NOT MERGE - disable memory dumps
fadden Nov 16, 2011
2a38657
Merge "DO NOT MERGE - disable memory dumps" into ics-mr1
fadden Nov 17, 2011
4ff7cc1
Squashed adb fixes.
koush Feb 23, 2010
89255ff
init: Add net device permission controls for LGE devices
rmcc Apr 3, 2011
d9a716e
ADB Logcat colored output.
pierrezurek Oct 17, 2010
8475fb5
init: Implement exec support
turl Nov 16, 2011
b67f899
Stub property_set_sync
turl Nov 16, 2011
25a8631
liblog: Move kineto and qcom RIL messages to radio log
hyperb1iss Nov 13, 2010
5530baa
Merge "liblog: Move kineto and qcom RIL messages to radio log" into ics
hyperb1iss Nov 19, 2011
c98deb0
do not install recovery on boot
koush Nov 21, 2011
097b4ed
Replace vendor specific NfcGoogle.apk with generic Nfc.apk
Nov 21, 2011
f9c1fcc
Merge "Replace vendor specific NfcGoogle.apk with generic Nfc.apk" in…
Nov 22, 2011
d5bc0b2
Merge "Stub property_set_sync" into ics
hyperb1iss Nov 22, 2011
d17a0de
init: Include extra init file in /system/etc/init.local.rc
freexperia Nov 22, 2011
a985651
merge in ics-mr1-release history after reset to ics-mr1
Nov 22, 2011
703d168
Use RECOVERY_PRE_COMMAND before calling __reboot() recovery
atinm May 3, 2011
f2df32c
add missing string.h include needed for memset
drewis Nov 25, 2011
a5c82ed
Merge "init: Include extra init file in /system/etc/init.local.rc" in…
hyperb1iss Nov 25, 2011
b69e9cb
libcutils : reboot mount fix
Danesh Nov 26, 2011
320973b
Merge "libcutils : reboot mount fix" into ics
rmcc Nov 26, 2011
999a193
merge in ics-mr1-release history after reset to ics-mr1
Nov 28, 2011
452c27b
debuggerd: Extend condition for exclusion of the fconstd instruction
arco Nov 30, 2011
facc08a
RECOVERY_PRE_COMMAND_CLEAR_REASON and extended reboot arguments
tpruvot Dec 1, 2011
d05ea66
Merge "RECOVERY_PRE_COMMAND_CLEAR_REASON and extended reboot argument…
hyperb1iss Dec 3, 2011
fa815e2
system/core: Add audio enums for new features support
Nov 17, 2011
708dd8c
window: Add query enum for num buffers
Nov 18, 2011
b4c6b0f
Add group qcom_oncrpc and give permissions to ril-daemon and /dev/oncrpc
Dec 20, 2010
d09c60d
init: Support for emmc boot and init.target.rc
hyperb1iss Dec 4, 2011
ce48083
Fixes ADB crash on Windows due to large number of connections. do not…
Nov 30, 2011
7993ac0
unpackbootimg (squashed)
koush Aug 2, 2010
0d0c0ce
merge in ics-mr1-release history after reset to ics-mr1
Dec 6, 2011
bd6fe1e
Merge "system/core: Add audio enums for new features support" into ics
hyperb1iss Dec 8, 2011
4f85fce
Merge "window: Add query enum for num buffers" into ics
hyperb1iss Dec 8, 2011
5f33bc8
Merge "Add group qcom_oncrpc and give permissions to ril-daemon and /…
hyperb1iss Dec 8, 2011
330b3de
Merge "init: Support for emmc boot and init.target.rc" into ics
hyperb1iss Dec 8, 2011
b1dfffe
Fix 'adb backup' on Windows
Dec 9, 2011
7cd3e0a
Document ANativeWindow's buffer refcounting
critsec Dec 12, 2011
fb71a12
merge in ics-mr1-release history after reset to ics-mr1
Dec 13, 2011
31b2f44
merge in ics-mr1-release history after reset to ics-mr1
Dec 14, 2011
16e6332
Merge branch 'ics-mr1' of https://android.googlesource.com/platform/s…
hyperb1iss Dec 16, 2011
559ecfb
init: add detection of charging mode
pershoot Dec 17, 2011
df96c7e
audio: Ifdef with QCOM_HARDWARE
hyperb1iss Dec 18, 2011
0bb0132
logwrapper: reduce verbosity and fix usage
tpruvot Dec 19, 2011
3481299
rmmod: fix full path syntax
tpruvot Sep 1, 2011
c18f2a8
init: implement a new 'log' command, useful to debug property events
tpruvot Dec 19, 2011
eb0278c
handle motorola user ids, if MOTOROLA_UIDS is defined
tpruvot Oct 28, 2011
c76f37d
Merge "rmmod: fix full path syntax" into ics
hyperb1iss Dec 20, 2011
09cdc0e
Close a security hole - do not give world readable/writable access to…
Jan 6, 2012
2e655d0
Merge "handle motorola user ids, if MOTOROLA_UIDS is defined" into ics
hyperb1iss Jan 8, 2012
7415965
Cherry-picked from c13daef7b on master. Do not merge.
Dec 9, 2011
ae42982
Cherry-picked from c4f37eed7 in master. Do not merge.
Dec 13, 2011
07ad9f2
Add USB Vendor ID for Fujitsu and Lumigon.
Jan 11, 2012
032afc1
Merge "Close a security hole - do not give world readable/writable ac…
Jan 12, 2012
cffb062
merge in ics-mr1-release history after reset to ics-mr1
Jan 12, 2012
01c76f5
HACK: Export androidboot.modelno as ro.boot.modelno -- DO NOT MERGE
benoitgoby Jan 12, 2012
4a404c1
merge in ics-mr1-release history after reset to ics-mr1
Jan 12, 2012
f134ee3
Merge "HACK: Export androidboot.modelno as ro.boot.modelno -- DO NOT …
benoitgoby Jan 13, 2012
b8625ab
merge in ics-mr1-release history after reset to ics-mr1
Jan 14, 2012
5aecaeb
rootdir: Add support for ADB-over-network
hyperb1iss Jan 14, 2012
61abb46
log: more qcom radio tag
Kali- Jan 15, 2012
4779e93
Add Intel's vendor ID to adb
Jan 13, 2012
2eb08e4
merge in ics-mr1-release history after reset to ics-mr1
Jan 20, 2012
746f324
Add USB vendor IDs for Quanta, INQ and Sony.
Jan 14, 2012
0148e60
merge in ics-mr1-release history after reset to ics-mr1
Jan 24, 2012
9935b51
Safely restart services to avoid race conditions.
mkasick Jan 26, 2012
1fa0f09
Create /cache/dalvik-cache
wkpark Jan 22, 2012
9c83c76
core: port forward load /system/etc/init.rc.local & run /system/bin/s…
hyperb1iss Dec 31, 2010
d231e29
Revert "core: port forward load /system/etc/init.rc.local & run /syst…
hyperb1iss Jan 26, 2012
f87d871
Allow 'system' user to modify cpufreq control files
NameLessJedi Dec 31, 2010
98af33d
temporary hack to always allow adb root.
koush Jan 27, 2012
3be45ff
Revert "temporary hack to always allow adb root."
koush Jan 28, 2012
c8dc063
Merge "Safely restart services to avoid race conditions." into ics
koush Jan 28, 2012
5b1322f
Merge "Allow 'system' user to modify cpufreq control files" into ics
hyperb1iss Jan 28, 2012
1c69b06
rootdir: Change sysfs permissions to allow user control ksm
KalimochoAz Jan 29, 2012
d68ec2a
adbd: Disable "adb root" by system property (2/3)
hyperb1iss Jan 15, 2012
58e7257
Restart oneshot services when manually restarted.
mkasick Jan 29, 2012
a5bcdbc
Merge "Restart oneshot services when manually restarted." into ics
koush Jan 29, 2012
c8bb74f
Allow system to call custom reboot cmd
dalingrin Jan 30, 2012
708b3b6
init: Extend the check for charger mode
arco Feb 5, 2012
6fb268c
Merge "rootdir: Change sysfs permissions to allow user control ksm" i…
hyperb1iss Feb 6, 2012
cf47652
set /system/etc/init.d/* permissions
bukington Feb 4, 2012
1f6190f
Merge "init: Extend the check for charger mode" into ics
hyperb1iss Feb 7, 2012
3538d1c
run sysinit during boot
bukington Feb 5, 2012
3ecdf44
init: Never allow two same-service processes to exist simultaneously.
mkasick Feb 6, 2012
0093688
init: Don't confuse do_exec with other exiting processes.
mkasick Feb 6, 2012
ffb32a4
Toolbox implementation of chown has a bad print
May 24, 2011
b1e6e43
core: allow radio users to access all rmnet* interface
Kali- Mar 1, 2012
4e578e4
Modular backuptool.sh. Executes backup and restore methods defined i…
wtogami Mar 4, 2012
5ebced3
init.rc: update the permission of /data/local.
Mar 7, 2012
de64d60
merge in ics-mr1-release history after reset to ics-mr1
Mar 9, 2012
2c61f5c
Merge "Modular backuptool.sh. Executes backup and restore methods de…
Mar 9, 2012
5a9ef3b
audio: Don't use QCOM_HARDWARE when AUDIO_LEGACY is active
rmcc Mar 9, 2012
4e58088
merge in ics-mr1-release history after reset to ics-mr1
Mar 10, 2012
c2db4ff
merge in ics-mr1-release history after reset to ics-mr1
Mar 10, 2012
113df48
init: Let radio user manipulate service properties
rmcc Jan 2, 2012
95a886f
Merge "adbd: Disable "adb root" by system property (2/3)" into ics
hyperb1iss Mar 15, 2012
6d621ce
camera: change camera node permissions and add certain parameters.
Nov 16, 2011
486e637
Merge branch 'ics-mr1-release' of https://android.googlesource.com/pl…
hyperb1iss Mar 29, 2012
97b5a01
Increase CMD_ARGS_MAX in FrameworkListener
yath Apr 14, 2012
a86a3bb
Restrict zygote to system user.
nickkral Jan 27, 2012
ee14ef2
Use #define value of 1 to indicate presence of headers.
Mar 3, 2012
62dfbc3
Merge "Increase CMD_ARGS_MAX in FrameworkListener" into ics
hyperb1iss May 5, 2012
99203e9
Merge "Use #define value of 1 to indicate presence of headers." into ics
hyperb1iss May 5, 2012
15be97a
init: Add an emmc-specific configuration file
hyperb1iss May 10, 2012
84c0f28
Add required permissions and files for data
Nov 14, 2011
cecdc24
init: Increase maximum number of Android properties to 372
Mar 5, 2012
c779c66
init: Properly detect hardware revision
hyperb1iss May 21, 2012
68f10e8
toolbox: implement rm -f flag
tpruvot May 4, 2012
a2cd96e
libnl2: Add the missing callback handler functions
tpruvot May 23, 2012
5be1761
init: Add option to disable the initlogo
hyperb1iss May 26, 2012
cc71b19
system/core: Support for audio routing to WiFi Display device
Dec 20, 2011
981f958
init: Fix the charging mode mess
hyperb1iss May 27, 2012
e964b00
charger: Add support for non-standard charging interfaces
hyperb1iss May 27, 2012
0a0f5bb
charger: allow custom charger res
codeworkx May 28, 2012
6e1681a
Merge "libnl2: Add the missing callback handler functions" into ics
hyperb1iss May 28, 2012
54a3835
Merge "toolbox: implement rm -f flag" into ics
hyperb1iss May 28, 2012
56e1fed
Merge "system/core: Support for audio routing to WiFi Display device"…
hyperb1iss May 28, 2012
f46ce7e
Merge "charger: allow custom charger res" into ics
codeworkx May 28, 2012
4360318
Fix Samsung chargermode logic
rmcc May 29, 2012
e00a9ad
init: Fix charger mode for qcom devices
rmcc May 29, 2012
50c1ffc
Fix typo in queue_property_triggers ident
chrisdearman Mar 1, 2012
bf5ef60
Kindle Fire USB ID
radiatatech Apr 15, 2012
b77d565
init: Add noexec mount option
Jul 14, 2011
21d504a
init: make chmod/mkdir/chown not follow symlinks
gcondra Mar 20, 2012
5f1cd63
init: Fix chown and chmod for write-only files
benoitgoby Mar 29, 2012
2f8f9ef
Add error handling to SocketClient::sendData
May 13, 2011
f9ad9a0
init: Fix LPM for charging_mode_booting
pershoot Jun 2, 2012
a63c4f1
libcutils: Fix aliasing violations
Dec 7, 2011
100d4c7
toolbox: rmmod: fix module unloading
vishalbhoj May 14, 2012
703058d
init: Check for symlinks with lstat() not open()
Entropy512 Jun 19, 2012
507589c
Update unpackbootimg to verify the Android boot image magic value. It…
koush Jun 19, 2012
0a90aff
unpackbootimg: Fix up the padding search in case the magic does not f…
koush Jun 19, 2012
c161a19
unpackbootimg: Fix magic search.
koush Jun 20, 2012
4758f1a
unpackbootimg: apparently mkbootimg no longer accepts hex values
koush Jun 20, 2012
7f3eaad
unpackbootimg: Need to also update the written file.
koush Jun 20, 2012
810733f
Merge "init: Check for symlinks with lstat() not open()" into ics
hyperb1iss Jun 23, 2012
ebe1082
init: Add tegra media properties
rmcc Jul 3, 2012
12bc01d
Revert "init: Add tegra media properties"
rmcc Jul 4, 2012
389a2fa
init: Add a mechanism to extend the property service in device configs
rmcc Jul 4, 2012
67ffcea
mkbootimg: support pagesize 8192
koush Jul 14, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 1 addition & 13 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,4 @@
#
LOCAL_PATH := $(my-dir)

ifneq ($(TARGET_SIMULATOR),true)
include $(call first-makefiles-under,$(LOCAL_PATH))
else
include $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, \
adb \
libcutils \
libsysutils \
liblog \
libnetutils \
libpixelflinger \
libzipfile \
))
endif
include $(call first-makefiles-under,$(LOCAL_PATH))
52 changes: 52 additions & 0 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Copyright (C) 2007 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# If you don't need to do a full clean build but would like to touch
# a file or delete some intermediate files, add a clean step to the end
# of the list. These steps will only be run once, if they haven't been
# run before.
#
# E.g.:
# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
#
# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
# files that are missing or have been moved.
#
# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
# Use $(OUT_DIR) to refer to the "out" directory.
#
# If you need to re-do something that's already mentioned, just copy
# the command and add it to the bottom of the list. E.g., if a change
# that you made last week required touching a file and a change you
# made today requires touching the same file, just copy the old
# touch step and add it to the end of the list.
#
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************

# For example:
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)

# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc)
10 changes: 10 additions & 0 deletions ThirdPartyProject.prop
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright 2010 Google Inc. All Rights Reserved.
#Fri Jul 16 10:03:09 PDT 2010
currentVersion=2.6.32
version=2.6.32
isNative=true
feedurl=http\://kernel.org/pub/linux/kernel/v2.6/
name=linux
keywords=linux
onDevice=true
homepage=http\://kernel.org
112 changes: 93 additions & 19 deletions adb/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,28 @@ ifeq ($(HOST_OS),darwin)
LOCAL_LDLIBS += -lpthread -framework CoreFoundation -framework IOKit -framework Carbon
endif

ifeq ($(HOST_OS),freebsd)
USB_SRCS := usb_libusb.c
EXTRA_SRCS := get_my_path_freebsd.c
LOCAL_LDLIBS += -lpthread -lusb
endif

ifeq ($(HOST_OS),windows)
USB_SRCS := usb_windows.c
EXTRA_SRCS := get_my_path_windows.c
EXTRA_STATIC_LIBS := AdbWinApi
LOCAL_C_INCLUDES += /usr/include/w32api/ddk development/host/windows/usb/api/
ifneq ($(strip $(USE_CYGWIN)),)
# Pure cygwin case
LOCAL_LDLIBS += -lpthread
else
LOCAL_C_INCLUDES += /usr/include/w32api/ddk
endif
ifneq ($(strip $(USE_MINGW)),)
# MinGW under Linux case
LOCAL_LDLIBS += -lws2_32
USE_SYSDEPS_WIN32 := 1
LOCAL_C_INCLUDES += /usr/i586-mingw32msvc/include/ddk
endif
LOCAL_C_INCLUDES += development/host/windows/usb/api/
endif

LOCAL_SRC_FILES := \
Expand All @@ -51,7 +62,6 @@ LOCAL_SRC_FILES := \
file_sync_client.c \
$(EXTRA_SRCS) \
$(USB_SRCS) \
shlist.c \
utils.c \
usb_vendors.c

Expand All @@ -62,8 +72,17 @@ else
LOCAL_SRC_FILES += fdevent.c
endif

LOCAL_CFLAGS += -O2 -g -DADB_HOST=1 -Wall -Wno-unused-parameter
LOCAL_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE -DSH_HISTORY
LOCAL_CFLAGS += -g -DADB_HOST=1 -Wall -Wno-unused-parameter
# adb can't be built without optimizations, so we enforce -O2 if no
# other optimization flag is set - but we don't override what the global
# flags are saying if something else is given (-Os or -O3 are useful)
ifeq ($(findstring -O, $(HOST_GLOBAL_CFLAGS)),)
LOCAL_CFLAGS += -O2
endif
ifneq ($(findstring -O0, $(HOST_GLOBAL_CFLAGS)),)
LOCAL_CFLAGS += -O2
endif
LOCAL_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE
LOCAL_MODULE := adb

LOCAL_STATIC_LIBRARIES := libzipfile libunz $(EXTRA_STATIC_LIBS)
Expand All @@ -73,7 +92,7 @@ endif

include $(BUILD_HOST_EXECUTABLE)

$(call dist-for-goals,droid,$(LOCAL_BUILT_MODULE))
$(call dist-for-goals,dist_files,$(LOCAL_BUILT_MODULE))

ifeq ($(HOST_OS),windows)
$(LOCAL_INSTALLED_MODULE): \
Expand All @@ -85,11 +104,7 @@ endif
# adbd device daemon
# =========================================================

# build adbd in all non-simulator builds
BUILD_ADBD := false
ifneq ($(TARGET_SIMULATOR),true)
BUILD_ADBD := true
endif
BUILD_ADBD := true

# build adbd for the Linux simulator build
# so we can use it to test the adb USB gadget driver on x86
Expand All @@ -103,6 +118,7 @@ include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
adb.c \
backup_service.c \
fdevent.c \
transport.c \
transport_local.c \
Expand All @@ -117,7 +133,16 @@ LOCAL_SRC_FILES := \
log_service.c \
utils.c

LOCAL_CFLAGS := -O2 -g -DADB_HOST=0 -Wall -Wno-unused-parameter
LOCAL_CFLAGS := -g -DADB_HOST=0 -Wall -Wno-unused-parameter
# adb can't be built without optimizations, so we enforce -O2 if no
# other optimization flag is set - but we don't override what the global
# flags are saying if something else is given (-Os or -O3 are useful)
ifeq ($(findstring -O, $(TARGET_GLOBAL_CFLAGS)),)
LOCAL_CFLAGS += -O2
endif
ifneq ($(findstring -O0, $(TARGET_GLOBAL_CFLAGS)),)
LOCAL_CFLAGS += -O2
endif
LOCAL_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE

# TODO: This should probably be board specific, whether or not the kernel has
Expand All @@ -126,19 +151,68 @@ ifeq ($(TARGET_ARCH),arm)
LOCAL_CFLAGS += -DANDROID_GADGET=1
endif

ifeq ($(BOARD_ALWAYS_INSECURE),true)
LOCAL_CFLAGS += -DBOARD_ALWAYS_INSECURE
endif

LOCAL_MODULE := adbd

LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT_SBIN)
LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_SBIN_UNSTRIPPED)

ifeq ($(TARGET_SIMULATOR),true)
LOCAL_STATIC_LIBRARIES := libcutils
LOCAL_LDLIBS += -lpthread
include $(BUILD_HOST_EXECUTABLE)
else
LOCAL_STATIC_LIBRARIES := libcutils libc
include $(BUILD_EXECUTABLE)
LOCAL_STATIC_LIBRARIES := libcutils libc
include $(BUILD_EXECUTABLE)

endif


# adb host tool for device-as-host
# =========================================================
ifneq ($(SDK_ONLY),true)
include $(CLEAR_VARS)

LOCAL_LDLIBS := -lrt -lncurses -lpthread

LOCAL_SRC_FILES := \
adb.c \
console.c \
transport.c \
transport_local.c \
transport_usb.c \
commandline.c \
adb_client.c \
sockets.c \
services.c \
file_sync_client.c \
get_my_path_linux.c \
usb_linux.c \
utils.c \
usb_vendors.c \
fdevent.c

LOCAL_CFLAGS := \
-g \
-DADB_HOST=1 \
-DADB_HOST_ON_TARGET=1 \
-Wall \
-Wno-unused-parameter \
-D_XOPEN_SOURCE \
-D_GNU_SOURCE

# adb can't be built without optimizations, so we enforce -O2 if no
# other optimization flag is set - but we don't override what the global
# flags are saying if something else is given (-Os or -O3 are useful)
ifeq ($(findstring -O, $(TARGET_GLOBAL_CFLAGS)),)
LOCAL_CFLAGS += -O2
endif
ifneq ($(findstring -O0, $(TARGET_GLOBAL_CFLAGS)),)
LOCAL_CFLAGS += -O2
endif

LOCAL_MODULE := adb

LOCAL_STATIC_LIBRARIES := libzipfile libunz libcutils

include $(BUILD_EXECUTABLE)
endif
2 changes: 1 addition & 1 deletion adb/OVERVIEW.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ As a whole, everything works through the following components:
(through USB for devices, through TCP for emulators) and provide a
few services for clients that run on the host.

The ADB server considers that a device is ONLINE when it has succesfully
The ADB server considers that a device is ONLINE when it has successfully
connected to the adbd program within it. Otherwise, the device is OFFLINE,
meaning that the ADB server detected a new device/emulator, but could not
connect to the adbd daemon.
Expand Down
12 changes: 6 additions & 6 deletions adb/SERVICES.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ host-usb:<request>

host-local:<request>
A variant of host-serial used to target the single emulator instance
running on the host. This will fail if therre is none or more than one.
running on the host. This will fail if there is none or more than one.

host:<request>
When asking for information related to a device, 'host:' can also be
Expand Down Expand Up @@ -146,7 +146,7 @@ remount:
dev:<path>
Opens a device file and connects the client directly to it for
read/write purposes. Useful for debugging, but may require special
priviledges and thus may not run on all devices. <path> is a full
privileges and thus may not run on all devices. <path> is a full
path from the root of the filesystem.

tcp:<port>
Expand All @@ -173,7 +173,7 @@ log:<name>

framebuffer:
This service is used to send snapshots of the framebuffer to a client.
It requires sufficient priviledges but works as follow:
It requires sufficient privileges but works as follow:

After the OKAY, the service sends 16-byte binary structure
containing the following fields (little-endian format):
Expand All @@ -190,14 +190,14 @@ framebuffer:
one byte through the channel, which will trigger the service
to send it 'size' bytes of framebuffer data.

If the adbd daemon doesn't have sufficient priviledges to open
If the adbd daemon doesn't have sufficient privileges to open
the framebuffer device, the connection is simply closed immediately.

dns:<server-name>
This service is an exception because it only runs within the ADB server.
It is used to implement USB networking, i.e. to provide a network connection
to the device through the host machine (note: this is the exact opposite of
network thetering).
network tethering).

It is used to perform a gethostbyname(<address>) on the host and return
the corresponding IP address as a 4-byte string.
Expand All @@ -209,7 +209,7 @@ recover:<size>

- creating a file named /tmp/update
- reading 'size' bytes from the client and writing them to /tmp/update
- when everything is read succesfully, create a file named /tmp/update.start
- when everything is read successfully, create a file named /tmp/update.start

This service can only work when the device is in recovery mode. Otherwise,
the /tmp directory doesn't exist and the connection will be closed immediately.
Expand Down
Loading