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

Side by Side Diff: components/os_crypt.gypi

Issue 1973483002: OSCrypt for POSIX uses libsecret to store a randomised encryption key. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Recommendations Created 4 years, 6 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/components_tests.gyp ('k') | components/os_crypt/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'os_crypt', 8 'target_name': 'os_crypt',
9 'type': 'static_library', 9 'type': 'static_library',
10 'include_dirs': [ 10 'include_dirs': [
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 'msvs_settings': { 45 'msvs_settings': {
46 'VCLinkerTool': { 46 'VCLinkerTool': {
47 'AdditionalDependencies': [ 47 'AdditionalDependencies': [
48 'crypt32.lib', 48 'crypt32.lib',
49 ], 49 ],
50 }, 50 },
51 }, 51 },
52 }], 52 }],
53 ['OS=="linux" and chromeos!=1 and use_glib==1', { 53 ['OS=="linux" and chromeos!=1 and use_glib==1', {
54 'sources': [ 54 'sources': [
55 'os_crypt/libsecret_util_posix.cc', 55 'os_crypt/key_storage_libsecret.cc',
56 'os_crypt/libsecret_util_posix.h', 56 'os_crypt/key_storage_libsecret.h',
57 'os_crypt/key_storage_linux.cc',
58 'os_crypt/key_storage_linux.h',
59 'os_crypt/libsecret_util_linux.cc',
60 'os_crypt/libsecret_util_linux.h',
61 'os_crypt/os_crypt_linux.cc',
62 ],
63 'sources!': [
64 'os_crypt/os_crypt_posix.cc',
57 ], 65 ],
58 'defines': [ 66 'defines': [
59 'USE_LIBSECRET', 67 'USE_LIBSECRET',
60 ], 68 ],
61 'include_dirs' : [ 69 'include_dirs' : [
62 '../third_party/libsecret/' 70 '../third_party/libsecret/'
63 ], 71 ],
64 'dependencies': [ 72 'dependencies': [
65 '../build/linux/system.gyp:glib', 73 '../build/linux/system.gyp:glib',
66 ], 74 ],
67 }], 75 }],
68 ], 76 ],
69 'target_conditions': [ 77 'target_conditions': [
70 ['OS=="ios"', { 78 ['OS=="ios"', {
71 'sources/': [ 79 'sources/': [
72 ['include', '^os_crypt/keychain_password_mac\\.mm$'], 80 ['include', '^os_crypt/keychain_password_mac\\.mm$'],
73 ['include', '^os_crypt/os_crypt_mac\\.mm$'], 81 ['include', '^os_crypt/os_crypt_mac\\.mm$'],
74 ], 82 ],
75 }], 83 }],
76 ], 84 ],
77 }, 85 },
78 { 86 {
79 'target_name': 'os_crypt_test_support', 87 'target_name': 'os_crypt_test_support',
80 'type': 'static_library', 88 'type': 'static_library',
81 'sources': [ 89 'sources': [
82 "os_crypt/os_crypt_mocker.cc", 90 'os_crypt/os_crypt_mocker.cc',
83 "os_crypt/os_crypt_mocker.h", 91 'os_crypt/os_crypt_mocker.h',
84 ], 92 ],
85 'dependencies': [ 93 'dependencies': [
86 '../base/base.gyp:base', 94 '../base/base.gyp:base',
95 '../testing/gtest.gyp:gtest',
87 ], 96 ],
88 'conditions': [ 97 'conditions': [
89 ['OS=="linux" and chromeos!=1 and use_glib==1', { 98 ['OS=="linux" and chromeos!=1 and use_glib==1', {
99 'sources': [
100 'os_crypt/os_crypt_mocker_linux.cc',
101 'os_crypt/os_crypt_mocker_linux.h',
102 ],
90 'defines': [ 103 'defines': [
91 'USE_LIBSECRET', 104 'USE_LIBSECRET',
92 ], 105 ],
93 'include_dirs' : [ 106 'include_dirs' : [
94 '../third_party/libsecret/' 107 '../third_party/libsecret/'
95 ], 108 ],
96 'dependencies': [ 109 'dependencies': [
97 '../build/linux/system.gyp:glib', 110 '../build/linux/system.gyp:glib',
98 ], 111 ],
99 }], 112 }],
100 ] 113 ]
101 } 114 }
102 ], 115 ],
103 } 116 }
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/os_crypt/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698