Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Aug 30, 2015
  1. Merge branch 'gcc5'

    authored
  2. Declare pthread_cond_t only if it was not previously declared

    authored
    Signed-off-by: Dmitry Moskalchuk <dm@crystax.net>
Commits on Aug 24, 2015
  1. @zuav

    Merge remote-tracking branch 'google/master' into google-20150824

    zuav authored
    # Please enter a commit message to explain why this merge is necessary,
    # especially if it merges an updated upstream into a topic branch.
    #
    # Lines starting with '#' will be ignored, and an empty message aborts
    # the commit.
Commits on Aug 22, 2015
  1. Merge "Development/scripts: Add sanitizer dump support to stack"

    Andreas Gampe authored Gerrit Code Review committed
  2. Development/scripts: Add sanitizer dump support to stack

    Andreas Gampe authored
    Add trace parsing for sanitizer output. The output is different
    from debuggerd output (and we do not have control over it). Use
    two separate regexes and factor out the parsing into a method
    returning a tuple of data.
    
    Note: as we have no control over the prologue of the dump, we
    cannot change it to include information like the ABI. Thus, this
    functionality only works in a lunched tree, where the tool
    implicitly uses the symbols directory.
    
    Change-Id: Ic1189f4f65cf7728d1baec7055ecb549b0aa5f62
Commits on Aug 17, 2015
  1. @zuav
Commits on Aug 13, 2015
  1. @danw

    Merge "Remove the mingw package check"

    danw authored Gerrit Code Review committed
  2. @danw

    Remove the mingw package check

    danw authored
    We're using mingw prebuilts checked into the tree now, the external
    package is no longer necessary.
    
    Change-Id: I349f9605d3d09decc3ec5df3ba595728c0a2727c
Commits on Aug 12, 2015
  1. @enh

    Merge "AdbWinUsbApi.dll: fix race condition crash in WinUsb.dll"

    enh authored Gerrit Code Review committed
  2. @enh

    AdbWinUsbApi.dll: fix race condition crash in WinUsb.dll

    Spencer Low authored enh committed
    There is a race condition in AdbWinUsbApi.dll where AdbCloseHandle() of an
    interface would clobber the WinUsb handles, causing a concurrent
    Adb{Read,Write}EndpointSync() to crash.
    
    The fix is to make AdbCloseHandle(endpoint) set a flag to prevent future IOs
    from starting up, abort any pending IOs, and wait for the pending IOs to abort.
    Adb{Read,Write}EndpointSync() participates in this scheme.
    
    There is still a race condition if the caller calls AdbCloseHandle(interface)
    before calling AdbCloseHandle(endpoint). No AOSP code does this and assuming
    that this never happens simplifies the fix.
    
    This fix also ignores Adb{Read,Write}EndpointAsync() (the async APIs) since
    those APIs are unused by AOSP.
    
    This fix should not affect devices whose vendor supplies Windows USB drivers
    that use a 'legacy kernel driver'. This causes AdbWinApi.dll to call a 'legacy
    kernel driver' instead of AdbWinUsbApi.dll (which uses WinUsb.dll which uses a
    kernel driver included with Windows). The source code for the 'legacy kernel
    driver' was deleted from AOSP over 4 years ago, so it is probably deprecated
    (I don't know the official status of it). Even so, I wouldn't be surprised if
    some modern 3rd party devices were still using the legacy driver or a similar
    driver derived from the original source code.
    
    Also in this change:
    
     - Added a test case to adb_winapi_test that reproduces the race condition and
       verifies the fix.
    
     - adb_winapi_test misc: more strictly check return values and error codes,
       symbolize some dumped data to make things more readable, disable old test
       code that looked for specific hardware, test AdbGetInterfaceName() the same
       way adb uses it, fix dumping of initial "handshake".
    
     - Increased AdbWinUsbApi.dll file version info from 2.0.0.0 to 2.0.0.1.
    
     - Update AdbWinUsbApi.dll in prebuilt tree.
    
     - Include AdbWinUsbApi.pdb (debugging symbols) so the DLL can be debugged in
       the future (or at least so crash addresses can be manually symbolized).
    
     - Update AdbWinApi.dll, AdbWinUsbApi.dll, adb_winapi_test.exe build
       environments to WDK 7.1.0, which seems to be the publicly available closest
       version to what built the last version of these files.
    
       This entailed modifying SOURCES files to use USE_NATIVE_EH=1 instead of
       USER_C_FLAGS=/EHsc, removing /Wp64, manually setting DLL base addresses to
       the old address, using DEBUG_CRTS=1 to pickup the debug ATL for checked
       builds.
    
     - Update BUILDME.TXT files with up-to-date instructions.
    
     - For source files that are already majority CRLF, make the whole file CRLF.
    
     - Update SOURCES to explicitly set Windows Vista as the target. This means
       that future rebuilders don't need to worry as much about their build
       environment.
    
    Bug: https://code.google.com/p/android/issues/detail?id=161890
    
    Change-Id: I30a4e2ff3919929001c2319c4bb80354f7bcfda0
    Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
Commits on Aug 7, 2015
  1. @zuav
Commits on Aug 1, 2015
  1. Merge "Switch to 64-bit host tools in Linux/Mac SDK build."

    Ying Wang authored Gerrit Code Review committed
Commits on Jul 31, 2015
  1. Switch to 64-bit host tools in Linux/Mac SDK build.

    Ying Wang authored
    Bug: 22776595
    Change-Id: Iadf56f045f6920d4e97c8b1219b1b3907213b12b
Commits on Jul 27, 2015
  1. @zuav

    Merge remote-tracking branch 'google/master' into google-20170727

    zuav authored
    # Please enter a commit message to explain why this merge is necessary,
    # especially if it merges an updated upstream into a topic branch.
    #
    # Lines starting with '#' will be ignored, and an empty message aborts
    # the commit.
Commits on Jul 24, 2015
  1. Merge "Remove references to Browser tests"

    Paul Miller authored Gerrit Code Review committed
  2. @enh

    Merge "Warn if you're trying to use gdbclient without "adb root"."

    enh authored Gerrit Code Review committed
  3. @enh

    Warn if you're trying to use gdbclient without "adb root".

    enh authored
    Bug: http://b/22715953
    Change-Id: If729fbc89ccd65407e8900bc27df8fa4174dd64e
Commits on Jul 22, 2015
  1. Remove references to Browser tests

    Paul Miller authored
    Browser is going away
    
    BUG:19351071
    Change-Id: Ief2a0843fce4d28be7fa1200021ad2b3aa047958
Commits on Jul 13, 2015
  1. @zuav

    Merge remote-tracking branch 'google/master' into google-20150713

    zuav authored
    # Please enter a commit message to explain why this merge is necessary,
    # especially if it merges an updated upstream into a topic branch.
    #
    # Lines starting with '#' will be ignored, and an empty message aborts
    # the commit.
Commits on Jul 9, 2015
  1. @enh

    Merge "Fix gdbclient to work with emulator builds"

    enh authored Gerrit Code Review committed
  2. Fix gdbclient to work with emulator builds

    Nikola Veljkovic authored
    gdbclient got broken by:
    https://android-review.googlesource.com/156974
    
    To fix, check for special case when device is actually an emulator,
    and set the $DEVICE variable accordingly.
    
    Change-Id: I85d0d520ae1e2ea022aa3e2d08a10cd0b1cb491f
Commits on Jul 6, 2015
  1. @zuav
Commits on Jun 29, 2015
  1. @dimitry-

    Merge "Use ro.hardware property to detect the device"

    dimitry- authored Gerrit Code Review committed
  2. @dimitry-

    Use ro.hardware property to detect the device

    dimitry- authored
    Bug: http://b/22120411
    Change-Id: Ida9bc157b560edbe8c2db67f5df5109c192fef9d
Commits on Jun 26, 2015
  1. @zuav
Commits on Jun 25, 2015
  1. @enh

    Merge "Remove more libportable cruft."

    enh authored Gerrit Code Review committed
  2. @enh

    Remove more libportable cruft.

    enh authored
    Change-Id: I971f6d501abf5145bd03a05eeed246f34406e6ea
  3. Merge "Remove unnecessary clang from product_sdk.mk."

    Stephen Hines authored Gerrit Code Review committed
  4. Remove unnecessary clang from product_sdk.mk.

    Stephen Hines authored
    It is sufficient to just have this exist in windows_sdk.mk.
    
    Change-Id: I33e4b41622bd7891f5e4868ba0e5138f3d83fa1f
  5. Merge "Add clang.exe to Windows SDK build."

    Stephen Hines authored Gerrit Code Review committed
  6. Add clang.exe to Windows SDK build.

    Stephen Hines authored
    Bug: 22044739
    
    This is needed as part of the NDK itself, now that we are shipping the
    platform Clang as the one true Clang. It can be built by doing:
    
    make winsdk-tools
    
    Change-Id: I3363f46b5dcc52258aa92b42b5a92a96bf868e73
  7. @enh

    Merge "Patch android-21 with x86 gdbserver <sys/procfs.h> and <sys/us…

    enh authored Gerrit Code Review committed
    …er.h> fixes."
  8. @enh

    Patch android-21 with x86 gdbserver <sys/procfs.h> and <sys/user.h> f…

    enh authored
    …ixes.
    
    This makes the files match (AOSP ToT post-M) bionic.
    
    Bug: http://b/22068064
    Change-Id: I100ac14afc06c2fe09ef5ecf9c2e3afa13b68c3b
Commits on Jun 24, 2015
  1. @enh

    Merge "Don't try to build libportable."

    enh authored Gerrit Code Review committed
  2. @enh

    Don't try to build libportable.

    enh authored
    Change-Id: I161a2e05c9bedddda40713346769878fb8c5a588
Something went wrong with that request. Please try again.