From fa40cde4caa1f3008824b878759b167348528e0f Mon Sep 17 00:00:00 2001
From: Sree Kuchibhotla <sreek@google.com>
Date: Thu, 14 Jan 2016 17:14:48 -0800
Subject: [PATCH] public_headers not found in some cases when running the
 import

---
 templates/package.json.template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/package.json.template b/templates/package.json.template
index d50b1e2eeb..ec6827ef76 100644
--- a/templates/package.json.template
+++ b/templates/package.json.template
@@ -60,7 +60,7 @@
       % for dep in module.transitive_deps:
       % for lib in libs:
       % if lib.name == dep:
-      % for file in lib.public_headers + lib.headers + lib.src:
+      % for file in lib.get('public_headers', []) + lib.headers + lib.src:
       "${file}",
       % endfor
       % endif
-- 
GitLab