stuartmorgan | 9c337fc | 2015-03-20 16:55:53 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | { |
| 5 | 'variables': { |
| 6 | 'chromium_code': 1, |
| 7 | }, |
| 8 | 'targets': [ |
| 9 | { |
sdefresne | c6ddd7ac | 2015-10-09 17:30:19 | [diff] [blame] | 10 | # GN version: //ios/testing:ocmock_support |
stuartmorgan | 9c337fc | 2015-03-20 16:55:53 | [diff] [blame] | 11 | 'target_name': 'ocmock_support', |
| 12 | 'type': 'static_library', |
| 13 | 'dependencies': [ |
| 14 | '../../base/base.gyp:base', |
| 15 | '../../third_party/ocmock/ocmock.gyp:ocmock', |
| 16 | '../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac', |
| 17 | ], |
| 18 | 'sources': [ |
| 19 | 'ocmock_complex_type_helper.h', |
| 20 | 'ocmock_complex_type_helper.mm', |
| 21 | ], |
| 22 | 'include_dirs': [ |
| 23 | '../..', |
| 24 | ], |
Nico Weber | 715d86f2 | 2015-11-04 00:55:21 | [diff] [blame] | 25 | 'export_dependent_settings': [ |
| 26 | '../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac', |
| 27 | ], |
stuartmorgan | 9c337fc | 2015-03-20 16:55:53 | [diff] [blame] | 28 | }, |
| 29 | { |
sdefresne | c6ddd7ac | 2015-10-09 17:30:19 | [diff] [blame] | 30 | # GN version: //ios/testing:ocmock_support_unittest |
stuartmorgan | 9c337fc | 2015-03-20 16:55:53 | [diff] [blame] | 31 | 'target_name': 'ocmock_support_unittest', |
| 32 | 'type': 'executable', |
| 33 | 'variables': { |
| 34 | 'ios_product_name': '<(_target_name)', |
| 35 | }, |
| 36 | 'sources': [ |
| 37 | 'ocmock_complex_type_helper_unittest.mm', |
| 38 | ], |
| 39 | 'dependencies': [ |
| 40 | 'ocmock_support', |
| 41 | '../../base/base.gyp:run_all_unittests', |
| 42 | '../../base/base.gyp:test_support_base', |
| 43 | '../../testing/gmock.gyp:gmock', |
| 44 | '../../testing/gtest.gyp:gtest', |
| 45 | '../../testing/iossim/iossim.gyp:iossim#host', |
| 46 | '../../third_party/ocmock/ocmock.gyp:ocmock', |
| 47 | ], |
| 48 | 'include_dirs': [ |
| 49 | '../..', |
| 50 | ], |
| 51 | 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, |
| 52 | }, |
| 53 | ], |
| 54 | } |