Added upb/json

pull/25037/head
Esun Kim 4 years ago
parent 9f2b5f697b
commit d1bef160e5
  1. 2
      CMakeLists.txt
  2. 2
      Makefile
  3. 5
      bazel/grpc_deps.bzl
  4. 2
      config.m4
  5. 2
      config.w32
  6. 4
      gRPC-C++.podspec
  7. 6
      gRPC-Core.podspec
  8. 4
      grpc.gemspec
  9. 2
      grpc.gyp
  10. 4
      package.xml
  11. 2
      src/python/grpcio/grpc_core_dependencies.py
  12. 4
      src/upb/gen_build_yaml.py

@ -3787,6 +3787,8 @@ add_library(upb
third_party/upb/upb/decode.c third_party/upb/upb/decode.c
third_party/upb/upb/def.c third_party/upb/upb/def.c
third_party/upb/upb/encode.c third_party/upb/upb/encode.c
third_party/upb/upb/json_decode.c
third_party/upb/upb/json_encode.c
third_party/upb/upb/msg.c third_party/upb/upb/msg.c
third_party/upb/upb/reflection.c third_party/upb/upb/reflection.c
third_party/upb/upb/table.c third_party/upb/upb/table.c

@ -2372,6 +2372,8 @@ LIBUPB_SRC = \
third_party/upb/upb/decode.c \ third_party/upb/upb/decode.c \
third_party/upb/upb/def.c \ third_party/upb/upb/def.c \
third_party/upb/upb/encode.c \ third_party/upb/upb/encode.c \
third_party/upb/upb/json_decode.c \
third_party/upb/upb/json_encode.c \
third_party/upb/upb/msg.c \ third_party/upb/upb/msg.c \
third_party/upb/upb/reflection.c \ third_party/upb/upb/reflection.c \
third_party/upb/upb/table.c \ third_party/upb/upb/table.c \

@ -21,6 +21,11 @@ def grpc_deps():
actual = "@upb//:textformat", actual = "@upb//:textformat",
) )
native.bind(
name = "upb_json_lib",
actual = "@upb//:json",
)
native.bind( native.bind(
name = "absl", name = "absl",
actual = "@com_google_absl//absl", actual = "@com_google_absl//absl",

@ -991,6 +991,8 @@ if test "$PHP_GRPC" != "no"; then
third_party/upb/upb/decode_fast.c \ third_party/upb/upb/decode_fast.c \
third_party/upb/upb/def.c \ third_party/upb/upb/def.c \
third_party/upb/upb/encode.c \ third_party/upb/upb/encode.c \
third_party/upb/upb/json_decode.c \
third_party/upb/upb/json_encode.c \
third_party/upb/upb/msg.c \ third_party/upb/upb/msg.c \
third_party/upb/upb/reflection.c \ third_party/upb/upb/reflection.c \
third_party/upb/upb/table.c \ third_party/upb/upb/table.c \

@ -958,6 +958,8 @@ if (PHP_GRPC != "no") {
"third_party\\upb\\upb\\decode_fast.c " + "third_party\\upb\\upb\\decode_fast.c " +
"third_party\\upb\\upb\\def.c " + "third_party\\upb\\upb\\def.c " +
"third_party\\upb\\upb\\encode.c " + "third_party\\upb\\upb\\encode.c " +
"third_party\\upb\\upb\\json_decode.c " +
"third_party\\upb\\upb\\json_encode.c " +
"third_party\\upb\\upb\\msg.c " + "third_party\\upb\\upb\\msg.c " +
"third_party\\upb\\upb\\reflection.c " + "third_party\\upb\\upb\\reflection.c " +
"third_party\\upb\\upb\\table.c " + "third_party\\upb\\upb\\table.c " +

@ -805,6 +805,8 @@ Pod::Spec.new do |s|
'third_party/upb/upb/def.h', 'third_party/upb/upb/def.h',
'third_party/upb/upb/def.hpp', 'third_party/upb/upb/def.hpp',
'third_party/upb/upb/encode.h', 'third_party/upb/upb/encode.h',
'third_party/upb/upb/json_decode.h',
'third_party/upb/upb/json_encode.h',
'third_party/upb/upb/msg.h', 'third_party/upb/upb/msg.h',
'third_party/upb/upb/port_def.inc', 'third_party/upb/upb/port_def.inc',
'third_party/upb/upb/port_undef.inc', 'third_party/upb/upb/port_undef.inc',
@ -1370,6 +1372,8 @@ Pod::Spec.new do |s|
'third_party/upb/upb/def.h', 'third_party/upb/upb/def.h',
'third_party/upb/upb/def.hpp', 'third_party/upb/upb/def.hpp',
'third_party/upb/upb/encode.h', 'third_party/upb/upb/encode.h',
'third_party/upb/upb/json_decode.h',
'third_party/upb/upb/json_encode.h',
'third_party/upb/upb/msg.h', 'third_party/upb/upb/msg.h',
'third_party/upb/upb/port_def.inc', 'third_party/upb/upb/port_def.inc',
'third_party/upb/upb/port_undef.inc', 'third_party/upb/upb/port_undef.inc',

@ -1331,6 +1331,10 @@ Pod::Spec.new do |s|
'third_party/upb/upb/def.hpp', 'third_party/upb/upb/def.hpp',
'third_party/upb/upb/encode.c', 'third_party/upb/upb/encode.c',
'third_party/upb/upb/encode.h', 'third_party/upb/upb/encode.h',
'third_party/upb/upb/json_decode.c',
'third_party/upb/upb/json_decode.h',
'third_party/upb/upb/json_encode.c',
'third_party/upb/upb/json_encode.h',
'third_party/upb/upb/msg.c', 'third_party/upb/upb/msg.c',
'third_party/upb/upb/msg.h', 'third_party/upb/upb/msg.h',
'third_party/upb/upb/port_def.inc', 'third_party/upb/upb/port_def.inc',
@ -1889,6 +1893,8 @@ Pod::Spec.new do |s|
'third_party/upb/upb/def.h', 'third_party/upb/upb/def.h',
'third_party/upb/upb/def.hpp', 'third_party/upb/upb/def.hpp',
'third_party/upb/upb/encode.h', 'third_party/upb/upb/encode.h',
'third_party/upb/upb/json_decode.h',
'third_party/upb/upb/json_encode.h',
'third_party/upb/upb/msg.h', 'third_party/upb/upb/msg.h',
'third_party/upb/upb/port_def.inc', 'third_party/upb/upb/port_def.inc',
'third_party/upb/upb/port_undef.inc', 'third_party/upb/upb/port_undef.inc',

@ -2035,6 +2035,10 @@ Gem::Specification.new do |s|
s.files += %w( third_party/upb/upb/def.hpp ) s.files += %w( third_party/upb/upb/def.hpp )
s.files += %w( third_party/upb/upb/encode.c ) s.files += %w( third_party/upb/upb/encode.c )
s.files += %w( third_party/upb/upb/encode.h ) s.files += %w( third_party/upb/upb/encode.h )
s.files += %w( third_party/upb/upb/json_decode.c )
s.files += %w( third_party/upb/upb/json_decode.h )
s.files += %w( third_party/upb/upb/json_encode.c )
s.files += %w( third_party/upb/upb/json_encode.h )
s.files += %w( third_party/upb/upb/msg.c ) s.files += %w( third_party/upb/upb/msg.c )
s.files += %w( third_party/upb/upb/msg.h ) s.files += %w( third_party/upb/upb/msg.h )
s.files += %w( third_party/upb/upb/port_def.inc ) s.files += %w( third_party/upb/upb/port_def.inc )

@ -1979,6 +1979,8 @@
'third_party/upb/upb/decode.c', 'third_party/upb/upb/decode.c',
'third_party/upb/upb/def.c', 'third_party/upb/upb/def.c',
'third_party/upb/upb/encode.c', 'third_party/upb/upb/encode.c',
'third_party/upb/upb/json_decode.c',
'third_party/upb/upb/json_encode.c',
'third_party/upb/upb/msg.c', 'third_party/upb/upb/msg.c',
'third_party/upb/upb/reflection.c', 'third_party/upb/upb/reflection.c',
'third_party/upb/upb/table.c', 'third_party/upb/upb/table.c',

@ -1960,6 +1960,10 @@
<file baseinstalldir="/" name="third_party/upb/upb/def.hpp" role="src" /> <file baseinstalldir="/" name="third_party/upb/upb/def.hpp" role="src" />
<file baseinstalldir="/" name="third_party/upb/upb/encode.c" role="src" /> <file baseinstalldir="/" name="third_party/upb/upb/encode.c" role="src" />
<file baseinstalldir="/" name="third_party/upb/upb/encode.h" role="src" /> <file baseinstalldir="/" name="third_party/upb/upb/encode.h" role="src" />
<file baseinstalldir="/" name="third_party/upb/upb/json_decode.c" role="src" />
<file baseinstalldir="/" name="third_party/upb/upb/json_decode.h" role="src" />
<file baseinstalldir="/" name="third_party/upb/upb/json_encode.c" role="src" />
<file baseinstalldir="/" name="third_party/upb/upb/json_encode.h" role="src" />
<file baseinstalldir="/" name="third_party/upb/upb/msg.c" role="src" /> <file baseinstalldir="/" name="third_party/upb/upb/msg.c" role="src" />
<file baseinstalldir="/" name="third_party/upb/upb/msg.h" role="src" /> <file baseinstalldir="/" name="third_party/upb/upb/msg.h" role="src" />
<file baseinstalldir="/" name="third_party/upb/upb/port_def.inc" role="src" /> <file baseinstalldir="/" name="third_party/upb/upb/port_def.inc" role="src" />

@ -1007,6 +1007,8 @@ CORE_SOURCE_FILES = [
'third_party/upb/upb/decode_fast.c', 'third_party/upb/upb/decode_fast.c',
'third_party/upb/upb/def.c', 'third_party/upb/upb/def.c',
'third_party/upb/upb/encode.c', 'third_party/upb/upb/encode.c',
'third_party/upb/upb/json_decode.c',
'third_party/upb/upb/json_encode.c',
'third_party/upb/upb/msg.c', 'third_party/upb/upb/msg.c',
'third_party/upb/upb/reflection.c', 'third_party/upb/upb/reflection.c',
'third_party/upb/upb/table.c', 'third_party/upb/upb/table.c',

@ -33,6 +33,8 @@ try:
"third_party/upb/upb/decode.c", "third_party/upb/upb/decode.c",
"third_party/upb/upb/def.c", "third_party/upb/upb/def.c",
"third_party/upb/upb/encode.c", "third_party/upb/upb/encode.c",
"third_party/upb/upb/json_decode.c",
"third_party/upb/upb/json_encode.c",
"third_party/upb/upb/msg.c", "third_party/upb/upb/msg.c",
"third_party/upb/upb/reflection.c", "third_party/upb/upb/reflection.c",
"third_party/upb/upb/table.c", "third_party/upb/upb/table.c",
@ -60,6 +62,8 @@ try:
"third_party/upb/upb/def.h", "third_party/upb/upb/def.h",
"third_party/upb/upb/def.hpp", "third_party/upb/upb/def.hpp",
"third_party/upb/upb/encode.h", "third_party/upb/upb/encode.h",
"third_party/upb/upb/json_decode.h",
"third_party/upb/upb/json_encode.h",
"third_party/upb/upb/msg.h", "third_party/upb/upb/msg.h",
"third_party/upb/upb/port_def.inc", "third_party/upb/upb/port_def.inc",
"third_party/upb/upb/port_undef.inc", "third_party/upb/upb/port_undef.inc",

Loading…
Cancel
Save