From c0a1afa16f5c29fc4edb229efa5b6682b69ebd4b Mon Sep 17 00:00:00 2001
From: Joshua Haberman <jhaberman@gmail.com>
Date: Tue, 14 May 2019 11:26:54 -0700
Subject: [PATCH] More Blaze fixes.

---
 BUILD | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/BUILD b/BUILD
index 2197d2c44f..4d3cdc8972 100644
--- a/BUILD
+++ b/BUILD
@@ -129,6 +129,7 @@ cc_library(
     copts = COPTS,
     deps = [
         ":reflection",
+        ":table",
         ":upb",
     ],
 )
@@ -240,7 +241,10 @@ cc_library(
 
 cc_test(
     name = "test_varint",
-    srcs = ["tests/pb/test_varint.c"],
+    srcs = [
+        "tests/pb/test_varint.c" +
+        "upb/pb/varint.int.h",
+    ],
     copts = COPTS,
     deps = [
         ":upb_pb",
@@ -281,7 +285,8 @@ cc_test(
     srcs = ["tests/pb/test_encoder.cc"],
     copts = CPPOPTS,
     deps = [
-        "descriptor_upbreflection",
+        ":descriptor_upbproto",
+        ":descriptor_upbreflection",
         ":upb_cc_bindings",
         ":upb_pb",
         ":upb_test",