blob: 4a35f955938ea38f7c663654f3d774b7944b4177 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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.
#
# TODO(maruel): this file should live in third_party/nss but two factors 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.
{
'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',
],
},
}],
],
}
|