OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 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 'link_settings': { |
| 27 'libraries': [ |
| 28 '$(SDKROOT)/usr/lib/libbsm.dylib', |
| 29 ], |
| 30 }, |
| 31 }, |
| 32 { |
8 'target_name': 'sandbox_mac_unittests', | 33 'target_name': 'sandbox_mac_unittests', |
9 'type': 'executable', | 34 'type': 'executable', |
10 'sources': [ | 35 'sources': [ |
11 'temp_test.cc', | 36 'bootstrap_sandbox_unittest.mm', |
| 37 'policy_unittest.cc', |
12 ], | 38 ], |
13 'dependencies': [ | 39 'dependencies': [ |
| 40 'sandbox', |
14 '../base/base.gyp:base', | 41 '../base/base.gyp:base', |
15 '../base/base.gyp:run_all_unittests', | 42 '../base/base.gyp:run_all_unittests', |
16 '../testing/gtest.gyp:gtest', | 43 '../testing/gtest.gyp:gtest', |
17 ], | 44 ], |
18 'include_dirs': [ | 45 'include_dirs': [ |
19 '../', | 46 '..', |
20 ], | 47 ], |
| 48 'link_settings': { |
| 49 'libraries': [ |
| 50 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 51 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 52 ], |
| 53 }, |
21 }, | 54 }, |
22 ], | 55 ], |
23 } | 56 } |
OLD | NEW |