OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |