The "lite" library is much smaller than the full library,
and is more appropriate for resource-constrained systems such as mobile phones.
Change-Id: I4625bc971cdb509ce5a22ca2b5d98bcba69ac46a
target_link_libraries(device-certificate-manager
${Boost_SYSTEM_LIBRARY}
${CMAKE_THREAD_LIBS_INIT}
- ${PROTOBUF_LIBRARIES}
+ ${PROTOBUF_LITE_LIBRARIES}
${MBEDTLS_LIB}
${MBEDCRYPTO_LIB}
${DLOG_LIBRARIES})
syntax = "proto2";
+option optimize_for = LITE_RUNTIME;
/*
* Type of the crypto key
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(iotivity)
-BuildRequires: pkgconfig(protobuf)
+BuildRequires: pkgconfig(protobuf-lite)
BuildRequires: pkgconfig(cynara-client)
BuildRequires: pkgconfig(cynara-creds-socket)
BuildRequires: pkgconfig(cynara-session)