refactor(android): move djinni jni files to thrid_party

This commit is contained in:
John Zhao
2019-01-17 11:58:55 +08:00
parent d6ff3470f1
commit 5eb3174edb
8 changed files with 2312 additions and 1 deletions

View File

@@ -8,11 +8,17 @@ cmake_minimum_required(VERSION 3.4.1)
get_filename_component(MYNTETE_ROOT "${PROJECT_SOURCE_DIR}/../../../.." ABSOLUTE)
message(STATUS "MYNTETE_ROOT: ${MYNTETE_ROOT}")
get_filename_component(PRO_ROOT "${PROJECT_SOURCE_DIR}/.." ABSOLUTE)
message(STATUS "PRO_ROOT: ${PRO_ROOT}")
set(LIB_ROOT "${PROJECT_SOURCE_DIR}")
message(STATUS "LIB_ROOT: ${LIB_ROOT}")
if(NOT DJINNI_DIR)
if(DEFINED ENV{DJINNI_DIR})
set(DJINNI_DIR $ENV{DJINNI_DIR})
else()
set(DJINNI_DIR "$ENV{HOME}/Workspace/Fever/Dropbox/djinni")
set(DJINNI_DIR "${PRO_ROOT}/third_party/djinni")
endif()
endif()