devel/android-tools-{adb,fastboot}-devel: update to n.p.3.101
Changes:d61bfb9a79..35d84096e9
/adb Changes:d61bfb9a79..35d84096e9
/fastboot
This commit is contained in:
parent
8769e36d87
commit
8fd2549ac0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416544
@ -1,8 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# Hint: git describe --abbrev=12 --match android-n-preview-2
|
||||
DISTVERSION= n-preview-2-74
|
||||
DISTVERSIONSUFFIX= -gd61bfb9a79e3
|
||||
# Hint: git describe --abbrev=12 --match android-n-preview-3
|
||||
DISTVERSION= n-preview-3-101
|
||||
DISTVERSIONSUFFIX= -g35d84096e9a5
|
||||
PORTREVISION= 0
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
||||
@ -19,7 +19,7 @@ OPTIONS_DEFINE= TEST_PYTHON
|
||||
|
||||
TEST_PYTHON_DESC= ${TEST_DESC:S/tests/python &/}
|
||||
TEST_PYTHON_GH_PROJECT= platform_development:development
|
||||
TEST_PYTHON_GH_TAGNAME= ${GH_MYTAG}-7-gd66a831ffc05:development
|
||||
TEST_PYTHON_GH_TAGNAME= ${GH_MYTAG}-47-g6925e3e:development
|
||||
TEST_PYTHON_BUILD_DEPENDS=${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
|
||||
TEST_PYTHON_USES= python:2.7,build
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
SHA256 (android-platform_system_core-android-n-preview-2-74-gd61bfb9a79e3_GH0.tar.gz) = 2e8d7d19a888805a12cd20b035ca1b6d10c721cc4e2bcb029ebd3d9801ae9664
|
||||
SIZE (android-platform_system_core-android-n-preview-2-74-gd61bfb9a79e3_GH0.tar.gz) = 1514832
|
||||
SHA256 (android-platform_system_core-android-n-preview-3-101-g35d84096e9a5_GH0.tar.gz) = 0f18ec5fc99aaa1c5c755148759bb5994b366680bda6f23433c9454dbddcab66
|
||||
SIZE (android-platform_system_core-android-n-preview-3-101-g35d84096e9a5_GH0.tar.gz) = 1559018
|
||||
SHA256 (mbrubeck-android-completion-3b0fabe_GH0.tar.gz) = dc774f101acd9514baf3e7a0ac610068116f2c093b94987ba59203a39a6439dc
|
||||
SIZE (mbrubeck-android-completion-3b0fabe_GH0.tar.gz) = 5948
|
||||
SHA256 (android-platform_development-android-n-preview-2-7-gd66a831ffc05_GH0.tar.gz) = d17c1ac1ea597f897b9768104e3dac86922ba3a6edabddfbde3858dc75c7de93
|
||||
SIZE (android-platform_development-android-n-preview-2-7-gd66a831ffc05_GH0.tar.gz) = 167896858
|
||||
SHA256 (android-platform_development-android-n-preview-3-47-g6925e3e_GH0.tar.gz) = 9956ed223b1f10e70890f51b218f0672dee5818f967d1abf413008c829975d68
|
||||
SIZE (android-platform_development-android-n-preview-3-47-g6925e3e_GH0.tar.gz) = 149186317
|
||||
|
@ -30,6 +30,7 @@ SRCS+= transport_local.cpp
|
||||
SRCS+= transport_usb.cpp
|
||||
|
||||
TEST_SRCS+= adb_io_test.cpp
|
||||
TEST_SRCS+= adb_listeners_test.cpp
|
||||
TEST_SRCS+= adb_utils_test.cpp
|
||||
TEST_SRCS+= fdevent_test.cpp
|
||||
TEST_SRCS+= shell_service_protocol_test.cpp
|
||||
@ -71,8 +72,11 @@ SRCS+= socket_local_server_unix.c
|
||||
SRCS+= socket_loopback_client_unix.c
|
||||
SRCS+= socket_loopback_server_unix.c
|
||||
SRCS+= socket_network_client_unix.c
|
||||
SRCS+= ../libcutils/sockets.cpp
|
||||
SRCS+= load_file.c
|
||||
SRCS+= threads.c
|
||||
# XXX Obsolete after 10.2 or r279980/r280329
|
||||
CPPFLAGS.sockets.cpp+= -o ${.TARGET}
|
||||
|
||||
# required by base/file.cpp
|
||||
.PATH: ${.CURDIR}/../liblog
|
||||
|
@ -1,14 +1,14 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# Hint: git describe --abbrev=12 --match android-m-preview
|
||||
DISTVERSION= m-preview-6425
|
||||
DISTVERSIONSUFFIX= -g0fc006685c20
|
||||
# Hint: git describe --abbrev=12 --match android-n-preview-3
|
||||
DISTVERSION= n-preview-3-101
|
||||
DISTVERSIONSUFFIX= -g35d84096e9a5
|
||||
PORTREVISION= 0
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
||||
GH_MYTAG= ${DISTVERSIONPREFIX}${DISTVERSION:C/-[0-9]*$//}
|
||||
GH_TAGNAME= ${GH_MYTAG}-1197-g21ac023:extras \
|
||||
${GH_MYTAG}-98-gde7b594:libselinux
|
||||
GH_TAGNAME= ${GH_MYTAG}-45-g86bebf8:extras \
|
||||
${GH_MYTAG}:libselinux
|
||||
|
||||
CONFLICTS_INSTALL= ${PORTNAME}-[0-9]*
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
SHA256 (fastboot.1?id=706e754) = 2af01b064440952a82f1602691a0fecc030302722a71444946fb70d9c423d283
|
||||
SIZE (fastboot.1?id=706e754) = 5906
|
||||
SHA256 (android-platform_system_core-android-m-preview-6425-g0fc006685c20_GH0.tar.gz) = 96659d021fcabbddbf86ea2e834928352fd81a91d49cabea5d03f4c51c85889e
|
||||
SIZE (android-platform_system_core-android-m-preview-6425-g0fc006685c20_GH0.tar.gz) = 1516347
|
||||
SHA256 (jbeich-platform_system_extras-android-m-preview-1197-g21ac023_GH0.tar.gz) = bf6df99267b76e7a3446f3d4d613bbb1493b3ba43ab87aca99f0ade9d2990163
|
||||
SIZE (jbeich-platform_system_extras-android-m-preview-1197-g21ac023_GH0.tar.gz) = 76589937
|
||||
SHA256 (jbeich-platform_external_libselinux-android-m-preview-98-gde7b594_GH0.tar.gz) = 6ce79ee148103a59ed16e49fd3b9af80e84e65ec4a4ab0a883c14befd6cc29b6
|
||||
SIZE (jbeich-platform_external_libselinux-android-m-preview-98-gde7b594_GH0.tar.gz) = 59433
|
||||
SHA256 (android-platform_system_core-android-n-preview-3-101-g35d84096e9a5_GH0.tar.gz) = 0f18ec5fc99aaa1c5c755148759bb5994b366680bda6f23433c9454dbddcab66
|
||||
SIZE (android-platform_system_core-android-n-preview-3-101-g35d84096e9a5_GH0.tar.gz) = 1559018
|
||||
SHA256 (jbeich-platform_system_extras-android-n-preview-3-45-g86bebf8_GH0.tar.gz) = 0b08abf97108f7c2a6c56b728ecf8fbc34ec26f6b00e1ee002828eee9d5b7209
|
||||
SIZE (jbeich-platform_system_extras-android-n-preview-3-45-g86bebf8_GH0.tar.gz) = 80661868
|
||||
SHA256 (jbeich-platform_external_libselinux-android-n-preview-3_GH0.tar.gz) = 3c90521a2f86064cb0968603972f7d1df45621a7407bfd62d5fdc25cd30a70e2
|
||||
SIZE (jbeich-platform_external_libselinux-android-n-preview-3_GH0.tar.gz) = 63015
|
||||
SHA256 (mbrubeck-android-completion-3b0fabe_GH0.tar.gz) = dc774f101acd9514baf3e7a0ac610068116f2c093b94987ba59203a39a6439dc
|
||||
SIZE (mbrubeck-android-completion-3b0fabe_GH0.tar.gz) = 5948
|
||||
|
@ -56,9 +56,13 @@ CPPFLAGS.sockets.cpp+= -o ${.TARGET} # XXX pre-r279980
|
||||
|
||||
# required by base and libutils
|
||||
.PATH: ${.CURDIR}/../liblog
|
||||
SRCS+= config_write.c
|
||||
SRCS+= fake_log_device.c
|
||||
SRCS+= logd_write.c
|
||||
CPPFLAGS.logd_write.c+= -DFAKE_LOG_DEVICE=1
|
||||
SRCS+= fake_writer.c
|
||||
SRCS+= logger_lock.c
|
||||
SRCS+= logger_name.c
|
||||
SRCS+= logger_write.c
|
||||
CPPFLAGS.config_write.c+= -DFAKE_LOG_DEVICE=1
|
||||
|
||||
# required by ext4_utils
|
||||
.PATH: ${.CURDIR}/../libselinux/src
|
||||
@ -70,6 +74,7 @@ SRCS+= label.c
|
||||
SRCS+= label_android_property.c
|
||||
SRCS+= label_file.c
|
||||
SRCS+= label_support.c
|
||||
SRCS+= regex.c
|
||||
CPPFLAGS.label_file.c+= -D_WITH_GETLINE
|
||||
|
||||
# required by fastboot and ext4_utils
|
||||
|
@ -0,0 +1,16 @@
|
||||
--- liblog/logger_write.c.orig 2016-04-16 00:01:39 UTC
|
||||
+++ liblog/logger_write.c
|
||||
@@ -15,12 +15,12 @@
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
-#include <stdatomic.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#ifdef __BIONIC__
|
||||
+#include <stdatomic.h>
|
||||
#include <android/set_abort_message.h>
|
||||
#endif
|
||||
|
@ -44,7 +44,7 @@ struct usb_handle {
|
||||
|
||||
class LibusbUsbTransport : public Transport {
|
||||
public:
|
||||
LibusbUsbTransport(std::unique_ptr<usb_handle> handle):
|
||||
explicit LibusbUsbTransport(std::unique_ptr<usb_handle> handle):
|
||||
h(std::move(handle)) {}
|
||||
~LibusbUsbTransport() override = default;
|
||||
|
||||
|
@ -30,8 +30,10 @@
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
void
|
||||
get_my_path(char *path)
|
||||
std::string
|
||||
get_my_path()
|
||||
{
|
||||
getcwd(path, PATH_MAX - 1);
|
||||
char path[PATH_MAX + 1];
|
||||
getcwd(path, sizeof(path) - 1);
|
||||
return path;
|
||||
}
|
||||
|
@ -32,6 +32,10 @@ GH_REVISION= f7f765fd62bf # generated by: make update-revision
|
||||
|
||||
CONFLICTS_INSTALL?= ${PORTNAME}-devel-*
|
||||
|
||||
.ifndef EXTRA_PATCHES
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-liblog_logd__write.c
|
||||
.endif
|
||||
|
||||
USES= compiler:c++11-lib pkgconfig uidfix
|
||||
BUILD_WRKSRC= ${WRKSRC}/fastboot
|
||||
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
||||
|
Loading…
Reference in New Issue
Block a user