Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: build/secondary/testing/gmock/BUILD.gn

Issue 766573003: gn format //build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/secondary/testing/BUILD.gn ('k') | build/secondary/testing/gtest/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 config("gmock_config") { 5 config("gmock_config") {
6 # Gmock headers need to be able to find themselves. 6 # Gmock headers need to be able to find themselves.
7 include_dirs = [ "include" ] 7 include_dirs = [ "include" ]
8 } 8 }
9 9
10 static_library("gmock") { 10 static_library("gmock") {
11 # TODO http://crbug.com/412064 enable this flag all the time. 11 # TODO http://crbug.com/412064 enable this flag all the time.
12 testonly = !is_component_build 12 testonly = !is_component_build
13 sources = [ 13 sources = [
14 # Sources based on files in r173 of gmock. 14 # Sources based on files in r173 of gmock.
15 "include/gmock/gmock-actions.h", 15 "include/gmock/gmock-actions.h",
16 "include/gmock/gmock-cardinalities.h", 16 "include/gmock/gmock-cardinalities.h",
17 "include/gmock/gmock-generated-actions.h", 17 "include/gmock/gmock-generated-actions.h",
18 "include/gmock/gmock-generated-function-mockers.h", 18 "include/gmock/gmock-generated-function-mockers.h",
19 "include/gmock/gmock-generated-matchers.h", 19 "include/gmock/gmock-generated-matchers.h",
20 "include/gmock/gmock-generated-nice-strict.h", 20 "include/gmock/gmock-generated-nice-strict.h",
21 "include/gmock/gmock-matchers.h", 21 "include/gmock/gmock-matchers.h",
22 "include/gmock/gmock-spec-builders.h", 22 "include/gmock/gmock-spec-builders.h",
23 "include/gmock/gmock.h", 23 "include/gmock/gmock.h",
24 "include/gmock/internal/gmock-generated-internal-utils.h", 24 "include/gmock/internal/gmock-generated-internal-utils.h",
25 "include/gmock/internal/gmock-internal-utils.h", 25 "include/gmock/internal/gmock-internal-utils.h",
26 "include/gmock/internal/gmock-port.h", 26 "include/gmock/internal/gmock-port.h",
27
27 #"src/gmock-all.cc", # Not needed by our build. 28 #"src/gmock-all.cc", # Not needed by our build.
28 "src/gmock-cardinalities.cc", 29 "src/gmock-cardinalities.cc",
29 "src/gmock-internal-utils.cc", 30 "src/gmock-internal-utils.cc",
30 "src/gmock-matchers.cc", 31 "src/gmock-matchers.cc",
31 "src/gmock-spec-builders.cc", 32 "src/gmock-spec-builders.cc",
32 "src/gmock.cc", 33 "src/gmock.cc",
33 ] 34 ]
34 35
35 # This project includes some stuff form gtest's guts. 36 # This project includes some stuff form gtest's guts.
36 include_dirs = [ "../gtest/include" ] 37 include_dirs = [ "../gtest/include" ]
37 38
38 public_configs = [ 39 public_configs = [
39 ":gmock_config", 40 ":gmock_config",
40 "//testing/gtest:gtest_config", 41 "//testing/gtest:gtest_config",
41 ] 42 ]
42 } 43 }
43 44
44 static_library("gmock_main") { 45 static_library("gmock_main") {
45 # TODO http://crbug.com/412064 enable this flag all the time. 46 # TODO http://crbug.com/412064 enable this flag all the time.
46 testonly = !is_component_build 47 testonly = !is_component_build
47 sources = [ "src/gmock_main.cc" ] 48 sources = [
48 deps = [ ":gmock" ] 49 "src/gmock_main.cc",
50 ]
51 deps = [
52 ":gmock",
53 ]
49 } 54 }
OLDNEW
« no previous file with comments | « build/secondary/testing/BUILD.gn ('k') | build/secondary/testing/gtest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698