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

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

Issue 129563002: GN: Fix Mac build for some tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/gn/secondary/third_party/mach_override/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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 defines = [ 6 defines = [
7 "UNIT_TEST", 7 "UNIT_TEST",
8 8
9 # In order to allow regex matches in gtest to be shared between Windows 9 # In order to allow regex matches in gtest to be shared between Windows
10 # and other systems, we tell gtest to always use it's internal engine. 10 # and other systems, we tell gtest to always use it's internal engine.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "src/gtest-test-part.cc", 64 "src/gtest-test-part.cc",
65 "src/gtest-typed-test.cc", 65 "src/gtest-typed-test.cc",
66 "src/gtest.cc", 66 "src/gtest.cc",
67 "../multiprocess_func_list.cc", 67 "../multiprocess_func_list.cc",
68 "../multiprocess_func_list.h", 68 "../multiprocess_func_list.h",
69 "../platform_test.h", 69 "../platform_test.h",
70 ] 70 ]
71 71
72 if (is_mac) { 72 if (is_mac) {
73 sources += [ 73 sources += [
74 "gtest_mac.h", 74 "../gtest_mac.h",
75 "gtest_mac.mm", 75 "../gtest_mac.mm",
76 "platform_test_mac.mm", 76 "../platform_test_mac.mm",
77 ] 77 ]
78 } 78 }
79 79
80 include_dirs = [ "." ] 80 include_dirs = [ "." ]
81 81
82 all_dependent_configs = [ ":gtest_config" ] 82 all_dependent_configs = [ ":gtest_config" ]
83 83
84 configs -= "//build/config/compiler:chromium_code" 84 configs -= "//build/config/compiler:chromium_code"
85 configs += "//build/config/compiler:no_chromium_code" 85 configs += "//build/config/compiler:no_chromium_code"
86 } 86 }
OLDNEW
« no previous file with comments | « no previous file | tools/gn/secondary/third_party/mach_override/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698