|
Add _android files for building DartVM on Android
Split directory_posix -> directory_(android|linux|macos)
This allows us to cleanly make Android-specific changes to
directory_android.cc
Copy all _linux files to _android files and edit as needed to account
for the differences between Linux and Android:
+ getcwd(0, NULL) doesn't work on Android, have to emulate
+ Android doesn't have a '/tmp' directory, have to emulate
+ Android doesn't provide mkdtemp(), have to emulate.
+ Small differences in the available system include files.
+ Use pthread_cond_timedwait_monotonic instead of
pthread_condattr_setclock
Committed: https://code.google.com/p/dart/source/detail?r=10613
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+107 lines, -480 lines) |
Patch |
|
M |
runtime/bin/builtin_impl_sources.gypi
|
View
|
|
4 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/dbg_connection.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
A + |
runtime/bin/dbg_connection_android.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A + |
runtime/bin/dbg_connection_android.cc
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
runtime/bin/directory_android.cc
|
View
|
1
|
3 chunks |
+35 lines, -3 lines |
0 comments
|
Download
|
|
A + |
runtime/bin/directory_linux.cc
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
runtime/bin/directory_macos.cc
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
D |
runtime/bin/directory_posix.cc
|
View
|
|
1 chunk |
+0 lines, -432 lines |
0 comments
|
Download
|
|
M |
runtime/bin/eventhandler.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
A + |
runtime/bin/eventhandler_android.h
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
A + |
runtime/bin/eventhandler_android.cc
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
runtime/bin/extensions_android.cc
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
runtime/bin/fdutils_android.cc
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
runtime/bin/file_android.cc
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
runtime/bin/platform_android.cc
|
View
|
|
3 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
A + |
runtime/bin/process_android.cc
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
M |
runtime/bin/socket.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
A + |
runtime/bin/socket_android.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A + |
runtime/bin/socket_android.cc
|
View
|
1
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
A + |
runtime/bin/utils_android.cc
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
M |
runtime/platform/globals.h
|
View
|
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/platform/platform_sources.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/platform/thread.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
A + |
runtime/platform/thread_android.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
A + |
runtime/platform/thread_android.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/platform/utils.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
A + |
runtime/platform/utils_android.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A + |
runtime/vm/debuginfo_android.cc
|
View
|
1
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
A + |
runtime/vm/gdbjit_android.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
A + |
runtime/vm/gdbjit_android.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A + |
runtime/vm/os_android.cc
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
runtime/vm/virtual_memory_android.cc
|
View
|
1
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/vm_sources.gypi
|
View
|
|
4 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|