Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(851)

Side by Side Diff: components/os_crypt.gypi

Issue 2306443002: Remove GYP files from components. (Closed)
Patch Set: Remove compiled resources Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/open_from_clipboard.gypi ('k') | components/ownership.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # 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 ['OS=="win"', {
36 'all_dependent_settings': {
37 'msvs_settings': {
38 'VCLinkerTool': {
39 'AdditionalDependencies': [
40 'crypt32.lib',
41 ],
42 },
43 },
44 },
45 'msvs_settings': {
46 'VCLinkerTool': {
47 'AdditionalDependencies': [
48 'crypt32.lib',
49 ],
50 },
51 },
52 }],
53 ['OS=="linux" and chromeos!=1', {
54 'sources': [
55 'os_crypt/key_storage_linux.cc',
56 'os_crypt/key_storage_linux.h',
57 'os_crypt/os_crypt_linux.cc',
58 ],
59 'sources!': [
60 'os_crypt/os_crypt_posix.cc',
61 ],
62 'conditions': [
63 ['use_glib==1', {
64 'sources': [
65 'os_crypt/key_storage_libsecret.cc',
66 'os_crypt/key_storage_libsecret.h',
67 'os_crypt/libsecret_util_linux.cc',
68 'os_crypt/libsecret_util_linux.h',
69 ],
70 'defines': [
71 'USE_LIBSECRET',
72 ],
73 'include_dirs' : [
74 '../third_party/libsecret/'
75 ],
76 'dependencies': [
77 '../build/linux/system.gyp:glib',
78 ],
79 }],
80 ['use_dbus==1', {
81 'sources': [
82 'os_crypt/key_storage_kwallet.cc',
83 'os_crypt/key_storage_kwallet.h',
84 'os_crypt/kwallet_dbus.cc',
85 'os_crypt/kwallet_dbus.h',
86 ],
87 'defines': [
88 'USE_KWALLET',
89 ],
90 'dependencies': [
91 '../build/linux/system.gyp:dbus',
92 '../dbus/dbus.gyp:dbus',
93 ],
94 'include_dirs': [
95 '..',
96 ],
97 }]
98 ],
99 }],
100 ],
101 'target_conditions': [
102 ['OS=="ios"', {
103 'sources/': [
104 ['include', '^os_crypt/keychain_password_mac\\.mm$'],
105 ['include', '^os_crypt/os_crypt_mac\\.mm$'],
106 ],
107 }],
108 ],
109 },
110 {
111 'target_name': 'os_crypt_test_support',
112 'type': 'static_library',
113 'sources': [
114 'os_crypt/os_crypt_mocker.cc',
115 'os_crypt/os_crypt_mocker.h',
116 ],
117 'dependencies': [
118 '../base/base.gyp:base',
119 '../testing/gtest.gyp:gtest',
120 ],
121 'conditions': [
122 ['OS=="linux" and chromeos!=1', {
123 'sources': [
124 'os_crypt/os_crypt_mocker_linux.cc',
125 'os_crypt/os_crypt_mocker_linux.h',
126 ],
127 'defines': [
128 'USE_LIBSECRET',
129 ],
130 'include_dirs' : [
131 '../third_party/libsecret/'
132 ],
133 'dependencies': [
134 '../build/linux/system.gyp:glib',
135 ],
136 }],
137 ]
138 }
139 ],
140 }
OLDNEW
« no previous file with comments | « components/open_from_clipboard.gypi ('k') | components/ownership.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698