Index: sandbox/mac/sandbox_mac.gypi |
diff --git a/sandbox/mac/sandbox_mac.gypi b/sandbox/mac/sandbox_mac.gypi |
index 24f10b19b67bc5dc67e14a96dc03de9c29fac38b..6be4b74838cc5c4f9a7e37bf6c918e4394732100 100644 |
--- a/sandbox/mac/sandbox_mac.gypi |
+++ b/sandbox/mac/sandbox_mac.gypi |
@@ -5,12 +5,39 @@ |
{ |
'targets': [ |
{ |
+ 'target_name': 'sandbox', |
+ 'type': '<(component)', |
+ 'sources': [ |
+ 'bootstrap_sandbox.cc', |
+ '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': [ |
+ '../', |
Mark Mentovai
2014/05/06 20:51:50
No trailing /. Fix line 45 too.
Robert Sesek
2014/05/08 20:58:12
Done.
|
+ ], |
+ 'link_settings': { |
+ 'libraries': [ |
+ '$(SDKROOT)/usr/lib/libbsm.dylib', |
Mark Mentovai
2014/05/06 20:51:50
Just for audit_token_to_au32, hmph. Sucks, but OK.
Robert Sesek
2014/05/08 20:58:12
Yeah, it's already linked into Chromium Framework,
|
+ ], |
+ }, |
+ }, |
+ { |
'target_name': 'sandbox_mac_unittests', |
'type': 'executable', |
'sources': [ |
- 'temp_test.cc', |
+ 'bootstrap_sandbox_unittest.mm', |
+ 'policy_unittest.cc', |
], |
'dependencies': [ |
+ ':sandbox', |
Mark Mentovai
2014/05/06 20:51:50
Just say sandbox, no colon.
Robert Sesek
2014/05/08 20:58:12
Done.
|
'../base/base.gyp:base', |
'../base/base.gyp:run_all_unittests', |
'../testing/gtest.gyp:gtest', |
@@ -18,6 +45,12 @@ |
'include_dirs': [ |
'../', |
], |
+ 'link_settings': { |
+ 'libraries': [ |
+ '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
+ '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
+ ], |
+ }, |
}, |
], |
} |