{"action":"closed","issue":{"url":"https://api.github.com/repos/hrydgard/ppsspp/issues/7823","labels_url":"https://api.github.com/repos/hrydgard/ppsspp/issues/7823/labels{/name}","comments_url":"https://api.github.com/repos/hrydgard/ppsspp/issues/7823/comments","events_url":"https://api.github.com/repos/hrydgard/ppsspp/issues/7823/events","html_url":"https://github.com/hrydgard/ppsspp/issues/7823","id":90492468,"number":7823,"title":"Linux build doesn't need android stuff","user":{"login":"sergiobenrocha2","id":5431285,"avatar_url":"https://avatars.githubusercontent.com/u/5431285?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiobenrocha2","html_url":"https://github.com/sergiobenrocha2","followers_url":"https://api.github.com/users/sergiobenrocha2/followers","following_url":"https://api.github.com/users/sergiobenrocha2/following{/other_user}","gists_url":"https://api.github.com/users/sergiobenrocha2/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiobenrocha2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiobenrocha2/subscriptions","organizations_url":"https://api.github.com/users/sergiobenrocha2/orgs","repos_url":"https://api.github.com/users/sergiobenrocha2/repos","events_url":"https://api.github.com/users/sergiobenrocha2/events{/privacy}","received_events_url":"https://api.github.com/users/sergiobenrocha2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-23T21:19:28Z","updated_at":"2015-12-20T03:59:52Z","closed_at":"2015-12-20T03:59:52Z","body":"There is some android stuff in the linux build. I don't know what to do in UI/GameSettingsScreen.cpp, DeveloperToolsScreen::OnRunCPUTests is used in line 1015, and it needs RunTests() from android headers.\r\n\r\n```\r\nIndex: ppsspp-git/Qt/PPSSPP.pro\r\n===================================================================\r\n--- ppsspp-git.orig/Qt/PPSSPP.pro\t2015-06-23 17:57:28.000000000 -0300\r\n+++ ppsspp-git/Qt/PPSSPP.pro\t2015-06-23 17:57:28.000000000 -0300\r\n@@ -78,9 +78,7 @@\r\n }\r\n \r\n # UI\r\n-SOURCES += $$P/UI/*.cpp \\\r\n-\t$$P/android/jni/TestRunner.cpp\r\n-arm:android: SOURCES += $$P/android/jni/ArmEmitterTest.cpp\r\n+SOURCES += $$P/UI/*.cpp\r\n HEADERS += $$P/UI/*.h\r\n \r\n INCLUDEPATH += $$P $$P/Common $$P/native $$P/native/ext\r\nIndex: ppsspp-git/UI/CwCheatScreen.cpp\r\n===================================================================\r\n--- ppsspp-git.orig/UI/CwCheatScreen.cpp\t2015-06-23 17:37:12.000000000 -0300\r\n+++ ppsspp-git/UI/CwCheatScreen.cpp\t2015-06-23 17:57:28.000000000 -0300\r\n@@ -15,7 +15,9 @@\r\n // Official git repository and contact information can be found at\r\n // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.\r\n \r\n+#ifdef ANDROID\r\n #include \"android/app-android.h\"\r\n+#endif\r\n #include \"input/input_state.h\"\r\n #include \"ui/ui.h\"\r\n #include \"util/text/utf8.h\"\r\nIndex: ppsspp-git/UI/EmuScreen.cpp\r\n===================================================================\r\n--- ppsspp-git.orig/UI/EmuScreen.cpp\t2015-06-23 17:37:12.000000000 -0300\r\n+++ ppsspp-git/UI/EmuScreen.cpp\t2015-06-23 17:57:28.000000000 -0300\r\n@@ -17,7 +17,9 @@\r\n \r\n #include <algorithm>\r\n \r\n+#ifdef ANDROID\r\n #include \"android/app-android.h\"\r\n+#endif\r\n #include \"base/display.h\"\r\n #include \"base/logging.h\"\r\n #include \"base/timeutil.h\"\r\nIndex: ppsspp-git/UI/GameSettingsScreen.cpp\r\n===================================================================\r\n--- ppsspp-git.orig/UI/GameSettingsScreen.cpp\t2015-06-23 17:37:12.000000000 -0300\r\n+++ ppsspp-git/UI/GameSettingsScreen.cpp\t2015-06-23 17:58:11.546489231 -0300\r\n@@ -45,7 +45,9 @@\r\n #include \"Core/Host.h\"\r\n #include \"Core/System.h\"\r\n #include \"Core/Reporting.h\"\r\n+#ifdef ANDROID\r\n #include \"android/jni/TestRunner.h\"\r\n+#endif\r\n #include \"GPU/GPUInterface.h\"\r\n #include \"GPU/GLES/Framebuffer.h\"\r\n \r\n@@ -1069,7 +1071,9 @@\r\n }\r\n \r\n UI::EventReturn DeveloperToolsScreen::OnRunCPUTests(UI::EventParams &e) {\r\n+#ifdef ANDROID\r\n \tRunTests();\r\n+#endif\r\n \treturn UI::EVENT_DONE;\r\n }\r\n \r\n```"}}