Skip to content

Commit

Permalink
Add redaction and toJson to obj-c thrifts
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-bader committed Nov 14, 2018
1 parent 327ebb6 commit fcb5c89
Show file tree
Hide file tree
Showing 18 changed files with 1,182 additions and 15 deletions.
9 changes: 9 additions & 0 deletions compiler/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ add_library(parse STATIC ${parse_SOURCES})
set(compiler_core
src/thrift/common.cc
src/thrift/generate/t_generator.cc
src/thrift/parse/t_base_type.cc
src/thrift/parse/t_enum.cc
src/thrift/parse/t_field.cc
src/thrift/parse/t_list.cc
src/thrift/parse/t_map.cc
src/thrift/parse/t_service.cc
src/thrift/parse/t_set.cc
src/thrift/parse/t_struct.cc
src/thrift/parse/t_typedef.cc
src/thrift/parse/parse.cc
${CMAKE_CURRENT_BINARY_DIR}/thrift/version.h
Expand Down Expand Up @@ -199,6 +207,7 @@ if(${WITH_PLUGIN})
"src/thrift/parse/t_struct.h"
"src/thrift/parse/t_typedef.h"
"src/thrift/parse/t_type.h"
"src/thrift/parse/t_visitor.h"
DESTINATION "${INCLUDE_INSTALL_DIR}/thrift/parse")
install(FILES
"src/thrift/plugin/plugin.h"
Expand Down
12 changes: 11 additions & 1 deletion compiler/cpp/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,31 @@ compiler_core = src/thrift/common.h \
src/thrift/parse/t_doc.h \
src/thrift/parse/t_type.h \
src/thrift/parse/t_base_type.h \
src/thrift/parse/t_base_type.cc \
src/thrift/parse/t_enum.h \
src/thrift/parse/t_enum.cc \
src/thrift/parse/t_enum_value.h \
src/thrift/parse/t_typedef.h \
src/thrift/parse/t_typedef.cc \
src/thrift/parse/t_container.h \
src/thrift/parse/t_list.h \
src/thrift/parse/t_list.cc \
src/thrift/parse/t_set.h \
src/thrift/parse/t_set.cc \
src/thrift/parse/t_map.h \
src/thrift/parse/t_map.cc \
src/thrift/parse/t_struct.h \
src/thrift/parse/t_struct.cc \
src/thrift/parse/t_field.h \
src/thrift/parse/t_field.cc \
src/thrift/parse/t_service.h \
src/thrift/parse/t_service.cc \
src/thrift/parse/t_function.h \
src/thrift/parse/t_program.h \
src/thrift/parse/t_scope.h \
src/thrift/parse/t_const.h \
src/thrift/parse/t_const_value.h \
src/thrift/parse/t_visitor.h \
src/thrift/parse/parse.cc \
src/thrift/generate/t_generator.h \
src/thrift/generate/t_oop_generator.h \
Expand Down Expand Up @@ -173,7 +182,8 @@ include_parse_HEADERS = src/thrift/parse/t_service.h \
src/thrift/parse/t_function.h \
src/thrift/parse/t_type.h \
src/thrift/parse/t_doc.h \
src/thrift/parse/t_struct.h
src/thrift/parse/t_struct.h \
src/thrift/parse/t_visitor.h

include_plugindir = $(include_thriftdir)/plugin
include_plugin_HEADERS = src/thrift/plugin/plugin.h \
Expand Down
9 changes: 9 additions & 0 deletions compiler/cpp/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,32 @@ thrift_thrift_bootstrap_SOURCES = \
thrift/parse/t_doc.h \
thrift/parse/t_type.h \
thrift/parse/t_base_type.h \
thrift/parse/t_base_type.cc \
thrift/parse/t_enum.h \
thrift/parse/t_enum.cc \
thrift/parse/t_enum_value.h \
thrift/parse/t_typedef.h \
thrift/parse/t_typedef.cc \
thrift/parse/t_container.h \
thrift/parse/t_list.h \
thrift/parse/t_list.cc \
thrift/parse/t_set.h \
thrift/parse/t_set.cc \
thrift/parse/t_map.h \
thrift/parse/t_map.cc \
thrift/parse/t_struct.h \
thrift/parse/t_struct.cc \
thrift/parse/t_field.h \
thrift/parse/t_field.cc \
thrift/parse/t_service.h \
thrift/parse/t_service.cc \
thrift/parse/t_function.h \
thrift/parse/t_program.h \
thrift/parse/t_scope.h \
thrift/parse/t_const.h \
thrift/parse/t_const_value.h \
thrift/parse/parse.cc \
thrift/parse/t_visitor.h \
thrift/generate/t_generator.h \
thrift/generate/t_oop_generator.h \
thrift/generate/t_html_generator.h \
Expand Down
Loading

0 comments on commit fcb5c89

Please sign in to comment.