Index: testing/gmock/BUILD.gn |
diff --git a/testing/gmock/BUILD.gn b/testing/gmock/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..11d7901755b2f78335d66d9ea37c2599050917f6 |
--- /dev/null |
+++ b/testing/gmock/BUILD.gn |
@@ -0,0 +1,34 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+# The file/directory layout of Google Test is not yet considered stable. Until |
+# it stabilizes, Chromium code MUST use this target instead of reaching directly |
+# into //third_party/googletest. |
+source_set("gmock") { |
+ testonly = true |
+ sources = [ |
+ "include/gmock/gmock-actions.h", |
+ "include/gmock/gmock-generated-function-mockers.h", |
+ "include/gmock/gmock-matchers.h", |
+ "include/gmock/gmock.h", |
+ ] |
+ deps = [ |
+ "//third_party/googletest:gmock", |
+ ] |
+ |
+ public_configs = [ |
+ "//third_party/googletest:gmock_config", |
+ "//third_party/googletest:gtest_config", |
+ ] |
+} |
+ |
+# The file/directory layout of Google Test is not yet considered stable. Until |
+# it stabilizes, Chromium code MUST use this target instead of reaching directly |
+# into //third_party/googletest. |
+source_set("gmock_main") { |
+ testonly = true |
+ deps = [ |
+ "//third_party/googletest:gmock_main", |
+ ] |
+} |