From 94ceca550b0af61b30e8deb0877485a1a23e4d61 Mon Sep 17 00:00:00 2001 From: Steven Huang Date: Fri, 5 Feb 2016 04:11:24 -0800 Subject: [PATCH] add docs --- converter.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/converter.py b/converter.py index 463a62362..e4e8a823c 100644 --- a/converter.py +++ b/converter.py @@ -28,6 +28,10 @@ ignored = [ "scripts/" ] +added = [ + "docs/" +] + conversionMap = { #In AmbilWarna: #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/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/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 converted = deleteLineMarker print "IGNORED: \'" + firstPath + "\' is ignored" + elif firstPath in added: + converted = fullPath + print "ADDED: \'" + firstPath + "\' is added" else: print "FAIL: \'" + firstPath + "\' is not in map" sys.exit()