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 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 "GTEST_USE_OWN_TR1_TUPLE=1", | 45 "GTEST_USE_OWN_TR1_TUPLE=1", |
46 | 46 |
47 # GTEST_USE_OWN_TR1_TUPLE only works if GTEST_HAS_TR1_TUPLE is set. | 47 # GTEST_USE_OWN_TR1_TUPLE only works if GTEST_HAS_TR1_TUPLE is set. |
48 # gtest r625 made it so that GTEST_HAS_TR1_TUPLE is set to 0 | 48 # gtest r625 made it so that GTEST_HAS_TR1_TUPLE is set to 0 |
49 # automatically on android, so it has to be set explicitly here. | 49 # automatically on android, so it has to be set explicitly here. |
50 "GTEST_HAS_TR1_TUPLE=1", | 50 "GTEST_HAS_TR1_TUPLE=1", |
51 ] | 51 ] |
52 } | 52 } |
53 } | 53 } |
54 | 54 |
55 static_library("gtest") { | 55 source_set("gtest") { |
56 sources = [ | 56 sources = [ |
57 "include/gtest/gtest-death-test.h", | 57 "include/gtest/gtest-death-test.h", |
58 "include/gtest/gtest-message.h", | 58 "include/gtest/gtest-message.h", |
59 "include/gtest/gtest-param-test.h", | 59 "include/gtest/gtest-param-test.h", |
60 "include/gtest/gtest-printers.h", | 60 "include/gtest/gtest-printers.h", |
61 "include/gtest/gtest-spi.h", | 61 "include/gtest/gtest-spi.h", |
62 "include/gtest/gtest-test-part.h", | 62 "include/gtest/gtest-test-part.h", |
63 "include/gtest/gtest-typed-test.h", | 63 "include/gtest/gtest-typed-test.h", |
64 "include/gtest/gtest.h", | 64 "include/gtest/gtest.h", |
65 "include/gtest/gtest_pred_impl.h", | 65 "include/gtest/gtest_pred_impl.h", |
(...skipping 29 matching lines...) Expand all Loading... |
95 ] | 95 ] |
96 } | 96 } |
97 | 97 |
98 include_dirs = [ "." ] | 98 include_dirs = [ "." ] |
99 | 99 |
100 all_dependent_configs = [ ":gtest_config" ] | 100 all_dependent_configs = [ ":gtest_config" ] |
101 | 101 |
102 configs -= [ "//build/config/compiler:chromium_code" ] | 102 configs -= [ "//build/config/compiler:chromium_code" ] |
103 configs += [ "//build/config/compiler:no_chromium_code" ] | 103 configs += [ "//build/config/compiler:no_chromium_code" ] |
104 } | 104 } |
OLD | NEW |