1cmake_minimum_required(VERSION 3.6) 2project(hwui) 3 4set(ROOT ${CMAKE_CURRENT_LIST_DIR}/../../../../) 5set(ROOT_OUT ${CMAKE_CURRENT_LIST_DIR}/cmake_out) 6 7# HWUI deps that we want source for 8add_subdirectory(${ROOT}/frameworks/native/libs/gui/libgui-arm64-android ${ROOT_OUT}/libgui) 9add_subdirectory(${ROOT}/frameworks/native/libs/ui/libui-arm64-android ${ROOT_OUT}/libui) 10add_subdirectory(${ROOT}/external/skia/libskia-arm64-android ${ROOT_OUT}/libskia) 11 12# HWUI 13add_subdirectory(${ROOT}/frameworks/base/libs/hwui/libhwui-arm64-android ${ROOT_OUT}/libhwui) 14add_subdirectory(${ROOT}/frameworks/base/libs/hwui/hwuimacro-arm64-android ${ROOT_OUT}/hwuimacro) 15add_subdirectory(${ROOT}/frameworks/base/libs/hwui/hwuimicro-arm64-android ${ROOT_OUT}/hwuimicro) 16add_subdirectory(${ROOT}/frameworks/base/libs/hwui/hwui_unit_tests-arm64-android ${ROOT_OUT}/hwuiunit) 17 18# JNI 19add_subdirectory(${ROOT}/frameworks/base/core/jni/libandroid_runtime-arm64-android ${ROOT_OUT}/jni) 20