Remove reflection dependency for UPB compare utility.

PiperOrigin-RevId: 506366630
pull/13171/head
Protobuf Team Bot 2 years ago committed by Copybara-Service
parent 008a9afd3a
commit 84a3fd2d2d
  1. 2
      upb/util/BUILD
  2. 4
      upb/util/compare.c
  3. 2
      upb/util/compare.h

@ -113,7 +113,7 @@ cc_library(
deps = [
"//:eps_copy_input_stream",
"//:port",
"//:reflection",
"//:upb",
"//:wire_reader",
"//:wire_types",
],

@ -27,10 +27,12 @@
#include "upb/util/compare.h"
#include <stdlib.h>
#include "upb/upb.h"
#include "upb/wire/eps_copy_input_stream.h"
#include "upb/wire/reader.h"
#include "upb/wire/types.h"
// Must be last.
#include "upb/port/def.inc"

@ -28,7 +28,7 @@
#ifndef UPB_UTIL_COMPARE_H_
#define UPB_UTIL_COMPARE_H_
#include "upb/reflection/def.h"
#include <stddef.h>
#ifdef __cplusplus
extern "C" {

Loading…
Cancel
Save