Przeglądaj źródła

v1.0.0开发:初始化接口重构开发

maijinpei 3 lat temu
rodzic
commit
66147bbbaf
100 zmienionych plików z 5612 dodań i 389 usunięć
  1. 5 1
      build.gradle
  2. 7 3
      demo/build.gradle
  3. 5 1
      demo/src/main/AndroidManifest.xml
  4. 1 1
      demo/src/main/assets/YyrhParam.cnf
  5. 93 0
      demo/src/main/java/com/demo/xinrui/CacheRoleInfo.kt
  6. 0 102
      demo/src/main/java/com/demo/xinrui/DemoActivity.java
  7. 109 0
      demo/src/main/java/com/demo/xinrui/DemoActivity.kt
  8. 0 22
      demo/src/main/java/com/demo/xinrui/DemoApplication.java
  9. 19 0
      demo/src/main/java/com/demo/xinrui/DemoApplication.kt
  10. 0 16
      demo/src/main/java/com/demo/xinrui/Item.java
  11. 7 0
      demo/src/main/java/com/demo/xinrui/Item.kt
  12. 0 93
      demo/src/main/java/com/demo/xinrui/WelcomeActivity.java
  13. 82 0
      demo/src/main/java/com/demo/xinrui/WelcomeActivity.kt
  14. 3 5
      gradle.properties
  15. 14 0
      library_xinrui/.cxx/abi_configuration_346p33e3.json
  16. 28 0
      library_xinrui/.cxx/abi_configuration_346p33e3_key.json
  17. BIN
      library_xinrui/.cxx/cmake/debug/arm64-v8a/.ninja_deps
  18. 48 11
      library_xinrui/.cxx/cmake/debug/arm64-v8a/.ninja_log
  19. BIN
      library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o
  20. BIN
      library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/comm_map.cpp.o
  21. BIN
      library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/md5.cpp.o
  22. BIN
      library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/params_kit.cpp.o
  23. BIN
      library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/tool_kit.cpp.o
  24. BIN
      library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o
  25. BIN
      library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/yylog.cpp.o
  26. 5 0
      library_xinrui/.cxx/cmake/debug/arm64-v8a/android_gradle_build.json
  27. 1 10
      library_xinrui/.cxx/cmake/debug/arm64-v8a/android_gradle_build_xinrui_arm64-v8a.stdout.txt
  28. 8 1
      library_xinrui/.cxx/cmake/debug/arm64-v8a/build.ninja
  29. 1 1
      library_xinrui/.cxx/cmake/debug/arm64-v8a/cmake_server_log.txt
  30. 6 0
      library_xinrui/.cxx/cmake/debug/arm64-v8a/compile_commands.json
  31. BIN
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/.ninja_deps
  32. 2 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/.ninja_log
  33. 362 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeCache.txt
  34. 73 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeCCompiler.cmake
  35. 75 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
  36. BIN
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
  37. BIN
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
  38. 15 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeSystem.cmake
  39. 3 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/TargetDirectories.txt
  40. 1 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/cmake.check_cache
  41. BIN
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/feature_tests.bin
  42. 34 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/feature_tests.c
  43. 405 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/feature_tests.cxx
  44. 93 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/android_gradle_build.json
  45. 20 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/android_gradle_build_mini.json
  46. 180 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/build.ninja
  47. 22 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/build_command.txt
  48. 212 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/build_model.json
  49. 13 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/build_output.txt
  50. 49 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/cmake_install.cmake
  51. 333 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/cmake_server_log.txt
  52. 67 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/compile_commands.json
  53. 32 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/json_generation_record.json
  54. 4 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/prefab_config.json
  55. 64 0
      library_xinrui/.cxx/cmake/debug/armeabi-v7a/rules.ninja
  56. BIN
      library_xinrui/.cxx/cmake/debug/x86/.ninja_deps
  57. 2 0
      library_xinrui/.cxx/cmake/debug/x86/.ninja_log
  58. 362 0
      library_xinrui/.cxx/cmake/debug/x86/CMakeCache.txt
  59. 73 0
      library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeCCompiler.cmake
  60. 75 0
      library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake
  61. BIN
      library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin
  62. BIN
      library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin
  63. 15 0
      library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeSystem.cmake
  64. 3 0
      library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/TargetDirectories.txt
  65. 1 0
      library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/cmake.check_cache
  66. BIN
      library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/feature_tests.bin
  67. 34 0
      library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/feature_tests.c
  68. 405 0
      library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/feature_tests.cxx
  69. 93 0
      library_xinrui/.cxx/cmake/debug/x86/android_gradle_build.json
  70. 20 0
      library_xinrui/.cxx/cmake/debug/x86/android_gradle_build_mini.json
  71. 180 0
      library_xinrui/.cxx/cmake/debug/x86/build.ninja
  72. 22 0
      library_xinrui/.cxx/cmake/debug/x86/build_command.txt
  73. 212 0
      library_xinrui/.cxx/cmake/debug/x86/build_model.json
  74. 13 0
      library_xinrui/.cxx/cmake/debug/x86/build_output.txt
  75. 49 0
      library_xinrui/.cxx/cmake/debug/x86/cmake_install.cmake
  76. 333 0
      library_xinrui/.cxx/cmake/debug/x86/cmake_server_log.txt
  77. 67 0
      library_xinrui/.cxx/cmake/debug/x86/compile_commands.json
  78. 32 0
      library_xinrui/.cxx/cmake/debug/x86/json_generation_record.json
  79. 4 0
      library_xinrui/.cxx/cmake/debug/x86/prefab_config.json
  80. 64 0
      library_xinrui/.cxx/cmake/debug/x86/rules.ninja
  81. 1 0
      library_xinrui/CMakeLists.txt
  82. BIN
      library_xinrui/libs/yyxx_support_1.0.1.jar
  83. 5 0
      library_xinrui/src/main/AndroidManifest.xml
  84. 41 1
      library_xinrui/src/main/cpp/aes_kit.cpp
  85. 10 11
      library_xinrui/src/main/cpp/comm_map.cpp
  86. 94 0
      library_xinrui/src/main/cpp/external/md5/md5.h
  87. 4 0
      library_xinrui/src/main/cpp/include/aes_kit.h
  88. 24 0
      library_xinrui/src/main/cpp/include/tool_kit.h
  89. 2 0
      library_xinrui/src/main/cpp/include/yylog.h
  90. 320 0
      library_xinrui/src/main/cpp/md5.cpp
  91. 147 0
      library_xinrui/src/main/cpp/tool_kit.cpp
  92. 59 20
      library_xinrui/src/main/cpp/xinrui.cpp
  93. 15 0
      library_xinrui/src/main/cpp/yylog.cpp
  94. 10 0
      library_xinrui/src/main/java/com/yyrh/internal/IImplCallback.java
  95. 1 13
      library_xinrui/src/main/java/com/yyrh/network/SdkRequest.java
  96. 10 10
      library_xinrui/src/main/java/com/yyrh/network/VolleyRequest.java
  97. 41 62
      library_xinrui/src/main/java/com/yyrh/sdk/SDKEntry.java
  98. 16 0
      library_xinrui/src/main/java/com/yyrh/sdk/YyrhSdkManager.java
  99. 9 5
      library_xinrui/src/main/java/com/yyrh/sdk/callback/InitCallback.java
  100. 243 0
      library_xinrui/src/main/java/com/yyrh/sdk/impl/SDKEntryImpl.java

+ 5 - 1
build.gradle

@@ -1,6 +1,10 @@
 // Top-level build file where you can add configuration options common to all sub-projects/modules.
 apply from: 'config.gradle'
 buildscript {
+
+    ext {
+        kotlin_version = '1.5.30'
+    }
     repositories {
         mavenCentral()
         google()
@@ -9,7 +13,7 @@ buildscript {
     }
     dependencies {
         classpath 'com.android.tools.build:gradle:4.1.3'
-
+        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
         // NOTE: Do not place your application dependencies here; they belong
         // in the individual module build.gradle files
     }

+ 7 - 3
demo/build.gradle

@@ -1,5 +1,6 @@
 plugins {
     id 'com.android.application'
+    id 'kotlin-android'
 }
 
 def keystorePropertiesFile = rootProject.file("keystore.properties")
@@ -61,12 +62,15 @@ android {
     }
 
     compileOptions {
-        sourceCompatibility JavaVersion.VERSION_1_7
-        targetCompatibility JavaVersion.VERSION_1_7
+        sourceCompatibility JavaVersion.VERSION_1_8
+        targetCompatibility JavaVersion.VERSION_1_8
+    }
+
+    kotlinOptions {
+        jvmTarget = '1.8'
     }
 }
 
 dependencies {
     implementation project(':library_xinrui')
-//    debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7'
 }

+ 5 - 1
demo/src/main/AndroidManifest.xml

@@ -3,7 +3,6 @@
     package="com.demo.xinrui">
 
 
-
     <application
         android:name=".DemoApplication"
         android:allowBackup="true"
@@ -37,6 +36,11 @@
                 <category android:name="android.intent.category.DEFAULT" />
             </intent-filter>
         </activity>
+
+        <meta-data
+            android:name="yyrh_game_code"
+            android:value="100001" />
+
     </application>
 
 </manifest>

+ 1 - 1
demo/src/main/assets/YyrhParam.cnf

@@ -1,2 +1,2 @@
-GCP_CODE=Y0201057
+GCP_CODE=Y01014601
 CHANNELTAG=YYRHSDK

+ 93 - 0
demo/src/main/java/com/demo/xinrui/CacheRoleInfo.kt

@@ -0,0 +1,93 @@
+package com.demo.xinrui
+
+import android.content.Context
+import android.text.TextUtils
+import org.json.JSONException
+import org.json.JSONObject
+
+/**
+ * @author #Suyghur.
+ * Created on 2020/12/7
+ */
+class CacheRoleInfo {
+
+
+    data class RoleInfo(
+        var roleId: String = "", var roleName: String = "", var roleLevel: String = "",
+        var serverCode: String = "", var serverName: String = "", var vipLevel: String = "",
+        var balance: String = "", var totalPurchase: Int = 0, var roleCTime: Long = 0
+    ) {
+
+
+        fun toJsonString(): String {
+            try {
+                val jsonObject = JSONObject()
+                jsonObject.put("role_id", roleId)
+                jsonObject.put("role_name", roleName)
+                jsonObject.put("role_level", roleLevel)
+                jsonObject.put("server_code", serverCode)
+                jsonObject.put("server_name", serverName)
+                jsonObject.put("vip_level", vipLevel)
+                jsonObject.put("balance", balance)
+                jsonObject.put("total_purchase", totalPurchase)
+                jsonObject.put("role_ctime", roleCTime)
+                return jsonObject.toString()
+            } catch (e: JSONException) {
+                e.printStackTrace()
+            }
+            return ""
+        }
+    }
+
+    companion object {
+
+        fun setDemoRoleInfo(context: Context, userId: String): RoleInfo {
+            val ts = System.currentTimeMillis() / 1000
+            val roleInfo = RoleInfo(
+                roleId = "aaa$ts",
+                roleName = "角色名123",
+                roleLevel = "110",
+                serverCode = "333",
+                serverName = "服务器名333",
+                vipLevel = "1",
+                balance = "600",
+                totalPurchase = 0,
+                roleCTime = ts
+            )
+            val info = roleInfo.toJsonString()
+            val sp = context.getSharedPreferences("app_role_info", Context.MODE_PRIVATE)
+            val editor = sp.edit()
+            editor.putString(userId, info)
+            editor.apply()
+            return roleInfo
+        }
+
+        fun getDemoRoleInfo(context: Context, userId: String): RoleInfo? {
+            try {
+                val sp = context.getSharedPreferences("app_role_info", Context.MODE_PRIVATE)
+                val info = sp.getString(userId, "")
+                return if (TextUtils.isEmpty(info)) {
+                    //没有则创建
+                    setDemoRoleInfo(context, userId)
+                } else {
+                    val jsonObject = JSONObject(info!!)
+                    RoleInfo(
+                        roleId = jsonObject.getString("role_id"),
+                        roleName = jsonObject.getString("role_name"),
+                        roleLevel = jsonObject.getString("role_level"),
+                        serverCode = jsonObject.getString("server_code"),
+                        serverName = jsonObject.getString("server_name"),
+                        vipLevel = jsonObject.getString("vip_level"),
+                        balance = jsonObject.getString("balance"),
+                        totalPurchase = jsonObject.getInt("total_purchase"),
+                        roleCTime = jsonObject.getLong("role_ctime")
+                    )
+                }
+
+            } catch (e: Exception) {
+                e.printStackTrace()
+            }
+            return null
+        }
+    }
+}

+ 0 - 102
demo/src/main/java/com/demo/xinrui/DemoActivity.java

@@ -1,102 +0,0 @@
-package com.demo.xinrui;
-
-import android.app.Activity;
-import android.os.Bundle;
-import android.os.Handler;
-import android.os.Looper;
-import android.os.Message;
-import android.support.annotation.NonNull;
-import android.support.annotation.Nullable;
-import android.view.View;
-import android.widget.Button;
-import android.widget.LinearLayout;
-import android.widget.ScrollView;
-import android.widget.TextView;
-
-import com.yyrh.entity.ResultInfo;
-import com.yyrh.impl.SdkBoost;
-import com.yyrh.internal.IRequestCallback;
-import com.yyrh.network.SdkRequest;
-import com.yyrh.utils.YYLog;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * @author #Suyghur.
- * Created on 2021/10/14
- */
-public class DemoActivity extends Activity implements View.OnClickListener {
-
-
-    private final List<Item> features = new ArrayList<Item>() {
-        {
-            add(new Item(1, "01 登录"));
-            add(new Item(2, "02 登出"));
-            add(new Item(3, "03 角色创建上报"));
-            add(new Item(4, "04 角色登录上报"));
-            add(new Item(5, "05 角色升级上报"));
-            add(new Item(6, "06 定额充值"));
-            add(new Item(7, "07 测试测试"));
-        }
-    };
-
-    private LinearLayout layout;
-    private TextView textView;
-
-    private final Handler handler = new Handler(Looper.getMainLooper()) {
-        @Override
-        public void handleMessage(@NonNull Message msg) {
-            if (msg.what == 10001) {
-                String text = textView.getText().toString();
-                textView.setText(text + msg.obj.toString());
-            }
-        }
-    };
-
-    @Override
-    protected void onCreate(@Nullable Bundle savedInstanceState) {
-        super.onCreate(savedInstanceState);
-        initView();
-        SdkRequest.initSdk(this, new IRequestCallback() {
-            @Override
-            public void onResponse(ResultInfo resultInfo) {
-
-            }
-        });
-
-        String enc = SdkBoost.getInstance().parseJob(this, "");
-        YYLog.d("enc2: "+enc);
-    }
-
-    private void initView() {
-        layout = new LinearLayout(this);
-        layout.setOrientation(LinearLayout.VERTICAL);
-
-        initButton();
-
-        textView = new TextView(this);
-        textView.setText("");
-        layout.addView(textView);
-
-        ScrollView scrollView = new ScrollView(this);
-        scrollView.addView(layout);
-        setContentView(scrollView);
-    }
-
-    private void initButton() {
-        for (Item item : features) {
-            Button button = new Button(this);
-            button.setText(item.name);
-            button.setId(item.id);
-            button.setTag(item.id);
-            button.setOnClickListener(this);
-            layout.addView(button);
-        }
-    }
-
-    @Override
-    public void onClick(View v) {
-
-    }
-}

+ 109 - 0
demo/src/main/java/com/demo/xinrui/DemoActivity.kt

@@ -0,0 +1,109 @@
+package com.demo.xinrui
+
+import android.app.Activity
+import android.os.Bundle
+import android.os.Handler
+import android.os.Looper
+import android.os.Message
+import android.view.View
+import android.widget.Button
+import android.widget.LinearLayout
+import android.widget.ScrollView
+import android.widget.TextView
+import cn.yyxx.support.hawkeye.LogUtils
+import com.yyrh.sdk.SDKEntry
+import com.yyrh.sdk.callback.InitCallback
+import com.yyrh.utils.YYLog
+import org.json.JSONObject
+
+/**
+ * @author #Suyghur.
+ * Created on 2021/10/18
+ */
+class DemoActivity : Activity(), View.OnClickListener {
+
+    private val events = arrayListOf(
+        Item(1, "01 登录"),
+        Item(2, "02 切换账号"),
+        Item(3, "03 角色创建上报"),
+        Item(4, "04 角色登录上报"),
+        Item(5, "05 角色升级上报"),
+        Item(6, "06 测试测试"),
+    )
+
+    private lateinit var layout: LinearLayout
+    private lateinit var mTextView: TextView
+
+    private val handler = object : Handler(Looper.getMainLooper()) {
+        override fun handleMessage(msg: Message) {
+            when (msg.what) {
+                10001 -> {
+                    with(mTextView) {
+                        text = text.toString() + msg.obj.toString()
+                    }
+                }
+            }
+        }
+    }
+
+    override fun onCreate(savedInstanceState: Bundle?) {
+        super.onCreate(savedInstanceState)
+        initView()
+        LogUtils.handler = handler
+        SDKEntry.getSdkInstance().initSdk(this, object : InitCallback {
+            override fun onInitSuccess(msg: String?) {
+
+            }
+
+            override fun onInitFailed(msg: String?) {
+            }
+
+            override fun onInitError(_strError: String?) {
+            }
+
+            override fun onGetOaid(isSuccess: Boolean, oaid: String?) {
+
+            }
+
+            override fun onShowGameExit() {
+            }
+
+        }, true);
+    }
+
+    private fun initView() {
+        layout = LinearLayout(this)
+        layout.orientation = LinearLayout.VERTICAL
+        initButton()
+        mTextView = TextView(this)
+        with(mTextView) {
+            text = ""
+            this@DemoActivity.layout.addView(this)
+        }
+        val scrollView = ScrollView(this)
+        scrollView.addView(layout)
+        setContentView(scrollView)
+    }
+
+    private fun initButton() {
+        for (event in events) {
+            with(Button(this)) {
+                text = event.name
+                tag = event.id
+                id = event.id
+                setOnClickListener(this@DemoActivity)
+                this@DemoActivity.layout.addView(this)
+            }
+        }
+    }
+
+    override fun onClick(v: View?) {
+        v?.apply {
+            when (id) {
+                6 -> {
+
+                }
+            }
+        }
+    }
+}

+ 0 - 22
demo/src/main/java/com/demo/xinrui/DemoApplication.java

@@ -1,22 +0,0 @@
-package com.demo.xinrui;
-
-import android.content.Context;
-
-import com.yythird.sdk.YYRhApplication;
-
-/**
- * @author #Suyghur.
- * Created on 2021/10/14
- */
-public class DemoApplication extends YYRhApplication {
-
-    @Override
-    protected void attachBaseContext(Context base) {
-        super.attachBaseContext(base);
-    }
-
-    @Override
-    public void onCreate() {
-        super.onCreate();
-    }
-}

+ 19 - 0
demo/src/main/java/com/demo/xinrui/DemoApplication.kt

@@ -0,0 +1,19 @@
+package com.demo.xinrui
+
+import android.content.Context
+import com.yythird.base.BaseApplication
+
+/**
+ * @author #Suyghur.
+ * Created on 2021/10/18
+ */
+class DemoApplication : BaseApplication() {
+
+    override fun attachBaseContext(base: Context?) {
+        super.attachBaseContext(base)
+    }
+
+    override fun onCreate() {
+        super.onCreate()
+    }
+}

+ 0 - 16
demo/src/main/java/com/demo/xinrui/Item.java

@@ -1,16 +0,0 @@
-package com.demo.xinrui;
-
-/**
- * @author #Suyghur.
- * Created on 2021/10/14
- */
-public class Item {
-
-    public int id;
-    public String name;
-
-    public Item(int id, String name) {
-        this.id = id;
-        this.name = name;
-    }
-}

+ 7 - 0
demo/src/main/java/com/demo/xinrui/Item.kt

@@ -0,0 +1,7 @@
+package com.demo.xinrui
+
+/**
+ * @author #Suyghur,
+ * Created on 2021/3/22
+ */
+class Item constructor(val id: Int, val name: String)

+ 0 - 93
demo/src/main/java/com/demo/xinrui/WelcomeActivity.java

@@ -1,93 +0,0 @@
-package com.demo.xinrui;
-
-import android.app.Activity;
-import android.content.Intent;
-import android.content.res.Configuration;
-import android.os.Bundle;
-import android.os.Handler;
-import android.os.Looper;
-import android.os.Message;
-import android.support.annotation.NonNull;
-import android.support.annotation.Nullable;
-import android.view.animation.AlphaAnimation;
-import android.view.animation.Animation;
-import android.widget.LinearLayout;
-
-import com.yyrh.utils.YYLog;
-
-import cn.yyxx.support.ResUtils;
-
-/**
- * @author #Suyghur.
- * Created on 2021/10/14
- */
-public class WelcomeActivity extends Activity {
-
-    private static final int CODE_GO_INIT = 0x000003E8;
-    private static final int CODE_GO_GAME_ACTIVITY = 0x000003E9;
-
-    private final Handler handler = new Handler(Looper.getMainLooper()) {
-        @Override
-        public void handleMessage(@NonNull Message msg) {
-            switch (msg.what) {
-                case CODE_GO_INIT:
-                    goInit();
-                    break;
-                case CODE_GO_GAME_ACTIVITY:
-                    goGameActivity();
-                    break;
-            }
-        }
-    };
-
-    @Override
-    protected void onCreate(@Nullable Bundle savedInstanceState) {
-        super.onCreate(savedInstanceState);
-        handler.sendEmptyMessageDelayed(CODE_GO_INIT, 400);
-    }
-
-    private void goInit() {
-        Animation animation = new AlphaAnimation(0.3f, 1.0f);
-        animation.setDuration(1500L);
-        animation.setAnimationListener(new Animation.AnimationListener() {
-            @Override
-            public void onAnimationStart(Animation animation) {
-
-            }
-
-            @Override
-            public void onAnimationEnd(Animation animation) {
-                handler.sendEmptyMessage(CODE_GO_GAME_ACTIVITY);
-            }
-
-            @Override
-            public void onAnimationRepeat(Animation animation) {
-
-            }
-        });
-        setView(animation);
-    }
-
-    private void goGameActivity() {
-        YYLog.i("goGameActivity -> action = " + getPackageName());
-        startActivity(new Intent(getPackageName()));
-        finish();
-    }
-
-    private void setView(Animation animation) {
-        int id = 0;
-        if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) {
-            id = ResUtils.getResId(this, "yyxx_welcome_land", "drawable");
-        } else {
-            id = ResUtils.getResId(this, "yyxx_welcome", "drawable");
-        }
-        if (id == 0) {
-            handler.sendEmptyMessage(CODE_GO_GAME_ACTIVITY);
-            return;
-        }
-        LinearLayout layout = new LinearLayout(this);
-        layout.setBackgroundResource(id);
-        layout.setAnimation(animation);
-        setContentView(layout);
-    }
-}

+ 82 - 0
demo/src/main/java/com/demo/xinrui/WelcomeActivity.kt

@@ -0,0 +1,82 @@
+package com.demo.xinrui
+
+import android.app.Activity
+import android.content.Intent
+import android.content.res.Configuration
+import android.os.Bundle
+import android.os.Handler
+import android.os.Looper
+import android.os.Message
+import android.view.animation.AlphaAnimation
+import android.view.animation.Animation
+import android.widget.LinearLayout
+import cn.yyxx.support.ResUtils
+import com.yyrh.utils.YYLog
+
+/**
+ * @author #Suyghur.
+ * Created on 2021/10/18
+ */
+class WelcomeActivity : Activity() {
+
+    companion object {
+        private const val CODE_GO_INIT = 0x000003E8
+        private const val CODE_GO_GAME_ACTIVITY = 0x000003E9
+    }
+
+    private val handler = object : Handler(Looper.getMainLooper()) {
+        override fun handleMessage(msg: Message) {
+            when (msg.what) {
+                CODE_GO_INIT -> goInit()
+                CODE_GO_GAME_ACTIVITY -> goGameActivity()
+            }
+        }
+    }
+
+    override fun onCreate(savedInstanceState: Bundle?) {
+        super.onCreate(savedInstanceState)
+        handler.sendEmptyMessageDelayed(CODE_GO_INIT, 400)
+    }
+
+    private fun goInit() {
+        val animation = AlphaAnimation(0.3f, 1.0f)
+        animation.duration = 1500
+        animation.setAnimationListener(object : Animation.AnimationListener {
+            override fun onAnimationStart(animation: Animation?) {
+            }
+
+            override fun onAnimationEnd(animation: Animation?) {
+                handler.sendEmptyMessage(CODE_GO_GAME_ACTIVITY)
+            }
+
+            override fun onAnimationRepeat(animation: Animation?) {
+            }
+        })
+        setView(animation)
+    }
+
+    private fun goGameActivity() {
+        YYLog.i("goGameActivity -> action = ${this.packageName}")
+        startActivity(Intent(this.packageName))
+        finish()
+    }
+
+
+    private fun setView(animation: Animation) {
+        val orientation = resources.configuration.orientation
+        val id = if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
+            ResUtils.getResId(this, "yyxx_welcome_land", "drawable")
+        } else {
+            ResUtils.getResId(this, "yyxx_welcome", "drawable")
+        }
+        if (id == 0) {
+            handler.sendEmptyMessage(CODE_GO_GAME_ACTIVITY)
+            return
+        }
+
+        val layout = LinearLayout(this)
+        layout.setBackgroundResource(id)
+        layout.animation = animation
+        setContentView(layout)
+    }
+}

+ 3 - 5
gradle.properties

@@ -6,14 +6,12 @@
 # http://www.gradle.org/docs/current/userguide/build_environment.html
 # Specifies the JVM arguments used for the daemon process.
 # The setting is particularly useful for tweaking memory settings.
-org.gradle.jvmargs=-Xmx2048m -Xms2048m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
+org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
 # When configured, Gradle will run in incubating parallel mode.
 # This option should only be used with decoupled projects. More details, visit
 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
 # org.gradle.parallel=true
-# AndroidX package structure to make it clearer which packages are bundled with the
-# Android operating system, and which are packaged with your app"s APK
-# https://developer.android.com/topic/libraries/support-library/androidx-rn
 android.injected.testOnly=false
 android.useAndroidX=false
-android.enableJetifier=false
+android.enableJetifier=false
+kotlin.code.style="official"

+ 14 - 0
library_xinrui/.cxx/abi_configuration_346p33e3.json

@@ -0,0 +1,14 @@
+{
+  "allAbis": [
+    "armeabi-v7a",
+    "arm64-v8a",
+    "x86",
+    "x86_64"
+  ],
+  "validAbis": [
+    "ARMEABI_V7A",
+    "ARM64_V8A",
+    "X86",
+    "X86_64"
+  ]
+}

+ 28 - 0
library_xinrui/.cxx/abi_configuration_346p33e3_key.json

@@ -0,0 +1,28 @@
+{
+  "ndkHandlerSupportedAbis": [
+    "ARMEABI_V7A",
+    "ARM64_V8A",
+    "X86",
+    "X86_64"
+  ],
+  "ndkHandlerDefaultAbis": [
+    "ARMEABI_V7A",
+    "ARM64_V8A",
+    "X86",
+    "X86_64"
+  ],
+  "externalNativeBuildAbiFilters": [
+    "x86_64",
+    "x86",
+    "armeabi-v7a",
+    "arm64-v8a"
+  ],
+  "ndkConfigAbiFilters": [
+    "armeabi-v7a",
+    "x86_64",
+    "arm64-v8a",
+    "x86"
+  ],
+  "splitsFilterAbis": [],
+  "ideBuildOnlyTargetAbi": true
+}

BIN
library_xinrui/.cxx/cmake/debug/arm64-v8a/.ninja_deps


+ 48 - 11
library_xinrui/.cxx/cmake/debug/arm64-v8a/.ninja_log

@@ -1,12 +1,49 @@
 # ninja log v5
-1	346	1634300613	CMakeFiles/xinrui.dir/src/main/cpp/hex_kit.cpp.o	fe5c00bdfdb342a4
-2	347	1634300613	CMakeFiles/xinrui.dir/src/main/cpp/hex_utils.cpp.o	86ecadef722b9766
-0	357	1634300613	CMakeFiles/xinrui.dir/src/main/cpp/aes.cpp.o	109a2fd0be67c09d
-1	683	1634300613	CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o	a0cee72daeba03bf
-4	723	1634300613	CMakeFiles/xinrui.dir/src/main/cpp/yylog.cpp.o	37004502a6d83782
-2	747	1634300613	CMakeFiles/xinrui.dir/src/main/cpp/params_kit.cpp.o	2e0594975a175ac2
-2	758	1634300613	CMakeFiles/xinrui.dir/src/main/cpp/tool_kit.cpp.o	cb6d4f788255af94
-1	1018	1634300613	CMakeFiles/xinrui.dir/src/main/cpp/comm_map.cpp.o	e4debdff63e6f2
-3	1027	1634300613	CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o	c87a8225142eea4d
-6	2626	1634300615	CMakeFiles/xinrui.dir/src/main/cpp/external/json/jsoncpp.cpp.o	139e35ab4c946f22
-2626	3018	1634300615	../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so	5c71cd37245391f5
+1	255	1634544132	CMakeFiles/xinrui.dir/src/main/cpp/aes.cpp.o	109a2fd0be67c09d
+2	295	1634544132	CMakeFiles/xinrui.dir/src/main/cpp/hex_utils.cpp.o	86ecadef722b9766
+2	308	1634544132	CMakeFiles/xinrui.dir/src/main/cpp/hex_kit.cpp.o	fe5c00bdfdb342a4
+3	698	1634544132	CMakeFiles/xinrui.dir/src/main/cpp/yylog.cpp.o	37004502a6d83782
+2	1066	1634544132	CMakeFiles/xinrui.dir/src/main/cpp/md5.cpp.o	fd3d851d7465ae
+1	1204	1634544132	CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o	a0cee72daeba03bf
+2	1235	1634544132	CMakeFiles/xinrui.dir/src/main/cpp/params_kit.cpp.o	2e0594975a175ac2
+1	1236	1634544132	CMakeFiles/xinrui.dir/src/main/cpp/comm_map.cpp.o	e4debdff63e6f2
+3	1302	1634544133	CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o	c87a8225142eea4d
+3	1469	1634544133	CMakeFiles/xinrui.dir/src/main/cpp/tool_kit.cpp.o	cb6d4f788255af94
+4	2831	1634544134	CMakeFiles/xinrui.dir/src/main/cpp/external/json/jsoncpp.cpp.o	139e35ab4c946f22
+2831	3253	1634544135	../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so	74ca15bcce4d4255
+2	1216	1634544278	CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o	c87a8225142eea4d
+1217	1752	1634544278	../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so	74ca15bcce4d4255
+3	862	1634546437	CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o	c87a8225142eea4d
+863	1335	1634546438	../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so	74ca15bcce4d4255
+3	1149	1634548315	CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o	c87a8225142eea4d
+1149	1639	1634548315	../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so	74ca15bcce4d4255
+2	919	1634548773	CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o	c87a8225142eea4d
+2	1013	1634548773	CMakeFiles/xinrui.dir/src/main/cpp/tool_kit.cpp.o	cb6d4f788255af94
+1013	1472	1634548774	../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so	74ca15bcce4d4255
+1	1130	1634548951	CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o	c87a8225142eea4d
+1130	1622	1634548952	../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so	74ca15bcce4d4255
+3	992	1634549243	CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o	c87a8225142eea4d
+992	1513	1634549243	../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so	74ca15bcce4d4255
+5	668	1634549555	CMakeFiles/xinrui.dir/src/main/cpp/yylog.cpp.o	37004502a6d83782
+3	862	1634549555	CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o	a0cee72daeba03bf
+3	877	1634549555	CMakeFiles/xinrui.dir/src/main/cpp/params_kit.cpp.o	2e0594975a175ac2
+5	930	1634549555	CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o	c87a8225142eea4d
+3	1043	1634549555	CMakeFiles/xinrui.dir/src/main/cpp/tool_kit.cpp.o	cb6d4f788255af94
+1043	1471	1634549556	../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so	74ca15bcce4d4255
+3	1165	1634549784	CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o	c87a8225142eea4d
+1165	1648	1634549784	../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so	74ca15bcce4d4255
+2	1159	1634549820	CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o	c87a8225142eea4d
+1160	1699	1634549821	../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so	74ca15bcce4d4255
+0	11	0	clean	18cb6c800028d740
+8	539	1634560155	CMakeFiles/xinrui.dir/src/main/cpp/hex_kit.cpp.o	fe5c00bdfdb342a4
+9	539	1634560155	CMakeFiles/xinrui.dir/src/main/cpp/hex_utils.cpp.o	86ecadef722b9766
+4	559	1634560155	CMakeFiles/xinrui.dir/src/main/cpp/aes.cpp.o	109a2fd0be67c09d
+15	964	1634560156	CMakeFiles/xinrui.dir/src/main/cpp/yylog.cpp.o	37004502a6d83782
+9	1340	1634560156	CMakeFiles/xinrui.dir/src/main/cpp/md5.cpp.o	fd3d851d7465ae
+8	1403	1634560156	CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o	a0cee72daeba03bf
+10	1418	1634560156	CMakeFiles/xinrui.dir/src/main/cpp/params_kit.cpp.o	2e0594975a175ac2
+8	1443	1634560156	CMakeFiles/xinrui.dir/src/main/cpp/comm_map.cpp.o	e4debdff63e6f2
+12	1514	1634560156	CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o	c87a8225142eea4d
+10	1718	1634560157	CMakeFiles/xinrui.dir/src/main/cpp/tool_kit.cpp.o	cb6d4f788255af94
+16	3418	1634560158	CMakeFiles/xinrui.dir/src/main/cpp/external/json/jsoncpp.cpp.o	139e35ab4c946f22
+3418	3861	1634560159	../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so	74ca15bcce4d4255

BIN
library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o


BIN
library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/comm_map.cpp.o


BIN
library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/md5.cpp.o


BIN
library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/params_kit.cpp.o


BIN
library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/tool_kit.cpp.o


BIN
library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o


BIN
library_xinrui/.cxx/cmake/debug/arm64-v8a/CMakeFiles/xinrui.dir/src/main/cpp/yylog.cpp.o


+ 5 - 0
library_xinrui/.cxx/cmake/debug/arm64-v8a/android_gradle_build.json

@@ -45,6 +45,11 @@
           "flagsOrdinal": 1,
           "workingDirectoryOrdinal": 0
         },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/md5.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
         {
           "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/params_kit.cpp",
           "flagsOrdinal": 1,

+ 1 - 10
library_xinrui/.cxx/cmake/debug/arm64-v8a/android_gradle_build_xinrui_arm64-v8a.stdout.txt

@@ -1,11 +1,2 @@
 ninja: Entering directory `/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/arm64-v8a'
-[1/2] Building CXX object CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o
-FAILED: CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o 
-/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android21 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC -MD -MT CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o -MF CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o.d -o CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o -c ../../../../src/main/cpp/aes_kit.cpp
-clang++: warning: -lz: 'linker' input unused [-Wunused-command-line-argument]
-clang++: warning: -lz: 'linker' input unused [-Wunused-command-line-argument]
-../../../../src/main/cpp/aes_kit.cpp:23:14: error: cannot initialize a variable of type 'uint8_t *' (aka 'unsigned char *') with an rvalue of type 'const uint8_t *' (aka 'const unsigned char *')
-    uint8_t *key = reinterpret_cast<const uint8_t *>(AES_KEY);
-             ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-1 error generated.
-ninja: build stopped: subcommand failed.
+ninja: no work to do.

+ 8 - 1
library_xinrui/.cxx/cmake/debug/arm64-v8a/build.ninja

@@ -91,6 +91,13 @@ build CMakeFiles/xinrui.dir/src/main/cpp/hex_utils.cpp.o: CXX_COMPILER__xinrui .
   INCLUDES = -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external
   OBJECT_DIR = CMakeFiles/xinrui.dir
   OBJECT_FILE_DIR = CMakeFiles/xinrui.dir/src/main/cpp
+build CMakeFiles/xinrui.dir/src/main/cpp/md5.cpp.o: CXX_COMPILER__xinrui ../../../../src/main/cpp/md5.cpp || cmake_object_order_depends_target_xinrui
+  DEFINES = -Dxinrui_EXPORTS
+  DEP_FILE = CMakeFiles/xinrui.dir/src/main/cpp/md5.cpp.o.d
+  FLAGS = -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC
+  INCLUDES = -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external
+  OBJECT_DIR = CMakeFiles/xinrui.dir
+  OBJECT_FILE_DIR = CMakeFiles/xinrui.dir/src/main/cpp
 build CMakeFiles/xinrui.dir/src/main/cpp/params_kit.cpp.o: CXX_COMPILER__xinrui ../../../../src/main/cpp/params_kit.cpp || cmake_object_order_depends_target_xinrui
   DEFINES = -Dxinrui_EXPORTS
   DEP_FILE = CMakeFiles/xinrui.dir/src/main/cpp/params_kit.cpp.o.d
@@ -134,7 +141,7 @@ build CMakeFiles/xinrui.dir/src/main/cpp/external/json/jsoncpp.cpp.o: CXX_COMPIL
 #############################################
 # Link the shared library ../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so
 
-build ../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so: CXX_SHARED_LIBRARY_LINKER__xinrui CMakeFiles/xinrui.dir/src/main/cpp/aes.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/comm_map.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/hex_kit.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/hex_utils.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/params_kit.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/tool_kit.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/yylog.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/external/json/jsoncpp.cpp.o | /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/21/liblog.so
+build ../../../../build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so: CXX_SHARED_LIBRARY_LINKER__xinrui CMakeFiles/xinrui.dir/src/main/cpp/aes.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/comm_map.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/hex_kit.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/hex_utils.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/md5.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/params_kit.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/tool_kit.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/yylog.cpp.o CMakeFiles/xinrui.dir/src/main/cpp/external/json/jsoncpp.cpp.o | /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/21/liblog.so
   LANGUAGE_COMPILE_FLAGS = -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info
   LINK_FLAGS = -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments
   LINK_LIBRARIES = -llog -latomic -lm

+ 1 - 1
library_xinrui/.cxx/cmake/debug/arm64-v8a/cmake_server_log.txt

@@ -345,7 +345,7 @@ CMAKE SERVER:
 
 CMAKE SERVER: [== "CMake Server" ==[
 
-CMAKE SERVER: {"configurations":[{"name":"Debug","projects":[{"buildDirectory":"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/arm64-v8a","name":"library_xinrui","sourceDirectory":"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui","targets":[{"artifacts":["/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so"],"buildDirectory":"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/arm64-v8a","fileGroups":[{"compileFlags":"-g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC  ","defines":["xinrui_EXPORTS"],"includePath":[{"path":"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/include"},{"path":"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/external"}],"isGenerated":false,"language":"CXX","sources":["src/main/cpp/aes.cpp","src/main/cpp/aes_kit.cpp","src/main/cpp/comm_map.cpp","src/main/cpp/hex_kit.cpp","src/main/cpp/hex_utils.cpp","src/main/cpp/params_kit.cpp","src/main/cpp/tool_kit.cpp","src/main/cpp/xinrui.cpp","src/main/cpp/yylog.cpp","src/main/cpp/external/json/jsoncpp.cpp"]}],"fullName":"libxinrui.so","linkFlags":"-Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments","linkLibraries":"-llog -latomic -lm","linkerLanguage":"CXX","name":"xinrui","sourceDirectory":"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui","sysroot":"/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot","type":"SHARED_LIBRARY"}]}]}],"cookie":"","inReplyTo":"codemodel","type":"reply"}
+CMAKE SERVER: {"configurations":[{"name":"Debug","projects":[{"buildDirectory":"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/arm64-v8a","name":"library_xinrui","sourceDirectory":"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui","targets":[{"artifacts":["/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj/arm64-v8a/libxinrui.so"],"buildDirectory":"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/arm64-v8a","fileGroups":[{"compileFlags":"-g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC  ","defines":["xinrui_EXPORTS"],"includePath":[{"path":"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/include"},{"path":"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/external"}],"isGenerated":false,"language":"CXX","sources":["src/main/cpp/aes.cpp","src/main/cpp/aes_kit.cpp","src/main/cpp/comm_map.cpp","src/main/cpp/hex_kit.cpp","src/main/cpp/hex_utils.cpp","src/main/cpp/md5.cpp","src/main/cpp/params_kit.cpp","src/main/cpp/tool_kit.cpp","src/main/cpp/xinrui.cpp","src/main/cpp/yylog.cpp","src/main/cpp/external/json/jsoncpp.cpp"]}],"fullName":"libxinrui.so","linkFlags":"-Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments","linkLibraries":"-llog -latomic -lm","linkerLanguage":"CXX","name":"xinrui","sourceDirectory":"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui","sysroot":"/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot","type":"SHARED_LIBRARY"}]}]}],"cookie":"","inReplyTo":"codemodel","type":"reply"}
 
 CMAKE SERVER: ]== "CMake Server" ==]
 

+ 6 - 0
library_xinrui/.cxx/cmake/debug/arm64-v8a/compile_commands.json

@@ -29,6 +29,12 @@
   "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/hex_utils.cpp"
 },
 
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/arm64-v8a",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android21 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/md5.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/md5.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/md5.cpp"
+},
+
 {
   "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/arm64-v8a",
   "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android21 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/params_kit.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/params_kit.cpp",

BIN
library_xinrui/.cxx/cmake/debug/armeabi-v7a/.ninja_deps


+ 2 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/.ninja_log

@@ -0,0 +1,2 @@
+# ninja log v5
+0	10	0	clean	18cb6c800028d740

+ 362 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeCache.txt

@@ -0,0 +1,362 @@
+# This is the CMakeCache file.
+# For build in directory: /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a
+# It was generated by CMake: /Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cmake
+# You can edit this file to change values found and used by cmake.
+# If you do not want to change any of the values, simply exit the editor.
+# If you do want to change a value, simply edit, save, and exit the editor.
+# The syntax for the file is as follows:
+# KEY:TYPE=VALUE
+# KEY is the name of a variable in the cache.
+# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
+# VALUE is the current value for the KEY.
+
+########################
+# EXTERNAL cache entries
+########################
+
+//No help, variable specified on the command line.
+ANDROID_ABI:UNINITIALIZED=armeabi-v7a
+
+//No help, variable specified on the command line.
+ANDROID_NDK:UNINITIALIZED=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529
+
+//No help, variable specified on the command line.
+ANDROID_PLATFORM:UNINITIALIZED=android-16
+
+//No help, variable specified on the command line.
+CMAKE_ANDROID_ARCH_ABI:UNINITIALIZED=armeabi-v7a
+
+//No help, variable specified on the command line.
+CMAKE_ANDROID_NDK:UNINITIALIZED=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529
+
+//Archiver
+CMAKE_AR:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar
+
+//Flags used by the compiler during all build types.
+CMAKE_ASM_FLAGS:STRING=
+
+//Flags used by the compiler during debug builds.
+CMAKE_ASM_FLAGS_DEBUG:STRING=
+
+//Flags used by the compiler during release builds.
+CMAKE_ASM_FLAGS_RELEASE:STRING=
+
+//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
+// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
+CMAKE_BUILD_TYPE:STRING=Debug
+
+//LLVM archiver
+CMAKE_CXX_COMPILER_AR:FILEPATH=CMAKE_CXX_COMPILER_AR-NOTFOUND
+
+//Generate index for LLVM archive
+CMAKE_CXX_COMPILER_RANLIB:FILEPATH=CMAKE_CXX_COMPILER_RANLIB-NOTFOUND
+
+//Flags used by the compiler during all build types.
+CMAKE_CXX_FLAGS:STRING=-std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz
+
+//Flags used by the compiler during debug builds.
+CMAKE_CXX_FLAGS_DEBUG:STRING=
+
+//Flags used by the compiler during release builds for minimum
+// size.
+CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
+
+//Flags used by the compiler during release builds.
+CMAKE_CXX_FLAGS_RELEASE:STRING=
+
+//Flags used by the compiler during release builds with debug info.
+CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
+
+//Libraries linked by default with all C++ applications.
+CMAKE_CXX_STANDARD_LIBRARIES:STRING=-latomic -lm
+
+//LLVM archiver
+CMAKE_C_COMPILER_AR:FILEPATH=CMAKE_C_COMPILER_AR-NOTFOUND
+
+//Generate index for LLVM archive
+CMAKE_C_COMPILER_RANLIB:FILEPATH=CMAKE_C_COMPILER_RANLIB-NOTFOUND
+
+//Flags used by the compiler during all build types.
+CMAKE_C_FLAGS:STRING=
+
+//Flags used by the compiler during debug builds.
+CMAKE_C_FLAGS_DEBUG:STRING=
+
+//Flags used by the compiler during release builds for minimum
+// size.
+CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
+
+//Flags used by the compiler during release builds.
+CMAKE_C_FLAGS_RELEASE:STRING=
+
+//Flags used by the compiler during release builds with debug info.
+CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
+
+//Libraries linked by default with all C applications.
+CMAKE_C_STANDARD_LIBRARIES:STRING=-latomic -lm
+
+//Flags used by the linker.
+CMAKE_EXE_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//Enable/Disable output of compile commands during generation.
+CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON
+
+//No help, variable specified on the command line.
+CMAKE_FIND_ROOT_PATH:UNINITIALIZED=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/prefab/armeabi-v7a/prefab
+
+//Install path prefix, prepended onto install directories.
+CMAKE_INSTALL_PREFIX:PATH=/usr/local
+
+//No help, variable specified on the command line.
+CMAKE_LIBRARY_OUTPUT_DIRECTORY:UNINITIALIZED=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj/armeabi-v7a
+
+//Path to a program.
+CMAKE_LINKER:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ld
+
+//No help, variable specified on the command line.
+CMAKE_MAKE_PROGRAM:UNINITIALIZED=/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja
+
+//Flags used by the linker during the creation of modules.
+CMAKE_MODULE_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//Path to a program.
+CMAKE_NM:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-nm
+
+//Path to a program.
+CMAKE_OBJCOPY:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-objcopy
+
+//Path to a program.
+CMAKE_OBJDUMP:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-objdump
+
+//Value Computed by CMake
+CMAKE_PROJECT_NAME:STATIC=library_xinrui
+
+//Ranlib
+CMAKE_RANLIB:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ranlib
+
+//Flags used by the linker during the creation of dll's.
+CMAKE_SHARED_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//If set, runtime paths are not added when installing shared libraries,
+// but are added when building.
+CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
+
+//If set, runtime paths are not added when using shared libraries.
+CMAKE_SKIP_RPATH:BOOL=NO
+
+//Flags used by the linker during the creation of static libraries.
+CMAKE_STATIC_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//Path to a program.
+CMAKE_STRIP:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip
+
+//No help, variable specified on the command line.
+CMAKE_SYSTEM_NAME:UNINITIALIZED=Android
+
+//No help, variable specified on the command line.
+CMAKE_SYSTEM_VERSION:UNINITIALIZED=16
+
+//The CMake toolchain file
+CMAKE_TOOLCHAIN_FILE:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake
+
+//If this value is on, makefiles will be generated without the
+// .SILENT directive, and all commands will be echoed to the console
+// during the make.  This is useful for debugging only. With Visual
+// Studio IDE projects all commands are done without /nologo.
+CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
+
+//Value Computed by CMake
+library_xinrui_BINARY_DIR:STATIC=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a
+
+//Value Computed by CMake
+library_xinrui_SOURCE_DIR:STATIC=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui
+
+//Path to a library.
+log-lib:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi/16/liblog.so
+
+//Dependencies for the target
+xinrui_LIB_DEPENDS:STATIC=general;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi/16/liblog.so;
+
+
+########################
+# INTERNAL cache entries
+########################
+
+//ADVANCED property for variable: CMAKE_AR
+CMAKE_AR-ADVANCED:INTERNAL=1
+//This is the directory where this CMakeCache.txt was created
+CMAKE_CACHEFILE_DIR:INTERNAL=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a
+//Major version of cmake used to create the current loaded cache
+CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
+//Minor version of cmake used to create the current loaded cache
+CMAKE_CACHE_MINOR_VERSION:INTERNAL=10
+//Patch version of cmake used to create the current loaded cache
+CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
+//Path to CMake executable.
+CMAKE_COMMAND:INTERNAL=/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cmake
+//Path to cpack program executable.
+CMAKE_CPACK_COMMAND:INTERNAL=/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cpack
+//Path to ctest program executable.
+CMAKE_CTEST_COMMAND:INTERNAL=/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ctest
+//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
+CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
+CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS
+CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
+CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
+CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
+CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
+CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
+CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_COMPILER_AR
+CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
+CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS
+CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
+CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
+CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
+CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
+CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
+CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
+CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
+CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
+CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
+CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
+CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
+//Name of external makefile project generator.
+CMAKE_EXTRA_GENERATOR:INTERNAL=
+//Name of generator.
+CMAKE_GENERATOR:INTERNAL=Ninja
+//Name of generator platform.
+CMAKE_GENERATOR_PLATFORM:INTERNAL=
+//Name of generator toolset.
+CMAKE_GENERATOR_TOOLSET:INTERNAL=
+//Source directory with the top level CMakeLists.txt file for this
+// project
+CMAKE_HOME_DIRECTORY:INTERNAL=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui
+//Install .so files without execute permission.
+CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
+//ADVANCED property for variable: CMAKE_LINKER
+CMAKE_LINKER-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
+CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
+CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
+CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
+CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_NM
+CMAKE_NM-ADVANCED:INTERNAL=1
+//number of local generators
+CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
+//ADVANCED property for variable: CMAKE_OBJCOPY
+CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_OBJDUMP
+CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
+//Platform information initialized
+CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_RANLIB
+CMAKE_RANLIB-ADVANCED:INTERNAL=1
+//Path to CMake installation.
+CMAKE_ROOT:INTERNAL=/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/share/cmake-3.10
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
+CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
+CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
+CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
+CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
+CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SKIP_RPATH
+CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
+CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
+CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
+CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
+CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STRIP
+CMAKE_STRIP-ADVANCED:INTERNAL=1
+//uname command
+CMAKE_UNAME:INTERNAL=/usr/bin/uname
+//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
+CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
+

+ 73 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeCCompiler.cmake

@@ -0,0 +1,73 @@
+set(CMAKE_C_COMPILER "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang")
+set(CMAKE_C_COMPILER_ARG1 "")
+set(CMAKE_C_COMPILER_ID "Clang")
+set(CMAKE_C_COMPILER_VERSION "9.0")
+set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
+set(CMAKE_C_COMPILER_WRAPPER "")
+set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
+set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
+set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
+set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
+set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
+
+set(CMAKE_C_PLATFORM_ID "")
+set(CMAKE_C_SIMULATE_ID "")
+set(CMAKE_C_SIMULATE_VERSION "")
+
+
+
+set(CMAKE_AR "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar")
+set(CMAKE_C_COMPILER_AR "CMAKE_C_COMPILER_AR-NOTFOUND")
+set(CMAKE_RANLIB "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ranlib")
+set(CMAKE_C_COMPILER_RANLIB "CMAKE_C_COMPILER_RANLIB-NOTFOUND")
+set(CMAKE_LINKER "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ld")
+set(CMAKE_COMPILER_IS_GNUCC )
+set(CMAKE_C_COMPILER_LOADED 1)
+set(CMAKE_C_COMPILER_WORKS TRUE)
+set(CMAKE_C_ABI_COMPILED TRUE)
+set(CMAKE_COMPILER_IS_MINGW )
+set(CMAKE_COMPILER_IS_CYGWIN )
+if(CMAKE_COMPILER_IS_CYGWIN)
+  set(CYGWIN 1)
+  set(UNIX 1)
+endif()
+
+set(CMAKE_C_COMPILER_ENV_VAR "CC")
+
+if(CMAKE_COMPILER_IS_MINGW)
+  set(MINGW 1)
+endif()
+set(CMAKE_C_COMPILER_ID_RUN 1)
+set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
+set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
+set(CMAKE_C_LINKER_PREFERENCE 10)
+
+# Save compiler ABI information.
+set(CMAKE_C_SIZEOF_DATA_PTR "4")
+set(CMAKE_C_COMPILER_ABI "ELF")
+set(CMAKE_C_LIBRARY_ARCHITECTURE "")
+
+if(CMAKE_C_SIZEOF_DATA_PTR)
+  set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
+endif()
+
+if(CMAKE_C_COMPILER_ABI)
+  set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
+endif()
+
+if(CMAKE_C_LIBRARY_ARCHITECTURE)
+  set(CMAKE_LIBRARY_ARCHITECTURE "")
+endif()
+
+set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
+if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
+  set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
+endif()
+
+
+
+
+
+set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;dl;c;gcc;dl")
+set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/9.0.9/lib/linux/arm;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/thumb;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/arm-linux-androideabi/lib/armv7-a/thumb;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi/16;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib")
+set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

+ 75 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake

@@ -0,0 +1,75 @@
+set(CMAKE_CXX_COMPILER "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++")
+set(CMAKE_CXX_COMPILER_ARG1 "")
+set(CMAKE_CXX_COMPILER_ID "Clang")
+set(CMAKE_CXX_COMPILER_VERSION "9.0")
+set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
+set(CMAKE_CXX_COMPILER_WRAPPER "")
+set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
+set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17")
+set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
+set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
+set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
+set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
+
+set(CMAKE_CXX_PLATFORM_ID "")
+set(CMAKE_CXX_SIMULATE_ID "")
+set(CMAKE_CXX_SIMULATE_VERSION "")
+
+
+
+set(CMAKE_AR "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar")
+set(CMAKE_CXX_COMPILER_AR "CMAKE_CXX_COMPILER_AR-NOTFOUND")
+set(CMAKE_RANLIB "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ranlib")
+set(CMAKE_CXX_COMPILER_RANLIB "CMAKE_CXX_COMPILER_RANLIB-NOTFOUND")
+set(CMAKE_LINKER "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ld")
+set(CMAKE_COMPILER_IS_GNUCXX )
+set(CMAKE_CXX_COMPILER_LOADED 1)
+set(CMAKE_CXX_COMPILER_WORKS TRUE)
+set(CMAKE_CXX_ABI_COMPILED TRUE)
+set(CMAKE_COMPILER_IS_MINGW )
+set(CMAKE_COMPILER_IS_CYGWIN )
+if(CMAKE_COMPILER_IS_CYGWIN)
+  set(CYGWIN 1)
+  set(UNIX 1)
+endif()
+
+set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
+
+if(CMAKE_COMPILER_IS_MINGW)
+  set(MINGW 1)
+endif()
+set(CMAKE_CXX_COMPILER_ID_RUN 1)
+set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
+set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
+set(CMAKE_CXX_LINKER_PREFERENCE 30)
+set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
+
+# Save compiler ABI information.
+set(CMAKE_CXX_SIZEOF_DATA_PTR "4")
+set(CMAKE_CXX_COMPILER_ABI "ELF")
+set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
+
+if(CMAKE_CXX_SIZEOF_DATA_PTR)
+  set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
+endif()
+
+if(CMAKE_CXX_COMPILER_ABI)
+  set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
+endif()
+
+if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
+  set(CMAKE_LIBRARY_ARCHITECTURE "")
+endif()
+
+set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
+if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
+  set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
+endif()
+
+
+
+
+
+set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "z;z;c++;m;gcc;dl;c;gcc;dl")
+set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/9.0.9/lib/linux/arm;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/thumb;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/arm-linux-androideabi/lib/armv7-a/thumb;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi/16;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib")
+set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

BIN
library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin


BIN
library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin


+ 15 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/3.10.2/CMakeSystem.cmake

@@ -0,0 +1,15 @@
+set(CMAKE_HOST_SYSTEM "Darwin-20.6.0")
+set(CMAKE_HOST_SYSTEM_NAME "Darwin")
+set(CMAKE_HOST_SYSTEM_VERSION "20.6.0")
+set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
+
+include("/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake")
+
+set(CMAKE_SYSTEM "Android-1")
+set(CMAKE_SYSTEM_NAME "Android")
+set(CMAKE_SYSTEM_VERSION "1")
+set(CMAKE_SYSTEM_PROCESSOR "armv7-a")
+
+set(CMAKE_CROSSCOMPILING "TRUE")
+
+set(CMAKE_SYSTEM_LOADED 1)

+ 3 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/TargetDirectories.txt

@@ -0,0 +1,3 @@
+/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/rebuild_cache.dir
+/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/edit_cache.dir
+/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/xinrui.dir

+ 1 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/cmake.check_cache

@@ -0,0 +1 @@
+# This file is generated by cmake for dependency checking of the CMakeCache.txt file

BIN
library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/feature_tests.bin


+ 34 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/feature_tests.c

@@ -0,0 +1,34 @@
+
+  const char features[] = {"\n"
+"C_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304
+"1"
+#else
+"0"
+#endif
+"c_function_prototypes\n"
+"C_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+"1"
+#else
+"0"
+#endif
+"c_restrict\n"
+"C_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
+"1"
+#else
+"0"
+#endif
+"c_static_assert\n"
+"C_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+"1"
+#else
+"0"
+#endif
+"c_variadic_macros\n"
+
+};
+
+int main(int argc, char** argv) { (void)argv; return features[argc]; }

+ 405 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/CMakeFiles/feature_tests.cxx

@@ -0,0 +1,405 @@
+
+  const char features[] = {"\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_aggregate_nsdmi)
+"1"
+#else
+"0"
+#endif
+"cxx_aggregate_default_initializers\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_alias_templates)
+"1"
+#else
+"0"
+#endif
+"cxx_alias_templates\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_alignas)
+"1"
+#else
+"0"
+#endif
+"cxx_alignas\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_alignas)
+"1"
+#else
+"0"
+#endif
+"cxx_alignof\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_attributes)
+"1"
+#else
+"0"
+#endif
+"cxx_attributes\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_attribute_deprecated\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_auto_type)
+"1"
+#else
+"0"
+#endif
+"cxx_auto_type\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_binary_literals)
+"1"
+#else
+"0"
+#endif
+"cxx_binary_literals\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_constexpr)
+"1"
+#else
+"0"
+#endif
+"cxx_constexpr\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_contextual_conversions)
+"1"
+#else
+"0"
+#endif
+"cxx_contextual_conversions\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_decltype)
+"1"
+#else
+"0"
+#endif
+"cxx_decltype\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_decltype_auto\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_decltype_incomplete_return_types)
+"1"
+#else
+"0"
+#endif
+"cxx_decltype_incomplete_return_types\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_default_function_template_args)
+"1"
+#else
+"0"
+#endif
+"cxx_default_function_template_args\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_defaulted_functions)
+"1"
+#else
+"0"
+#endif
+"cxx_defaulted_functions\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_defaulted_functions)
+"1"
+#else
+"0"
+#endif
+"cxx_defaulted_move_initializers\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_delegating_constructors)
+"1"
+#else
+"0"
+#endif
+"cxx_delegating_constructors\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_deleted_functions)
+"1"
+#else
+"0"
+#endif
+"cxx_deleted_functions\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_digit_separators\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_enum_forward_declarations\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_explicit_conversions)
+"1"
+#else
+"0"
+#endif
+"cxx_explicit_conversions\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_extended_friend_declarations\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_extern_templates\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_override_control)
+"1"
+#else
+"0"
+#endif
+"cxx_final\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_func_identifier\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_generalized_initializers)
+"1"
+#else
+"0"
+#endif
+"cxx_generalized_initializers\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_generic_lambdas\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_inheriting_constructors)
+"1"
+#else
+"0"
+#endif
+"cxx_inheriting_constructors\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_inline_namespaces\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_lambdas)
+"1"
+#else
+"0"
+#endif
+"cxx_lambdas\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_init_captures)
+"1"
+#else
+"0"
+#endif
+"cxx_lambda_init_captures\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_local_type_template_args)
+"1"
+#else
+"0"
+#endif
+"cxx_local_type_template_args\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_long_long_type\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_noexcept)
+"1"
+#else
+"0"
+#endif
+"cxx_noexcept\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_nonstatic_member_init)
+"1"
+#else
+"0"
+#endif
+"cxx_nonstatic_member_init\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_nullptr)
+"1"
+#else
+"0"
+#endif
+"cxx_nullptr\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_override_control)
+"1"
+#else
+"0"
+#endif
+"cxx_override\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_range_for)
+"1"
+#else
+"0"
+#endif
+"cxx_range_for\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_raw_string_literals)
+"1"
+#else
+"0"
+#endif
+"cxx_raw_string_literals\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_reference_qualified_functions)
+"1"
+#else
+"0"
+#endif
+"cxx_reference_qualified_functions\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_relaxed_constexpr)
+"1"
+#else
+"0"
+#endif
+"cxx_relaxed_constexpr\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_return_type_deduction)
+"1"
+#else
+"0"
+#endif
+"cxx_return_type_deduction\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_right_angle_brackets\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_rvalue_references)
+"1"
+#else
+"0"
+#endif
+"cxx_rvalue_references\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_sizeof_member\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_static_assert)
+"1"
+#else
+"0"
+#endif
+"cxx_static_assert\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_strong_enums)
+"1"
+#else
+"0"
+#endif
+"cxx_strong_enums\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 199711L
+"1"
+#else
+"0"
+#endif
+"cxx_template_template_parameters\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_thread_local)
+"1"
+#else
+"0"
+#endif
+"cxx_thread_local\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_trailing_return)
+"1"
+#else
+"0"
+#endif
+"cxx_trailing_return_types\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_unicode_literals)
+"1"
+#else
+"0"
+#endif
+"cxx_unicode_literals\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_generalized_initializers)
+"1"
+#else
+"0"
+#endif
+"cxx_uniform_initialization\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_unrestricted_unions)
+"1"
+#else
+"0"
+#endif
+"cxx_unrestricted_unions\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_user_literals)
+"1"
+#else
+"0"
+#endif
+"cxx_user_literals\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_variable_templates)
+"1"
+#else
+"0"
+#endif
+"cxx_variable_templates\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_variadic_macros\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_variadic_templates)
+"1"
+#else
+"0"
+#endif
+"cxx_variadic_templates\n"
+
+};
+
+int main(int argc, char** argv) { (void)argv; return features[argc]; }

+ 93 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/android_gradle_build.json

@@ -0,0 +1,93 @@
+{
+  "stringTable": {
+    "0": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+    "1": "--target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info -fPIC"
+  },
+  "buildFiles": [
+    "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake",
+    "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/platforms.cmake"
+  ],
+  "cleanCommands": [
+    "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a\" clean"
+  ],
+  "buildTargetsCommand": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja  -C \"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a\" {LIST_OF_TARGETS_TO_BUILD}",
+  "libraries": {
+    "xinrui-Debug-armeabi-v7a": {
+      "buildCommand": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a\" xinrui",
+      "buildType": "debug",
+      "toolchain": "115308568",
+      "abi": "armeabi-v7a",
+      "artifactName": "xinrui",
+      "files": [
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/aes.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/aes_kit.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/comm_map.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/hex_kit.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/hex_utils.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/md5.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/params_kit.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/tool_kit.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/xinrui.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/yylog.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/external/json/jsoncpp.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        }
+      ],
+      "headers": [],
+      "output": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj/armeabi-v7a/libxinrui.so",
+      "runtimeFiles": []
+    }
+  },
+  "toolchains": {
+    "115308568": {
+      "cppCompilerExecutable": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++"
+    }
+  },
+  "cFileExtensions": [],
+  "cppFileExtensions": [
+    "cpp"
+  ]
+}

+ 20 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/android_gradle_build_mini.json

@@ -0,0 +1,20 @@
+{
+  "buildFiles": [
+    "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake",
+    "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/platforms.cmake"
+  ],
+  "cleanCommands": [
+    "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a\" clean"
+  ],
+  "buildTargetsCommand": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja  -C \"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a\" {LIST_OF_TARGETS_TO_BUILD}",
+  "libraries": {
+    "xinrui-Debug-armeabi-v7a": {
+      "artifactName": "xinrui",
+      "buildCommand": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a\" xinrui",
+      "abi": "armeabi-v7a",
+      "output": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj/armeabi-v7a/libxinrui.so",
+      "runtimeFiles": []
+    }
+  }
+}

Plik diff jest za duży
+ 180 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/build.ninja


+ 22 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/build_command.txt

@@ -0,0 +1,22 @@
+                Executable : /Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cmake
+arguments : 
+-H/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui
+-DCMAKE_CXX_FLAGS=-std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz
+-DCMAKE_FIND_ROOT_PATH=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/prefab/armeabi-v7a/prefab
+-DCMAKE_BUILD_TYPE=Debug
+-DCMAKE_TOOLCHAIN_FILE=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake
+-DANDROID_ABI=armeabi-v7a
+-DANDROID_NDK=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529
+-DANDROID_PLATFORM=android-16
+-DCMAKE_ANDROID_ARCH_ABI=armeabi-v7a
+-DCMAKE_ANDROID_NDK=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529
+-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
+-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj/armeabi-v7a
+-DCMAKE_MAKE_PROGRAM=/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja
+-DCMAKE_SYSTEM_NAME=Android
+-DCMAKE_SYSTEM_VERSION=16
+-B/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a
+-GNinja
+jvmArgs : 
+
+Build command args:

+ 212 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/build_model.json

@@ -0,0 +1,212 @@
+{
+  "abi": "ARMEABI_V7A",
+  "abiPlatformVersion": 16,
+  "buildSettings": {
+    "environmentVariables": []
+  },
+  "cmake": {
+    "cmakeArtifactsBaseFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+    "cmakeServerLogFile": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a/cmake_server_log.txt",
+    "cmakeWrappingBaseFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cxx/debug/armeabi-v7a",
+    "effectiveConfiguration": {
+      "name": "traditional-android-studio-cmake-environment",
+      "description": "Composite reified CMakeSettings configuration",
+      "generator": "Ninja",
+      "inheritEnvironments": [
+        "ndk"
+      ],
+      "buildRoot": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+      "cmakeToolchain": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake",
+      "cmakeExecutable": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cmake",
+      "variables": [
+        {
+          "name": "CMAKE_CXX_FLAGS",
+          "value": "-std\u003dc++11 -frtti -fexceptions -lz -std\u003dc++11 -frtti -fexceptions -lz"
+        },
+        {
+          "name": "CMAKE_FIND_ROOT_PATH",
+          "value": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/prefab/armeabi-v7a/prefab"
+        },
+        {
+          "name": "CMAKE_BUILD_TYPE",
+          "value": "Debug"
+        },
+        {
+          "name": "CMAKE_TOOLCHAIN_FILE",
+          "value": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake"
+        },
+        {
+          "name": "ANDROID_ABI",
+          "value": "armeabi-v7a"
+        },
+        {
+          "name": "ANDROID_NDK",
+          "value": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529"
+        },
+        {
+          "name": "ANDROID_PLATFORM",
+          "value": "android-16"
+        },
+        {
+          "name": "CMAKE_ANDROID_ARCH_ABI",
+          "value": "armeabi-v7a"
+        },
+        {
+          "name": "CMAKE_ANDROID_NDK",
+          "value": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529"
+        },
+        {
+          "name": "CMAKE_EXPORT_COMPILE_COMMANDS",
+          "value": "ON"
+        },
+        {
+          "name": "CMAKE_LIBRARY_OUTPUT_DIRECTORY",
+          "value": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj/armeabi-v7a"
+        },
+        {
+          "name": "CMAKE_MAKE_PROGRAM",
+          "value": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja"
+        },
+        {
+          "name": "CMAKE_SYSTEM_NAME",
+          "value": "Android"
+        },
+        {
+          "name": "CMAKE_SYSTEM_VERSION",
+          "value": "16"
+        }
+      ]
+    }
+  },
+  "cxxBuildFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+  "info": {
+    "abi": "ARMEABI_V7A",
+    "bitness": 32,
+    "deprecated": false,
+    "default": true
+  },
+  "originalCxxBuildFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+  "variant": {
+    "buildSystemArgumentList": [],
+    "buildTargetSet": [],
+    "implicitBuildTargetSet": [],
+    "cFlagsList": [],
+    "cmakeSettingsConfiguration": "android-gradle-plugin-predetermined-name",
+    "cppFlagsList": [
+      "-std\u003dc++11 -frtti -fexceptions -lz",
+      "-std\u003dc++11 -frtti -fexceptions -lz"
+    ],
+    "isDebuggableEnabled": true,
+    "module": {
+      "buildSystem": "CMAKE",
+      "cmake": {
+        "cmakeExe": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cmake",
+        "minimumCmakeVersion": "3.10.2",
+        "ninjaExe": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja"
+      },
+      "cmakeToolchainFile": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake",
+      "cxxFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx",
+      "gradleModulePathName": ":library_xinrui",
+      "intermediatesFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates",
+      "makeFile": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+      "moduleBuildFile": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build.gradle",
+      "moduleRootFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui",
+      "ndkDefaultAbiList": [
+        "ARMEABI_V7A",
+        "ARM64_V8A",
+        "X86",
+        "X86_64"
+      ],
+      "ndkFolder": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529",
+      "ndkMetaAbiList": [
+        {
+          "abi": "ARMEABI_V7A",
+          "bitness": 32,
+          "deprecated": false,
+          "default": true
+        },
+        {
+          "abi": "ARM64_V8A",
+          "bitness": 64,
+          "deprecated": false,
+          "default": true
+        },
+        {
+          "abi": "X86",
+          "bitness": 32,
+          "deprecated": false,
+          "default": true
+        },
+        {
+          "abi": "X86_64",
+          "bitness": 64,
+          "deprecated": false,
+          "default": true
+        }
+      ],
+      "ndkMetaPlatforms": {
+        "min": 16,
+        "max": 30,
+        "aliases": {
+          "20": 19,
+          "25": 24,
+          "J": 16,
+          "J-MR1": 17,
+          "J-MR2": 18,
+          "K": 19,
+          "L": 21,
+          "L-MR1": 22,
+          "M": 23,
+          "N": 24,
+          "N-MR1": 24,
+          "O": 26,
+          "O-MR1": 27,
+          "P": 28,
+          "Q": 29,
+          "R": 30
+        }
+      },
+      "ndkSupportedAbiList": [
+        "ARMEABI_V7A",
+        "ARM64_V8A",
+        "X86",
+        "X86_64"
+      ],
+      "ndkDefaultStl": "LIBCXX_STATIC",
+      "ndkVersion": "21.4.7075529",
+      "project": {
+        "compilerSettingsCacheFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/.cxx",
+        "cxxFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/.cxx",
+        "isBuildOnlyTargetAbiEnabled": true,
+        "isCmakeBuildCohabitationEnabled": false,
+        "isNativeCompilerSettingsCacheEnabled": false,
+        "rootBuildGradleFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk",
+        "sdkFolder": "/Users/suyghur/Develop/Android/sdk",
+        "isPrefabEnabled": false
+      },
+      "splitsAbiFilterSet": [],
+      "stlSharedObjectMap": {
+        "LIBCXX_SHARED": {
+          "ARMEABI_V7A": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi/libc++_shared.so",
+          "ARM64_V8A": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so",
+          "X86": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/i686-linux-android/libc++_shared.so",
+          "X86_64": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/x86_64-linux-android/libc++_shared.so"
+        },
+        "LIBCXX_STATIC": {},
+        "NONE": {},
+        "SYSTEM": {}
+      }
+    },
+    "objFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj",
+    "variantName": "debug",
+    "validAbiList": [
+      "ARMEABI_V7A",
+      "ARM64_V8A",
+      "X86",
+      "X86_64"
+    ],
+    "prefabDirectory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/prefab",
+    "prefabPackageDirectoryList": []
+  },
+  "prefabFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/prefab/armeabi-v7a"
+}

+ 13 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/build_output.txt

@@ -0,0 +1,13 @@
+Check for working C compiler: /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
+Check for working C compiler: /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- works
+Detecting C compiler ABI info
+Detecting C compiler ABI info - done
+Detecting C compile features
+Detecting C compile features - done
+Check for working CXX compiler: /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
+Check for working CXX compiler: /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- works
+Detecting CXX compiler ABI info
+Detecting CXX compiler ABI info - done
+Detecting CXX compile features
+Detecting CXX compile features - done
+Configuring done

+ 49 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/cmake_install.cmake

@@ -0,0 +1,49 @@
+# Install script for directory: /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui
+
+# Set the install prefix
+if(NOT DEFINED CMAKE_INSTALL_PREFIX)
+  set(CMAKE_INSTALL_PREFIX "/usr/local")
+endif()
+string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+  if(BUILD_TYPE)
+    string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+           CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+  else()
+    set(CMAKE_INSTALL_CONFIG_NAME "Debug")
+  endif()
+  message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+endif()
+
+# Set the component getting installed.
+if(NOT CMAKE_INSTALL_COMPONENT)
+  if(COMPONENT)
+    message(STATUS "Install component: \"${COMPONENT}\"")
+    set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+  else()
+    set(CMAKE_INSTALL_COMPONENT)
+  endif()
+endif()
+
+# Install shared libraries without execute permission?
+if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+  set(CMAKE_INSTALL_SO_NO_EXE "0")
+endif()
+
+# Is this installation the result of a crosscompile?
+if(NOT DEFINED CMAKE_CROSSCOMPILING)
+  set(CMAKE_CROSSCOMPILING "TRUE")
+endif()
+
+if(CMAKE_INSTALL_COMPONENT)
+  set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
+else()
+  set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
+endif()
+
+string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
+       "${CMAKE_INSTALL_MANIFEST_FILES}")
+file(WRITE "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a/${CMAKE_INSTALL_MANIFEST}"
+     "${CMAKE_INSTALL_MANIFEST_CONTENT}")

Plik diff jest za duży
+ 333 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/cmake_server_log.txt


+ 67 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/compile_commands.json

@@ -0,0 +1,67 @@
+[
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/aes.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/aes.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/aes.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/aes_kit.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/aes_kit.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/comm_map.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/comm_map.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/comm_map.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/hex_kit.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/hex_kit.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/hex_kit.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/hex_utils.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/hex_utils.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/hex_utils.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/md5.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/md5.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/md5.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/params_kit.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/params_kit.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/params_kit.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/tool_kit.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/tool_kit.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/tool_kit.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/xinrui.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/xinrui.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/yylog.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/yylog.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/yylog.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/external/json/jsoncpp.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/external/json/jsoncpp.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/external/json/jsoncpp.cpp"
+}
+]

+ 32 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/json_generation_record.json

@@ -0,0 +1,32 @@
+[
+  {
+    "level": "INFO",
+    "message": "Start JSON generation. Platform version: 16 min SDK version: armeabi-v7a",
+    "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "tag": "debug|armeabi-v7a"
+  },
+  {
+    "level": "INFO",
+    "message": "Trying to locate CMake in local SDK repository.",
+    "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "tag": "debug|armeabi-v7a"
+  },
+  {
+    "level": "INFO",
+    "message": "- CMake found in SDK at \u0027/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404\u0027 had version \u00273.10.2\u0027",
+    "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "tag": "debug|armeabi-v7a"
+  },
+  {
+    "level": "INFO",
+    "message": "JSON \u0027/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a/android_gradle_build.json\u0027 was up-to-date",
+    "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "tag": "debug|armeabi-v7a"
+  },
+  {
+    "level": "INFO",
+    "message": "JSON generation completed without problems",
+    "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "tag": "debug|armeabi-v7a"
+  }
+]

+ 4 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/prefab_config.json

@@ -0,0 +1,4 @@
+{
+  "enabled": false,
+  "packages": []
+}

+ 64 - 0
library_xinrui/.cxx/cmake/debug/armeabi-v7a/rules.ninja

@@ -0,0 +1,64 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Ninja" Generator, CMake Version 3.10
+
+# This file contains all the rules used to get the outputs files
+# built from the input files.
+# It is included in the main 'build.ninja'.
+
+# =============================================================================
+# Project: library_xinrui
+# Configuration: Debug
+# =============================================================================
+# =============================================================================
+
+#############################################
+# Rule for running custom commands.
+
+rule CUSTOM_COMMAND
+  command = $COMMAND
+  description = $DESC
+
+
+#############################################
+# Rule for compiling CXX files.
+
+rule CXX_COMPILER__xinrui
+  depfile = $DEP_FILE
+  deps = gcc
+  command = /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
+  description = Building CXX object $out
+
+
+#############################################
+# Rule for linking CXX shared library.
+
+rule CXX_SHARED_LIBRARY_LINKER__xinrui
+  command = $PRE_LINK && /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
+  description = Linking CXX shared library $TARGET_FILE
+  restat = $RESTAT
+
+
+#############################################
+# Rule for re-running cmake.
+
+rule RERUN_CMAKE
+  command = /Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cmake -H/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui -B/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/armeabi-v7a
+  description = Re-running CMake...
+  generator = 1
+
+
+#############################################
+# Rule for cleaning all built files.
+
+rule CLEAN
+  command = /Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja -t clean
+  description = Cleaning all built files...
+
+
+#############################################
+# Rule for printing all primary targets available.
+
+rule HELP
+  command = /Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja -t targets
+  description = All primary targets available:
+

BIN
library_xinrui/.cxx/cmake/debug/x86/.ninja_deps


+ 2 - 0
library_xinrui/.cxx/cmake/debug/x86/.ninja_log

@@ -0,0 +1,2 @@
+# ninja log v5
+0	7	0	clean	18cb6c800028d740

+ 362 - 0
library_xinrui/.cxx/cmake/debug/x86/CMakeCache.txt

@@ -0,0 +1,362 @@
+# This is the CMakeCache file.
+# For build in directory: /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86
+# It was generated by CMake: /Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cmake
+# You can edit this file to change values found and used by cmake.
+# If you do not want to change any of the values, simply exit the editor.
+# If you do want to change a value, simply edit, save, and exit the editor.
+# The syntax for the file is as follows:
+# KEY:TYPE=VALUE
+# KEY is the name of a variable in the cache.
+# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
+# VALUE is the current value for the KEY.
+
+########################
+# EXTERNAL cache entries
+########################
+
+//No help, variable specified on the command line.
+ANDROID_ABI:UNINITIALIZED=x86
+
+//No help, variable specified on the command line.
+ANDROID_NDK:UNINITIALIZED=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529
+
+//No help, variable specified on the command line.
+ANDROID_PLATFORM:UNINITIALIZED=android-16
+
+//No help, variable specified on the command line.
+CMAKE_ANDROID_ARCH_ABI:UNINITIALIZED=x86
+
+//No help, variable specified on the command line.
+CMAKE_ANDROID_NDK:UNINITIALIZED=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529
+
+//Archiver
+CMAKE_AR:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ar
+
+//Flags used by the compiler during all build types.
+CMAKE_ASM_FLAGS:STRING=
+
+//Flags used by the compiler during debug builds.
+CMAKE_ASM_FLAGS_DEBUG:STRING=
+
+//Flags used by the compiler during release builds.
+CMAKE_ASM_FLAGS_RELEASE:STRING=
+
+//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
+// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
+CMAKE_BUILD_TYPE:STRING=Debug
+
+//LLVM archiver
+CMAKE_CXX_COMPILER_AR:FILEPATH=CMAKE_CXX_COMPILER_AR-NOTFOUND
+
+//Generate index for LLVM archive
+CMAKE_CXX_COMPILER_RANLIB:FILEPATH=CMAKE_CXX_COMPILER_RANLIB-NOTFOUND
+
+//Flags used by the compiler during all build types.
+CMAKE_CXX_FLAGS:STRING=-std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz
+
+//Flags used by the compiler during debug builds.
+CMAKE_CXX_FLAGS_DEBUG:STRING=
+
+//Flags used by the compiler during release builds for minimum
+// size.
+CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
+
+//Flags used by the compiler during release builds.
+CMAKE_CXX_FLAGS_RELEASE:STRING=
+
+//Flags used by the compiler during release builds with debug info.
+CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
+
+//Libraries linked by default with all C++ applications.
+CMAKE_CXX_STANDARD_LIBRARIES:STRING=-latomic -lm
+
+//LLVM archiver
+CMAKE_C_COMPILER_AR:FILEPATH=CMAKE_C_COMPILER_AR-NOTFOUND
+
+//Generate index for LLVM archive
+CMAKE_C_COMPILER_RANLIB:FILEPATH=CMAKE_C_COMPILER_RANLIB-NOTFOUND
+
+//Flags used by the compiler during all build types.
+CMAKE_C_FLAGS:STRING=
+
+//Flags used by the compiler during debug builds.
+CMAKE_C_FLAGS_DEBUG:STRING=
+
+//Flags used by the compiler during release builds for minimum
+// size.
+CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
+
+//Flags used by the compiler during release builds.
+CMAKE_C_FLAGS_RELEASE:STRING=
+
+//Flags used by the compiler during release builds with debug info.
+CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
+
+//Libraries linked by default with all C applications.
+CMAKE_C_STANDARD_LIBRARIES:STRING=-latomic -lm
+
+//Flags used by the linker.
+CMAKE_EXE_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//Enable/Disable output of compile commands during generation.
+CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON
+
+//No help, variable specified on the command line.
+CMAKE_FIND_ROOT_PATH:UNINITIALIZED=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/prefab/x86/prefab
+
+//Install path prefix, prepended onto install directories.
+CMAKE_INSTALL_PREFIX:PATH=/usr/local
+
+//No help, variable specified on the command line.
+CMAKE_LIBRARY_OUTPUT_DIRECTORY:UNINITIALIZED=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj/x86
+
+//Path to a program.
+CMAKE_LINKER:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ld
+
+//No help, variable specified on the command line.
+CMAKE_MAKE_PROGRAM:UNINITIALIZED=/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja
+
+//Flags used by the linker during the creation of modules.
+CMAKE_MODULE_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//Path to a program.
+CMAKE_NM:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-nm
+
+//Path to a program.
+CMAKE_OBJCOPY:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-objcopy
+
+//Path to a program.
+CMAKE_OBJDUMP:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-objdump
+
+//Value Computed by CMake
+CMAKE_PROJECT_NAME:STATIC=library_xinrui
+
+//Ranlib
+CMAKE_RANLIB:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ranlib
+
+//Flags used by the linker during the creation of dll's.
+CMAKE_SHARED_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//If set, runtime paths are not added when installing shared libraries,
+// but are added when building.
+CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
+
+//If set, runtime paths are not added when using shared libraries.
+CMAKE_SKIP_RPATH:BOOL=NO
+
+//Flags used by the linker during the creation of static libraries.
+CMAKE_STATIC_LINKER_FLAGS:STRING=
+
+//Flags used by the linker during debug builds.
+CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
+
+//Flags used by the linker during release minsize builds.
+CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
+
+//Flags used by the linker during release builds.
+CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
+
+//Flags used by the linker during Release with Debug Info builds.
+CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
+
+//Path to a program.
+CMAKE_STRIP:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-strip
+
+//No help, variable specified on the command line.
+CMAKE_SYSTEM_NAME:UNINITIALIZED=Android
+
+//No help, variable specified on the command line.
+CMAKE_SYSTEM_VERSION:UNINITIALIZED=16
+
+//The CMake toolchain file
+CMAKE_TOOLCHAIN_FILE:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake
+
+//If this value is on, makefiles will be generated without the
+// .SILENT directive, and all commands will be echoed to the console
+// during the make.  This is useful for debugging only. With Visual
+// Studio IDE projects all commands are done without /nologo.
+CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
+
+//Value Computed by CMake
+library_xinrui_BINARY_DIR:STATIC=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86
+
+//Value Computed by CMake
+library_xinrui_SOURCE_DIR:STATIC=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui
+
+//Path to a library.
+log-lib:FILEPATH=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/i686-linux-android/16/liblog.so
+
+//Dependencies for the target
+xinrui_LIB_DEPENDS:STATIC=general;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/i686-linux-android/16/liblog.so;
+
+
+########################
+# INTERNAL cache entries
+########################
+
+//ADVANCED property for variable: CMAKE_AR
+CMAKE_AR-ADVANCED:INTERNAL=1
+//This is the directory where this CMakeCache.txt was created
+CMAKE_CACHEFILE_DIR:INTERNAL=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86
+//Major version of cmake used to create the current loaded cache
+CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
+//Minor version of cmake used to create the current loaded cache
+CMAKE_CACHE_MINOR_VERSION:INTERNAL=10
+//Patch version of cmake used to create the current loaded cache
+CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
+//Path to CMake executable.
+CMAKE_COMMAND:INTERNAL=/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cmake
+//Path to cpack program executable.
+CMAKE_CPACK_COMMAND:INTERNAL=/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cpack
+//Path to ctest program executable.
+CMAKE_CTEST_COMMAND:INTERNAL=/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ctest
+//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
+CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
+CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS
+CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
+CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
+CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
+CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
+CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
+CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_COMPILER_AR
+CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
+CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS
+CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
+CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
+CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
+CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
+CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
+CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
+CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
+CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
+CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
+CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
+CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
+//Name of external makefile project generator.
+CMAKE_EXTRA_GENERATOR:INTERNAL=
+//Name of generator.
+CMAKE_GENERATOR:INTERNAL=Ninja
+//Name of generator platform.
+CMAKE_GENERATOR_PLATFORM:INTERNAL=
+//Name of generator toolset.
+CMAKE_GENERATOR_TOOLSET:INTERNAL=
+//Source directory with the top level CMakeLists.txt file for this
+// project
+CMAKE_HOME_DIRECTORY:INTERNAL=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui
+//Install .so files without execute permission.
+CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
+//ADVANCED property for variable: CMAKE_LINKER
+CMAKE_LINKER-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
+CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
+CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
+CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
+CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_NM
+CMAKE_NM-ADVANCED:INTERNAL=1
+//number of local generators
+CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
+//ADVANCED property for variable: CMAKE_OBJCOPY
+CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_OBJDUMP
+CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
+//Platform information initialized
+CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_RANLIB
+CMAKE_RANLIB-ADVANCED:INTERNAL=1
+//Path to CMake installation.
+CMAKE_ROOT:INTERNAL=/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/share/cmake-3.10
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
+CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
+CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
+CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
+CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
+CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_SKIP_RPATH
+CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
+CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
+CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
+CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
+CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
+CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
+//ADVANCED property for variable: CMAKE_STRIP
+CMAKE_STRIP-ADVANCED:INTERNAL=1
+//uname command
+CMAKE_UNAME:INTERNAL=/usr/bin/uname
+//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
+CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
+

+ 73 - 0
library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeCCompiler.cmake

@@ -0,0 +1,73 @@
+set(CMAKE_C_COMPILER "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang")
+set(CMAKE_C_COMPILER_ARG1 "")
+set(CMAKE_C_COMPILER_ID "Clang")
+set(CMAKE_C_COMPILER_VERSION "9.0")
+set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
+set(CMAKE_C_COMPILER_WRAPPER "")
+set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
+set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
+set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
+set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
+set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
+
+set(CMAKE_C_PLATFORM_ID "")
+set(CMAKE_C_SIMULATE_ID "")
+set(CMAKE_C_SIMULATE_VERSION "")
+
+
+
+set(CMAKE_AR "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ar")
+set(CMAKE_C_COMPILER_AR "CMAKE_C_COMPILER_AR-NOTFOUND")
+set(CMAKE_RANLIB "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ranlib")
+set(CMAKE_C_COMPILER_RANLIB "CMAKE_C_COMPILER_RANLIB-NOTFOUND")
+set(CMAKE_LINKER "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ld")
+set(CMAKE_COMPILER_IS_GNUCC )
+set(CMAKE_C_COMPILER_LOADED 1)
+set(CMAKE_C_COMPILER_WORKS TRUE)
+set(CMAKE_C_ABI_COMPILED TRUE)
+set(CMAKE_COMPILER_IS_MINGW )
+set(CMAKE_COMPILER_IS_CYGWIN )
+if(CMAKE_COMPILER_IS_CYGWIN)
+  set(CYGWIN 1)
+  set(UNIX 1)
+endif()
+
+set(CMAKE_C_COMPILER_ENV_VAR "CC")
+
+if(CMAKE_COMPILER_IS_MINGW)
+  set(MINGW 1)
+endif()
+set(CMAKE_C_COMPILER_ID_RUN 1)
+set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
+set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
+set(CMAKE_C_LINKER_PREFERENCE 10)
+
+# Save compiler ABI information.
+set(CMAKE_C_SIZEOF_DATA_PTR "4")
+set(CMAKE_C_COMPILER_ABI "ELF")
+set(CMAKE_C_LIBRARY_ARCHITECTURE "")
+
+if(CMAKE_C_SIZEOF_DATA_PTR)
+  set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
+endif()
+
+if(CMAKE_C_COMPILER_ABI)
+  set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
+endif()
+
+if(CMAKE_C_LIBRARY_ARCHITECTURE)
+  set(CMAKE_LIBRARY_ARCHITECTURE "")
+endif()
+
+set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
+if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
+  set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
+endif()
+
+
+
+
+
+set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;dl;c;gcc;dl")
+set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/9.0.9/lib/linux/i386;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/i686-linux-android/4.9.x;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/i686-linux-android/16;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/i686-linux-android;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/i686-linux-android/lib;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib")
+set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

+ 75 - 0
library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeCXXCompiler.cmake

@@ -0,0 +1,75 @@
+set(CMAKE_CXX_COMPILER "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++")
+set(CMAKE_CXX_COMPILER_ARG1 "")
+set(CMAKE_CXX_COMPILER_ID "Clang")
+set(CMAKE_CXX_COMPILER_VERSION "9.0")
+set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
+set(CMAKE_CXX_COMPILER_WRAPPER "")
+set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
+set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17")
+set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
+set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
+set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
+set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
+
+set(CMAKE_CXX_PLATFORM_ID "")
+set(CMAKE_CXX_SIMULATE_ID "")
+set(CMAKE_CXX_SIMULATE_VERSION "")
+
+
+
+set(CMAKE_AR "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ar")
+set(CMAKE_CXX_COMPILER_AR "CMAKE_CXX_COMPILER_AR-NOTFOUND")
+set(CMAKE_RANLIB "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ranlib")
+set(CMAKE_CXX_COMPILER_RANLIB "CMAKE_CXX_COMPILER_RANLIB-NOTFOUND")
+set(CMAKE_LINKER "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android-ld")
+set(CMAKE_COMPILER_IS_GNUCXX )
+set(CMAKE_CXX_COMPILER_LOADED 1)
+set(CMAKE_CXX_COMPILER_WORKS TRUE)
+set(CMAKE_CXX_ABI_COMPILED TRUE)
+set(CMAKE_COMPILER_IS_MINGW )
+set(CMAKE_COMPILER_IS_CYGWIN )
+if(CMAKE_COMPILER_IS_CYGWIN)
+  set(CYGWIN 1)
+  set(UNIX 1)
+endif()
+
+set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
+
+if(CMAKE_COMPILER_IS_MINGW)
+  set(MINGW 1)
+endif()
+set(CMAKE_CXX_COMPILER_ID_RUN 1)
+set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
+set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
+set(CMAKE_CXX_LINKER_PREFERENCE 30)
+set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
+
+# Save compiler ABI information.
+set(CMAKE_CXX_SIZEOF_DATA_PTR "4")
+set(CMAKE_CXX_COMPILER_ABI "ELF")
+set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
+
+if(CMAKE_CXX_SIZEOF_DATA_PTR)
+  set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
+endif()
+
+if(CMAKE_CXX_COMPILER_ABI)
+  set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
+endif()
+
+if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
+  set(CMAKE_LIBRARY_ARCHITECTURE "")
+endif()
+
+set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
+if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
+  set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
+endif()
+
+
+
+
+
+set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "z;z;c++;m;gcc;dl;c;gcc;dl")
+set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/9.0.9/lib/linux/i386;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/i686-linux-android/4.9.x;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/i686-linux-android/16;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/i686-linux-android;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/i686-linux-android/lib;/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib")
+set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

BIN
library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_C.bin


BIN
library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeDetermineCompilerABI_CXX.bin


+ 15 - 0
library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/3.10.2/CMakeSystem.cmake

@@ -0,0 +1,15 @@
+set(CMAKE_HOST_SYSTEM "Darwin-20.6.0")
+set(CMAKE_HOST_SYSTEM_NAME "Darwin")
+set(CMAKE_HOST_SYSTEM_VERSION "20.6.0")
+set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
+
+include("/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake")
+
+set(CMAKE_SYSTEM "Android-1")
+set(CMAKE_SYSTEM_NAME "Android")
+set(CMAKE_SYSTEM_VERSION "1")
+set(CMAKE_SYSTEM_PROCESSOR "i686")
+
+set(CMAKE_CROSSCOMPILING "TRUE")
+
+set(CMAKE_SYSTEM_LOADED 1)

+ 3 - 0
library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/TargetDirectories.txt

@@ -0,0 +1,3 @@
+/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/rebuild_cache.dir
+/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/edit_cache.dir
+/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/xinrui.dir

+ 1 - 0
library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/cmake.check_cache

@@ -0,0 +1 @@
+# This file is generated by cmake for dependency checking of the CMakeCache.txt file

BIN
library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/feature_tests.bin


+ 34 - 0
library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/feature_tests.c

@@ -0,0 +1,34 @@
+
+  const char features[] = {"\n"
+"C_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304
+"1"
+#else
+"0"
+#endif
+"c_function_prototypes\n"
+"C_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+"1"
+#else
+"0"
+#endif
+"c_restrict\n"
+"C_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
+"1"
+#else
+"0"
+#endif
+"c_static_assert\n"
+"C_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+"1"
+#else
+"0"
+#endif
+"c_variadic_macros\n"
+
+};
+
+int main(int argc, char** argv) { (void)argv; return features[argc]; }

+ 405 - 0
library_xinrui/.cxx/cmake/debug/x86/CMakeFiles/feature_tests.cxx

@@ -0,0 +1,405 @@
+
+  const char features[] = {"\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_aggregate_nsdmi)
+"1"
+#else
+"0"
+#endif
+"cxx_aggregate_default_initializers\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_alias_templates)
+"1"
+#else
+"0"
+#endif
+"cxx_alias_templates\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_alignas)
+"1"
+#else
+"0"
+#endif
+"cxx_alignas\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_alignas)
+"1"
+#else
+"0"
+#endif
+"cxx_alignof\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_attributes)
+"1"
+#else
+"0"
+#endif
+"cxx_attributes\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_attribute_deprecated\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_auto_type)
+"1"
+#else
+"0"
+#endif
+"cxx_auto_type\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_binary_literals)
+"1"
+#else
+"0"
+#endif
+"cxx_binary_literals\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_constexpr)
+"1"
+#else
+"0"
+#endif
+"cxx_constexpr\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_contextual_conversions)
+"1"
+#else
+"0"
+#endif
+"cxx_contextual_conversions\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_decltype)
+"1"
+#else
+"0"
+#endif
+"cxx_decltype\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_decltype_auto\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_decltype_incomplete_return_types)
+"1"
+#else
+"0"
+#endif
+"cxx_decltype_incomplete_return_types\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_default_function_template_args)
+"1"
+#else
+"0"
+#endif
+"cxx_default_function_template_args\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_defaulted_functions)
+"1"
+#else
+"0"
+#endif
+"cxx_defaulted_functions\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_defaulted_functions)
+"1"
+#else
+"0"
+#endif
+"cxx_defaulted_move_initializers\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_delegating_constructors)
+"1"
+#else
+"0"
+#endif
+"cxx_delegating_constructors\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_deleted_functions)
+"1"
+#else
+"0"
+#endif
+"cxx_deleted_functions\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_digit_separators\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_enum_forward_declarations\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_explicit_conversions)
+"1"
+#else
+"0"
+#endif
+"cxx_explicit_conversions\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_extended_friend_declarations\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_extern_templates\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_override_control)
+"1"
+#else
+"0"
+#endif
+"cxx_final\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_func_identifier\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_generalized_initializers)
+"1"
+#else
+"0"
+#endif
+"cxx_generalized_initializers\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_generic_lambdas\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_inheriting_constructors)
+"1"
+#else
+"0"
+#endif
+"cxx_inheriting_constructors\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_inline_namespaces\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_lambdas)
+"1"
+#else
+"0"
+#endif
+"cxx_lambdas\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_init_captures)
+"1"
+#else
+"0"
+#endif
+"cxx_lambda_init_captures\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_local_type_template_args)
+"1"
+#else
+"0"
+#endif
+"cxx_local_type_template_args\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_long_long_type\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_noexcept)
+"1"
+#else
+"0"
+#endif
+"cxx_noexcept\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_nonstatic_member_init)
+"1"
+#else
+"0"
+#endif
+"cxx_nonstatic_member_init\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_nullptr)
+"1"
+#else
+"0"
+#endif
+"cxx_nullptr\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_override_control)
+"1"
+#else
+"0"
+#endif
+"cxx_override\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_range_for)
+"1"
+#else
+"0"
+#endif
+"cxx_range_for\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_raw_string_literals)
+"1"
+#else
+"0"
+#endif
+"cxx_raw_string_literals\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_reference_qualified_functions)
+"1"
+#else
+"0"
+#endif
+"cxx_reference_qualified_functions\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_relaxed_constexpr)
+"1"
+#else
+"0"
+#endif
+"cxx_relaxed_constexpr\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_return_type_deduction)
+"1"
+#else
+"0"
+#endif
+"cxx_return_type_deduction\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_right_angle_brackets\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_rvalue_references)
+"1"
+#else
+"0"
+#endif
+"cxx_rvalue_references\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_sizeof_member\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_static_assert)
+"1"
+#else
+"0"
+#endif
+"cxx_static_assert\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_strong_enums)
+"1"
+#else
+"0"
+#endif
+"cxx_strong_enums\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 199711L
+"1"
+#else
+"0"
+#endif
+"cxx_template_template_parameters\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_thread_local)
+"1"
+#else
+"0"
+#endif
+"cxx_thread_local\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_trailing_return)
+"1"
+#else
+"0"
+#endif
+"cxx_trailing_return_types\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_unicode_literals)
+"1"
+#else
+"0"
+#endif
+"cxx_unicode_literals\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_generalized_initializers)
+"1"
+#else
+"0"
+#endif
+"cxx_uniform_initialization\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_unrestricted_unions)
+"1"
+#else
+"0"
+#endif
+"cxx_unrestricted_unions\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_user_literals)
+"1"
+#else
+"0"
+#endif
+"cxx_user_literals\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_variable_templates)
+"1"
+#else
+"0"
+#endif
+"cxx_variable_templates\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L
+"1"
+#else
+"0"
+#endif
+"cxx_variadic_macros\n"
+"CXX_FEATURE:"
+#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_variadic_templates)
+"1"
+#else
+"0"
+#endif
+"cxx_variadic_templates\n"
+
+};
+
+int main(int argc, char** argv) { (void)argv; return features[argc]; }

+ 93 - 0
library_xinrui/.cxx/cmake/debug/x86/android_gradle_build.json

@@ -0,0 +1,93 @@
+{
+  "stringTable": {
+    "0": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+    "1": "--target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info -fPIC"
+  },
+  "buildFiles": [
+    "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake",
+    "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/platforms.cmake"
+  ],
+  "cleanCommands": [
+    "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86\" clean"
+  ],
+  "buildTargetsCommand": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja  -C \"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86\" {LIST_OF_TARGETS_TO_BUILD}",
+  "libraries": {
+    "xinrui-Debug-x86": {
+      "buildCommand": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86\" xinrui",
+      "buildType": "debug",
+      "toolchain": "115308568",
+      "abi": "x86",
+      "artifactName": "xinrui",
+      "files": [
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/aes.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/aes_kit.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/comm_map.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/hex_kit.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/hex_utils.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/md5.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/params_kit.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/tool_kit.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/xinrui.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/yylog.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        },
+        {
+          "src": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/external/json/jsoncpp.cpp",
+          "flagsOrdinal": 1,
+          "workingDirectoryOrdinal": 0
+        }
+      ],
+      "headers": [],
+      "output": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj/x86/libxinrui.so",
+      "runtimeFiles": []
+    }
+  },
+  "toolchains": {
+    "115308568": {
+      "cppCompilerExecutable": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++"
+    }
+  },
+  "cFileExtensions": [],
+  "cppFileExtensions": [
+    "cpp"
+  ]
+}

+ 20 - 0
library_xinrui/.cxx/cmake/debug/x86/android_gradle_build_mini.json

@@ -0,0 +1,20 @@
+{
+  "buildFiles": [
+    "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake",
+    "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/platforms.cmake"
+  ],
+  "cleanCommands": [
+    "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86\" clean"
+  ],
+  "buildTargetsCommand": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja  -C \"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86\" {LIST_OF_TARGETS_TO_BUILD}",
+  "libraries": {
+    "xinrui-Debug-x86": {
+      "artifactName": "xinrui",
+      "buildCommand": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja -C \"/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86\" xinrui",
+      "abi": "x86",
+      "output": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj/x86/libxinrui.so",
+      "runtimeFiles": []
+    }
+  }
+}

Plik diff jest za duży
+ 180 - 0
library_xinrui/.cxx/cmake/debug/x86/build.ninja


+ 22 - 0
library_xinrui/.cxx/cmake/debug/x86/build_command.txt

@@ -0,0 +1,22 @@
+                Executable : /Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cmake
+arguments : 
+-H/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui
+-DCMAKE_CXX_FLAGS=-std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz
+-DCMAKE_FIND_ROOT_PATH=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/prefab/x86/prefab
+-DCMAKE_BUILD_TYPE=Debug
+-DCMAKE_TOOLCHAIN_FILE=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake
+-DANDROID_ABI=x86
+-DANDROID_NDK=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529
+-DANDROID_PLATFORM=android-16
+-DCMAKE_ANDROID_ARCH_ABI=x86
+-DCMAKE_ANDROID_NDK=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529
+-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
+-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj/x86
+-DCMAKE_MAKE_PROGRAM=/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja
+-DCMAKE_SYSTEM_NAME=Android
+-DCMAKE_SYSTEM_VERSION=16
+-B/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86
+-GNinja
+jvmArgs : 
+
+Build command args:

+ 212 - 0
library_xinrui/.cxx/cmake/debug/x86/build_model.json

@@ -0,0 +1,212 @@
+{
+  "abi": "X86",
+  "abiPlatformVersion": 16,
+  "buildSettings": {
+    "environmentVariables": []
+  },
+  "cmake": {
+    "cmakeArtifactsBaseFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+    "cmakeServerLogFile": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86/cmake_server_log.txt",
+    "cmakeWrappingBaseFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cxx/debug/x86",
+    "effectiveConfiguration": {
+      "name": "traditional-android-studio-cmake-environment",
+      "description": "Composite reified CMakeSettings configuration",
+      "generator": "Ninja",
+      "inheritEnvironments": [
+        "ndk"
+      ],
+      "buildRoot": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+      "cmakeToolchain": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake",
+      "cmakeExecutable": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cmake",
+      "variables": [
+        {
+          "name": "CMAKE_CXX_FLAGS",
+          "value": "-std\u003dc++11 -frtti -fexceptions -lz -std\u003dc++11 -frtti -fexceptions -lz"
+        },
+        {
+          "name": "CMAKE_FIND_ROOT_PATH",
+          "value": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/prefab/x86/prefab"
+        },
+        {
+          "name": "CMAKE_BUILD_TYPE",
+          "value": "Debug"
+        },
+        {
+          "name": "CMAKE_TOOLCHAIN_FILE",
+          "value": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake"
+        },
+        {
+          "name": "ANDROID_ABI",
+          "value": "x86"
+        },
+        {
+          "name": "ANDROID_NDK",
+          "value": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529"
+        },
+        {
+          "name": "ANDROID_PLATFORM",
+          "value": "android-16"
+        },
+        {
+          "name": "CMAKE_ANDROID_ARCH_ABI",
+          "value": "x86"
+        },
+        {
+          "name": "CMAKE_ANDROID_NDK",
+          "value": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529"
+        },
+        {
+          "name": "CMAKE_EXPORT_COMPILE_COMMANDS",
+          "value": "ON"
+        },
+        {
+          "name": "CMAKE_LIBRARY_OUTPUT_DIRECTORY",
+          "value": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj/x86"
+        },
+        {
+          "name": "CMAKE_MAKE_PROGRAM",
+          "value": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja"
+        },
+        {
+          "name": "CMAKE_SYSTEM_NAME",
+          "value": "Android"
+        },
+        {
+          "name": "CMAKE_SYSTEM_VERSION",
+          "value": "16"
+        }
+      ]
+    }
+  },
+  "cxxBuildFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+  "info": {
+    "abi": "X86",
+    "bitness": 32,
+    "deprecated": false,
+    "default": true
+  },
+  "originalCxxBuildFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+  "variant": {
+    "buildSystemArgumentList": [],
+    "buildTargetSet": [],
+    "implicitBuildTargetSet": [],
+    "cFlagsList": [],
+    "cmakeSettingsConfiguration": "android-gradle-plugin-predetermined-name",
+    "cppFlagsList": [
+      "-std\u003dc++11 -frtti -fexceptions -lz",
+      "-std\u003dc++11 -frtti -fexceptions -lz"
+    ],
+    "isDebuggableEnabled": true,
+    "module": {
+      "buildSystem": "CMAKE",
+      "cmake": {
+        "cmakeExe": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cmake",
+        "minimumCmakeVersion": "3.10.2",
+        "ninjaExe": "/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja"
+      },
+      "cmakeToolchainFile": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake",
+      "cxxFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx",
+      "gradleModulePathName": ":library_xinrui",
+      "intermediatesFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates",
+      "makeFile": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+      "moduleBuildFile": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build.gradle",
+      "moduleRootFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui",
+      "ndkDefaultAbiList": [
+        "ARMEABI_V7A",
+        "ARM64_V8A",
+        "X86",
+        "X86_64"
+      ],
+      "ndkFolder": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529",
+      "ndkMetaAbiList": [
+        {
+          "abi": "ARMEABI_V7A",
+          "bitness": 32,
+          "deprecated": false,
+          "default": true
+        },
+        {
+          "abi": "ARM64_V8A",
+          "bitness": 64,
+          "deprecated": false,
+          "default": true
+        },
+        {
+          "abi": "X86",
+          "bitness": 32,
+          "deprecated": false,
+          "default": true
+        },
+        {
+          "abi": "X86_64",
+          "bitness": 64,
+          "deprecated": false,
+          "default": true
+        }
+      ],
+      "ndkMetaPlatforms": {
+        "min": 16,
+        "max": 30,
+        "aliases": {
+          "20": 19,
+          "25": 24,
+          "J": 16,
+          "J-MR1": 17,
+          "J-MR2": 18,
+          "K": 19,
+          "L": 21,
+          "L-MR1": 22,
+          "M": 23,
+          "N": 24,
+          "N-MR1": 24,
+          "O": 26,
+          "O-MR1": 27,
+          "P": 28,
+          "Q": 29,
+          "R": 30
+        }
+      },
+      "ndkSupportedAbiList": [
+        "ARMEABI_V7A",
+        "ARM64_V8A",
+        "X86",
+        "X86_64"
+      ],
+      "ndkDefaultStl": "LIBCXX_STATIC",
+      "ndkVersion": "21.4.7075529",
+      "project": {
+        "compilerSettingsCacheFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/.cxx",
+        "cxxFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/.cxx",
+        "isBuildOnlyTargetAbiEnabled": true,
+        "isCmakeBuildCohabitationEnabled": false,
+        "isNativeCompilerSettingsCacheEnabled": false,
+        "rootBuildGradleFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk",
+        "sdkFolder": "/Users/suyghur/Develop/Android/sdk",
+        "isPrefabEnabled": false
+      },
+      "splitsAbiFilterSet": [],
+      "stlSharedObjectMap": {
+        "LIBCXX_SHARED": {
+          "ARMEABI_V7A": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi/libc++_shared.so",
+          "ARM64_V8A": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so",
+          "X86": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/i686-linux-android/libc++_shared.so",
+          "X86_64": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/x86_64-linux-android/libc++_shared.so"
+        },
+        "LIBCXX_STATIC": {},
+        "NONE": {},
+        "SYSTEM": {}
+      }
+    },
+    "objFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/build/intermediates/cmake/debug/obj",
+    "variantName": "debug",
+    "validAbiList": [
+      "ARMEABI_V7A",
+      "ARM64_V8A",
+      "X86",
+      "X86_64"
+    ],
+    "prefabDirectory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/prefab",
+    "prefabPackageDirectoryList": []
+  },
+  "prefabFolder": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/prefab/x86"
+}

+ 13 - 0
library_xinrui/.cxx/cmake/debug/x86/build_output.txt

@@ -0,0 +1,13 @@
+Check for working C compiler: /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
+Check for working C compiler: /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- works
+Detecting C compiler ABI info
+Detecting C compiler ABI info - done
+Detecting C compile features
+Detecting C compile features - done
+Check for working CXX compiler: /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
+Check for working CXX compiler: /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- works
+Detecting CXX compiler ABI info
+Detecting CXX compiler ABI info - done
+Detecting CXX compile features
+Detecting CXX compile features - done
+Configuring done

+ 49 - 0
library_xinrui/.cxx/cmake/debug/x86/cmake_install.cmake

@@ -0,0 +1,49 @@
+# Install script for directory: /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui
+
+# Set the install prefix
+if(NOT DEFINED CMAKE_INSTALL_PREFIX)
+  set(CMAKE_INSTALL_PREFIX "/usr/local")
+endif()
+string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+  if(BUILD_TYPE)
+    string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+           CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+  else()
+    set(CMAKE_INSTALL_CONFIG_NAME "Debug")
+  endif()
+  message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+endif()
+
+# Set the component getting installed.
+if(NOT CMAKE_INSTALL_COMPONENT)
+  if(COMPONENT)
+    message(STATUS "Install component: \"${COMPONENT}\"")
+    set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+  else()
+    set(CMAKE_INSTALL_COMPONENT)
+  endif()
+endif()
+
+# Install shared libraries without execute permission?
+if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+  set(CMAKE_INSTALL_SO_NO_EXE "0")
+endif()
+
+# Is this installation the result of a crosscompile?
+if(NOT DEFINED CMAKE_CROSSCOMPILING)
+  set(CMAKE_CROSSCOMPILING "TRUE")
+endif()
+
+if(CMAKE_INSTALL_COMPONENT)
+  set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
+else()
+  set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
+endif()
+
+string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
+       "${CMAKE_INSTALL_MANIFEST_FILES}")
+file(WRITE "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86/${CMAKE_INSTALL_MANIFEST}"
+     "${CMAKE_INSTALL_MANIFEST_CONTENT}")

Plik diff jest za duży
+ 333 - 0
library_xinrui/.cxx/cmake/debug/x86/cmake_server_log.txt


+ 67 - 0
library_xinrui/.cxx/cmake/debug/x86/compile_commands.json

@@ -0,0 +1,67 @@
+[
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/aes.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/aes.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/aes.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/aes_kit.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/aes_kit.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/aes_kit.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/comm_map.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/comm_map.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/comm_map.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/hex_kit.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/hex_kit.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/hex_kit.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/hex_utils.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/hex_utils.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/hex_utils.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/md5.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/md5.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/md5.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/params_kit.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/params_kit.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/params_kit.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/tool_kit.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/tool_kit.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/tool_kit.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/xinrui.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/xinrui.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/xinrui.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/yylog.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/yylog.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/yylog.cpp"
+},
+
+{
+  "directory": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86",
+  "command": "/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -Dxinrui_EXPORTS -I../../../../src/main/cpp/include -I../../../../src/main/cpp/external  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security  -std=c++11 -frtti -fexceptions -lz -std=c++11 -frtti -fexceptions -lz -O0 -fno-limit-debug-info  -fPIC   -o CMakeFiles/xinrui.dir/src/main/cpp/external/json/jsoncpp.cpp.o -c /Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/external/json/jsoncpp.cpp",
+  "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/src/main/cpp/external/json/jsoncpp.cpp"
+}
+]

+ 32 - 0
library_xinrui/.cxx/cmake/debug/x86/json_generation_record.json

@@ -0,0 +1,32 @@
+[
+  {
+    "level": "INFO",
+    "message": "Start JSON generation. Platform version: 16 min SDK version: x86",
+    "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "tag": "debug|x86"
+  },
+  {
+    "level": "INFO",
+    "message": "Trying to locate CMake in local SDK repository.",
+    "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "tag": "debug|x86"
+  },
+  {
+    "level": "INFO",
+    "message": "- CMake found in SDK at \u0027/Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404\u0027 had version \u00273.10.2\u0027",
+    "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "tag": "debug|x86"
+  },
+  {
+    "level": "INFO",
+    "message": "JSON \u0027/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86/android_gradle_build.json\u0027 was up-to-date",
+    "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "tag": "debug|x86"
+  },
+  {
+    "level": "INFO",
+    "message": "JSON generation completed without problems",
+    "file": "/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/CMakeLists.txt",
+    "tag": "debug|x86"
+  }
+]

+ 4 - 0
library_xinrui/.cxx/cmake/debug/x86/prefab_config.json

@@ -0,0 +1,4 @@
+{
+  "enabled": false,
+  "packages": []
+}

+ 64 - 0
library_xinrui/.cxx/cmake/debug/x86/rules.ninja

@@ -0,0 +1,64 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Ninja" Generator, CMake Version 3.10
+
+# This file contains all the rules used to get the outputs files
+# built from the input files.
+# It is included in the main 'build.ninja'.
+
+# =============================================================================
+# Project: library_xinrui
+# Configuration: Debug
+# =============================================================================
+# =============================================================================
+
+#############################################
+# Rule for running custom commands.
+
+rule CUSTOM_COMMAND
+  command = $COMMAND
+  description = $DESC
+
+
+#############################################
+# Rule for compiling CXX files.
+
+rule CXX_COMPILER__xinrui
+  depfile = $DEP_FILE
+  deps = gcc
+  command = /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
+  description = Building CXX object $out
+
+
+#############################################
+# Rule for linking CXX shared library.
+
+rule CXX_SHARED_LIBRARY_LINKER__xinrui
+  command = $PRE_LINK && /Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=i686-none-linux-android16 --gcc-toolchain=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64 --sysroot=/Users/suyghur/Develop/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
+  description = Linking CXX shared library $TARGET_FILE
+  restat = $RESTAT
+
+
+#############################################
+# Rule for re-running cmake.
+
+rule RERUN_CMAKE
+  command = /Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/cmake -H/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui -B/Users/suyghur/Develop/yyxx/XinRuiGameSdk/library_xinrui/.cxx/cmake/debug/x86
+  description = Re-running CMake...
+  generator = 1
+
+
+#############################################
+# Rule for cleaning all built files.
+
+rule CLEAN
+  command = /Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja -t clean
+  description = Cleaning all built files...
+
+
+#############################################
+# Rule for printing all primary targets available.
+
+rule HELP
+  command = /Users/suyghur/Develop/Android/sdk/cmake/3.10.2.4988404/bin/ninja -t targets
+  description = All primary targets available:
+

+ 1 - 0
library_xinrui/CMakeLists.txt

@@ -18,6 +18,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/main/cpp/external)
 aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src/main/cpp/ DIR_SOURCE)
 aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src/main/cpp/external/json JSON_SOURCE)
 
+
 add_library(
         xinrui
         SHARED

BIN
library_xinrui/libs/yyxx_support_1.0.1.jar


+ 5 - 0
library_xinrui/src/main/AndroidManifest.xml

@@ -6,6 +6,11 @@
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
     <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
+    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
+    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
+    <uses-permission android:name="android.permission.BLUETOOTH"/>
 
     <application
         android:allowBackup="true"

+ 41 - 1
library_xinrui/src/main/cpp/aes_kit.cpp

@@ -5,6 +5,7 @@
 #include <cstring>
 #include <cstdlib>
 #include <string>
+#include "include/tool_kit.h"
 #include "include/yylog.h"
 #include "include/hex_utils.h"
 #include "include/aes.h"
@@ -20,7 +21,6 @@ char *AesKit::Encrypt(const char *input) {
     uint8_t *padding_input = GetPaddingInput(input);
     size_t padding_input_length = strlen((char *) padding_input);
     auto *out = (unsigned char *) malloc(padding_input_length);
-    uint8_t *key = reinterpret_cast<const uint8_t *>(AES_KEY);
     AesCbcEncryptBuffer(out, padding_input, (uint32_t) padding_input_length, reinterpret_cast<const uint8_t *>(AES_KEY), reinterpret_cast<const uint8_t *>(IV));
     char *hex_enc = HexUtils::HexEncode(out, padding_input_length);
 
@@ -95,4 +95,44 @@ void AesKit::RemovePadding(uint8_t *out, size_t length) {
     }
 }
 
+jstring AesKit::Encrypt(JNIEnv *env, const char *input) {
+    jclass clz = env->FindClass("cn/yyxx/support/encryption/aes/AesUtils");
+    if (clz == nullptr) {
+        LOGD("aes impl clz is nullptr !!!");
+        return env->NewStringUTF("");
+    }
+    const char *method_name = "encrypt2hex";
+    const char *sig = "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;";
+    jmethodID mid = env->GetStaticMethodID(clz, method_name, sig);
+    jstring key = env->NewStringUTF(AES_KEY);
+    jstring iv = env->NewStringUTF(IV);
+    jstring data = env->NewStringUTF(input);
+    auto result = (jstring) env->CallStaticObjectMethod(clz, mid, key, iv, data);
+    env->DeleteLocalRef(clz);
+    env->DeleteLocalRef(key);
+    env->DeleteLocalRef(iv);
+    env->DeleteLocalRef(data);
+    return result;
+}
+
+jstring AesKit::Decrypt(JNIEnv *env, const char *input) {
+    jclass clz = env->FindClass("cn/yyxx/support/encryption/aes/AesUtils");
+    if (clz == nullptr) {
+        LOGD("aes impl clz is nullptr !!!");
+        return env->NewStringUTF("");
+    }
+    const char *method_name = "decrypt2hex";
+    const char *sig = "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;";
+    jmethodID mid = env->GetStaticMethodID(clz, method_name, sig);
+    jstring key = env->NewStringUTF(AES_KEY);
+    jstring iv = env->NewStringUTF(IV);
+    jstring data = env->NewStringUTF(input);
+    auto result = (jstring) env->CallStaticObjectMethod(clz, mid, key, iv, data);
+    env->DeleteLocalRef(clz);
+    env->DeleteLocalRef(key);
+    env->DeleteLocalRef(iv);
+    env->DeleteLocalRef(data);
+    return result;
+}
+
 

+ 10 - 11
library_xinrui/src/main/cpp/comm_map.cpp

@@ -2,7 +2,9 @@
 // Created by #Suyghur, on 2021/10/15.
 //
 
+#include "include/params_kit.h"
 #include "include/comm_map.h"
+#include "include/tool_kit.h"
 
 CommMap::CommMap() = default;
 
@@ -14,18 +16,15 @@ CommMap *CommMap::GetInstance() {
 }
 
 void CommMap::Init(JNIEnv *env, jobject context) {
-    comm_params["game_code"] = "";
-    comm_params["gcp_code"] = "";
-    comm_params["cs_ver"] = "";
+    comm_params["game_code"] = ToolKit::GetGameCode(env, context);
+    comm_params["gcp_code"] = ParamsKit::GetGcpCode(env, context);
+    comm_params["cs_ver"] = ToolKit::GetClientVersion(env, context);
     comm_params["system"] = "android";
-    comm_params["ifa"] = "";
-    comm_params["device_ver"] = "";
-    comm_params["sp_code"] = "";
-    comm_params["device_model"] = "";
-    comm_params["package_name"] = "";
-    comm_params["ifa_type"] = "";
-    comm_params["android_id"] = "";
-    comm_params["o_cfg"] = "";
+    comm_params["device_ver"] = ToolKit::GetDeviceSoftwareVersion();
+    comm_params["sp_code"] = ToolKit::GetSpCode(env, context);
+    comm_params["device_model"] = ToolKit::GetDeviceModel();
+    comm_params["package_name"] = ToolKit::GetPackageName(env, context);
+    comm_params["android_id"] = ToolKit::GetAndroidDeviceId(env, context);
 }
 
 

+ 94 - 0
library_xinrui/src/main/cpp/external/md5/md5.h

@@ -0,0 +1,94 @@
+//
+// Created by #Suyghur, on 2021/05/25.
+//
+
+#ifndef XINRUIGAMESDK_MD5_H
+#define XINRUIGAMESDK_MD5_H
+
+
+#include <string>
+#include <iostream>
+
+
+// a small class for calculating MD5 hashes of strings or byte arrays
+// it is not meant to be fast or secure
+//
+// usage:
+//      1) feed it blocks of uchars with update()
+//      2) finalize()
+//      3) get HexDigest() string
+//      or
+//      MD5(std::string).HexDigest()
+//
+// assumes that char is 8 bit and int is 32 bit
+
+#ifdef __cplusplus
+extern "C"{
+#endif
+
+class MD5 {
+public:
+    typedef unsigned int size_type; // must be 32bit
+
+    MD5();
+
+    MD5(const std::string &text);
+
+    void update(const unsigned char *buf, size_type length);
+
+    void update(const char *buf, size_type length);
+
+    MD5 &finalize();
+
+    std::string HexDigest() const;
+
+    friend std::ostream &operator<<(std::ostream &, MD5 md5);
+
+private:
+    void init();
+
+    typedef unsigned char uint1; //  8bit
+    typedef unsigned int uint4;  // 32bit
+    enum {
+        blocksize = 64
+    }; // VC6 won't eat a const static int here
+
+    void transform(const uint1 block[blocksize]);
+
+    static void decode(uint4 output[], const uint1 input[], size_type len);
+
+    static void encode(uint1 output[], const uint4 input[], size_type len);
+
+    bool finalized;
+    uint1 buffer[blocksize]; // bytes that didn't fit in last 64 byte chunk
+    uint4 count[2];   // 64bit counter for number of bits (lo, hi)
+    uint4 state[4];   // digest so far
+    uint1 digest[16]; // the result
+
+    // low level logic operations
+    static inline uint4 F(uint4 x, uint4 y, uint4 z);
+
+    static inline uint4 G(uint4 x, uint4 y, uint4 z);
+
+    static inline uint4 H(uint4 x, uint4 y, uint4 z);
+
+    static inline uint4 I(uint4 x, uint4 y, uint4 z);
+
+    static inline uint4 rotate_left(uint4 x, int n);
+
+    static inline void FF(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac);
+
+    static inline void GG(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac);
+
+    static inline void HH(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac);
+
+    static inline void II(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac);
+};
+
+std::string md5(const std::string &str);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //XINRUIGAMESDK_MD5_H

+ 4 - 0
library_xinrui/src/main/cpp/include/aes_kit.h

@@ -26,6 +26,10 @@ public:
     /** AES解密, CBC, PKCS5Padding */
     static char *Decrypt(const char *input);
 
+    static jstring Encrypt(JNIEnv *env, const char *input);
+
+    static jstring Decrypt(JNIEnv *env, const char *input);
+
 private:
 
     static uint8_t *GetPaddingInput(const char *input);

+ 24 - 0
library_xinrui/src/main/cpp/include/tool_kit.h

@@ -8,6 +8,7 @@
 
 #include <jni.h>
 #include <string>
+#include "../external/json/json.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -20,6 +21,29 @@ public:
     static jstring GetJString(JNIEnv *env, const char *src);
 
     static std::string JString2String(JNIEnv *env, jstring src);
+
+    static std::string GetGameCode(JNIEnv *env, jobject context);
+
+    static std::string GetSpCode(JNIEnv *env, jobject context);
+
+    static std::string GetClientVersion(JNIEnv *env, jobject context);
+
+    static std::string GetPackageName(JNIEnv *env, jobject context);
+
+    static std::string GetDeviceSoftwareVersion();
+
+    static std::string GetDeviceModel();
+
+    static std::string GetAndroidDeviceId(JNIEnv *env, jobject context);
+
+    static std::string ToJsonString(const Json::Value &root);
+
+    static Json::Value ToJsonObject(const std::string &json);
+
+    static std::string GetJsonSortSignature(const Json::Value &root);
+
+    static std::string  GenerateRandString(int len);
+
 };
 
 #ifdef __cplusplus

+ 2 - 0
library_xinrui/src/main/cpp/include/yylog.h

@@ -30,6 +30,8 @@ public:
 
     static void E(JNIEnv *env, const std::string &msg);
 
+    static void LogHandler(JNIEnv *env, const std::string &msg);
+
 };
 
 #ifdef __cplusplus

+ 320 - 0
library_xinrui/src/main/cpp/md5.cpp

@@ -0,0 +1,320 @@
+//
+// Created by #Suyghur, on 2021/05/25.
+//
+
+#include "external/md5/md5.h"
+
+/* system implementation headers */
+#include <stdio.h>
+#include <cstring>
+
+
+// Constants for MD5Transform routine.
+#define S11 7
+#define S12 12
+#define S13 17
+#define S14 22
+#define S21 5
+#define S22 9
+#define S23 14
+#define S24 20
+#define S31 4
+#define S32 11
+#define S33 16
+#define S34 23
+#define S41 6
+#define S42 10
+#define S43 15
+#define S44 21
+
+///////////////////////////////////////////////
+
+// F, G, H and I are basic MD5 functions.
+inline MD5::uint4 MD5::F(uint4 x, uint4 y, uint4 z) {
+    return x & y | ~x & z;
+}
+
+inline MD5::uint4 MD5::G(uint4 x, uint4 y, uint4 z) {
+    return x & z | y & ~z;
+}
+
+inline MD5::uint4 MD5::H(uint4 x, uint4 y, uint4 z) {
+    return x ^ y ^ z;
+}
+
+inline MD5::uint4 MD5::I(uint4 x, uint4 y, uint4 z) {
+    return y ^ (x | ~z);
+}
+
+// rotate_left rotates x left n bits.
+inline MD5::uint4 MD5::rotate_left(uint4 x, int n) {
+    return (x << n) | (x >> (32 - n));
+}
+
+// FF, GG, HH, and II transformations for rounds 1, 2, 3, and 4.
+// Rotation is separate from addition to prevent recomputation.
+inline void MD5::FF(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac) {
+    a = rotate_left(a + F(b, c, d) + x + ac, s) + b;
+}
+
+inline void MD5::GG(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac) {
+    a = rotate_left(a + G(b, c, d) + x + ac, s) + b;
+}
+
+inline void MD5::HH(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac) {
+    a = rotate_left(a + H(b, c, d) + x + ac, s) + b;
+}
+
+inline void MD5::II(uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac) {
+    a = rotate_left(a + I(b, c, d) + x + ac, s) + b;
+}
+
+//////////////////////////////////////////////
+
+// default ctor, just initailize
+MD5::MD5() {
+    init();
+}
+
+//////////////////////////////////////////////
+
+// nifty shortcut ctor, compute MD5 for string and finalize it right away
+MD5::MD5(const std::string &text) {
+    init();
+    update(text.c_str(), text.length());
+    finalize();
+}
+
+//////////////////////////////
+
+void MD5::init() {
+    finalized = false;
+
+    count[0] = 0;
+    count[1] = 0;
+
+    // load magic initialization constants.
+    state[0] = 0x67452301;
+    state[1] = 0xefcdab89;
+    state[2] = 0x98badcfe;
+    state[3] = 0x10325476;
+}
+
+//////////////////////////////
+
+// decodes input (unsigned char) into output (uint4). Assumes len is a multiple of 4.
+void MD5::decode(uint4 output[], const uint1 input[], size_type len) {
+    for (unsigned int i = 0, j = 0; j < len; i++, j += 4)
+        output[i] = ((uint4) input[j]) | (((uint4) input[j + 1]) << 8) |
+                    (((uint4) input[j + 2]) << 16) | (((uint4) input[j + 3]) << 24);
+}
+
+//////////////////////////////
+
+// encodes input (uint4) into output (unsigned char). Assumes len is
+// a multiple of 4.
+void MD5::encode(uint1 output[], const uint4 input[], size_type len) {
+    for (size_type i = 0, j = 0; j < len; i++, j += 4) {
+        output[j] = input[i] & 0xff;
+        output[j + 1] = (input[i] >> 8) & 0xff;
+        output[j + 2] = (input[i] >> 16) & 0xff;
+        output[j + 3] = (input[i] >> 24) & 0xff;
+    }
+}
+
+//////////////////////////////
+
+// apply MD5 algo on a block
+void MD5::transform(const uint1 block[blocksize]) {
+    uint4 a = state[0], b = state[1], c = state[2], d = state[3], x[16];
+    decode(x, block, blocksize);
+
+    /* Round 1 */
+    FF(a, b, c, d, x[0], S11, 0xd76aa478); /* 1 */
+    FF(d, a, b, c, x[1], S12, 0xe8c7b756); /* 2 */
+    FF(c, d, a, b, x[2], S13, 0x242070db); /* 3 */
+    FF(b, c, d, a, x[3], S14, 0xc1bdceee); /* 4 */
+    FF(a, b, c, d, x[4], S11, 0xf57c0faf); /* 5 */
+    FF(d, a, b, c, x[5], S12, 0x4787c62a); /* 6 */
+    FF(c, d, a, b, x[6], S13, 0xa8304613); /* 7 */
+    FF(b, c, d, a, x[7], S14, 0xfd469501); /* 8 */
+    FF(a, b, c, d, x[8], S11, 0x698098d8); /* 9 */
+    FF(d, a, b, c, x[9], S12, 0x8b44f7af); /* 10 */
+    FF(c, d, a, b, x[10], S13, 0xffff5bb1); /* 11 */
+    FF(b, c, d, a, x[11], S14, 0x895cd7be); /* 12 */
+    FF(a, b, c, d, x[12], S11, 0x6b901122); /* 13 */
+    FF(d, a, b, c, x[13], S12, 0xfd987193); /* 14 */
+    FF(c, d, a, b, x[14], S13, 0xa679438e); /* 15 */
+    FF(b, c, d, a, x[15], S14, 0x49b40821); /* 16 */
+
+    /* Round 2 */
+    GG(a, b, c, d, x[1], S21, 0xf61e2562); /* 17 */
+    GG(d, a, b, c, x[6], S22, 0xc040b340); /* 18 */
+    GG(c, d, a, b, x[11], S23, 0x265e5a51); /* 19 */
+    GG(b, c, d, a, x[0], S24, 0xe9b6c7aa); /* 20 */
+    GG(a, b, c, d, x[5], S21, 0xd62f105d); /* 21 */
+    GG(d, a, b, c, x[10], S22, 0x2441453); /* 22 */
+    GG(c, d, a, b, x[15], S23, 0xd8a1e681); /* 23 */
+    GG(b, c, d, a, x[4], S24, 0xe7d3fbc8); /* 24 */
+    GG(a, b, c, d, x[9], S21, 0x21e1cde6); /* 25 */
+    GG(d, a, b, c, x[14], S22, 0xc33707d6); /* 26 */
+    GG(c, d, a, b, x[3], S23, 0xf4d50d87); /* 27 */
+    GG(b, c, d, a, x[8], S24, 0x455a14ed); /* 28 */
+    GG(a, b, c, d, x[13], S21, 0xa9e3e905); /* 29 */
+    GG(d, a, b, c, x[2], S22, 0xfcefa3f8); /* 30 */
+    GG(c, d, a, b, x[7], S23, 0x676f02d9); /* 31 */
+    GG(b, c, d, a, x[12], S24, 0x8d2a4c8a); /* 32 */
+
+    /* Round 3 */
+    HH(a, b, c, d, x[5], S31, 0xfffa3942); /* 33 */
+    HH(d, a, b, c, x[8], S32, 0x8771f681); /* 34 */
+    HH(c, d, a, b, x[11], S33, 0x6d9d6122); /* 35 */
+    HH(b, c, d, a, x[14], S34, 0xfde5380c); /* 36 */
+    HH(a, b, c, d, x[1], S31, 0xa4beea44); /* 37 */
+    HH(d, a, b, c, x[4], S32, 0x4bdecfa9); /* 38 */
+    HH(c, d, a, b, x[7], S33, 0xf6bb4b60); /* 39 */
+    HH(b, c, d, a, x[10], S34, 0xbebfbc70); /* 40 */
+    HH(a, b, c, d, x[13], S31, 0x289b7ec6); /* 41 */
+    HH(d, a, b, c, x[0], S32, 0xeaa127fa); /* 42 */
+    HH(c, d, a, b, x[3], S33, 0xd4ef3085); /* 43 */
+    HH(b, c, d, a, x[6], S34, 0x4881d05); /* 44 */
+    HH(a, b, c, d, x[9], S31, 0xd9d4d039); /* 45 */
+    HH(d, a, b, c, x[12], S32, 0xe6db99e5); /* 46 */
+    HH(c, d, a, b, x[15], S33, 0x1fa27cf8); /* 47 */
+    HH(b, c, d, a, x[2], S34, 0xc4ac5665); /* 48 */
+
+    /* Round 4 */
+    II(a, b, c, d, x[0], S41, 0xf4292244); /* 49 */
+    II(d, a, b, c, x[7], S42, 0x432aff97); /* 50 */
+    II(c, d, a, b, x[14], S43, 0xab9423a7); /* 51 */
+    II(b, c, d, a, x[5], S44, 0xfc93a039); /* 52 */
+    II(a, b, c, d, x[12], S41, 0x655b59c3); /* 53 */
+    II(d, a, b, c, x[3], S42, 0x8f0ccc92); /* 54 */
+    II(c, d, a, b, x[10], S43, 0xffeff47d); /* 55 */
+    II(b, c, d, a, x[1], S44, 0x85845dd1); /* 56 */
+    II(a, b, c, d, x[8], S41, 0x6fa87e4f); /* 57 */
+    II(d, a, b, c, x[15], S42, 0xfe2ce6e0); /* 58 */
+    II(c, d, a, b, x[6], S43, 0xa3014314); /* 59 */
+    II(b, c, d, a, x[13], S44, 0x4e0811a1); /* 60 */
+    II(a, b, c, d, x[4], S41, 0xf7537e82); /* 61 */
+    II(d, a, b, c, x[11], S42, 0xbd3af235); /* 62 */
+    II(c, d, a, b, x[2], S43, 0x2ad7d2bb); /* 63 */
+    II(b, c, d, a, x[9], S44, 0xeb86d391); /* 64 */
+
+    state[0] += a;
+    state[1] += b;
+    state[2] += c;
+    state[3] += d;
+
+    // Zeroize sensitive information.
+    memset(x, 0, sizeof x);
+}
+
+//////////////////////////////
+
+// MD5 block update operation. Continues an MD5 message-digest
+// operation, processing another message block
+void MD5::update(const unsigned char input[], size_type length) {
+    // compute number of bytes mod 64
+    size_type index = count[0] / 8 % blocksize;
+
+    // Update number of bits
+    if ((count[0] += (length << 3)) < (length << 3))
+        count[1]++;
+    count[1] += (length >> 29);
+
+    // number of bytes we need to fill in buffer
+    size_type firstpart = 64 - index;
+
+    size_type i;
+
+    // transform as many times as possible.
+    if (length >= firstpart) {
+        // fill buffer first, transform
+        memcpy(&buffer[index], input, firstpart);
+        transform(buffer);
+
+        // transform chunks of blocksize (64 bytes)
+        for (i = firstpart; i + blocksize <= length; i += blocksize)
+            transform(&input[i]);
+
+        index = 0;
+    } else
+        i = 0;
+
+    // buffer remaining input
+    memcpy(&buffer[index], &input[i], length - i);
+}
+
+//////////////////////////////
+
+// for convenience provide a verson with signed char
+void MD5::update(const char input[], size_type length) {
+    update((const unsigned char *) input, length);
+}
+
+//////////////////////////////
+
+// MD5 finalization. Ends an MD5 message-digest operation, writing the
+// the message digest and zeroizing the context.
+MD5 &MD5::finalize() {
+    static unsigned char padding[64] = {
+            0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+            0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+            0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+    };
+
+    if (!finalized) {
+        // Save number of bits
+        unsigned char bits[8];
+        encode(bits, count, 8);
+
+        // pad out to 56 mod 64.
+        size_type index = count[0] / 8 % 64;
+        size_type padLen = (index < 56) ? (56 - index) : (120 - index);
+        update(padding, padLen);
+
+        // Append length (before padding)
+        update(bits, 8);
+
+        // Store state in digest
+        encode(digest, state, 16);
+
+        // Zeroize sensitive information.
+        memset(buffer, 0, sizeof buffer);
+        memset(count, 0, sizeof count);
+
+        finalized = true;
+    }
+
+    return *this;
+}
+
+//////////////////////////////
+
+// return hex representation of digest as string
+std::string MD5::HexDigest() const {
+    if (!finalized)
+        return "";
+
+    char buf[33];
+    for (int i = 0; i < 16; i++)
+        sprintf(buf + i * 2, "%02x", digest[i]);
+    buf[32] = 0;
+
+    return std::string(buf);
+}
+
+//////////////////////////////
+
+std::ostream &operator<<(std::ostream &out, MD5 md5) {
+    return out << md5.HexDigest();
+}
+
+//////////////////////////////
+
+std::string md5(const std::string& str) {
+    MD5 md5 = MD5(str);
+
+    return md5.HexDigest();
+}

+ 147 - 0
library_xinrui/src/main/cpp/tool_kit.cpp

@@ -2,9 +2,20 @@
 // Created by #Suyghur, on 2021/10/15.
 //
 
+#include <random>
+#include "include/comm_map.h"
+#include "external/md5/md5.h"
 #include "include/yylog.h"
 #include "include/tool_kit.h"
 
+static const unsigned char CHAR_SET[62] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
+                                           'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j',
+                                           'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't',
+                                           'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D',
+                                           'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N',
+                                           'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
+                                           'Y', 'Z'};
+
 jbyteArray ToolKit::GetJbyteArray(JNIEnv *Env, const char *src) {
     return nullptr;
 }
@@ -55,3 +66,139 @@ std::string ToolKit::JString2String(JNIEnv *env, jstring src) {
     env->DeleteLocalRef(byte_array);
     return result;
 }
+
+std::string ToolKit::GetGameCode(JNIEnv *env, jobject context) {
+    jclass clz = env->FindClass("com/yyrh/utils/ManifestUtils");
+    if (clz == nullptr) {
+        LOGE("ManifestUtils clz is nullptr !!!");
+        return "";
+    }
+    const char *method_name = "getMetaDataValue";
+    const char *sig = "(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;";
+    jmethodID mid = env->GetStaticMethodID(clz, method_name, sig);
+    jstring key = env->NewStringUTF("yyrh_game_code");
+    auto result = (jstring) env->CallStaticObjectMethod(clz, mid, context, key);
+    env->DeleteLocalRef(clz);
+    env->DeleteLocalRef(key);
+    return JString2String(env, result);
+}
+
+std::string ToolKit::GetSpCode(JNIEnv *env, jobject context) {
+    jclass clz = env->FindClass("com/yyrh/utils/ManifestUtils");
+    if (clz == nullptr) {
+        LOGE("ManifestUtils clz is nullptr !!!");
+        return "";
+    }
+    const char *method_name = "getMetaDataValue";
+    const char *sig = "(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;";
+    jmethodID mid = env->GetStaticMethodID(clz, method_name, sig);
+    jstring key = env->NewStringUTF("yyrh_sp_code");
+    auto result = (jstring) env->CallStaticObjectMethod(clz, mid, context, key);
+    env->DeleteLocalRef(clz);
+    env->DeleteLocalRef(key);
+    return JString2String(env, result);
+}
+
+std::string ToolKit::GetClientVersion(JNIEnv *env, jobject context) {
+    jclass clz = env->FindClass("com/yyrh/Version");
+    if (clz == nullptr) {
+        LOGE("Version clz is nullptr !!!");
+        return "";
+    }
+    const char *field_name = "VERSION_NAME";
+    const char *sig = "Ljava/lang/String;";
+    jfieldID fid = env->GetStaticFieldID(clz, field_name, sig);
+    auto result = (jstring) env->GetStaticObjectField(clz, fid);
+    env->DeleteLocalRef(clz);
+    return JString2String(env, result);
+}
+
+std::string ToolKit::GetPackageName(JNIEnv *env, jobject context) {
+    jclass clz = env->GetObjectClass(context);
+    if (clz == nullptr) {
+        LOGE("clz is nullptr !!!");
+        return "";
+    }
+    const char *method_name = "getPackageName";
+    const char *sig = "()Ljava/lang/String;";
+    jmethodID mid = env->GetMethodID(clz, method_name, sig);
+    auto result = (jstring) env->CallObjectMethod(context, mid);
+    env->DeleteLocalRef(clz);
+    return JString2String(env, result);
+}
+
+std::string ToolKit::GetDeviceSoftwareVersion() {
+    char *version = (char *) malloc(128 * sizeof(char));
+    __system_property_get("ro.build.version.release", version);
+    std::string result = version;
+    free(version);
+    return result;
+}
+
+std::string ToolKit::GetDeviceModel() {
+    char *model = (char *) malloc(128 * sizeof(char));
+    __system_property_get("ro.product.model", model);
+    std::string result = model;
+    free(model);
+    return result;
+}
+
+std::string ToolKit::GetAndroidDeviceId(JNIEnv *env, jobject context) {
+    jclass clz = env->FindClass("cn/yyxx/support/device/DeviceInfoUtils");
+    if (clz == nullptr) {
+        LOGE("DeviceInfoUtils is nullptr !!!");
+        return "";
+    }
+    const char *method_name = "getAndroidDeviceId";
+    const char *sig = "(Landroid/content/Context;)Ljava/lang/String;";
+    jmethodID mid = env->GetStaticMethodID(clz, method_name, sig);
+    auto result = (jstring) env->CallStaticObjectMethod(clz, mid, context);
+    env->DeleteLocalRef(clz);
+    return JString2String(env, result);
+}
+
+
+std::string ToolKit::ToJsonString(const Json::Value &root) {
+    Json::StreamWriterBuilder builder;
+    std::ostringstream oss;
+    //无格式输出
+    builder.settings_["indentation"] = "";
+    std::unique_ptr<Json::StreamWriter> json_writer(builder.newStreamWriter());
+    json_writer->write(root, &oss);
+    return oss.str();
+}
+
+Json::Value ToolKit::ToJsonObject(const std::string &json) {
+    Json::CharReaderBuilder builder;
+    Json::CharReader *reader_ptr(builder.newCharReader());
+    JSONCPP_STRING errs;
+    Json::Value root;
+    reader_ptr->parse(json.c_str(), json.c_str() + json.length(), &root, &errs);
+    return root;
+}
+
+
+std::string ToolKit::GetJsonSortSignature(const Json::Value &root) {
+    Json::Value::Members members = root.getMemberNames();
+    std::string signature;
+    for (auto &member : members) {
+        signature.append(member).append("=").append(root[member].asString()).append("&");
+    }
+    signature.erase(signature.length() - 1);
+    return signature;
+}
+
+std::string ToolKit::GenerateRandString(int len) {
+    srandom(time(nullptr));
+    std::string random_str;
+    for (int i = 0; i < len; ++i) {
+
+        random_str += CHAR_SET[random() % 62];
+    }
+    return random_str;
+}
+
+
+
+
+

+ 59 - 20
library_xinrui/src/main/cpp/xinrui.cpp

@@ -3,12 +3,15 @@
 //
 
 #include <jni.h>
+#include "external/md5/md5.h"
 #include "include/tool_kit.h"
 #include "include/aes_kit.h"
 #include "include/comm_map.h"
 #include "include/yylog.h"
 #include "include/params_kit.h"
 
+#define API_KEY "qDikI9v?>!x)1rS&yo"
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -19,40 +22,76 @@ void InitSdkBoost(JNIEnv *env, jobject clz, jobject context) {
 
 
 void SetParam(JNIEnv *env, jobject clz, jstring key, jstring value) {
-
+    const char *_key = env->GetStringUTFChars(key, JNI_FALSE);
+    const char *_value = env->GetStringUTFChars(value, JNI_FALSE);
+    CommMap::GetInstance()->comm_params[_key] = _value;
+    if (_key) {
+        env->ReleaseStringUTFChars(key, _key);
+    }
+    if (_value) {
+        env->ReleaseStringUTFChars(key, _value);
+    }
 }
 
 jstring GetParam(JNIEnv *env, jobject clz, jstring key) {
-    return env->NewStringUTF("");
+    const char *_key = env->GetStringUTFChars(key, JNI_FALSE);
+    const char *value = CommMap::GetInstance()->comm_params[_key].asCString();
+    if (_key) {
+        env->ReleaseStringUTFChars(key, value);
+    }
+    return env->NewStringUTF(value);
 }
 
-jstring InvokeJob(JNIEnv *env, jobject clz, jobject context, jstring raw) {
-    const char *_raw = env->GetStringUTFChars(raw, JNI_FALSE);
+jstring InvokeJob(JNIEnv *env, jobject clz, jstring data) {
+    const char *_data = env->GetStringUTFChars(data, JNI_FALSE);
+    time_t t;
+    long ts = time(&t);
+    // 添加公共参数
+    Json::Value root = ToolKit::ToJsonObject(_data);
+    Json::Value::Members members = CommMap::GetInstance()->comm_params.getMemberNames();
+    for (auto &member:members) {
+        root[member] = CommMap::GetInstance()->comm_params[member];
+    }
+    // 加入时间戳
+    root["time"] = std::to_string(ts);
+    std::string sort_signature = ToolKit::GetJsonSortSignature(root);
 
-    char *enc = AesKit::Encrypt(_raw);
-    jstring result = ToolKit::GetJString(env, enc);
-    if (_raw) {
-        env->ReleaseStringUTFChars(raw, _raw);
+    sort_signature.append(API_KEY);
+    std::string sign = md5(sort_signature);
+
+    root["sign"] = sign;
+    std::string random_str = ToolKit::GenerateRandString(5);
+    std::string request_data = random_str.append(ToolKit::ToJsonString(root));
+    jstring result = AesKit::Encrypt(env, request_data.c_str());
+
+    YYLog::D(env, "请求路由: " + root["route_path"].asString());
+    YYLog::D(env, "请求参数: " + request_data);
+
+    YYLog::LogHandler(env, "请求路由: " + root["route_path"].asString() + "\n");
+    YYLog::LogHandler(env, "请求参数: " + request_data + "\n");
+
+    if (_data) {
+        env->ReleaseStringUTFChars(data, _data);
     }
-    YYLog::D(env, "InvokeJob");
-    free(enc);
     return result;
 }
 
-jstring ParseJob(JNIEnv *env, jobject clz, jobject context, jstring enc) {
-    const char *enc_ = "286d7ba557b1dbe91ade663e0f198d945d30ce7207b3e38168193762a1e55366127b3c1be4d3895c36c06f3fb8eaa58ccd5e0357ef2167a1b3c0ca4084b6db6a4cea72f709fc0aae234c2f70b193cb85a7f066425c1fc7fd3f0ee925a184e35a699bfc818cef881880b9918afe12a7099e6c8dca506165725aea36e7cb1ed0fbfbb1d1eeff25917ecefa6426f9a87904af2f2d812916baccd8c63b7a54e2f0044010c0d7652dca5314e9867451da9ac86842637b88f1cfedc8d5efb7e576cc4e14537026727497634fc590b288ca14243f96918fc1e60e2e4d6cc256baa45b98534b93b526f52b2472a5dadf12966235eebea3afb45ad35628291436f66053f86b6c72234155e1a283c4ce49a332c79c086f5a141723b1bec6c70d8f1f651c7b7a79b8ce36e4e9a9af6d6e0823f07454f1eff38944a34080b9eb3a806a1c5b2269050fd497ebb0ebe9584563ba22ec625aadb0bb8be41bf46d442a3bb2032f0b9a35d208af92ef93e16e74f47d8c0d7f1c4642f666ad9664247e0391de7cbc91519f3d44683670c6cecaf3c22f5931ad5f26a346530700d251cabaf82aaa24664152714570f03ee36149e51178cb002303f42df7d1f085e8b0554bc4261c0f9bae5edfdbb372e7a456f7d8ae3114956af9b3ad3a2210dac8d70edec928736bba858f764dedef651c117981b13776f734560810832393e0cf7b6ca5eb0b9559a04f31471408907384105bc3007537921ac0ebde9ec2603d05df550677b51afdee";
-    char *raw = AesKit::Decrypt(enc_);
-    jstring result = ToolKit::GetJString(env, raw);
+jstring ParseJob(JNIEnv *env, jobject clz, jstring data) {
+    const char *_data = env->GetStringUTFChars(data, JNI_FALSE);
+    jstring result = AesKit::Decrypt(env, _data);
+    if (_data) {
+        env->ReleaseStringUTFChars(data, _data);
+    }
     return result;
 }
 
 
 static JNINativeMethod gMethods[] = {
-        {"initSdkBoost", "(Landroid/content/Context;)V",                                    (void *) InitSdkBoost},
-        {"setParam",     "(Ljava/lang/String;Ljava/lang/String;)V",                         (void *) SetParam},
-        {"getParam",     "(Ljava/lang/String;)Ljava/lang/String;",                          (void *) GetParam},
-        {"invokeJob",    "(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;", (void *) InvokeJob},
-        {"parseJob",     "(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;", (void *) ParseJob}
+        {"initSdkBoost", "(Landroid/content/Context;)V",            (void *) InitSdkBoost},
+        {"setParam",     "(Ljava/lang/String;Ljava/lang/String;)V", (void *) SetParam},
+        {"getParam",     "(Ljava/lang/String;)Ljava/lang/String;",  (void *) GetParam},
+        {"invokeJob",    "(Ljava/lang/String;)Ljava/lang/String;",  (void *) InvokeJob},
+        {"parseJob",     "(Ljava/lang/String;)Ljava/lang/String;",  (void *) ParseJob}
 };
 
 JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *reserved) {
@@ -60,7 +99,7 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *reserved) {
     if (vm->GetEnv((void **) &env, JNI_VERSION_1_6) != JNI_OK) {
         return JNI_ERR;
     }
-    jclass clz = env->FindClass("com/yyrh/impl/SdkBoost");
+    jclass clz = env->FindClass("com/yyrh/sdk/impl/SdkNativeBoost");
     if (env->RegisterNatives(clz, gMethods, sizeof(gMethods) / sizeof(gMethods[0])) < 0) {
         return JNI_ERR;
     }

+ 15 - 0
library_xinrui/src/main/cpp/yylog.cpp

@@ -50,4 +50,19 @@ void YYLog::E(JNIEnv *env, const std::string &msg) {
     env->CallStaticVoidMethod(clz, mid, jtag, jmsg);
 }
 
+void YYLog::LogHandler(JNIEnv *env, const std::string &msg) {
+    jclass clz = env->FindClass("com/yyrh/utils/YYLog");
+    if (clz == nullptr) {
+        LOGE("YYLog clz is null");
+        return;
+    }
+    const char *method_name = "logHandler";
+    const char *sig = "(Ljava/lang/String;)V";
+    jmethodID mid = env->GetStaticMethodID(clz, method_name, sig);
+    jstring jmsg = env->NewStringUTF(msg.c_str());
+    env->CallStaticVoidMethod(clz, mid, jmsg);
+}
+
+
+
 

+ 10 - 0
library_xinrui/src/main/java/com/yyrh/internal/IImplCallback.java

@@ -0,0 +1,10 @@
+package com.yyrh.internal;
+
+/**
+ * @author #Suyghur.
+ * Created on 2021/10/18
+ */
+public interface IImplCallback {
+
+    void onResult(int code, String result);
+}

+ 1 - 13
library_xinrui/src/main/java/com/yyrh/network/SdkRequest.java

@@ -19,20 +19,8 @@ public final class SdkRequest {
     public static void initSdk(Context context, IRequestCallback callback) {
         JSONObject jsonObject = new JSONObject();
         try {
-
-            jsonObject.put("device_model","M2007J1SC");
-            jsonObject.put("cs_ver","2.0.7");
             jsonObject.put("ifa","3a511f03f0262d08");
-            jsonObject.put("sign","38b56eb47e69db3011c5874f52dc7ee5");
-            jsonObject.put("device_ver","1");
-            jsonObject.put("gcp_code","P010101");
-            jsonObject.put("system","android");
-            jsonObject.put("package_name","com.fx.qyj2.gdtdevp100001");
-            jsonObject.put("sp_code","");
-            jsonObject.put("ifa_type","3");
-            jsonObject.put("time","1634286358");
-            jsonObject.put("android_id","3a511f03f0262d08");
-            jsonObject.put("game_code","100001");
+            jsonObject.put("ifa_type",3);
             jsonObject.put("route_path", Host.BASIC_ROUTE_INIT_SDK);
         } catch (Exception e) {
             e.printStackTrace();

+ 10 - 10
library_xinrui/src/main/java/com/yyrh/network/VolleyRequest.java

@@ -4,8 +4,8 @@ import android.content.Context;
 import android.text.TextUtils;
 
 import com.yyrh.entity.ResultInfo;
-import com.yyrh.impl.SdkBoost;
 import com.yyrh.internal.IRequestCallback;
+import com.yyrh.sdk.impl.SdkNativeBoost;
 import com.yyrh.utils.YYLog;
 
 import org.json.JSONObject;
@@ -30,21 +30,21 @@ public final class VolleyRequest {
         try {
 
             // AES/CBC/PKCS7Padding
-            final String enc = SdkBoost.getInstance().invokeJob(context, "Wnd4Y" + jsonObject.toString());
-            YYLog.d("enc: " + enc);
-//            final String enc = "2a9f00afa5b2c79491337097bb5e8d791d6e2972a67128a9588ad100d24c72eab79dc4484e89fc2938093371695f0fec570f0e490f5d6c0b56aebc81ee2f79a214d745135bf8257f938caaebb7ed737a6b4d8c95288aea34c9a06b93bd14f3cfd62e679775c55dca891047b794dcf094210641a7e7ce0523f35fc5aba737032714f4e88aae1ce1cdba2c083e45633f326a7974d51f9b5073c98be0163f43646e51827b8d7ca77d18820e38eac3c8d76a69e9d4839c827bb4dadcfe05ff03461ff5ccb5ff89ed0432545ed0113c3d9b8fdf70fea375eadcf921e2914a68f5d09475c2e8d21b03c51b451ac770fb0d18dffd18475d6d901a9c9ce72afaf08c02b051016e36b3dae8cca0887cf718cb502de761cf6bbfd314a3926cb1055a92062e2aeac2ba60a3a95d63dbf1e812db94fcd5205537c038c57af433835bd8de2a9034b8382a61f7a120864cec427a39042166aa150634fcfdaa47230fb363524e34";
+            final String enc = SdkNativeBoost.getInstance().invokeJob(jsonObject.toString());
 
-//            YYLog.d("请求路由: " + jsonObject.getString("route_path"));
-//            YYLog.d("请求参数: " + jsonObject.toString());
-//            YYLog.logHandler("请求路由: " + jsonObject.getString("route_path"));
-//            YYLog.logHandler("请求参数: " + jsonObject.toString());
+            YYLog.d("请求密文: " + enc);
+            YYLog.logHandler("请求密文: " + enc + "\n");
 
             StringRequest request = new StringRequest(Request.Method.POST, Host.BASEURL, new Response.Listener<String>() {
                 @Override
                 public void onResponse(String resp) {
-                    YYLog.d("resp: " + resp);
+                    YYLog.d("响应密文: " + resp);
+                    YYLog.logHandler("响应密文: " + resp + "\n");
                     try {
-                        String raw = SdkBoost.getInstance().parseJob(context, resp);
+                        String raw = SdkNativeBoost.getInstance().parseJob(resp);
+                        YYLog.d("返回数据: " + raw);
+                        YYLog.logHandler("返回数据: " + raw + "\n");
+
                         JSONObject responseObject = new JSONObject(raw);
                         ResultInfo resultInfo = new ResultInfo();
 

+ 41 - 62
library_xinrui/src/main/java/com/yyrh/sdk/SDKEntry.java

@@ -7,7 +7,6 @@ import android.content.Intent;
 import android.content.res.Configuration;
 import android.os.Build;
 import android.os.Bundle;
-import android.util.Log;
 
 import com.yyrh.advertisement.AdSdkCallback;
 import com.yyrh.advertisement.AdvertiseManager;
@@ -18,7 +17,6 @@ import com.yyrh.easypermission.GrantResult;
 import com.yyrh.easypermission.Permission;
 import com.yyrh.easypermission.PermissionRequestListener;
 import com.yyrh.factory.SdkManager;
-import com.yyrh.imei.ImeiUtil;
 import com.yyrh.networking.NetRequestApi;
 import com.yyrh.sdk.callback.ExitCallback;
 import com.yyrh.sdk.callback.InitCallback;
@@ -28,6 +26,8 @@ import com.yyrh.sdk.callback.PayCallback;
 import com.yyrh.sdk.callback.PayOrderCallback;
 import com.yyrh.sdk.callback.RealNameMsgCallback;
 import com.yyrh.sdk.callback.UserPolicyCallback;
+import com.yyrh.sdk.impl.SDKEntryImpl;
+import com.yyrh.sdk.impl.SdkNativeBoost;
 import com.yyrh.ui.dialog.GameSplashDialog;
 import com.yyrh.utils.PermissionUtils;
 import com.yyrh.utils.ResourceUtil;
@@ -46,6 +46,8 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
+import cn.yyxx.support.device.DeviceInfoUtils;
+
 
 public class SDKEntry {
 
@@ -58,12 +60,11 @@ public class SDKEntry {
     public Activity gameAct;
 
     private UserPolicyCallback userPolicyCallback;
-    private ChannelSDK sdk = null;
+    private ChannelSDK channelSDKImpl = null;
+    private SDKEntryImpl impl=null;
 
     private YyrhSdkManager manager = null;
 
-    private static volatile SDKEntry sdkInstance = null;
-
     private String role_ctime = "";
 
     private List<String> permissionList = new ArrayList<String>(Arrays.asList(Permission.READ_PHONE_STATE, Permission.WRITE_EXTERNAL_STORAGE));
@@ -192,12 +193,12 @@ public class SDKEntry {
         @Override
         public void onLoginChannelFail(String msg) {
             new TosUtil(gameAct, TosUtil.TOAST_ERROR, msg).show();
-            sdk.SDKLoginChannelFail(msg);
+            channelSDKImpl.SDKLoginChannelFail(msg);
         }
 
         @Override
         public void onLoginChannelSuccess(String msg) {
-            sdk.SDKLoginChannelSuccess(msg);
+            channelSDKImpl.SDKLoginChannelSuccess(msg);
         }
 
         @Override
@@ -207,33 +208,25 @@ public class SDKEntry {
 
         @Override
         public void onGetOaidCallback(final boolean isSuccess, final String oaid) {
-            gameAct.runOnUiThread(new Runnable() {
-                @Override
-                public void run() {
-
-                    if (isSuccess) {
-                        if (Build.VERSION.SDK_INT > 28) {
-                            SDKSettings.ifa_type = "2";
-                            initCall.onGetOaid(true, oaid);
-                        } else {
-                            initCall.onGetOaid(false, "");
-                        }
-                        SDKSettings.imei = oaid;
-                        Utils.setSharedPreferences("yyrh", "simulateImei", oaid, gameAct);
-                    } else {
-                        SDKSettings.imei = ImeiUtil.getImei(gameAct);
-                        initCall.onGetOaid(false, "");
-                    }
-
-                    Log.i("imei:", SDKSettings.imei);
-
-                    manager.yyrhInit(gameAct);
-
-                }
-            });
-
+//            YYLog.d("onGetOaidCallback");
+//            if (isSuccess) {
+//                if (Build.VERSION.SDK_INT > 28) {
+//                    SdkNativeBoost.getInstance().setParam("ifa_type", "2");
+//                    initCall.onGetOaid(true, oaid);
+//                } else {
+//                    SdkNativeBoost.getInstance().setParam("ifa_type", "0");
+//                    initCall.onGetOaid(false, "");
+//                }
+//                SdkNativeBoost.getInstance().setParam("ifa", oaid);
+//                Utils.setSharedPreferences("yyrh", "simulateImei", oaid, gameAct);
+//            } else {
+//                SdkNativeBoost.getInstance().setParam("ifa", DeviceInfoUtils.getImei(gameAct));
+//                initCall.onGetOaid(false, "");
+//            }
+//            manager.yyrhInit(gameAct);
         }
 
+
         @Override
         public String onGetChannelUid() {
             return SDKSettings.loginData.channel_uid;
@@ -286,7 +279,6 @@ public class SDKEntry {
             realNameMsgCallback.onLoadRealNameMsg(isRealName, birthday);
         }
 
-
     };
 
     /**
@@ -296,51 +288,28 @@ public class SDKEntry {
     }
 
     public static SDKEntry getSdkInstance() {
-
-        if (sdkInstance == null) {
-            synchronized (SDKEntry.class) {
-                if (sdkInstance == null) {
-                    sdkInstance = new SDKEntry();
-
-                }
-            }
-        }
-
-        return sdkInstance;
-    }
-
-    public void showPrivacyPolicy(Activity activity, UserPolicyCallback userPolicyCallback) {
-
-        this.userPolicyCallback = userPolicyCallback;
-        YyrhSdkManager.defaultManager(activity).yyrhShowPolicy(activity, userPolicyCallback);
-
-
+       return SDKEntryHolder.INSTANCE;
     }
 
     public void initSdk(final Activity activity, final InitCallback callback, final boolean isDebug) {
-
         this.gameAct = activity;
         this.initCall = callback;
-        sdk = ChannelSDK.getInstance();
+        this.impl=new SDKEntryImpl(activity);
         manager = YyrhSdkManager.defaultManager(activity);
-        sdk.SDKInit(activity, sdkCallback);
-
 
         InputStream inputStream = null;
 
         try {
             inputStream = activity.getAssets().open("yyrh_start_image.jpg");
         } catch (IOException e) {
-
+            e.printStackTrace();
         }
         if (inputStream != null) {
             new GameSplashDialog(activity, ResourceUtil.getStyleId(activity, "hnyy_welcome_dialog")).show();
         }
 
-
         int checkResult;
-        if (PermissionUtils.checkIsHasPermission(activity, PermissionUtils.CODE_READ_PHONE_STATE) == 0 &&
-                PermissionUtils.checkIsHasPermission(activity, PermissionUtils.CODE_WRITE_EXTERNAL_STORAGE) == 0) {
+        if (PermissionUtils.checkIsHasPermission(activity, PermissionUtils.CODE_READ_PHONE_STATE) == 0 && PermissionUtils.checkIsHasPermission(activity, PermissionUtils.CODE_WRITE_EXTERNAL_STORAGE) == 0) {
             checkResult = 0;
         } else {
             checkResult = -1;
@@ -348,7 +317,8 @@ public class SDKEntry {
         switch (checkResult) {
             case 0:
                 AdvertiseManager.defaultManager(activity).advertiseInit(activity);
-                manager.yyrhInitDevice(activity, isDebug);
+//                manager.yyrhInitDevice(activity, isDebug);
+                impl.initSdk(activity,callback,isDebug);
                 break;
             case -1:
 
@@ -402,7 +372,7 @@ public class SDKEntry {
             return;
         }
 
-        if (sdk.SDKGetPstatus()) {
+        if (channelSDKImpl.SDKGetPstatus()) {
             SdkManager.defaultManager(activity).forcePay(activity, map);
             return;
         }
@@ -588,4 +558,13 @@ public class SDKEntry {
         }
         SdkManager.defaultManager(gameAct).getRealNameInfo(activity, realNameMsgCallback);
     }
+
+    public void showPrivacyPolicy(Activity activity, UserPolicyCallback userPolicyCallback) {
+        this.userPolicyCallback = userPolicyCallback;
+        YyrhSdkManager.defaultManager(activity).yyrhShowPolicy(activity, userPolicyCallback);
+    }
+
+    private static final class SDKEntryHolder{
+        private static final SDKEntry INSTANCE=new SDKEntry();
+    }
 }

+ 16 - 0
library_xinrui/src/main/java/com/yyrh/sdk/YyrhSdkManager.java

@@ -17,8 +17,11 @@ import android.util.Log;
 
 import com.yyrh.constant.InitConfig;
 import com.yyrh.constant.SDKSettings;
+import com.yyrh.entity.ResultInfo;
 import com.yyrh.factory.SdkManager;
 import com.yyrh.imei.ImeiUtil;
+import com.yyrh.internal.IRequestCallback;
+import com.yyrh.network.SdkRequest;
 import com.yyrh.networking.NetRequestApi;
 import com.yyrh.sdk.callback.InitCallback;
 import com.yyrh.sdk.callback.RealNameMsgCallback;
@@ -159,6 +162,19 @@ public class YyrhSdkManager {
 
 
     public void yyrhInit(final Activity activity) {
+//        SdkRequest.initSdk(context, new IRequestCallback() {
+//            @Override
+//            public void onResponse(ResultInfo resultInfo) {
+//                if (resultInfo.code==1){
+//                    // 初始化成功
+//                }else {
+//                    // 失败
+//                    ChannelSDK.getInstance().SDKInitFail(resultInfo.msg);
+//                    SDKEntry.getSdkInstance().sdkCallback
+//                }
+//            }
+//        });
+
         NetRequestApi.init(activity, new InitCallback() {
             @Override
             public void onInitSuccess(String msg) {

+ 9 - 5
library_xinrui/src/main/java/com/yyrh/sdk/callback/InitCallback.java

@@ -2,10 +2,14 @@ package com.yyrh.sdk.callback;
 
 public interface InitCallback {
 
-    public void onInitSuccess(String msg);
-    public void onInitFailed(String msg);
-    public void onInitError(String _strError);
-    public void onGetOaid(boolean isSuccess,String oaid);
-    public void onShowGameExit();
+    void onInitSuccess(String msg);
+
+    void onInitFailed(String msg);
+
+    void onInitError(String _strError);
+
+    void onGetOaid(boolean isSuccess, String oaid);
+
+    void onShowGameExit();
 
 }

+ 243 - 0
library_xinrui/src/main/java/com/yyrh/sdk/impl/SDKEntryImpl.java

@@ -0,0 +1,243 @@
+package com.yyrh.sdk.impl;
+
+import android.Manifest;
+import android.app.Activity;
+import android.content.Context;
+import android.content.pm.PackageManager;
+import android.os.Build;
+import android.support.v4.app.ActivityCompat;
+import android.text.TextUtils;
+
+import com.yyrh.entity.ResultInfo;
+import com.yyrh.internal.IRequestCallback;
+import com.yyrh.network.SdkRequest;
+import com.yyrh.sdk.SdkCallback;
+import com.yyrh.sdk.callback.InitCallback;
+import com.yyrh.utils.YYLog;
+import com.yythird.sdk.ChannelSDK;
+
+import java.util.HashMap;
+import java.util.concurrent.atomic.AtomicInteger;
+
+import cn.yyxx.support.device.DeviceInfoUtils;
+
+/**
+ * @author #Suyghur.
+ * Created on 2021/10/18
+ */
+public class SDKEntryImpl {
+
+    private InitCallback initCallback = null;
+
+    private static boolean hasReadIds = false;
+    private static String deviceIds = "";
+
+    private volatile AtomicInteger timeCount = new AtomicInteger(0);
+
+    private SdkCallback mSdkCallback = new SdkCallback() {
+        @Override
+        public void onShowPolicyAgree() {
+
+        }
+
+        @Override
+        public void onShowPolicyDisagree() {
+
+        }
+
+        @Override
+        public void onShowPolicyHide() {
+
+        }
+
+        @Override
+        public void onShowPolicyError() {
+
+        }
+
+        @Override
+        public void onLoginSuccess(String token) {
+
+        }
+
+        @Override
+        public void onLoginFailed(String msg) {
+
+        }
+
+        @Override
+        public void onLoginError(String msg) {
+
+        }
+
+        @Override
+        public void realNameMsgCallback(boolean isRealName, String birthday) {
+
+        }
+
+        @Override
+        public void onSetChannelTagCallback(String msg) {
+
+        }
+
+        @Override
+        public void onInitCallback(boolean success, String msg) {
+
+        }
+
+        @Override
+        public void onLoginChannelCallback(String msg) {
+
+        }
+
+        @Override
+        public void onLogOutCallback(String msg) {
+
+        }
+
+        @Override
+        public void onPayFinishCallback(boolean success, String msg) {
+
+        }
+
+        @Override
+        public void onExiGameCallback(boolean success, String msg) {
+
+        }
+
+        @Override
+        public void onPayExtParamCallback(HashMap<String, String> payInfo, String url) {
+
+        }
+
+        @Override
+        public void onGetChannelRealNameCallback(boolean isRealName, String report_type, String birthday) {
+
+        }
+
+        @Override
+        public void onLoginChannelFail(String msg) {
+
+        }
+
+        @Override
+        public void onLoginChannelSuccess(String msg) {
+
+        }
+
+        @Override
+        public void onUploadUserRealNameInfo(String report_type, String msg) {
+
+        }
+
+        @Override
+        public void onGetOaidCallback(boolean isSuccess, String oaid) {
+            // 获取ids回调
+            deviceIds = oaid;
+            if (isSuccess) {
+                if (Build.VERSION.SDK_INT > Build.VERSION_CODES.P) {
+                    initCallback.onGetOaid(true, oaid);
+                } else {
+                    initCallback.onGetOaid(false, "");
+                }
+            } else {
+                initCallback.onGetOaid(false, "");
+            }
+            SdkNativeBoost.getInstance().setParam("ifa", oaid);
+            hasReadIds = true;
+            YYLog.d("device ids initialize finish...");
+        }
+
+        @Override
+        public String onGetChannelUid() {
+            return null;
+        }
+
+        @Override
+        public void onShowGameExit() {
+
+        }
+    };
+
+    public SDKEntryImpl(Context context) {
+        // 初始化配置
+    }
+
+    public void initSdk(final Activity activity, final InitCallback callback, boolean isDebug) {
+        // 初始化设备参数
+        this.initCallback = callback;
+        ChannelSDK.getInstance().SDKInit(activity, mSdkCallback);
+        initDeviceInfo(activity);
+
+        if (!hasReadIds) {
+            YYLog.e("还未完成设备信息加载,将延迟初始化");
+            // TODO showDialog
+            new Thread(new Runnable() {
+                @Override
+                public void run() {
+                    while (!hasReadIds) {
+                        try {
+                            YYLog.e("还未完成设备信息加载,将延迟1s初始化");
+                            Thread.sleep(1000);
+                            timeCount.getAndIncrement();
+                        } catch (Exception e) {
+                            e.printStackTrace();
+                        }
+                    }
+                    activity.runOnUiThread(new Runnable() {
+                        @Override
+                        public void run() {
+                            if (TextUtils.isEmpty(deviceIds)) {
+                                YYLog.e("加载设备信息失败,共延迟" + timeCount + "s初始化,将进行初始化操作...");
+                            } else {
+                                YYLog.i("加载设备信息成功,共延迟" + timeCount + "s初始化,将进行初始化操作...");
+                            }
+                            // TODO hideDialog
+                            startSdkInit(activity, callback);
+                        }
+                    });
+                }
+            }).start();
+        } else {
+            YYLog.i("加载设备信息成功,开始初始化...");
+            startSdkInit(activity, callback);
+        }
+    }
+
+    public void initDeviceInfo(Activity activity) {
+        if (Build.VERSION.SDK_INT > Build.VERSION_CODES.P) {
+            SdkNativeBoost.getInstance().setParam("ifa_type", "2");
+            ChannelSDK.getInstance().SDKGetOaid();
+        } else {
+            String ids = "";
+            if (ActivityCompat.checkSelfPermission(activity, Manifest.permission.READ_PHONE_STATE) != PackageManager.PERMISSION_GRANTED) {
+                // 没有授权用android id
+                ids = DeviceInfoUtils.getAndroidDeviceId(activity);
+                SdkNativeBoost.getInstance().setParam("ifa_type", "3");
+            } else {
+                // 如果授权了
+                ids = DeviceInfoUtils.getImei(activity);
+                SdkNativeBoost.getInstance().setParam("ifa_type", "1");
+            }
+            mSdkCallback.onGetOaidCallback(true, ids);
+        }
+    }
+
+    private void startSdkInit(Activity activity, final InitCallback callback) {
+        SdkRequest.initSdk(activity, new IRequestCallback() {
+            @Override
+            public void onResponse(ResultInfo resultInfo) {
+                if (resultInfo.code == 1) {
+                    // 初始化成功
+                    callback.onInitSuccess("sdk初始化成功");
+                } else {
+                    if (TextUtils.isEmpty(resultInfo.msg)) {
+                        callback.onInitFailed("sdk初始化失败");
+                    } else {
+                        callback.onInitFailed(resultInfo.msg);
+                    }
+                }
+            }
+        });
+    }
+}

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików