diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-09-30 06:49:33 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-09-30 06:49:33 +0800 |
commit | eecfc638d1aa394531fdd63b028770e09a68961c (patch) | |
tree | 8b1cd43588db0963f62380b26284a0a8becdaca4 /devel | |
parent | 03a1209146f4842b2c9aaff2980ce5ed66d0e1c5 (diff) | |
download | freebsd-ports-graphics-eecfc638d1aa394531fdd63b028770e09a68961c.tar.gz freebsd-ports-graphics-eecfc638d1aa394531fdd63b028770e09a68961c.tar.zst freebsd-ports-graphics-eecfc638d1aa394531fdd63b028770e09a68961c.zip |
devel/android-tools-adb-devel: update to m.p.1280
Changes: https://android.googlesource.com/platform/system/core/+log/94c617ccbba4..659f5ade04a5/adb
Diffstat (limited to 'devel')
6 files changed, 27 insertions, 18 deletions
diff --git a/devel/android-tools-adb-devel/Makefile b/devel/android-tools-adb-devel/Makefile index dbe72fe7ba8..2e358305dcf 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-1212 -DISTVERSIONSUFFIX= -g94c617ccbba4 +DISTVERSION= m-preview-1280 +DISTVERSIONSUFFIX= -g659f5ade04a5 PORTREVISION= 0 PKGNAMESUFFIX= -devel @@ -23,6 +23,8 @@ ALL_TARGET= all OPTIONS_DEFINE= TEST +TEST_GH_PROJECT=platform_development:development +TEST_GH_TAGNAME=${DISTVERSIONFULL:C/-[0-9].*//}-66-ge4cded6:development TEST_BUILD_DEPENDS=googletest>=1.6.0:${PORTSDIR}/devel/googletest \ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock TEST_USES= python:2.7,build @@ -45,9 +47,12 @@ slave-post-patch: pre-install-TEST-on: ${BUILD_WRKSRC}/adb_test # XXX python tests may leave behind running adb server - PATH=${BUILD_WRKSRC}:${PATH} PYTHONPATH=${WRKSRC} \ +# 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 - PATH=${BUILD_WRKSRC}:${PATH} PYTHONPATH=${WRKSRC} \ - ${PYTHON_CMD} ${BUILD_WRKSRC}/test_device.py + ${SETENV} PATH=${BUILD_WRKSRC}:${PATH} \ + PYTHONPATH=${WRKSRC_development}/python-packages \ + ${PYTHON_CMD} ${WRKSRC_development}/python-packages/adb/test_device.py .include "${MASTERDIR}/Makefile" diff --git a/devel/android-tools-adb-devel/distinfo b/devel/android-tools-adb-devel/distinfo index 6cd41d6d933..0cd02acde78 100644 --- a/devel/android-tools-adb-devel/distinfo +++ b/devel/android-tools-adb-devel/distinfo @@ -1,4 +1,6 @@ -SHA256 (android-platform_system_core-android-m-preview-1212-g94c617ccbba4_GH0.tar.gz) = 1ecf8e1ff6eaf133767f80fcf7271a50762a21812166d57abaa4117c6d4ad69c -SIZE (android-platform_system_core-android-m-preview-1212-g94c617ccbba4_GH0.tar.gz) = 1361686 SHA256 (bash_completion.d/adb?id=2b8cfec) = 0d7989596a3e4937834d582eb0ddc88b8186505570772304fe51870d473916a7 SIZE (bash_completion.d/adb?id=2b8cfec) = 5198 +SHA256 (android-platform_system_core-android-m-preview-1280-g659f5ade04a5_GH0.tar.gz) = c81510ca16a001d2399ef5674d07e4099bde9e1542d872bbd69a55078490fb22 +SIZE (android-platform_system_core-android-m-preview-1280-g659f5ade04a5_GH0.tar.gz) = 1361908 +SHA256 (android-platform_development-android-m-preview-66-ge4cded6_GH0.tar.gz) = 5bdb269a4afd5f4b581ec317d3faae7336ea947e9c2ae4c9cf5e07c4c9ad9c1c +SIZE (android-platform_development-android-m-preview-66-ge4cded6_GH0.tar.gz) = 126343719 diff --git a/devel/android-tools-adb-devel/files/Makefile b/devel/android-tools-adb-devel/files/Makefile index 7ac01495429..1fdb0cb7171 100644 --- a/devel/android-tools-adb-devel/files/Makefile +++ b/devel/android-tools-adb-devel/files/Makefile @@ -10,6 +10,7 @@ SRCS+= adb_auth_host.cpp SRCS+= adb_client.cpp SRCS+= adb_io.cpp SRCS+= adb_listeners.cpp +SRCS+= adb_trace.cpp SRCS+= adb_utils.cpp SRCS+= commandline.cpp SRCS+= console.cpp diff --git a/devel/android-tools-adb-devel/files/patch-base_include_base_logging.h b/devel/android-tools-adb-devel/files/patch-base_include_base_logging.h new file mode 100644 index 00000000000..4770e9e0b41 --- /dev/null +++ b/devel/android-tools-adb-devel/files/patch-base_include_base_logging.h @@ -0,0 +1,11 @@ +--- base/include/base/logging.h.orig 2015-09-29 18:07:07 UTC ++++ base/include/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__test.cpp b/devel/android-tools-adb-devel/files/patch-base_logging__test.cpp deleted file mode 100644 index e6ba6fa34f3..00000000000 --- a/devel/android-tools-adb-devel/files/patch-base_logging__test.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- base/logging_test.cpp.orig 2015-09-17 22:58:36 UTC -+++ base/logging_test.cpp -@@ -16,6 +16,7 @@ - - #include "base/logging.h" - -+#include <errno.h> - #include <libgen.h> - - #include <regex> diff --git a/devel/android-tools-adb-devel/files/usb_libusb.cpp b/devel/android-tools-adb-devel/files/usb_libusb.cpp index 2238fad9e96..3b63ed32887 100644 --- a/devel/android-tools-adb-devel/files/usb_libusb.cpp +++ b/devel/android-tools-adb-devel/files/usb_libusb.cpp @@ -17,7 +17,7 @@ * limitations under the License. */ -#define TRACE_TAG TRACE_USB +#define TRACE_TAG USB #include "sysdeps.h" |