From: Hermet Park Date: Fri, 7 Sep 2018 06:08:11 +0000 (+0900) Subject: fix build break by 0f5edac6d1595e0fecd8d48bb7d2e5353fe9121f X-Git-Tag: submit/tizen/20180917.042405~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb9e2cd378947d5081ea18b4c9fcafb7edbc0b25;p=platform%2Fcore%2Fuifw%2Flottie-player.git fix build break by 0f5edac6d1595e0fecd8d48bb7d2e5353fe9121f and packaging it properly. Change-Id: Ib1216034d63beb809fdd652542980e61494e1e91 --- diff --git a/inc/lottieanimation_capi.h b/inc/lottieanimation_capi.h index 2b032a7..86a7bfc 100644 --- a/inc/lottieanimation_capi.h +++ b/inc/lottieanimation_capi.h @@ -1,5 +1,5 @@ -#ifndef _LOTPLAYER_CAPI_H_ -#define _LOTPLAYER_CAPI_H_ +#ifndef _LOTTIE_ANIMATION_CAPI_H_ +#define _LOTTIE_ANIMATION_CAPI_H_ #include #include @@ -69,5 +69,5 @@ lottie_animation_render_flush(Lottie_Animation *animation); } #endif -#endif //_LOTPLAYER_CAPI_H_ +#endif //_LOTTIE_ANIMATION_CAPI_H_ diff --git a/inc/meson.build b/inc/meson.build index 332029f..c2d6e4e 100644 --- a/inc/meson.build +++ b/inc/meson.build @@ -1,3 +1,3 @@ install_headers(['lottieanimation.h', - 'lotcommon.h', + 'lottiecommon.h', 'lottieanimation_capi.h']) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fce73db..8bdefec 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,6 @@ add_subdirectory(vector) -add_subdirectory(lottie) \ No newline at end of file +add_subdirectory(lottie) + +add_subdirectory(binding) diff --git a/src/binding/CMakeLists.txt b/src/binding/CMakeLists.txt new file mode 100644 index 0000000..20bc4cc --- /dev/null +++ b/src/binding/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory(c) diff --git a/src/binding/c/CMakeLists.txt b/src/binding/c/CMakeLists.txt new file mode 100644 index 0000000..5d4965d --- /dev/null +++ b/src/binding/c/CMakeLists.txt @@ -0,0 +1,9 @@ +target_sources(lottie-player + PRIVATE + "${CMAKE_CURRENT_LIST_DIR}/lottieanimation_c.cpp" + ) + +target_include_directories(lottie-player + PRIVATE + "${CMAKE_CURRENT_LIST_DIR}" + )