Temporarily re-enabling SizeAfterPrefChange test with traces.
[chromium-blink-merge.git] / sandbox / mac / sandbox_mac.gypi
blob18241272fbd0f00af1df0c3cd2287694c13c95f8
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.
6   'targets': [
7     {
8       'target_name': 'sandbox',
9       'type': '<(component)',
10       'sources': [
11         'bootstrap_sandbox.cc',
12         'bootstrap_sandbox.h',
13         'launchd_interception_server.cc',
14         'launchd_interception_server.h',
15         'policy.cc',
16         'policy.h',
17         'os_compatibility.cc',
18         'os_compatibility.h',
19       ],
20       'dependencies': [
21         '../base/base.gyp:base',
22       ],
23       'include_dirs': [
24         '..',
25       ],
26       'defines': [
27         'SANDBOX_IMPLEMENTATION',
28       ],
29       'link_settings': {
30         'libraries': [
31           '$(SDKROOT)/usr/lib/libbsm.dylib',
32         ],
33       },
34     },
35     {
36       'target_name': 'sandbox_mac_unittests',
37       'type': 'executable',
38       'sources': [
39         'bootstrap_sandbox_unittest.mm',
40         'policy_unittest.cc',
41       ],
42       'dependencies': [
43         'sandbox',
44         '../base/base.gyp:base',
45         '../base/base.gyp:run_all_unittests',
46         '../testing/gtest.gyp:gtest',
47       ],
48       'include_dirs': [
49         '..',
50       ],
51       'link_settings': {
52         'libraries': [
53           '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
54           '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
55         ],
56       },
57     },
58   ],