Index: components/cert_database.gypi |
diff --git a/components/os_crypt.gypi b/components/cert_database.gypi |
similarity index 32% |
copy from components/os_crypt.gypi |
copy to components/cert_database.gypi |
index 59654748280ec4adce1920b744ae02b5dd3e33df..5a4c300c24cda9acab7fb7117f0a38430d7daa3c 100644 |
--- a/components/os_crypt.gypi |
+++ b/components/cert_database.gypi |
@@ -5,41 +5,35 @@ |
{ |
'targets': [ |
{ |
- 'target_name': 'os_crypt', |
+ 'target_name': 'cert_database', |
'type': 'static_library', |
- 'include_dirs': [ |
- '..', |
- ], |
'dependencies': [ |
'../base/base.gyp:base', |
+ '../net/net.gyp:net', |
'../crypto/crypto.gyp:crypto', |
], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
'sources': [ |
- 'os_crypt/ie7_password_win.cc', |
- 'os_crypt/ie7_password_win.h', |
- 'os_crypt/keychain_password_mac.h', |
- 'os_crypt/keychain_password_mac.mm', |
- 'os_crypt/os_crypt.h', |
- 'os_crypt/os_crypt_mac.mm', |
- 'os_crypt/os_crypt_posix.cc', |
- 'os_crypt/os_crypt_switches.cc', |
- 'os_crypt/os_crypt_switches.h', |
- 'os_crypt/os_crypt_win.cc', |
+ 'cert_database/chromeos/cert_database_service_io_part_chromeos.cc', |
+ 'cert_database/linux/cert_database_service_io_part_linux.cc', |
+ 'cert_database/core/cert_database_service.cc', |
+ 'cert_database/core/cert_database_service_io_part.cc', |
+ 'cert_database/public/cert_database_service.h', |
+ 'cert_database/public/cert_database_service_io_part.h', |
+ 'cert_database/public/chromeos/cert_database_service_io_part_chromeos.h', |
+ 'cert_database/public/linux/cert_database_service_io_part_linux.h', |
], |
'conditions': [ |
- ['OS=="mac"', { |
- 'sources!': [ |
- 'os_crypt/os_crypt_posix.cc', |
- ], |
- }], |
- ], |
- 'target_conditions': [ |
- ['OS=="ios"', { |
- 'sources/': [ |
- ['include', '^os_crypt/keychain_password_mac\\.mm$'], |
- ['include', '^os_crypt/os_crypt_mac\\.mm$'], |
- ], |
- }], |
+ ['chromeos==1', { |
+ 'sources!': [ |
+ 'cert_database/linux/cert_database_service_io_part_linux.cc' ], |
+ }, { # chromeos==0 |
+ 'sources!': [ |
+ 'cert_database/chromeos/cert_database_service_io_part_chromeos.cc' |
+ ], |
+ }], |
], |
}, |
], |