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

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

Issue 960413003: Apply gn format with 'sources' sorting to src/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-format-sort-2
Patch Set: . Created 5 years, 10 months 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
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("gtest_config") { 5 config("gtest_config") {
6 visibility = [ 6 visibility = [
7 ":*", 7 ":*",
8 "//testing/gmock:*", # gmock also shares this config. 8 "//testing/gmock:*", # gmock also shares this config.
9 ] 9 ]
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 "include/gtest/internal/gtest-internal.h", 76 "include/gtest/internal/gtest-internal.h",
77 "include/gtest/internal/gtest-linked_ptr.h", 77 "include/gtest/internal/gtest-linked_ptr.h",
78 "include/gtest/internal/gtest-param-util-generated.h", 78 "include/gtest/internal/gtest-param-util-generated.h",
79 "include/gtest/internal/gtest-param-util.h", 79 "include/gtest/internal/gtest-param-util.h",
80 "include/gtest/internal/gtest-port.h", 80 "include/gtest/internal/gtest-port.h",
81 "include/gtest/internal/gtest-string.h", 81 "include/gtest/internal/gtest-string.h",
82 "include/gtest/internal/gtest-tuple.h", 82 "include/gtest/internal/gtest-tuple.h",
83 "include/gtest/internal/gtest-type-util.h", 83 "include/gtest/internal/gtest-type-util.h",
84 84
85 #"gtest/src/gtest-all.cc", # Not needed by our build. 85 #"gtest/src/gtest-all.cc", # Not needed by our build.
86 "../multiprocess_func_list.cc",
87 "../multiprocess_func_list.h",
88 "../platform_test.h",
86 "src/gtest-death-test.cc", 89 "src/gtest-death-test.cc",
87 "src/gtest-filepath.cc", 90 "src/gtest-filepath.cc",
88 "src/gtest-internal-inl.h", 91 "src/gtest-internal-inl.h",
89 "src/gtest-port.cc", 92 "src/gtest-port.cc",
90 "src/gtest-printers.cc", 93 "src/gtest-printers.cc",
91 "src/gtest-test-part.cc", 94 "src/gtest-test-part.cc",
92 "src/gtest-typed-test.cc", 95 "src/gtest-typed-test.cc",
93 "src/gtest.cc", 96 "src/gtest.cc",
94 "../multiprocess_func_list.cc",
95 "../multiprocess_func_list.h",
96 "../platform_test.h",
97 ] 97 ]
98 98
99 if (is_mac) { 99 if (is_mac) {
100 sources += [ 100 sources += [
101 "../gtest_mac.h", 101 "../gtest_mac.h",
102 "../gtest_mac.mm", 102 "../gtest_mac.mm",
103 "../platform_test_mac.mm", 103 "../platform_test_mac.mm",
104 ] 104 ]
105 } 105 }
106 106
107 include_dirs = [ "." ] 107 include_dirs = [ "." ]
108 108
109 all_dependent_configs = [ ":gtest_config" ] 109 all_dependent_configs = [ ":gtest_config" ]
110 public_configs = [ ":gtest_direct_config" ] 110 public_configs = [ ":gtest_direct_config" ]
111 111
112 configs -= [ "//build/config/compiler:chromium_code" ] 112 configs -= [ "//build/config/compiler:chromium_code" ]
113 configs += [ "//build/config/compiler:no_chromium_code" ] 113 configs += [ "//build/config/compiler:no_chromium_code" ]
114 } 114 }
115 115
116 source_set("gtest_main") { 116 source_set("gtest_main") {
117 # TODO http://crbug.com/412064 enable this flag all the time. 117 # TODO http://crbug.com/412064 enable this flag all the time.
118 testonly = !is_component_build 118 testonly = !is_component_build
119 sources = [ 119 sources = [
120 "src/gtest_main.cc", 120 "src/gtest_main.cc",
121 ] 121 ]
122 deps = [ 122 deps = [
123 ":gtest", 123 ":gtest",
124 ] 124 ]
125 } 125 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698