Index: sandbox/mac/sandbox_mac.gypi |
diff --git a/sandbox/mac/sandbox_mac.gypi b/sandbox/mac/sandbox_mac.gypi |
index 24f10b19b67bc5dc67e14a96dc03de9c29fac38b..1486ea116ba8f501d926eeed96ef21d6f430be87 100644 |
--- a/sandbox/mac/sandbox_mac.gypi |
+++ b/sandbox/mac/sandbox_mac.gypi |
@@ -5,19 +5,52 @@ |
{ |
'targets': [ |
{ |
+ 'target_name': 'sandbox', |
+ 'type': '<(component)', |
+ 'sources': [ |
+ 'bootstrap_sandbox.cc', |
jln (very slow on Chromium)
2014/05/09 23:10:10
How come you didn't need to create a SANDBOX_EXPOR
Robert Sesek
2014/05/09 23:21:39
Yes, this doesn't make use of it. I was thinking o
|
+ 'bootstrap_sandbox.h', |
+ 'launchd_interception_server.cc', |
+ 'launchd_interception_server.h', |
+ 'policy.cc', |
+ 'policy.h', |
+ 'os_compatibility.cc', |
+ 'os_compatibility.h', |
+ ], |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'link_settings': { |
+ 'libraries': [ |
+ '$(SDKROOT)/usr/lib/libbsm.dylib', |
+ ], |
+ }, |
+ }, |
+ { |
'target_name': 'sandbox_mac_unittests', |
'type': 'executable', |
'sources': [ |
- 'temp_test.cc', |
+ 'bootstrap_sandbox_unittest.mm', |
+ 'policy_unittest.cc', |
], |
'dependencies': [ |
+ 'sandbox', |
'../base/base.gyp:base', |
'../base/base.gyp:run_all_unittests', |
'../testing/gtest.gyp:gtest', |
], |
'include_dirs': [ |
- '../', |
+ '..', |
], |
+ 'link_settings': { |
+ 'libraries': [ |
+ '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
+ '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
+ ], |
+ }, |
}, |
], |
} |