1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-03 17:59:33 +02:00
This commit is contained in:
Steven Huang 2016-02-05 04:11:24 -08:00
parent 77d668dd9a
commit 94ceca550b

View file

@ -28,6 +28,10 @@ ignored = [
"scripts/" "scripts/"
] ]
added = [
"docs/"
]
conversionMap = { conversionMap = {
#In AmbilWarna: #In AmbilWarna:
#third-party/drag-sort-listview/library/ #third-party/drag-sort-listview/library/
@ -68,6 +72,8 @@ conversionMap = {
"src/org/geometerplus/android/fbreader/libraryService/LibraryInterface.aidl" : "fBReaderJ/src/main/aidl/org/geometerplus/android/fbreader/libraryService/LibraryInterface.aidl", "src/org/geometerplus/android/fbreader/libraryService/LibraryInterface.aidl" : "fBReaderJ/src/main/aidl/org/geometerplus/android/fbreader/libraryService/LibraryInterface.aidl",
"src/org/geometerplus/android/fbreader/libraryService/PositionWithTimestamp.aidl" : "fBReaderJ/src/main/aidl/org/geometerplus/android/fbreader/libraryService/PositionWithTimestamp.aidl", "src/org/geometerplus/android/fbreader/libraryService/PositionWithTimestamp.aidl" : "fBReaderJ/src/main/aidl/org/geometerplus/android/fbreader/libraryService/PositionWithTimestamp.aidl",
"src/org/geometerplus/android/fbreader/network/BookDownloaderInterface.aidl" : "fBReaderJ/src/main/aidl/org/geometerplus/android/fbreader/network/BookDownloaderInterface.aidl", "src/org/geometerplus/android/fbreader/network/BookDownloaderInterface.aidl" : "fBReaderJ/src/main/aidl/org/geometerplus/android/fbreader/network/BookDownloaderInterface.aidl",
#src/com/paragon/dictionary/fbreader/OpenDictionaryActivity.java ? fbreader/app/src/main/java/com/paragon/dictionary/fbreader/OpenDictionaryActivity.java
} }
@ -112,6 +118,9 @@ def convertToAndroidStudioPaths(line):
deleteLine = True deleteLine = True
converted = deleteLineMarker converted = deleteLineMarker
print "IGNORED: \'" + firstPath + "\' is ignored" print "IGNORED: \'" + firstPath + "\' is ignored"
elif firstPath in added:
converted = fullPath
print "ADDED: \'" + firstPath + "\' is added"
else: else:
print "FAIL: \'" + firstPath + "\' is not in map" print "FAIL: \'" + firstPath + "\' is not in map"
sys.exit() sys.exit()