Merged 'emulator' and 'emulatorview' into one module

This commit is contained in:
Akash Yadav
2021-10-17 08:10:47 +05:30
parent 91ce02e2ee
commit cdbcbcc580
21 changed files with 18 additions and 140 deletions
-1
View File
@@ -141,7 +141,6 @@ dependencies {
// Local projects
implementation project(':sdk-info')
implementation project(':treeview')
implementation project(':emulator')
implementation project(':emulatorview')
implementation project(':javapoet')
implementation project(':lsp')
@@ -86,6 +86,22 @@ public final class Environment {
BUSYBOX = new File(BINDIR, "busybox");
SHELL = new File(BINDIR, "sh.sh");
if(!GRADLE.canExecute()) {
GRADLE.setExecutable(true);
}
if(!JAVA.canExecute()) {
JAVA.setExecutable(true);
}
if(!BUSYBOX.canExecute()) {
BUSYBOX.setExecutable(true);
}
if(!SHELL.canExecute()) {
SHELL.setExecutable(true);
}
System.setProperty("java.home", JAVA_HOME.getAbsolutePath());
}
@@ -124,7 +140,7 @@ public final class Environment {
map.put("LC_ALL", "en_US.UTF-8");
if(!publicUse) {
// These environment variables must not be provided to users
// These environment variables must not be accessed to users
map.put("JLS_HOME", JLS_HOME.getAbsolutePath());
}
-85
View File
@@ -1,85 +0,0 @@
# Built application files
*.apk
*.aar
*.ap_
*.aab
# Files for the ART/Dalvik VM
*.dex
# Java class files
*.class
# Generated files
bin/
gen/
out/
# Uncomment the following line in case you need and you don't have the release build type files in your app
# release/
# Gradle files
.gradle/
build/
# Local configuration file (sdk path, etc)
local.properties
# Proguard folder generated by Eclipse
proguard/
# Log Files
*.log
# Android Studio Navigation editor temp files
.navigation/
# Android Studio captures folder
captures/
# IntelliJ
*.iml
.idea/workspace.xml
.idea/tasks.xml
.idea/gradle.xml
.idea/assetWizardSettings.xml
.idea/dictionaries
.idea/libraries
# Android Studio 3 in .gitignore file.
.idea/caches
.idea/modules.xml
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
.idea/navEditor.xml
# Keystore files
# Uncomment the following lines if you do not want to check your keystore files in.
#*.jks
#*.keystore
# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
.cxx/
# Google Services (e.g. APIs or Firebase)
# google-services.json
# Freeline
freeline.py
freeline/
freeline_project_description.json
# fastlane
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
fastlane/readme.md
# Version control
vcs.xml
# lint
lint/intermediates/
lint/generated/
lint/outputs/
lint/tmp/
# lint/reports/
-24
View File
@@ -1,24 +0,0 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
defaultConfig {
minSdkVersion rootProject.ext.minSdk
targetSdkVersion rootProject.ext.targetSdk
versionCode rootProject.ext.versionCode
versionName rootProject.ext.versionName
}
buildTypes {
release {
minifyEnabled true
}
}
compileOptions {
sourceCompatibility rootProject.ext.javaSourceVersion
targetCompatibility rootProject.ext.javaTargetVersion
}
}
-25
View File
@@ -1,25 +0,0 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/fornwall/lib/android-sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-2
View File
@@ -1,2 +0,0 @@
<manifest package="com.itsaky.terminal">
</manifest>
@@ -1,7 +1,7 @@
package com.itsaky.terminal;
/**
* Native methods for creating and managing pseudoterminal subprocesses. C code is in jni/termux.c.
* Native methods for creating and managing pseudoterminal subprocesses.
*/
final class JNI {
-1
View File
@@ -1,7 +1,6 @@
include ':app'
include ':treeview'
include ':emulatorview'
include ':emulator'
include ':javapoet'
include ':lsp'
include ':sdk-info'