| OLD | NEW |
| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 sources += [ | 99 sources += [ |
| 100 "../gtest_mac.h", | 100 "../gtest_mac.h", |
| 101 "../gtest_mac.mm", | 101 "../gtest_mac.mm", |
| 102 "../platform_test_mac.mm", | 102 "../platform_test_mac.mm", |
| 103 ] | 103 ] |
| 104 } | 104 } |
| 105 | 105 |
| 106 include_dirs = [ "." ] | 106 include_dirs = [ "." ] |
| 107 | 107 |
| 108 all_dependent_configs = [ ":gtest_config" ] | 108 all_dependent_configs = [ ":gtest_config" ] |
| 109 direct_dependent_configs = [ ":gtest_direct_config" ] | 109 public_configs = [ ":gtest_direct_config" ] |
| 110 | 110 |
| 111 configs -= [ "//build/config/compiler:chromium_code" ] | 111 configs -= [ "//build/config/compiler:chromium_code" ] |
| 112 configs += [ "//build/config/compiler:no_chromium_code" ] | 112 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 113 } | 113 } |
| 114 | 114 |
| 115 source_set("gtest_main") { | 115 source_set("gtest_main") { |
| 116 # TODO http://crbug.com/412064 enable this flag all the time. | 116 # TODO http://crbug.com/412064 enable this flag all the time. |
| 117 testonly = !is_component_build | 117 testonly = !is_component_build |
| 118 sources = [ "src/gtest_main.cc" ] | 118 sources = [ "src/gtest_main.cc" ] |
| 119 deps = [ ":gtest" ] | 119 deps = [ ":gtest" ] |
| 120 } | 120 } |
| OLD | NEW |