瀏覽代碼

Fix headers for gmock.BUILD

Bazel 0.1.2 fix strict header checks and sandboxing for C++
rules. This change add the necessary headers for gmock so
the headers get shipped in the sandbox.
Damien Martin-Guillerez 9 年之前
父節點
當前提交
cc42db83d3
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      gmock.BUILD

+ 5 - 0
gmock.BUILD

@@ -4,6 +4,11 @@ cc_library(
         "gmock-1.7.0/gtest/src/gtest-all.cc",
         "gmock-1.7.0/src/gmock-all.cc",
     ],
+    hdrs = glob([
+        "gmock-1.7.0/**/*.h",
+        "gmock-1.7.0/gtest/src/*.cc",
+        "gmock-1.7.0/src/*.cc",
+    ]),
     includes = [
         "gmock-1.7.0",
         "gmock-1.7.0/gtest",