summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/mac/archs/test-valid-archs.gyp
blob: c90ec1fe9b3b0bde153d177a4bdaa576e8db6592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright (c) 2014 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
  {
    'target_name': 'lib',
    'product_name': 'Test',
    'type': 'static_library',
    'sources': [ 'my_file.cc' ],
    'xcode_settings': {
      'ARCHS': ['i386', 'x86_64', 'unknown-arch'],
      'VALID_ARCHS': ['x86_64'],
    },
  },
  {
    'target_name': 'exe',
    'product_name': 'Test',
    'type': 'executable',
    'dependencies': [ 'lib' ],
    'sources': [ 'my_main_file.cc' ],
    'xcode_settings': {
      'ARCHS': ['i386', 'x86_64', 'unknown-arch'],
      'VALID_ARCHS': ['x86_64'],
    },
  }]
}