diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2018-06-01 11:00:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-01 11:00:04 -0700 |
commit | 143851ed257b7c24e945396cb4acc0da697dff65 (patch) | |
tree | dae6e58efba0fee5b9ee9cba5962608ba828f112 /cmake | |
parent | dfa94c7692f30cc4a233be96884323b6163ca41a (diff) |
Remove js_embed binary. (#4709)
* Remove js_embed binary.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/libprotoc.cmake | 12 |
1 files changed, 0 insertions, 12 deletions
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) |