Skip to content

Commit

Permalink
Fix adb version and fastboot --version output
Browse files Browse the repository at this point in the history
  • Loading branch information
nmeum committed Feb 13, 2019
1 parent 735eb7a commit cde6167
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 45 deletions.
22 changes: 0 additions & 22 deletions patches/core/0008-Quote-ADB_VERSION-in-adb.cpp.patch

This file was deleted.

22 changes: 0 additions & 22 deletions patches/core/0010-Quote-FASTBOOT_VERSION-in-fastboot.cpp.patch

This file was deleted.

2 changes: 1 addition & 1 deletion vendor/CMakeLists.adb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ add_executable(adb
core/adb/adb_auth_host.cpp
core/adb/shell_service_protocol.cpp)

target_compile_definitions(adb PRIVATE -DADB_VERSION=${ANDROID_VERSION})
target_compile_definitions(adb PRIVATE -DADB_VERSION="${ANDROID_VERSION}")
target_include_directories(adb PRIVATE
core/include core/base/include core/adb
core/libcrypto_utils/include boringssl/include)
Expand Down
1 change: 1 addition & 0 deletions vendor/CMakeLists.fastboot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ target_include_directories(fastboot PRIVATE
extras/ext4_utils/include extras/f2fs_utils
core/libziparchive/include core/mkbootimg/include/bootimg)
target_compile_definitions(fastboot PRIVATE
-DFASTBOOT_VERSION="${ANDROID_VERSION}"
-D_GNU_SOURCE -D_XOPEN_SOURCE=700 -DUSE_F2FS
-DANDROID_MKE2FS_NAME="${ANDROID_MKE2FS_NAME}")
target_link_libraries(fastboot
Expand Down

0 comments on commit cde6167

Please sign in to comment.