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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 }, | 7 }, |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 # GN version: //ios/testing:ocmock_support | 10 # GN version: //ios/testing:ocmock_support |
11 'target_name': 'ocmock_support', | 11 'target_name': 'ocmock_support', |
12 'type': 'static_library', | 12 'type': 'static_library', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../../base/base.gyp:base', | 14 '../../base/base.gyp:base', |
15 '../../third_party/ocmock/ocmock.gyp:ocmock', | 15 '../../third_party/ocmock/ocmock.gyp:ocmock', |
16 '../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:goo
gle_toolbox_for_mac', | 16 '../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:goo
gle_toolbox_for_mac', |
17 ], | 17 ], |
18 'sources': [ | 18 'sources': [ |
19 'ocmock_complex_type_helper.h', | 19 'ocmock_complex_type_helper.h', |
20 'ocmock_complex_type_helper.mm', | 20 'ocmock_complex_type_helper.mm', |
21 ], | 21 ], |
22 'include_dirs': [ | 22 'include_dirs': [ |
23 '../..', | 23 '../..', |
24 ], | 24 ], |
| 25 'export_dependent_settings': [ |
| 26 '../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:goo
gle_toolbox_for_mac', |
| 27 ], |
25 }, | 28 }, |
26 { | 29 { |
27 # GN version: //ios/testing:ocmock_support_unittest | 30 # GN version: //ios/testing:ocmock_support_unittest |
28 'target_name': 'ocmock_support_unittest', | 31 'target_name': 'ocmock_support_unittest', |
29 'type': 'executable', | 32 'type': 'executable', |
30 'variables': { | 33 'variables': { |
31 'ios_product_name': '<(_target_name)', | 34 'ios_product_name': '<(_target_name)', |
32 }, | 35 }, |
33 'sources': [ | 36 'sources': [ |
34 'ocmock_complex_type_helper_unittest.mm', | 37 'ocmock_complex_type_helper_unittest.mm', |
35 ], | 38 ], |
36 'dependencies': [ | 39 'dependencies': [ |
37 'ocmock_support', | 40 'ocmock_support', |
38 '../../base/base.gyp:run_all_unittests', | 41 '../../base/base.gyp:run_all_unittests', |
39 '../../base/base.gyp:test_support_base', | 42 '../../base/base.gyp:test_support_base', |
40 '../../testing/gmock.gyp:gmock', | 43 '../../testing/gmock.gyp:gmock', |
41 '../../testing/gtest.gyp:gtest', | 44 '../../testing/gtest.gyp:gtest', |
42 '../../testing/iossim/iossim.gyp:iossim#host', | 45 '../../testing/iossim/iossim.gyp:iossim#host', |
43 '../../third_party/ocmock/ocmock.gyp:ocmock', | 46 '../../third_party/ocmock/ocmock.gyp:ocmock', |
44 ], | 47 ], |
45 'include_dirs': [ | 48 'include_dirs': [ |
46 '../..', | 49 '../..', |
47 ], | 50 ], |
48 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, | 51 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, |
49 }, | 52 }, |
50 ], | 53 ], |
51 } | 54 } |
OLD | NEW |