OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'gtest', | 8 'target_name': 'gtest', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'sources': [ | 10 'sources': [ |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 'platform_test_mac.mm' | 58 'platform_test_mac.mm' |
59 ], | 59 ], |
60 'link_settings': { | 60 'link_settings': { |
61 'libraries': [ | 61 'libraries': [ |
62 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 62 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
63 ], | 63 ], |
64 }, | 64 }, |
65 }], | 65 }], |
66 ['OS == "ios"', { | 66 ['OS == "ios"', { |
67 'dependencies' : [ | 67 'dependencies' : [ |
68 '<(DEPTH)/testing/iossim/iossim.gyp:iossim', | 68 '<(DEPTH)/testing/iossim/iossim.gyp:iossim#host', |
69 ], | 69 ], |
70 'direct_dependent_settings': { | 70 'direct_dependent_settings': { |
71 'target_conditions': [ | 71 'target_conditions': [ |
72 # Turn all tests into bundles on iOS because that's the only | 72 # Turn all tests into bundles on iOS because that's the only |
73 # type of executable supported for iOS. | 73 # type of executable supported for iOS. |
74 ['_type=="executable"', { | 74 ['_type=="executable"', { |
75 'variables': { | 75 'variables': { |
76 # Use a variable so the path gets fixed up so it is always | 76 # Use a variable so the path gets fixed up so it is always |
77 # correct when INFOPLIST_FILE finally gets set. | 77 # correct when INFOPLIST_FILE finally gets set. |
78 'ios_unittest_info_plist_path': | 78 'ios_unittest_info_plist_path': |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 { | 203 { |
204 'target_name': 'gtest_prod', | 204 'target_name': 'gtest_prod', |
205 'toolsets': ['host', 'target'], | 205 'toolsets': ['host', 'target'], |
206 'type': 'none', | 206 'type': 'none', |
207 'sources': [ | 207 'sources': [ |
208 'gtest/include/gtest/gtest_prod.h', | 208 'gtest/include/gtest/gtest_prod.h', |
209 ], | 209 ], |
210 }, | 210 }, |
211 ], | 211 ], |
212 } | 212 } |
OLD | NEW |