1# Copyright (c) 2013 Google Inc. 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  'make_global_settings': [
6    ['CC', '/usr/bin/clang'],
7    ['CXX', '/usr/bin/clang++'],
8  ],
9
10  'targets': [
11    {
12      'target_name': 'aliasing_yes',
13      'type': 'executable',
14      'sources': [ 'aliasing.cc', ],
15      'xcode_settings': {
16        'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
17        'GCC_STRICT_ALIASING': 'YES',
18        'GCC_OPTIMIZATION_LEVEL': 2,
19      },
20    },
21    {
22      'target_name': 'aliasing_no',
23      'type': 'executable',
24      'sources': [ 'aliasing.cc', ],
25      'xcode_settings': {
26        'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
27        'GCC_STRICT_ALIASING': 'NO',
28        'GCC_OPTIMIZATION_LEVEL': 2,
29      },
30    },
31    {
32      'target_name': 'aliasing_default',
33      'type': 'executable',
34      'sources': [ 'aliasing.cc', ],
35      'xcode_settings': {
36        'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
37        'GCC_OPTIMIZATION_LEVEL': 2,
38      },
39    },
40  ],
41}
42
43