From 143851ed257b7c24e945396cb4acc0da697dff65 Mon Sep 17 00:00:00 2001 From: Feng Xiao Date: Fri, 1 Jun 2018 11:00:04 -0700 Subject: Remove js_embed binary. (#4709) * Remove js_embed binary. --- cmake/libprotoc.cmake | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'cmake') diff --git a/cmake/libprotoc.cmake b/cmake/libprotoc.cmake index 04701818..92dfd306 100644 --- a/cmake/libprotoc.cmake +++ b/cmake/libprotoc.cmake @@ -167,18 +167,6 @@ set(libprotoc_rc_files ) endif() -set(js_well_known_types_sources - ${protobuf_source_dir}/src/google/protobuf/compiler/js/well_known_types/any.js - ${protobuf_source_dir}/src/google/protobuf/compiler/js/well_known_types/struct.js - ${protobuf_source_dir}/src/google/protobuf/compiler/js/well_known_types/timestamp.js -) -add_executable(js_embed ${protobuf_source_dir}/src/google/protobuf/compiler/js/embed.cc) -add_custom_command( - OUTPUT ${protobuf_source_dir}/src/google/protobuf/compiler/js/well_known_types_embed.cc - DEPENDS js_embed ${js_well_known_types_sources} - COMMAND js_embed ${js_well_known_types_sources} > ${protobuf_source_dir}/src/google/protobuf/compiler/js/well_known_types_embed.cc -) - add_library(libprotoc ${protobuf_SHARED_OR_STATIC} ${libprotoc_files} ${libprotoc_headers} ${libprotoc_rc_files}) target_link_libraries(libprotoc libprotobuf) -- cgit v1.2.3