Skip to content

Commit

Permalink
Removed unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
haberman committed Sep 3, 2022
1 parent ccd88d5 commit 5cb177e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions bazel/amalgamate.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ def parse_include(line):
match = INCLUDE_RE.match(line)
return match.groups()[0] if match else None

def is_core_upb_header(fname):
if not fname.endswith(".h"):
return False
return fname.startswith("upb") or fname.startswith("google")

class Amalgamator:
def __init__(self, h_out, c_out):
self.include_paths = ["."]
Expand Down Expand Up @@ -115,8 +110,6 @@ def _process_include(self, line):

c_out = sys.argv[1]
h_out = sys.argv[2]
print(c_out)
print(h_out)
amalgamator = Amalgamator(h_out, c_out)
c_files = []
h_files = []
Expand Down

0 comments on commit 5cb177e

Please sign in to comment.