Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[buteo-sync-plugins-social] Combine common code into library. Contrib…
…utes to JB#48734 Avoid recompiling again and again, save cpu and storage. Tests removed. They didn't nor have had any functional test cases and were unnecessarily complicating the compilation of the main project. Not expecting that sync plugins depending on the remote server would have been getting tests any time soon anyway.
- Loading branch information
Showing
15 changed files
with
95 additions
and
547 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
TEMPLATE = subdirs | ||
SUBDIRS = src | ||
|
||
CONFIG(build-tests) { | ||
SUBDIRS += tests | ||
tests.depends = src | ||
} | ||
|
||
OTHER_FILES += rpm/sociald.spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
TEMPLATE = lib | ||
|
||
QT -= gui | ||
QT += network dbus | ||
|
||
CONFIG += link_pkgconfig | ||
PKGCONFIG += \ | ||
accounts-qt5 \ | ||
buteosyncfw5 \ | ||
|
||
TARGET = syncpluginscommon | ||
TARGET = $$qtLibraryTarget($$TARGET) | ||
|
||
HEADERS += \ | ||
$$PWD/buteosyncfw_p.h \ | ||
$$PWD/socialdbuteoplugin.h \ | ||
$$PWD/socialnetworksyncadaptor.h \ | ||
$$PWD/trace.h | ||
|
||
SOURCES += \ | ||
$$PWD/socialdbuteoplugin.cpp \ | ||
$$PWD/socialnetworksyncadaptor.cpp | ||
|
||
HEADERS += $$PWD/socialdnetworkaccessmanager_p.h | ||
|
||
SOURCES += socialdnetworkaccessmanager_p.cpp | ||
|
||
TARGETPATH = $$[QT_INSTALL_LIBS] | ||
target.path = $$TARGETPATH | ||
|
||
INSTALLS += target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,41 @@ | ||
TEMPLATE = subdirs | ||
SUBDIRS = \ | ||
common \ | ||
sociald | ||
|
||
CONFIG(google): SUBDIRS += google | ||
CONFIG(facebook): SUBDIRS += facebook | ||
CONFIG(twitter): SUBDIRS += twitter | ||
CONFIG(onedrive): SUBDIRS += onedrive | ||
CONFIG(dropbox): SUBDIRS += dropbox | ||
CONFIG(vk): SUBDIRS += vk | ||
CONFIG(knowncontacts): SUBDIRS += knowncontacts | ||
sociald.depends = common | ||
|
||
CONFIG(google): { | ||
SUBDIRS += google | ||
google.depends = common | ||
} | ||
|
||
CONFIG(facebook): { | ||
SUBDIRS += facebook | ||
facebook.depends = common | ||
} | ||
|
||
CONFIG(twitter): { | ||
SUBDIRS += twitter | ||
twitter.depends = common | ||
} | ||
|
||
CONFIG(onedrive): { | ||
SUBDIRS += onedrive | ||
onedrive.depends = common | ||
} | ||
|
||
CONFIG(dropbox): { | ||
SUBDIRS += dropbox | ||
dropbox.depends = common | ||
} | ||
|
||
CONFIG(vk): { | ||
SUBDIRS += vk | ||
vk.depends = common | ||
} | ||
|
||
CONFIG(knowncontacts): { | ||
SUBDIRS += knowncontacts | ||
knowncontacts.depends = common | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.