diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-12-16 09:55:44 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-12-16 09:55:44 +0800 |
commit | 92050a9d2a12eddfa3ac43d6484cf0356070e488 (patch) | |
tree | 96baa4ff4679f9c03c2b5e4969ce4ef9787940c8 /devel/android-tools-adb-devel | |
parent | 7c8f6528b13870df6332f2ced442cea52c0374a6 (diff) | |
download | freebsd-ports-gnome-92050a9d2a12eddfa3ac43d6484cf0356070e488.tar.gz freebsd-ports-gnome-92050a9d2a12eddfa3ac43d6484cf0356070e488.tar.zst freebsd-ports-gnome-92050a9d2a12eddfa3ac43d6484cf0356070e488.zip |
devel/android-tools-{adb,fastboot}-devel: update to m.p.5956
Changes: https://android.googlesource.com/platform/system/core/+log/0bb1ce06ea46..461a29540c01/adb
Changes: https://android.googlesource.com/platform/system/core/+log/0bb1ce06ea46..461a29540c01/fastboot
Diffstat (limited to 'devel/android-tools-adb-devel')
5 files changed, 60 insertions, 12 deletions
diff --git a/devel/android-tools-adb-devel/Makefile b/devel/android-tools-adb-devel/Makefile index d831f2abf46b..3d2bd850202f 100644 --- a/devel/android-tools-adb-devel/Makefile +++ b/devel/android-tools-adb-devel/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # Hint: git describe --abbrev=12 --match android-m-preview -DISTVERSION= m-preview-5498 -DISTVERSIONSUFFIX= -g0bb1ce06ea46 +DISTVERSION= m-preview-5956 +DISTVERSIONSUFFIX= -g461a29540c01 PORTREVISION= 0 PKGNAMESUFFIX= -devel @@ -17,18 +17,14 @@ OPTIONS_DEFINE= TEST_PYTHON TEST_PYTHON_DESC= ${TEST_DESC:S/tests/python &/} TEST_PYTHON_GH_PROJECT= platform_development:development -TEST_PYTHON_GH_TAGNAME= ${DISTVERSIONFULL:C/-[0-9].*//}-2403-g084d084:development +TEST_PYTHON_GH_TAGNAME= ${DISTVERSIONFULL:C/-[0-9].*//}-2510-g72f24a0:development TEST_PYTHON_BUILD_DEPENDS=${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock TEST_PYTHON_USES= python:2.7,build pre-install-TEST_PYTHON-on: # XXX python tests may leave behind running adb server -# test_adb.py remains in core repository for some reason ${SETENV} PATH=${BUILD_WRKSRC}:${PATH} \ PYTHONPATH=${WRKSRC_development}/python-packages \ - ${PYTHON_CMD} ${BUILD_WRKSRC}/test_adb.py - ${SETENV} PATH=${BUILD_WRKSRC}:${PATH} \ - PYTHONPATH=${WRKSRC_development}/python-packages \ - ${PYTHON_CMD} ${WRKSRC_development}/python-packages/adb/test_device.py + ${PYTHON_CMD} -m unittest discover -vs ${BUILD_WRKSRC} .include "${MASTERDIR}/Makefile" diff --git a/devel/android-tools-adb-devel/distinfo b/devel/android-tools-adb-devel/distinfo index 322c8175d3c1..146ac565260d 100644 --- a/devel/android-tools-adb-devel/distinfo +++ b/devel/android-tools-adb-devel/distinfo @@ -1,6 +1,6 @@ -SHA256 (android-platform_system_core-android-m-preview-5498-g0bb1ce06ea46_GH0.tar.gz) = 6495262da5f639cb76625437c82475c6220cab208666cf739508871ce36e79da -SIZE (android-platform_system_core-android-m-preview-5498-g0bb1ce06ea46_GH0.tar.gz) = 1407054 +SHA256 (android-platform_system_core-android-m-preview-5956-g461a29540c01_GH0.tar.gz) = 369b2d67c7887124d4d31e1d51934517d243a4c39f266f3685e709f8592b7d14 +SIZE (android-platform_system_core-android-m-preview-5956-g461a29540c01_GH0.tar.gz) = 1428466 SHA256 (mbrubeck-android-completion-3b0fabe_GH0.tar.gz) = dc774f101acd9514baf3e7a0ac610068116f2c093b94987ba59203a39a6439dc SIZE (mbrubeck-android-completion-3b0fabe_GH0.tar.gz) = 5948 -SHA256 (android-platform_development-android-m-preview-2403-g084d084_GH0.tar.gz) = a7c33bf2708d61ae2e44ff149fac2460f80746e7da936f08b373841be5750102 -SIZE (android-platform_development-android-m-preview-2403-g084d084_GH0.tar.gz) = 183883403 +SHA256 (android-platform_development-android-m-preview-2510-g72f24a0_GH0.tar.gz) = a7e3172a61be2b7545fb4c10d5516cceb68b574cf7c83b7fc00c5cac0527b182 +SIZE (android-platform_development-android-m-preview-2510-g72f24a0_GH0.tar.gz) = 183871106 diff --git a/devel/android-tools-adb-devel/files/Makefile b/devel/android-tools-adb-devel/files/Makefile index 31a19002c9a1..905516363c7c 100644 --- a/devel/android-tools-adb-devel/files/Makefile +++ b/devel/android-tools-adb-devel/files/Makefile @@ -17,6 +17,7 @@ SRCS+= adb_trace.cpp SRCS+= adb_utils.cpp SRCS+= commandline.cpp SRCS+= console.cpp +SRCS+= diagnose_usb.cpp SRCS+= fdevent.cpp SRCS+= file_sync_client.cpp SRCS+= line_printer.cpp diff --git a/devel/android-tools-adb-devel/files/patch-base_include_android-base_logging.h b/devel/android-tools-adb-devel/files/patch-base_include_android-base_logging.h new file mode 100644 index 000000000000..7f170c3f521b --- /dev/null +++ b/devel/android-tools-adb-devel/files/patch-base_include_android-base_logging.h @@ -0,0 +1,11 @@ +--- base/include/android-base/logging.h.orig 2015-09-29 18:07:07 UTC ++++ base/include/android-base/logging.h +@@ -25,6 +25,8 @@ + #endif + #endif + ++#include <errno.h> ++ + #include <functional> + #include <memory> + #include <ostream> diff --git a/devel/android-tools-adb-devel/files/patch-base_logging.cpp b/devel/android-tools-adb-devel/files/patch-base_logging.cpp new file mode 100644 index 000000000000..7ace8ede711e --- /dev/null +++ b/devel/android-tools-adb-devel/files/patch-base_logging.cpp @@ -0,0 +1,40 @@ +--- base/logging.cpp.orig 2015-12-14 21:12:52 UTC ++++ base/logging.cpp +@@ -66,6 +68,16 @@ + #include <unistd.h> + #elif defined(_WIN32) + #include <windows.h> ++#elif defined(__DragonFly__) ++#include <unistd.h> ++#elif defined(__FreeBSD__) ++#include <sys/param.h> ++#include <sys/thr.h> ++#include <pthread_np.h> ++#elif defined(__NetBSD__) ++#include <lwp.h> ++#else ++#include <stdint.h> + #endif + + static pid_t GetThreadId() { +@@ -77,6 +89,20 @@ static pid_t GetThreadId() { + return syscall(__NR_gettid); + #elif defined(_WIN32) + return GetCurrentThreadId(); ++#elif defined(__DragonFly__) ++ return lwp_gettid(); ++#elif defined(__NetBSD__) ++ return _lwp_self(); ++#elif defined(__FreeBSD__) ++# if __FreeBSD_version > 900030 ++ return pthread_getthreadid_np(); ++# else ++ long lwpid; ++ thr_self(&lwpid); ++ return lwpid; ++# endif ++#else ++ return (intptr_t) pthread_self(); + #endif + } + |