1# Copyright 2014 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5# The file/directory layout of Google Test is not yet considered stable. Until 6# it stabilizes, Chromium code MUST use this target instead of reaching directly 7# into //third_party/googletest. 8 9import("//build_overrides/build.gni") 10 11source_set("gmock") { 12 testonly = true 13 sources = [ 14 "include/gmock/gmock-actions.h", 15 "include/gmock/gmock-generated-function-mockers.h", 16 "include/gmock/gmock-matchers.h", 17 "include/gmock/gmock.h", 18 ] 19 deps = [ 20 "//third_party/googletest:gmock", 21 ] 22 23 public_configs = [ 24 "//third_party/googletest:gmock_config", 25 "//third_party/googletest:gtest_config", 26 ] 27} 28 29# The file/directory layout of Google Test is not yet considered stable. Until 30# it stabilizes, Chromium code MUST use this target instead of reaching directly 31# into //third_party/googletest. 32source_set("gmock_main") { 33 testonly = true 34 deps = [ 35 "//third_party/googletest:gmock_main", 36 ] 37} 38