Skip to content

Commit

Permalink
[cmake/tmp] Add more log input to analyze android binary addon packag…
Browse files Browse the repository at this point in the history
…ing failures

This commit should be reverted once the issue is understood and
resolved.
  • Loading branch information
fetzerch committed Oct 29, 2016
1 parent a26db7e commit 978b8ee
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions project/cmake/scripts/common/CheckTargetPlatform.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,13 @@ function(check_install_permissions install_dir have_perms)
ERROR_VARIABLE output
)

message(STATUS "============ DEBUG ADDON PACKAGING ======")
message(STATUS "check_install_permissions ${install_dir}: ${permtest}")
message(STATUS "${output}")
execute_process(COMMAND find ${install_dir})
execute_process(COMMAND ls -laR ${install_dir})

if(${permtest} GREATER 0)
message(STATUS "check_install_permissions failed for ${install_dir}: ${permtest}")
message(STATUS "${output}")
set(${have_perms} FALSE)
endif()
set(${have_perms} "${${have_perms}}" PARENT_SCOPE)
Expand Down

0 comments on commit 978b8ee

Please sign in to comment.