OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'includes': [ |
| 10 '../build/common.gypi', |
| 11 ], |
| 12 'targets': [ |
| 13 { |
| 14 'target_name': 'gtest', |
| 15 'type': 'static_library', |
| 16 'sources': [ |
| 17 'gtest/include/gtest/internal/gtest-death-test-internal.h', |
| 18 'gtest/include/gtest/internal/gtest-filepath.h', |
| 19 'gtest/include/gtest/internal/gtest-internal.h', |
| 20 'gtest/include/gtest/internal/gtest-linked_ptr.h', |
| 21 'gtest/include/gtest/internal/gtest-param-util-generated.h', |
| 22 'gtest/include/gtest/internal/gtest-param-util.h', |
| 23 'gtest/include/gtest/internal/gtest-port.h', |
| 24 'gtest/include/gtest/internal/gtest-string.h', |
| 25 'gtest/include/gtest/internal/gtest-type-util.h', |
| 26 'gtest/include/gtest/gtest-death-test.h', |
| 27 'gtest/include/gtest/gtest-message.h', |
| 28 'gtest/include/gtest/gtest-param-test.h', |
| 29 'gtest/include/gtest/gtest-spi.h', |
| 30 'gtest/include/gtest/gtest-test-part.h', |
| 31 'gtest/include/gtest/gtest-typed-test.h', |
| 32 'gtest/include/gtest/gtest.h', |
| 33 'gtest/include/gtest/gtest_pred_impl.h', |
| 34 'gtest/include/gtest/gtest_prod.h', |
| 35 'gtest/src/gtest-test-part.cc', |
| 36 'gtest/src/gtest-death-test.cc', |
| 37 'gtest/src/gtest-filepath.cc', |
| 38 'gtest/src/gtest-internal-inl.h', |
| 39 'gtest/src/gtest-port.cc', |
| 40 'gtest/src/gtest.cc', |
| 41 'gtest/src/gtest_main.cc', |
| 42 'multiprocess_func_list.cc', |
| 43 'multiprocess_func_list.h', |
| 44 'platform_test.h', |
| 45 ], |
| 46 'include_dirs': [ |
| 47 'gtest', |
| 48 'gtest/include', |
| 49 ], |
| 50 'conditions': [ |
| 51 [ 'OS == "mac"', { 'sources': [ 'platform_test_mac.mm' ] } ], |
| 52 ], |
| 53 'direct_dependent_settings': { |
| 54 'defines': [ |
| 55 'UNIT_TEST', |
| 56 ], |
| 57 'include_dirs': [ |
| 58 'gtest', |
| 59 'gtest/include', |
| 60 ], |
| 61 'target_conditions': [ |
| 62 ['_type=="executable"', {'test': 1}], |
| 63 ], |
| 64 }, |
| 65 }, |
| 66 ], |
| 67 } |
OLD | NEW |