Compile and export SQLitePersistentCookieStore

This is a convenient implementation for clients to use to persist
cookies to disk (see aroben/brightray#5).
This commit is contained in:
Adam Roben 2013-03-26 16:14:04 -04:00
Родитель cf87e4d6de
Коммит 3944c1c005
2 изменённых файлов: 21 добавлений и 0 удалений

Просмотреть файл

@ -6,6 +6,7 @@
'dependencies': [
'<(DEPTH)/content/content.gyp:content',
'<(DEPTH)/content/content.gyp:content_shell_pak',
'browser_net',
],
'xcode_settings': {
'OTHER_LDFLAGS': [
@ -14,5 +15,24 @@
'LD_DYLIB_INSTALL_NAME': '@rpath/libchromiumcontent.dylib',
},
},
{
'target_name': 'browser_net',
'type': 'static_library',
'sources': [
'<(DEPTH)/chrome/browser/net/clear_on_exit_policy.cc',
'<(DEPTH)/chrome/browser/net/clear_on_exit_policy.h',
'<(DEPTH)/chrome/browser/net/sqlite_persistent_cookie_store.cc',
'<(DEPTH)/chrome/browser/net/sqlite_persistent_cookie_store.h',
],
'include_dirs': [
'<(DEPTH)',
],
'xcode_settings': {
# Export all symbols from this static library even though they aren't
# specified to be exported in the source code.
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'NO',
'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
},
},
],
}

Просмотреть файл

@ -32,6 +32,7 @@ cp -a out/symbols/libchromiumcontent.dylib.dSYM "${DIST}/Release"
INCLUDES=$(echo "
base
build
chrome/browser/net/sqlite_persistent_cookie_store.h
content/common/content_export.h
content/public
googleurl/src