History log of /external/qemu/android/utils/path.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7891dd35fa2439a70f43ab8572778a398365bf24 28-Apr-2014 David 'Digit' Turner <digit@google.com> Support building with newest Mingw64 cross-toolchain.

This modifies android-configure.sh to detect the new Mingw64-based
cross toolchain (i.e. x86_64-w64-mingw32-gcc) and use it when it
is in the user's path.

Note that this only builds a 32-bit Windows binary, it just uses
a different toolchain to do it. A future patch will add support
for building both Win32 and Win64 binaries at the same time
(which the new toolchain supports).

Since this switches from GCC 4.2 to 4.8, this introduces a ton of
new warnings that require some cleanups in the sources too.

Only the most important warnings are fixed here.

Change-Id: Iec8c9b8332d4a38a2cb8acf368c8aa5341cf77be
/external/qemu/android/utils/path.c
a2c14f947951612b45024095afd2210aa7368773 04-Feb-2014 David 'Digit' Turner <digit@google.com> Cleanup: Remove 100+ compiler warnings.

This is a big cleanup that removes compiler warnings by performing
the following:

- Remove unused functions or variables.
- Change pointer cast to be alias safe using unions.
- Use __attribute__((unused)) on some local variable definitions
when their usage depends on conditional defines that are not
always true when compiling the same source several times.
- Fix a couple array indexing bugs.

There are still a few warnings from the JSON lexer, libjpeg and
the TCG helpers though, but the overall compilation is much cleaner.

BUG=NONE

Change-Id: Ic4483e6402b266ecfd7bca8c92a73d8fcf392a1f
/external/qemu/android/utils/path.c
af81d7432594d8459c4fb9f76c5e8a981f69a94c 03-Feb-2014 David 'Digit' Turner <digit@google.com> Add android/utils/eintr_wrapper.h

Add a new Android-specific header that defines two macros to
handle EINTR in a consistent way, as well as allow detecting
when a system call loops too many times and exit with a fatal
error message when that happens.

+ Unit tests.

+ Update existing code under android/ which uses to deal directly
with EINTR to use the new HANDLE_EINTR() and IGNORE_EINTR()

+ Remove EINTR checks for functions that call socket_xxx() functions
which already loop around EINTR.

Change-Id: I1d2ee64d9743a2edc506f616465ea091878db620
/external/qemu/android/utils/path.c
cf9426292dc19d91bcf11f72d30613f83dbc3d6c 28-Nov-2012 Raphael Moll <ralf@android.com> SDK emulator: support relative path in avd root ini files.

Change-Id: I0488a930c0975dfb605fddba857739c36477286f
/external/qemu/android/utils/path.c
509433edf704644190bc6715adcb1272a1955da3 01-May-2012 Andrew Hsieh <andrewhsieh@google.com> Fixed emulator fails to load lib*GL when launched from its own directory

When emulator is lunched from its own directory (ie. cd out/*/bin; ./emulator),
emulator fails to locate shared libraries lib*GL at out/*/lib because utility
function path_parent(".", 1) incorrectly returns NULL instead of "..".
Fixed that case.

Change-Id: I86f8e5d655107ae8cd2237d59518180ce6e69c53
/external/qemu/android/utils/path.c
816e53ca385b64c18c9c7cfca569c4d747634e97 17-Aug-2011 David 'Digit' Turner <digit@android.com> Add DLL-loading head <android/utils/dll.h>

This patch adds several functions to make loading shared libraries
dynamically easier. This will be used to load the GLES emulation
libraries.

Change-Id: Ib401af339530bc647bfa86fb23a2840fe0a201dd
/external/qemu/android/utils/path.c
2d238fd9871687b1557f15b8878a6cf3e9634b57 25-Mar-2011 David 'Digit' Turner <digit@android.com> Add 'emulator' launcher program.

This patch renames the current ARM-specific emulator binary to 'emulator-arm'
and introduces a new tiny (less than 20KB) 'emulator' launcher program.

The role of 'emulator' is to launch either 'emulator-arm' or 'emulator-x86'
based on the target AVD or platform build being used.

This program will be replaced in the future by what is currently known
as 'emulator-ui', but is a good placeholder until this work is completed.

+ Move some utility functions from android/avd/info.[hc] to
android/avd/util.[hc] so that 'emulator' can use them directly.

IMPORTANT: For platform builds, the target architecture is detected
automatically by parsing the build.prop file.

For SDK AVDs however, there is no easy way to determine the
target architecture, so the patch adds a new hw.cpu.arch
property which can have value 'arm' or 'x86'

Change-Id: I0084c196695a75c8b9230ba716b3cd2e12610ded
/external/qemu/android/utils/path.c
92c7311b1cb354745ec7b59b0e03910b3fe4c205 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/external/qemu/android/utils/path.c
8b23a6c7e1aee255004dd19098d4c2462b61b849 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android/utils/path.c
f721e3ac031f892af46f255a47d7f54a91317b30 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/qemu/android/utils/path.c
bae1bc39312d5019bd9a5b8d840a529213a69a17 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/external/qemu/android/utils/path.c
ee2298a313b6e425d6ff0324be6a313b1cd9a399 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/external/qemu/android/utils/path.c
c27f813900a3c114562efbb8df1065e94766fc48 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/external/qemu/android/utils/path.c