blob: 80f09abcf61b94b70618af69bc140755611c2859 [file] [log] [blame]
stuartmorgan9c337fc2015-03-20 16:55:531# 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 {
sdefresnec6ddd7ac2015-10-09 17:30:1910 # GN version: //ios/testing:ocmock_support
stuartmorgan9c337fc2015-03-20 16:55:5311 '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 Weber715d86f22015-11-04 00:55:2125 'export_dependent_settings': [
26 '../../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
27 ],
stuartmorgan9c337fc2015-03-20 16:55:5328 },
29 {
sdefresnec6ddd7ac2015-10-09 17:30:1930 # GN version: //ios/testing:ocmock_support_unittest
stuartmorgan9c337fc2015-03-20 16:55:5331 '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}