Change log:95336cb92b..191d55580eFull diff:95336cb92b..191d55580eRoll chromium third_party 4e16929f46..3a8f2a9e1e Change log:4e16929f46..3a8f2a9e1eChanged dependencies: * src/tools:c44a3f5eca..f524a53b81DEPS diff:95336cb92b..191d55580e/DEPS No update to Clang. TBR=titovartem@google.com, BUG=None CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal Change-Id: Ic9c4a62b050383646e9fcf5cc07a5653c14ac06e Reviewed-on: https://webrtc-review.googlesource.com/76120 Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23205}
63 lines
3.4 KiB
CMake
63 lines
3.4 KiB
CMake
set(libprotobuf_lite_files
|
|
${protobuf_source_dir}/src/google/protobuf/arena.cc
|
|
${protobuf_source_dir}/src/google/protobuf/arenastring.cc
|
|
${protobuf_source_dir}/src/google/protobuf/extension_set.cc
|
|
${protobuf_source_dir}/src/google/protobuf/generated_message_util.cc
|
|
${protobuf_source_dir}/src/google/protobuf/io/coded_stream.cc
|
|
${protobuf_source_dir}/src/google/protobuf/io/zero_copy_stream.cc
|
|
${protobuf_source_dir}/src/google/protobuf/io/zero_copy_stream_impl_lite.cc
|
|
${protobuf_source_dir}/src/google/protobuf/message_lite.cc
|
|
${protobuf_source_dir}/src/google/protobuf/repeated_field.cc
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/bytestream.cc
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/common.cc
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/int128.cc
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/once.cc
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/status.cc
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/statusor.cc
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/stringpiece.cc
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/stringprintf.cc
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/structurally_valid.cc
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/strutil.cc
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/time.cc
|
|
${protobuf_source_dir}/src/google/protobuf/wire_format_lite.cc
|
|
)
|
|
|
|
set(libprotobuf_lite_includes
|
|
${protobuf_source_dir}/src/google/protobuf/arena.h
|
|
${protobuf_source_dir}/src/google/protobuf/arenastring.h
|
|
${protobuf_source_dir}/src/google/protobuf/extension_set.h
|
|
${protobuf_source_dir}/src/google/protobuf/generated_message_util.h
|
|
${protobuf_source_dir}/src/google/protobuf/io/coded_stream.h
|
|
${protobuf_source_dir}/src/google/protobuf/io/zero_copy_stream.h
|
|
${protobuf_source_dir}/src/google/protobuf/io/zero_copy_stream_impl_lite.h
|
|
${protobuf_source_dir}/src/google/protobuf/message_lite.h
|
|
${protobuf_source_dir}/src/google/protobuf/repeated_field.h
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/atomicops_internals_x86_msvc.h
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/bytestream.h
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/common.h
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/int128.h
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/once.h
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/status.h
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/statusor.h
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/stringpiece.h
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/stringprintf.h
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/strutil.h
|
|
${protobuf_source_dir}/src/google/protobuf/stubs/time.h
|
|
${protobuf_source_dir}/src/google/protobuf/wire_format_lite.h
|
|
)
|
|
|
|
add_library(libprotobuf-lite ${protobuf_SHARED_OR_STATIC}
|
|
${libprotobuf_lite_files} ${libprotobuf_lite_includes})
|
|
target_link_libraries(libprotobuf-lite ${CMAKE_THREAD_LIBS_INIT})
|
|
target_include_directories(libprotobuf-lite PUBLIC ${protobuf_source_dir}/src)
|
|
if(MSVC AND protobuf_BUILD_SHARED_LIBS)
|
|
target_compile_definitions(libprotobuf-lite
|
|
PUBLIC PROTOBUF_USE_DLLS
|
|
PRIVATE LIBPROTOBUF_EXPORTS)
|
|
endif()
|
|
set_target_properties(libprotobuf-lite PROPERTIES
|
|
OUTPUT_NAME ${LIB_PREFIX}protobuf-lite
|
|
DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}")
|