Index: third_party/nss.isolate |
diff --git a/third_party/nss.isolate b/third_party/nss.isolate |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d77845e7f0f806cdcb0befbd37e87bea9bedb7ec |
--- /dev/null |
+++ b/third_party/nss.isolate |
@@ -0,0 +1,31 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+# |
+# Note: this file should live in third_party/nss but two problems get in the |
+# way: |
+# - .isolate files do not support conditional includes. This works in gyp by |
+# using the 'dependencies': [ 'path/to/file.gyp:project' ] which dynamically |
+# loads project files. |
+# - third_party/nss is conditionally checked out. It is not checked out on |
+# linux. |
Ryan Sleevi
2014/01/27 21:27:38
Isn't this a case for where we do what libjingle/w
M-A Ruel
2014/01/27 21:34:48
Go on your linux machine and see what is there. th
Ryan Sleevi
2014/01/27 21:45:30
I'm aware of what we have, I was trying to say whe
M-A Ruel
2014/01/28 21:41:26
I think it's going to be gross for a while. It's a
|
+{ |
+ 'conditions': [ |
+ ['OS=="mac" and component=="shared_library"', { |
+ 'variables': { |
+ 'isolate_dependency_tracked': [ |
+ '<(PRODUCT_DIR)/libcrnspr.dylib', |
+ '<(PRODUCT_DIR)/libcrnss.dylib', |
+ ], |
+ }, |
+ }], |
+ ['OS=="win" and component=="shared_library"', { |
+ 'variables': { |
+ 'isolate_dependency_tracked': [ |
+ '<(PRODUCT_DIR)/crnspr.dll', |
+ '<(PRODUCT_DIR)/crnss.dll', |
+ ], |
+ }, |
+ }], |
+ ], |
+} |