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 'defines': [ |
| 27 'SANDBOX_IMPLEMENTATION', |
| 28 ], |
| 29 'link_settings': { |
| 30 'libraries': [ |
| 31 '$(SDKROOT)/usr/lib/libbsm.dylib', |
| 32 ], |
| 33 }, |
| 34 }, |
| 35 { |
8 'target_name': 'sandbox_mac_unittests', | 36 'target_name': 'sandbox_mac_unittests', |
9 'type': 'executable', | 37 'type': 'executable', |
10 'sources': [ | 38 'sources': [ |
11 'temp_test.cc', | 39 'bootstrap_sandbox_unittest.mm', |
| 40 'policy_unittest.cc', |
12 ], | 41 ], |
13 'dependencies': [ | 42 'dependencies': [ |
| 43 'sandbox', |
14 '../base/base.gyp:base', | 44 '../base/base.gyp:base', |
15 '../base/base.gyp:run_all_unittests', | 45 '../base/base.gyp:run_all_unittests', |
16 '../testing/gtest.gyp:gtest', | 46 '../testing/gtest.gyp:gtest', |
17 ], | 47 ], |
18 'include_dirs': [ | 48 'include_dirs': [ |
19 '../', | 49 '..', |
20 ], | 50 ], |
| 51 'link_settings': { |
| 52 'libraries': [ |
| 53 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 54 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 55 ], |
| 56 }, |
21 }, | 57 }, |
22 ], | 58 ], |
23 } | 59 } |
OLD | NEW |