Browse Source

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 năm trước cách đây
mục cha
commit
cc42db83d3
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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/gtest/src/gtest-all.cc",
         "gmock-1.7.0/src/gmock-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 = [
     includes = [
         "gmock-1.7.0",
         "gmock-1.7.0",
         "gmock-1.7.0/gtest",
         "gmock-1.7.0/gtest",