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

Unified 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, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/os_crypt/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/os_crypt.gypi
diff --git a/components/os_crypt.gypi b/components/os_crypt.gypi
index 5c8f7eb5f94343fdcfab11be1b8b12a8d23658b7..f9e6edd870a62a5e9e4978b655e2903a928f41fc 100644
--- a/components/os_crypt.gypi
+++ b/components/os_crypt.gypi
@@ -52,8 +52,16 @@
}],
['OS=="linux" and chromeos!=1 and use_glib==1', {
'sources': [
- 'os_crypt/libsecret_util_posix.cc',
- 'os_crypt/libsecret_util_posix.h',
+ 'os_crypt/key_storage_libsecret.cc',
+ 'os_crypt/key_storage_libsecret.h',
+ 'os_crypt/key_storage_linux.cc',
+ 'os_crypt/key_storage_linux.h',
+ 'os_crypt/libsecret_util_linux.cc',
+ 'os_crypt/libsecret_util_linux.h',
+ 'os_crypt/os_crypt_linux.cc',
+ ],
+ 'sources!': [
+ 'os_crypt/os_crypt_posix.cc',
],
'defines': [
'USE_LIBSECRET',
@@ -79,14 +87,19 @@
'target_name': 'os_crypt_test_support',
'type': 'static_library',
'sources': [
- "os_crypt/os_crypt_mocker.cc",
- "os_crypt/os_crypt_mocker.h",
+ 'os_crypt/os_crypt_mocker.cc',
+ 'os_crypt/os_crypt_mocker.h',
],
'dependencies': [
'../base/base.gyp:base',
+ '../testing/gtest.gyp:gtest',
],
'conditions': [
['OS=="linux" and chromeos!=1 and use_glib==1', {
+ 'sources': [
+ 'os_crypt/os_crypt_mocker_linux.cc',
+ 'os_crypt/os_crypt_mocker_linux.h',
+ ],
'defines': [
'USE_LIBSECRET',
],
« 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