blob: 59654748280ec4adce1920b744ae02b5dd3e33df [file] [log] [blame]
[email protected]c523d202014-03-18 01:34:541# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6 'targets': [
7 {
8 'target_name': 'os_crypt',
9 'type': 'static_library',
10 'include_dirs': [
11 '..',
12 ],
13 'dependencies': [
14 '../base/base.gyp:base',
15 '../crypto/crypto.gyp:crypto',
16 ],
17 'sources': [
18 'os_crypt/ie7_password_win.cc',
19 'os_crypt/ie7_password_win.h',
20 'os_crypt/keychain_password_mac.h',
21 'os_crypt/keychain_password_mac.mm',
22 'os_crypt/os_crypt.h',
23 'os_crypt/os_crypt_mac.mm',
24 'os_crypt/os_crypt_posix.cc',
25 'os_crypt/os_crypt_switches.cc',
26 'os_crypt/os_crypt_switches.h',
27 'os_crypt/os_crypt_win.cc',
28 ],
29 'conditions': [
30 ['OS=="mac"', {
31 'sources!': [
32 'os_crypt/os_crypt_posix.cc',
33 ],
34 }],
35 ],
36 'target_conditions': [
37 ['OS=="ios"', {
38 'sources/': [
39 ['include', '^os_crypt/keychain_password_mac\\.mm$'],
40 ['include', '^os_crypt/os_crypt_mac\\.mm$'],
41 ],
42 }],
43 ],
44 },
45 ],
46}