Compare commits
141 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d0bfd6469b | |||
| bc462572c3 | |||
| 94d5935962 | |||
| 4cba8c3067 | |||
| 1f1c1e84e6 | |||
| 039239c2c2 | |||
| 49d24529ee | |||
| 210b049e86 | |||
| e40e4aff30 | |||
| 6e43e19b1b | |||
| 21409439f7 | |||
| bc9e642484 | |||
| cde5e845f1 | |||
| 0598d94cc0 | |||
| 89c1ddfffc | |||
| fb09917053 | |||
| f422779e12 | |||
| bce6091ce8 | |||
| 145b63acb0 | |||
| 8cd8f43b0f | |||
| 349037c5f4 | |||
| ec96756800 | |||
| 738c373a77 | |||
| 09b9cec8ec | |||
| 801a7af873 | |||
| 8a99853829 | |||
| 68e7b7347c | |||
| 503dc71630 | |||
| f5e439740a | |||
| 25096944b3 | |||
| 047f85d8f0 | |||
| 8cb5fa7a23 | |||
| 74acd437d6 | |||
| 3e9d667998 | |||
| eea3ba459a | |||
| a3ad4ac817 | |||
| ab7dec2ff0 | |||
| 23eb59a325 | |||
| 384f25d2b1 | |||
| 1c723d4fd6 | |||
| 4bfc98eb46 | |||
| bc33d16d30 | |||
| 94c5b7b5e2 | |||
| c3071d974a | |||
| 08d577778a | |||
| 03b306e639 | |||
| 6e322b0423 | |||
| 6f23abdffb | |||
| de011d687a | |||
| c382aafce2 | |||
| dce920a861 | |||
| 20a0f93096 | |||
| 0ef800b458 | |||
| 2b99a364cb | |||
| fd590e5ae2 | |||
| 3cbc455a8c | |||
| 8326d81459 | |||
| 3372d3ca27 | |||
| abc59890c9 | |||
| 937ce8c35d | |||
| 9d62a107a4 | |||
| f28fdbb377 | |||
| e5ed61e5e1 | |||
| ec3d44cb10 | |||
| 06989ae11d | |||
| 1c7b69599a | |||
| fe45e7aa65 | |||
| cf3b26156f | |||
| 6f76351d1a | |||
| 8e4445f089 | |||
| 6a8cae0d2c | |||
| 69cae58246 | |||
| b17a3fc699 | |||
| f0b1ed434b | |||
| e56f675877 | |||
| 81ed11744c | |||
| 07ad732516 | |||
| 7405e6fbee | |||
| 3efc6ac20f | |||
| 86063fe2ed | |||
| 01102368fc | |||
| d6568387f8 | |||
| 3b65e4216c | |||
| 8d87eb9a4f | |||
| 5296fd3ff2 | |||
| 84dd1eb252 | |||
| 9ca413a9fb | |||
| a262528b8c | |||
| eae3e77cea | |||
| b91f9beafd | |||
| 7234d7e479 | |||
| 67a944fef2 | |||
| e3281d8248 | |||
| 00d139f5b0 | |||
| 4a2d8bd788 | |||
| 8791e792a9 | |||
| bfaa43089c | |||
| f370a70648 | |||
| ff40a974b8 | |||
| e176793452 | |||
| 985b305cde | |||
| 3344eeb32b | |||
| cb835fbe9e | |||
| fe77b958f6 | |||
| 67ebd689c8 | |||
| 1bf69048f3 | |||
| 876d355b18 | |||
| 22ff62e567 | |||
| a723ebb0ff | |||
| ce76ce42bd | |||
| d3ad38ed8f | |||
| f31c76979d | |||
| fd9ac98d36 | |||
| 2e0da6913e | |||
| 8fa735d435 | |||
| ff27f00d15 | |||
| d67f4fad45 | |||
| 0dfa8c3604 | |||
| 681e42dded | |||
| 2c463d2ce0 | |||
| 64cf920b59 | |||
| c91ea3ab5c | |||
| c9e438d00b | |||
| dc50fb858d | |||
| 22fadee147 | |||
| 314b2ba45e | |||
| ae3e4546c9 | |||
| d7e5411282 | |||
| 88f34acb29 | |||
| 683436527d | |||
| fa787018df | |||
| f5f5f03537 | |||
| a21a4e7f77 | |||
| 7eea91dd04 | |||
| 39a5f2fa92 | |||
| 2d74227878 | |||
| 0eb4097e70 | |||
| 4593449ef4 | |||
| fcb36d83c9 | |||
| 31b3e4fc11 | |||
| eb44d7cf12 |
@@ -1,254 +0,0 @@
|
|||||||
# CI/CD 配置检查报告
|
|
||||||
|
|
||||||
## ✅ 检查完成
|
|
||||||
|
|
||||||
已完成对 GitHub Actions CI/CD 配置文件的全面检查。
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 📁 已创建的文件
|
|
||||||
|
|
||||||
| 文件 | 路径 | 说明 |
|
|
||||||
|------|------|------|
|
|
||||||
| build.yml | `.github/workflows/build.yml` | 主工作流配置文件 |
|
|
||||||
| README.md | `.github/workflows/README.md` | 详细配置说明文档 |
|
|
||||||
| QUICKSTART.md | `.github/workflows/QUICKSTART.md` | 快速入门指南 |
|
|
||||||
| setup-secrets.sh | `.github/workflows/setup-secrets.sh` | macOS/Linux 配置脚本 |
|
|
||||||
| setup-secrets.ps1 | `.github/workflows/setup-secrets.ps1` | Windows 配置脚本 |
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 🔧 已修复的问题
|
|
||||||
|
|
||||||
### 问题 1: iOS 签名身份 Secret 名称不一致
|
|
||||||
- **位置**: build.yml 第 218 行
|
|
||||||
- **问题**: 使用了 `IOS_SIGNING_identity` (小写 identity)
|
|
||||||
- **修复**: 改为 `IOS_SIGNING_IDENTITY` (全大写,符合命名规范)
|
|
||||||
|
|
||||||
### 问题 2: 条件判断过于复杂
|
|
||||||
- **位置**: 多处
|
|
||||||
- **问题**: 使用了 `startsWith(github.ref, 'refs/tags/v') || github.event.inputs.release_type == 'release'` 复杂条件
|
|
||||||
- **修复**: 简化为 `startsWith(github.ref, 'refs/tags/v')`,只在创建标签时触发 Release 构建
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## ✅ 配置验证清单
|
|
||||||
|
|
||||||
### 工作流触发条件
|
|
||||||
- ✅ Push 到 main 分支 - 触发构建
|
|
||||||
- ✅ Push 到 develop 分支 - 触发 Debug 构建
|
|
||||||
- ✅ Pull Request - 触发 Debug 构建
|
|
||||||
- ✅ 创建版本标签 (v*) - 触发 Release 构建
|
|
||||||
- ✅ 手动触发 - 可选择构建平台和类型
|
|
||||||
|
|
||||||
### Android 构建步骤
|
|
||||||
- ✅ 检出代码和子模块
|
|
||||||
- ✅ 安装 JDK 11
|
|
||||||
- ✅ 安装 Go 1.23
|
|
||||||
- ✅ 安装 Android SDK
|
|
||||||
- ✅ 创建 local.properties
|
|
||||||
- ✅ 配置签名密钥 (Release)
|
|
||||||
- ✅ 构建 APK
|
|
||||||
- ✅ 上传构建产物
|
|
||||||
|
|
||||||
### iOS 构建步骤
|
|
||||||
- ✅ 检出代码和子模块
|
|
||||||
- ✅ 安装 Xcode 15.0
|
|
||||||
- ✅ 安装开发者证书 (Release)
|
|
||||||
- ✅ 安装 Provisioning Profile (Release)
|
|
||||||
- ✅ 解析 Swift Package 依赖
|
|
||||||
- ✅ 构建 Debug 版本 (模拟器)
|
|
||||||
- ✅ 构建并归档 Release 版本
|
|
||||||
- ✅ 导出 IPA
|
|
||||||
- ✅ 上传构建产物
|
|
||||||
|
|
||||||
### 发布步骤
|
|
||||||
- ✅ 下载 Android APK
|
|
||||||
- ✅ 下载 iOS IPA
|
|
||||||
- ✅ 创建 GitHub Release
|
|
||||||
- ✅ 上传文件到 Release
|
|
||||||
- ✅ 上传到 TestFlight (Beta 和正式版)
|
|
||||||
- ✅ 发送 Telegram 通知
|
|
||||||
- ✅ 清理旧的构建产物
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## ⚠️ 使用前必须配置的 Secrets
|
|
||||||
|
|
||||||
### Android 构建 (发布版本必需)
|
|
||||||
|
|
||||||
| Secret 名称 | 说明 | 如何获取 |
|
|
||||||
|------------|------|---------|
|
|
||||||
| `ANDROID_KEYSTORE_BASE64` | 签名密钥库的 Base64 编码 | 使用 base64 命令转换 |
|
|
||||||
| `ANDROID_KEYSTORE_PASSWORD` | 密钥库密码 | 创建密钥库时设置 |
|
|
||||||
| `ANDROID_KEY_ALIAS` | 密钥别名 | 创建密钥库时设置 |
|
|
||||||
| `ANDROID_KEY_PASSWORD` | 密钥密码 | 创建密钥库时设置 |
|
|
||||||
|
|
||||||
**注意**: Debug 构建不需要配置这些 Secrets。
|
|
||||||
|
|
||||||
### iOS 构建 (发布版本必需)
|
|
||||||
|
|
||||||
| Secret 名称 | 说明 | 如何获取 |
|
|
||||||
|------------|------|---------|
|
|
||||||
| `IOS_CERTIFICATES_P12` | 开发者证书的 Base64 编码 | 从钥匙串导出 .p12 文件 |
|
|
||||||
| `IOS_CERTIFICATES_PASSWORD` | 证书密码 | 导出时设置 |
|
|
||||||
| `IOS_TEAM_ID` | Apple Team ID | Apple Developer 账号 |
|
|
||||||
| `IOS_SIGNING_IDENTITY` | 签名身份 | 如: "Apple Distribution: Name (TEAM_ID)" |
|
|
||||||
| `IOS_PROVISIONING_PROFILE` | Provisioning Profile 的 Base64 编码 | Apple Developer 网站下载 |
|
|
||||||
|
|
||||||
**注意**: Debug 构建不需要配置这些 Secrets。
|
|
||||||
|
|
||||||
### TestFlight 上传 (可选)
|
|
||||||
|
|
||||||
| Secret 名称 | 说明 | 如何获取 |
|
|
||||||
|------------|------|---------|
|
|
||||||
| `APP_STORE_CONNECT_ISSUER_ID` | Issuer ID | App Store Connect API Keys |
|
|
||||||
| `APP_STORE_CONNECT_API_KEY_ID` | API Key ID | 创建 API Key 时获得 |
|
|
||||||
| `APP_STORE_CONNECT_API_PRIVATE_KEY` | API 私钥 | 下载的 .p8 文件内容 |
|
|
||||||
|
|
||||||
### 通知 (可选)
|
|
||||||
|
|
||||||
| Secret 名称 | 说明 | 如何获取 |
|
|
||||||
|------------|------|---------|
|
|
||||||
| `TELEGRAM_BOT_TOKEN` | Bot Token | 通过 @BotFather 创建 |
|
|
||||||
| `TELEGRAM_CHAT_ID` | Chat ID | 邀请 Bot 后获取 |
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 🚀 快速开始步骤
|
|
||||||
|
|
||||||
### 1. 配置 Secrets
|
|
||||||
|
|
||||||
**Windows 用户**:
|
|
||||||
```powershell
|
|
||||||
cd D:\Code\UUVPN\.github\workflows
|
|
||||||
.\setup-secrets.ps1
|
|
||||||
```
|
|
||||||
|
|
||||||
**macOS/Linux 用户**:
|
|
||||||
```bash
|
|
||||||
cd /path/to/UUVPN/.github/workflows
|
|
||||||
chmod +x setup-secrets.sh
|
|
||||||
./setup-secrets.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
### 2. 推送代码测试
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# 推送到 develop 分支触发 Debug 构建
|
|
||||||
git checkout -b develop
|
|
||||||
git push origin develop
|
|
||||||
|
|
||||||
# 查看 Actions 页面确认构建成功
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3. 创建发布版本
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# 创建 Alpha 版本
|
|
||||||
git tag v1.0.0-alpha
|
|
||||||
git push origin v1.0.0-alpha
|
|
||||||
|
|
||||||
# 创建 Beta 版本 (会自动上传到 TestFlight)
|
|
||||||
git tag v1.0.0-beta
|
|
||||||
git push origin v1.0.0-beta
|
|
||||||
|
|
||||||
# 创建正式版本
|
|
||||||
git tag v1.0.0
|
|
||||||
git push origin v1.0.0
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 📊 预期行为
|
|
||||||
|
|
||||||
### Debug 构建 (develop 分支或 PR)
|
|
||||||
|
|
||||||
**Android**:
|
|
||||||
- ✅ 使用 Debug 签名
|
|
||||||
- ✅ 构建 `app-meta-alpha-debug.apk`
|
|
||||||
- ✅ 上传到 Artifacts (保留 30 天)
|
|
||||||
|
|
||||||
**iOS**:
|
|
||||||
- ✅ 无签名
|
|
||||||
- ✅ 构建模拟器版本
|
|
||||||
- ✅ 上传 .app 文件到 Artifacts (保留 7 天)
|
|
||||||
|
|
||||||
### Release 构建 (创建标签)
|
|
||||||
|
|
||||||
**Android**:
|
|
||||||
- ✅ 使用自定义签名密钥
|
|
||||||
- ✅ 构建 Release APK
|
|
||||||
- ✅ 重命名为 `UUVPN-Android-v1.0.0.apk`
|
|
||||||
- ✅ 上传到 GitHub Release
|
|
||||||
|
|
||||||
**iOS**:
|
|
||||||
- ✅ 使用开发者证书签名
|
|
||||||
- ✅ 导出 IPA 文件
|
|
||||||
- ✅ 重命名为 `UUVPN-iOS-v1.0.0.ipa`
|
|
||||||
- ✅ 上传到 GitHub Release
|
|
||||||
- ✅ Beta 和正式版上传到 TestFlight
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## ⏱️ 预计构建时间
|
|
||||||
|
|
||||||
| 平台 | Debug 构建 | Release 构建 |
|
|
||||||
|------|-----------|-------------|
|
|
||||||
| Android | 5-10 分钟 | 10-15 分钟 |
|
|
||||||
| iOS | 15-20 分钟 | 20-30 分钟 |
|
|
||||||
|
|
||||||
**总计**: 完整构建约 25-45 分钟
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 💰 成本估算
|
|
||||||
|
|
||||||
GitHub Actions 免费账户每月 2000 分钟:
|
|
||||||
|
|
||||||
| 构建类型 | 消耗时间 | 每月可构建次数 |
|
|
||||||
|---------|---------|--------------|
|
|
||||||
| 仅 Android | ~10 分钟 | ~200 次 |
|
|
||||||
| 仅 iOS | ~200 分钟 (按 10 倍计) | ~10 次 |
|
|
||||||
| Android + iOS | ~210 分钟 | ~9 次 |
|
|
||||||
|
|
||||||
**建议**: 节省 macOS runner 时间,只在需要时构建 iOS 版本。
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 🎯 下一步行动
|
|
||||||
|
|
||||||
1. ✅ **配置 Secrets**
|
|
||||||
- 使用配置脚本或手动配置
|
|
||||||
- 至少配置 Debug 构建所需的 Secrets
|
|
||||||
|
|
||||||
2. ✅ **测试 Debug 构建**
|
|
||||||
- 推送代码到 develop 分支
|
|
||||||
- 确认构建成功
|
|
||||||
|
|
||||||
3. ✅ **配置发布 Secrets**
|
|
||||||
- 配置 Android 签名密钥
|
|
||||||
- 配置 iOS 证书和 Profile
|
|
||||||
|
|
||||||
4. ✅ **创建第一个版本**
|
|
||||||
- 创建标签触发 Release 构建
|
|
||||||
- 验证 GitHub Release 创建成功
|
|
||||||
|
|
||||||
5. ✅ **配置 TestFlight** (可选)
|
|
||||||
- 配置 App Store Connect API Keys
|
|
||||||
- 验证自动上传到 TestFlight
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 📞 获取帮助
|
|
||||||
|
|
||||||
如遇到问题,请查看:
|
|
||||||
|
|
||||||
1. [GitHub Actions 日志](https://github.com/你的用户名/UUVPN/actions)
|
|
||||||
2. [配置文档](.github/workflows/README.md)
|
|
||||||
3. [快速入门](.github/workflows/QUICKSTART.md)
|
|
||||||
4. [项目 Issues](https://github.com/nicolastinkl/UUVPN/issues)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**配置检查完成! 🎉**
|
|
||||||
@@ -1,363 +0,0 @@
|
|||||||
# GitHub Actions CI/CD 快速入门指南
|
|
||||||
|
|
||||||
本指南帮助你快速配置和使用 UUVPN 的自动构建系统。
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 🚀 5 分钟快速开始
|
|
||||||
|
|
||||||
### 第一步: 准备工作
|
|
||||||
|
|
||||||
确保你已拥有:
|
|
||||||
|
|
||||||
- ✅ GitHub 账号
|
|
||||||
- ✅ UUVPN 代码仓库的写权限
|
|
||||||
- ✅ Apple Developer 账号 (iOS 构建必需)
|
|
||||||
- ✅ Android 签名密钥库 (Android Release 构建必需)
|
|
||||||
|
|
||||||
### 第二步: 安装 GitHub CLI
|
|
||||||
|
|
||||||
**Windows**:
|
|
||||||
```powershell
|
|
||||||
winget install GitHub.cli
|
|
||||||
```
|
|
||||||
|
|
||||||
**macOS**:
|
|
||||||
```bash
|
|
||||||
brew install gh
|
|
||||||
```
|
|
||||||
|
|
||||||
**Linux**:
|
|
||||||
```bash
|
|
||||||
# Debian/Ubuntu
|
|
||||||
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
|
|
||||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install gh
|
|
||||||
```
|
|
||||||
|
|
||||||
### 第三步: 登录 GitHub
|
|
||||||
|
|
||||||
```bash
|
|
||||||
gh auth login
|
|
||||||
```
|
|
||||||
|
|
||||||
按照提示选择:
|
|
||||||
- GitHub.com
|
|
||||||
- HTTPS
|
|
||||||
- 使用浏览器登录或粘贴 token
|
|
||||||
|
|
||||||
### 第四步: 配置 Secrets
|
|
||||||
|
|
||||||
#### 方法一: 使用自动配置脚本 (推荐)
|
|
||||||
|
|
||||||
**Windows**:
|
|
||||||
```powershell
|
|
||||||
cd D:\Code\UUVPN\.github\workflows
|
|
||||||
.\setup-secrets.ps1
|
|
||||||
```
|
|
||||||
|
|
||||||
**macOS/Linux**:
|
|
||||||
```bash
|
|
||||||
cd /path/to/UUVPN/.github/workflows
|
|
||||||
chmod +x setup-secrets.sh
|
|
||||||
./setup-secrets.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
#### 方法二: 手动配置
|
|
||||||
|
|
||||||
在 GitHub 仓库页面:
|
|
||||||
|
|
||||||
1. 进入 `Settings` → `Secrets and variables` → `Actions`
|
|
||||||
2. 点击 `New repository secret`
|
|
||||||
3. 添加所需的 secrets (详见下方)
|
|
||||||
|
|
||||||
### 第五步: 触发构建
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# 推送代码触发构建
|
|
||||||
git push origin main
|
|
||||||
|
|
||||||
# 或创建标签触发发布
|
|
||||||
git tag v1.0.0-alpha
|
|
||||||
git push origin v1.0.0-alpha
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 📋 必需的 Secrets 清单
|
|
||||||
|
|
||||||
### Android 构建
|
|
||||||
|
|
||||||
| Secret | 必需 | 说明 |
|
|
||||||
|--------|------|------|
|
|
||||||
| `ANDROID_KEYSTORE_BASE64` | ✅ | 签名密钥库的 Base64 编码 |
|
|
||||||
| `ANDROID_KEYSTORE_PASSWORD` | ✅ | 密钥库密码 |
|
|
||||||
| `ANDROID_KEY_ALIAS` | ✅ | 密钥别名 |
|
|
||||||
| `ANDROID_KEY_PASSWORD` | ✅ | 密钥密码 |
|
|
||||||
|
|
||||||
### iOS 构建
|
|
||||||
|
|
||||||
| Secret | 必需 | 说明 |
|
|
||||||
|--------|------|------|
|
|
||||||
| `IOS_CERTIFICATES_P12` | ✅ | 开发者证书 Base64 编码 |
|
|
||||||
| `IOS_CERTIFICATES_PASSWORD` | ✅ | 证书密码 |
|
|
||||||
| `IOS_TEAM_ID` | ✅ | Apple Team ID |
|
|
||||||
| `IOS_SIGNING_IDENTITY` | ✅ | 签名身份 |
|
|
||||||
| `IOS_PROVISIONING_PROFILE` | ✅ | Provisioning Profile Base64 |
|
|
||||||
|
|
||||||
### TestFlight 上传 (可选)
|
|
||||||
|
|
||||||
| Secret | 必需 | 说明 |
|
|
||||||
|--------|------|------|
|
|
||||||
| `APP_STORE_CONNECT_ISSUER_ID` | ⭐ | App Store Connect Issuer ID |
|
|
||||||
| `APP_STORE_CONNECT_API_KEY_ID` | ⭐ | API Key ID |
|
|
||||||
| `APP_STORE_CONNECT_API_PRIVATE_KEY` | ⭐ | API 私钥 |
|
|
||||||
|
|
||||||
### 通知 (可选)
|
|
||||||
|
|
||||||
| Secret | 必需 | 说明 |
|
|
||||||
|--------|------|------|
|
|
||||||
| `TELEGRAM_BOT_TOKEN` | | Telegram Bot Token |
|
|
||||||
| `TELEGRAM_CHAT_ID` | | Telegram Chat ID |
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 🔧 详细配置步骤
|
|
||||||
|
|
||||||
### Android 签名密钥库
|
|
||||||
|
|
||||||
#### 1. 创建密钥库 (如果没有)
|
|
||||||
|
|
||||||
```bash
|
|
||||||
keytool -genkey -v \
|
|
||||||
-keystore release.keystore \
|
|
||||||
-alias uuvpn \
|
|
||||||
-keyalg RSA \
|
|
||||||
-keysize 2048 \
|
|
||||||
-validity 10000
|
|
||||||
```
|
|
||||||
|
|
||||||
按提示输入:
|
|
||||||
- 密钥库密码
|
|
||||||
- 个人信息
|
|
||||||
- 密钥密码
|
|
||||||
|
|
||||||
#### 2. 转换为 Base64
|
|
||||||
|
|
||||||
**macOS/Linux**:
|
|
||||||
```bash
|
|
||||||
base64 -i release.keystore -o release.keystore.base64
|
|
||||||
```
|
|
||||||
|
|
||||||
**Windows PowerShell**:
|
|
||||||
```powershell
|
|
||||||
[Convert]::ToBase64String([IO.File]::ReadAllBytes("release.keystore")) | Out-File release.keystore.base64
|
|
||||||
```
|
|
||||||
|
|
||||||
#### 3. 添加到 GitHub Secrets
|
|
||||||
|
|
||||||
复制 `release.keystore.base64` 文件内容,添加为 `ANDROID_KEYSTORE_BASE64` secret。
|
|
||||||
|
|
||||||
### iOS 开发者证书
|
|
||||||
|
|
||||||
#### 1. 导出证书
|
|
||||||
|
|
||||||
1. 打开 "钥匙串访问" (Keychain Access)
|
|
||||||
2. 找到 "Apple Distribution" 证书
|
|
||||||
3. 右键 → 导出
|
|
||||||
4. 选择 .p12 格式
|
|
||||||
5. 设置密码
|
|
||||||
|
|
||||||
#### 2. 转换为 Base64
|
|
||||||
|
|
||||||
**macOS**:
|
|
||||||
```bash
|
|
||||||
base64 -i certificate.p12 -o certificate.p12.base64
|
|
||||||
```
|
|
||||||
|
|
||||||
#### 3. 下载 Provisioning Profile
|
|
||||||
|
|
||||||
1. 登录 [Apple Developer](https://developer.apple.com/)
|
|
||||||
2. 进入 Certificates, Identifiers & Profiles
|
|
||||||
3. 下载对应的 Provisioning Profile
|
|
||||||
|
|
||||||
#### 4. 转换为 Base64
|
|
||||||
|
|
||||||
```bash
|
|
||||||
base64 -i uuvpn.mobileprovision -o uuvpn.mobileprovision.base64
|
|
||||||
```
|
|
||||||
|
|
||||||
### App Store Connect API Key
|
|
||||||
|
|
||||||
#### 1. 创建 API Key
|
|
||||||
|
|
||||||
1. 登录 [App Store Connect](https://appstoreconnect.apple.com/)
|
|
||||||
2. 进入 Users and Access → Keys
|
|
||||||
3. 点击 "Generate API Key"
|
|
||||||
4. 选择 "App Manager" 权限
|
|
||||||
5. 下载 .p8 文件
|
|
||||||
|
|
||||||
#### 2. 记录信息
|
|
||||||
|
|
||||||
- **Issuer ID**: 在 Keys 页面顶部
|
|
||||||
- **Key ID**: 创建后显示
|
|
||||||
- **Private Key**: 下载的 .p8 文件内容
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 🎯 构建类型说明
|
|
||||||
|
|
||||||
### Debug 构建
|
|
||||||
|
|
||||||
**触发条件**:
|
|
||||||
- Pull Request
|
|
||||||
- 推送到 develop 分支
|
|
||||||
|
|
||||||
**特点**:
|
|
||||||
- 无需签名配置
|
|
||||||
- 快速构建
|
|
||||||
- 不发布到 Release
|
|
||||||
|
|
||||||
### Release 构建
|
|
||||||
|
|
||||||
**触发条件**:
|
|
||||||
- 推送到 main 分支
|
|
||||||
- 创建版本标签
|
|
||||||
|
|
||||||
**特点**:
|
|
||||||
- 需要签名配置
|
|
||||||
- 自动发布到 GitHub Releases
|
|
||||||
- 可选上传到 TestFlight
|
|
||||||
|
|
||||||
### 版本标签格式
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Alpha 版本 (预发布)
|
|
||||||
git tag v1.0.0-alpha
|
|
||||||
git push origin v1.0.0-alpha
|
|
||||||
|
|
||||||
# Beta 版本 (预发布,上传 TestFlight)
|
|
||||||
git tag v1.0.0-beta
|
|
||||||
git push origin v1.0.0-beta
|
|
||||||
|
|
||||||
# 正式版本 (发布,上传 TestFlight)
|
|
||||||
git tag v1.0.0
|
|
||||||
git push origin v1.0.0
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 📥 下载构建产物
|
|
||||||
|
|
||||||
### 方法一: Actions Artifacts
|
|
||||||
|
|
||||||
1. 进入 GitHub 仓库
|
|
||||||
2. 点击 "Actions" 标签
|
|
||||||
3. 选择具体的 workflow 运行记录
|
|
||||||
4. 在页面底部 "Artifacts" 区域下载
|
|
||||||
|
|
||||||
### 方法二: GitHub Releases
|
|
||||||
|
|
||||||
1. 进入 GitHub 仓库
|
|
||||||
2. 点击 "Releases" 标签
|
|
||||||
3. 找到对应版本
|
|
||||||
4. 下载 APK 或 IPA 文件
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 🛠️ 故障排查
|
|
||||||
|
|
||||||
### 构建失败
|
|
||||||
|
|
||||||
1. **查看日志**:
|
|
||||||
- 进入 Actions 页面
|
|
||||||
- 点击失败的步骤
|
|
||||||
- 查看详细错误信息
|
|
||||||
|
|
||||||
2. **常见错误**:
|
|
||||||
- ❌ 签名错误: 检查 Secrets 配置
|
|
||||||
- ❌ 证书过期: 更新证书和 Profile
|
|
||||||
- ❌ 构建超时: 优化构建配置
|
|
||||||
|
|
||||||
### iOS 签名失败
|
|
||||||
|
|
||||||
检查清单:
|
|
||||||
- [ ] 证书未过期
|
|
||||||
- [ ] Provisioning Profile 包含正确 App ID
|
|
||||||
- [ ] Team ID 正确
|
|
||||||
- [ ] 证书和 Profile 匹配
|
|
||||||
|
|
||||||
### TestFlight 上传失败
|
|
||||||
|
|
||||||
检查清单:
|
|
||||||
- [ ] API Key 有 App Manager 权限
|
|
||||||
- [ ] App ID 在 App Store Connect 已创建
|
|
||||||
- [ ] 版本号未重复
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 💡 最佳实践
|
|
||||||
|
|
||||||
### 1. 分支策略
|
|
||||||
|
|
||||||
```
|
|
||||||
main (稳定版本)
|
|
||||||
↑
|
|
||||||
develop (开发版本)
|
|
||||||
↑
|
|
||||||
feature/* (功能分支)
|
|
||||||
```
|
|
||||||
|
|
||||||
### 2. 版本号规范
|
|
||||||
|
|
||||||
使用语义化版本:
|
|
||||||
- `v1.0.0-alpha`: 内部测试版本
|
|
||||||
- `v1.0.0-beta`: 公开测试版本
|
|
||||||
- `v1.0.0`: 正式发布版本
|
|
||||||
|
|
||||||
### 3. 节省构建时间
|
|
||||||
|
|
||||||
- 只在需要时构建 iOS (macOS runner 费用高)
|
|
||||||
- 使用缓存加速构建
|
|
||||||
- 手动触发选择性构建
|
|
||||||
|
|
||||||
### 4. 安全建议
|
|
||||||
|
|
||||||
- 定期更新签名密钥
|
|
||||||
- 使用最小权限原则
|
|
||||||
- 不要在代码中硬编码敏感信息
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 📞 获取帮助
|
|
||||||
|
|
||||||
### 文档
|
|
||||||
|
|
||||||
- [GitHub Actions 文档](https://docs.github.com/en/actions)
|
|
||||||
- [详细配置说明](./README.md)
|
|
||||||
- [API 配置指南](../../API配置指南.md)
|
|
||||||
|
|
||||||
### 支持
|
|
||||||
|
|
||||||
- 查看仓库 [Issues](https://github.com/nicolastinkl/UUVPN/issues)
|
|
||||||
- Telegram: @fastlink
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## ✅ 配置验证清单
|
|
||||||
|
|
||||||
完成配置后,检查以下内容:
|
|
||||||
|
|
||||||
- [ ] 已安装 GitHub CLI
|
|
||||||
- [ ] 已登录 GitHub CLI
|
|
||||||
- [ ] 已配置 Android Secrets (如需 Android 构建)
|
|
||||||
- [ ] 已配置 iOS Secrets (如需 iOS 构建)
|
|
||||||
- [ ] 已配置 App Store Connect API (如需 TestFlight)
|
|
||||||
- [ ] 已推送代码触发构建
|
|
||||||
- [ ] 构建成功
|
|
||||||
- [ ] 可以下载构建产物
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**祝你构建顺利! 🎉**
|
|
||||||
@@ -1,525 +0,0 @@
|
|||||||
# GitHub Actions CI/CD 配置说明
|
|
||||||
|
|
||||||
本文档说明如何配置和使用 UUVPN 的 GitHub Actions 自动构建流程。
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 📋 目录
|
|
||||||
|
|
||||||
- [功能特性](#功能特性)
|
|
||||||
- [前置要求](#前置要求)
|
|
||||||
- [配置 Secrets](#配置-secrets)
|
|
||||||
- [使用方法](#使用方法)
|
|
||||||
- [构建产物](#构建产物)
|
|
||||||
- [自定义配置](#自定义配置)
|
|
||||||
- [常见问题](#常见问题)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 功能特性
|
|
||||||
|
|
||||||
### ✅ 自动构建
|
|
||||||
|
|
||||||
- **Android APK**: 支持 Debug 和 Release 构建
|
|
||||||
- **iOS IPA**: 支持 Debug 和 Release 构建
|
|
||||||
- **多架构支持**: Android 支持 armeabi-v7a, arm64-v8a, x86, x86_64
|
|
||||||
|
|
||||||
### ✅ 自动发布
|
|
||||||
|
|
||||||
- **GitHub Releases**: 自动创建 Release 并上传构建产物
|
|
||||||
- **TestFlight**: 自动上传 iOS 版本到 TestFlight
|
|
||||||
- **Telegram 通知**: 构建完成后发送通知
|
|
||||||
|
|
||||||
### ✅ 触发条件
|
|
||||||
|
|
||||||
- 推送到 main/develop 分支
|
|
||||||
- 创建版本标签 (v*)
|
|
||||||
- Pull Request
|
|
||||||
- 手动触发
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 前置要求
|
|
||||||
|
|
||||||
### Android 构建
|
|
||||||
|
|
||||||
1. **JDK 11**: 已在 Actions 中自动配置
|
|
||||||
2. **Android SDK**: 已在 Actions 中自动配置
|
|
||||||
3. **Go 1.23**: 用于编译核心库
|
|
||||||
4. **签名密钥**: Release 构建需要签名密钥库
|
|
||||||
|
|
||||||
### iOS 构建
|
|
||||||
|
|
||||||
1. **Apple Developer 账号**: $99/年
|
|
||||||
2. **Xcode 15.0+**: 已在 Actions 中自动配置
|
|
||||||
3. **开发者证书**: .p12 格式
|
|
||||||
4. **Provisioning Profile**: .mobileprovision 文件
|
|
||||||
5. **App Store Connect API Key**: 用于上传到 TestFlight
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 配置 Secrets
|
|
||||||
|
|
||||||
在 GitHub 仓库中配置以下 Secrets:
|
|
||||||
|
|
||||||
### Android Secrets
|
|
||||||
|
|
||||||
| Secret 名称 | 描述 | 获取方式 |
|
|
||||||
|------------|------|---------|
|
|
||||||
| `ANDROID_KEYSTORE_BASE64` | 签名密钥库的 Base64 编码 | 见下方说明 |
|
|
||||||
| `ANDROID_KEYSTORE_PASSWORD` | 密钥库密码 | 创建密钥库时设置 |
|
|
||||||
| `ANDROID_KEY_ALIAS` | 密钥别名 | 创建密钥库时设置 |
|
|
||||||
| `ANDROID_KEY_PASSWORD` | 密钥密码 | 创建密钥库时设置 |
|
|
||||||
|
|
||||||
**生成 ANDROID_KEYSTORE_BASE64**:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# 在本地执行
|
|
||||||
keytool -genkey -v -keystore release.keystore -alias uuvpn -keyalg RSA -keysize 2048 -validity 10000
|
|
||||||
|
|
||||||
# 转换为 Base64
|
|
||||||
base64 -i release.keystore -o release.keystore.base64
|
|
||||||
|
|
||||||
# 或者使用 PowerShell
|
|
||||||
[Convert]::ToBase64String([IO.File]::ReadAllBytes("release.keystore")) | Out-File release.keystore.base64
|
|
||||||
```
|
|
||||||
|
|
||||||
### iOS Secrets
|
|
||||||
|
|
||||||
| Secret 名称 | 描述 | 获取方式 |
|
|
||||||
|------------|------|---------|
|
|
||||||
| `IOS_CERTIFICATES_P12` | 开发者证书的 Base64 编码 | 见下方说明 |
|
|
||||||
| `IOS_CERTIFICATES_PASSWORD` | 证书密码 | 导出证书时设置 |
|
|
||||||
| `IOS_SIGNING_IDENTITY` | 签名身份 | 如: "Apple Distribution: Your Name (TEAM_ID)" |
|
|
||||||
| `IOS_PROVISIONING_PROFILE` | Provisioning Profile 的 Base64 编码 | 见下方说明 |
|
|
||||||
| `IOS_TEAM_ID` | Apple Team ID | 在 Apple Developer 账号中查看 |
|
|
||||||
|
|
||||||
**生成 IOS_CERTIFICATES_P12**:
|
|
||||||
|
|
||||||
1. 在 Keychain Access 中导出证书
|
|
||||||
2. 选择 "Apple Distribution" 证书
|
|
||||||
3. 右键 → 导出 → 选择 .p12 格式
|
|
||||||
4. 设置密码
|
|
||||||
5. 转换为 Base64:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
base64 -i certificate.p12 -o certificate.p12.base64
|
|
||||||
|
|
||||||
# 或者使用 PowerShell
|
|
||||||
[Convert]::ToBase64String([IO.File]::ReadAllBytes("certificate.p12")) | Out-File certificate.p12.base64
|
|
||||||
```
|
|
||||||
|
|
||||||
**生成 IOS_PROVISIONING_PROFILE**:
|
|
||||||
|
|
||||||
1. 在 Apple Developer 网站下载 Provisioning Profile
|
|
||||||
2. 转换为 Base64:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
base64 -i uuvpn.mobileprovision -o uuvpn.mobileprovision.base64
|
|
||||||
|
|
||||||
# 或者使用 PowerShell
|
|
||||||
[Convert]::ToBase64String([IO.File]::ReadAllBytes("uuvpn.mobileprovision")) | Out-File uuvpn.mobileprovision.base64
|
|
||||||
```
|
|
||||||
|
|
||||||
### App Store Connect Secrets
|
|
||||||
|
|
||||||
| Secret 名称 | 描述 | 获取方式 |
|
|
||||||
|------------|------|---------|
|
|
||||||
| `APP_STORE_CONNECT_ISSUER_ID` | App Store Connect API Issuer ID | 在 App Store Connect 中创建 API Key |
|
|
||||||
| `APP_STORE_CONNECT_API_KEY_ID` | App Store Connect API Key ID | 创建 API Key 时获得 |
|
|
||||||
| `APP_STORE_CONNECT_API_PRIVATE_KEY` | App Store Connect API 私钥 | 创建 API Key 时下载的 .p8 文件内容 |
|
|
||||||
|
|
||||||
**获取方式**:
|
|
||||||
|
|
||||||
1. 登录 [App Store Connect](https://appstoreconnect.apple.com/)
|
|
||||||
2. 进入 Users and Access → Keys
|
|
||||||
3. 点击 "Generate API Key"
|
|
||||||
4. 选择 "App Manager" 权限
|
|
||||||
5. 下载 .p8 文件并保存私钥内容
|
|
||||||
|
|
||||||
### 通知 Secrets (可选)
|
|
||||||
|
|
||||||
| Secret 名称 | 描述 | 获取方式 |
|
|
||||||
|------------|------|---------|
|
|
||||||
| `TELEGRAM_BOT_TOKEN` | Telegram Bot Token | 通过 @BotFather 创建 Bot |
|
|
||||||
| `TELEGRAM_CHAT_ID` | Telegram 群组/频道 ID | 邀请 Bot 到群组后获取 |
|
|
||||||
|
|
||||||
**获取方式**:
|
|
||||||
|
|
||||||
1. 在 Telegram 中找到 @BotFather
|
|
||||||
2. 发送 `/newbot` 创建新 Bot
|
|
||||||
3. 获取 Bot Token
|
|
||||||
4. 创建群组或频道,邀请 Bot
|
|
||||||
5. 获取 Chat ID: `https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates`
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 使用方法
|
|
||||||
|
|
||||||
### 方法一: 自动触发
|
|
||||||
|
|
||||||
#### 推送到分支
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# 推送到 main 分支,触发构建
|
|
||||||
git push origin main
|
|
||||||
|
|
||||||
# 推送到 develop 分支,触发 Debug 构建
|
|
||||||
git push origin develop
|
|
||||||
```
|
|
||||||
|
|
||||||
#### 创建版本标签
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# 创建 Alpha 版本
|
|
||||||
git tag v1.0.0-alpha
|
|
||||||
git push origin v1.0.0-alpha
|
|
||||||
|
|
||||||
# 创建 Beta 版本
|
|
||||||
git tag v1.0.0-beta
|
|
||||||
git push origin v1.0.0-beta
|
|
||||||
|
|
||||||
# 创建正式版本
|
|
||||||
git tag v1.0.0
|
|
||||||
git push origin v1.0.0
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Pull Request
|
|
||||||
|
|
||||||
创建 Pull Request 到 main 分支会自动触发 Debug 构建。
|
|
||||||
|
|
||||||
### 方法二: 手动触发
|
|
||||||
|
|
||||||
1. 进入 GitHub 仓库
|
|
||||||
2. 点击 "Actions" 标签
|
|
||||||
3. 选择 "Build UUVPN" workflow
|
|
||||||
4. 点击 "Run workflow"
|
|
||||||
5. 选择构建选项:
|
|
||||||
- `build_android`: 是否构建 Android APK
|
|
||||||
- `build_ios`: 是否构建 iOS IPA
|
|
||||||
- `release_type`: 构建类型 (alpha/beta/release)
|
|
||||||
6. 点击 "Run workflow" 按钮
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 构建产物
|
|
||||||
|
|
||||||
### Android 构建产物
|
|
||||||
|
|
||||||
构建完成后,可以在以下位置找到 APK:
|
|
||||||
|
|
||||||
1. **Actions Artifacts**: 每个 workflow 运行都会保存 APK artifact
|
|
||||||
2. **GitHub Releases**: 创建标签后,APK 会自动上传到 Release
|
|
||||||
|
|
||||||
**APK 文件命名**:
|
|
||||||
- Debug: `app-meta-alpha-debug.apk`
|
|
||||||
- Release: `UUVPN-Android-v1.0.0.apk`
|
|
||||||
|
|
||||||
### iOS 构建产物
|
|
||||||
|
|
||||||
构建完成后,可以在以下位置找到 IPA:
|
|
||||||
|
|
||||||
1. **Actions Artifacts**: 每个 workflow 运行都会保存 IPA artifact
|
|
||||||
2. **GitHub Releases**: 创建标签后,IPA 会自动上传到 Release
|
|
||||||
3. **TestFlight**: Beta 和正式版本会自动上传到 TestFlight
|
|
||||||
|
|
||||||
**IPA 文件命名**:
|
|
||||||
- Release: `UUVPN-iOS-v1.0.0.ipa`
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 自定义配置
|
|
||||||
|
|
||||||
### 修改 Android 构建变体
|
|
||||||
|
|
||||||
编辑 `.github/workflows/build.yml` 中的构建命令:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
- name: Build Android APK
|
|
||||||
run: |
|
|
||||||
cd Android-kotlin-Code
|
|
||||||
# 修改为你需要的构建变体
|
|
||||||
./gradlew app:assembleMeta-BetaRelease --stacktrace
|
|
||||||
```
|
|
||||||
|
|
||||||
### 修改 iOS Scheme
|
|
||||||
|
|
||||||
编辑 `.github/workflows/build.yml` 中的 scheme:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
- name: Build iOS App
|
|
||||||
run: |
|
|
||||||
cd iOS-SwiftUI-Code
|
|
||||||
xcodebuild build \
|
|
||||||
-project uuvpn.xcodeproj \
|
|
||||||
-scheme SFT \ # 修改为你需要的 scheme
|
|
||||||
-sdk iphoneos \
|
|
||||||
...
|
|
||||||
```
|
|
||||||
|
|
||||||
### 添加构建缓存
|
|
||||||
|
|
||||||
在 workflow 中添加缓存以加速构建:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
- name: Cache Gradle packages
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.gradle/caches
|
|
||||||
~/.gradle/wrapper
|
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-gradle-
|
|
||||||
|
|
||||||
- name: Cache Swift packages
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/Library/Caches/org.swift.swiftpm
|
|
||||||
.build
|
|
||||||
key: ${{ runner.os }}-swift-${{ hashFiles('**/Package.resolved') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-swift-
|
|
||||||
```
|
|
||||||
|
|
||||||
### 添加自定义构建步骤
|
|
||||||
|
|
||||||
在 workflow 中添加自定义步骤:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
- name: Custom build step
|
|
||||||
run: |
|
|
||||||
# 你的自定义命令
|
|
||||||
echo "Running custom build step"
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 工作流程说明
|
|
||||||
|
|
||||||
### 完整构建流程
|
|
||||||
|
|
||||||
```
|
|
||||||
┌─────────────────┐
|
|
||||||
│ 触发构建 │
|
|
||||||
└────────┬────────┘
|
|
||||||
│
|
|
||||||
├─────────────────────┐
|
|
||||||
│ │
|
|
||||||
▼ ▼
|
|
||||||
┌─────────────────┐ ┌─────────────────┐
|
|
||||||
│ 构建 Android │ │ 构建 iOS │
|
|
||||||
│ APK │ │ IPA │
|
|
||||||
└────────┬────────┘ └────────┬────────┘
|
|
||||||
│ │
|
|
||||||
└──────────┬──────────┘
|
|
||||||
│
|
|
||||||
▼
|
|
||||||
┌─────────────────────┐
|
|
||||||
│ 创建 GitHub Release │
|
|
||||||
│ (仅标签触发) │
|
|
||||||
└──────────┬──────────┘
|
|
||||||
│
|
|
||||||
├─────────────────────┐
|
|
||||||
│ │
|
|
||||||
▼ ▼
|
|
||||||
┌─────────────────┐ ┌─────────────────┐
|
|
||||||
│ 上传 APK 到 │ │ 上传 IPA 到 │
|
|
||||||
│ GitHub Release │ │ TestFlight │
|
|
||||||
└─────────────────┘ └─────────────────┘
|
|
||||||
│
|
|
||||||
▼
|
|
||||||
┌─────────────────────┐
|
|
||||||
│ 发送通知 │
|
|
||||||
└─────────────────────┘
|
|
||||||
```
|
|
||||||
|
|
||||||
### 构建类型说明
|
|
||||||
|
|
||||||
| 触发条件 | Android | iOS | 发布 |
|
|
||||||
|---------|---------|-----|------|
|
|
||||||
| Push to develop | Debug APK | Debug App | 否 |
|
|
||||||
| Pull Request | Debug APK | Debug App | 否 |
|
|
||||||
| Push to main | Release APK | Release IPA | 否 |
|
|
||||||
| Tag v*-alpha | Release APK | Release IPA | GitHub Release (Pre-release) |
|
|
||||||
| Tag v*-beta | Release APK | Release IPA | GitHub Release + TestFlight |
|
|
||||||
| Tag v* | Release APK | Release IPA | GitHub Release + TestFlight |
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 常见问题
|
|
||||||
|
|
||||||
### Q1: Android 构建失败,提示找不到签名密钥?
|
|
||||||
|
|
||||||
**A**: 检查以下内容:
|
|
||||||
- 确认已配置 `ANDROID_KEYSTORE_BASE64` secret
|
|
||||||
- 确认 Base64 编码正确
|
|
||||||
- 确认密钥库密码、别名和密钥密码正确
|
|
||||||
|
|
||||||
### Q2: iOS 构建失败,提示签名错误?
|
|
||||||
|
|
||||||
**A**: 检查以下内容:
|
|
||||||
- 确认证书未过期
|
|
||||||
- 确认 Provisioning Profile 包含正确的 App ID
|
|
||||||
- 确认 Team ID 正确
|
|
||||||
- 确认证书和 Provisioning Profile 匹配
|
|
||||||
|
|
||||||
### Q3: iOS 构建时间过长?
|
|
||||||
|
|
||||||
**A**: iOS 构建通常需要 10-20 分钟,这是正常的。可以:
|
|
||||||
- 使用缓存加速构建
|
|
||||||
- 只在需要时构建 iOS 版本
|
|
||||||
- 使用手动触发选择性构建
|
|
||||||
|
|
||||||
### Q4: 如何跳过某个平台的构建?
|
|
||||||
|
|
||||||
**A**: 使用手动触发时,取消勾选对应平台的构建选项。
|
|
||||||
|
|
||||||
### Q5: 构建产物在哪里下载?
|
|
||||||
|
|
||||||
**A**:
|
|
||||||
1. 进入 Actions 页面
|
|
||||||
2. 点击具体的 workflow 运行记录
|
|
||||||
3. 在页面底部 "Artifacts" 区域下载
|
|
||||||
|
|
||||||
### Q6: 如何查看构建日志?
|
|
||||||
|
|
||||||
**A**:
|
|
||||||
1. 进入 Actions 页面
|
|
||||||
2. 点击具体的 workflow 运行记录
|
|
||||||
3. 点击左侧的 job 名称
|
|
||||||
4. 展开各个步骤查看详细日志
|
|
||||||
|
|
||||||
### Q7: TestFlight 上传失败?
|
|
||||||
|
|
||||||
**A**: 检查以下内容:
|
|
||||||
- 确认 App Store Connect API Key 配置正确
|
|
||||||
- 确认 API Key 有 App Manager 权限
|
|
||||||
- 确认 App ID 在 App Store Connect 中已创建
|
|
||||||
- 确认版本号未重复
|
|
||||||
|
|
||||||
### Q8: 如何修改构建触发条件?
|
|
||||||
|
|
||||||
**A**: 编辑 `.github/workflows/build.yml` 的 `on` 部分:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- develop
|
|
||||||
- feature/* # 添加更多分支
|
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- develop
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 进阶配置
|
|
||||||
|
|
||||||
### 添加代码质量检查
|
|
||||||
|
|
||||||
在构建前添加代码检查:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
jobs:
|
|
||||||
lint:
|
|
||||||
name: Code Quality Check
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Android Lint
|
|
||||||
run: |
|
|
||||||
cd Android-kotlin-Code
|
|
||||||
./gradlew lint
|
|
||||||
|
|
||||||
- name: Swift Lint
|
|
||||||
run: |
|
|
||||||
brew install swiftlint
|
|
||||||
cd iOS-SwiftUI-Code
|
|
||||||
swiftlint
|
|
||||||
```
|
|
||||||
|
|
||||||
### 添加单元测试
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
name: Run Tests
|
|
||||||
runs-on: macos-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Android Tests
|
|
||||||
run: |
|
|
||||||
cd Android-kotlin-Code
|
|
||||||
./gradlew test
|
|
||||||
|
|
||||||
- name: iOS Tests
|
|
||||||
run: |
|
|
||||||
cd iOS-SwiftUI-Code
|
|
||||||
xcodebuild test \
|
|
||||||
-project uuvpn.xcodeproj \
|
|
||||||
-scheme SFI \
|
|
||||||
-destination 'platform=iOS Simulator,name=iPhone 15'
|
|
||||||
```
|
|
||||||
|
|
||||||
### 添加多版本构建
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
xcode-version: ['14.3', '15.0', '15.2']
|
|
||||||
include:
|
|
||||||
- xcode-version: '14.3'
|
|
||||||
ios-deployment-target: '14.0'
|
|
||||||
- xcode-version: '15.0'
|
|
||||||
ios-deployment-target: '15.0'
|
|
||||||
- xcode-version: '15.2'
|
|
||||||
ios-deployment-target: '16.0'
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 成本估算
|
|
||||||
|
|
||||||
### GitHub Actions 免费额度
|
|
||||||
|
|
||||||
- **总时长**: 每月 2000 分钟 (免费账户)
|
|
||||||
- **macOS runner**: 按 10 倍计算
|
|
||||||
- **Linux runner**: 按 1 倍计算
|
|
||||||
|
|
||||||
### 实际消耗估算
|
|
||||||
|
|
||||||
| 构建类型 | Android | iOS | 总计 |
|
|
||||||
|---------|---------|-----|------|
|
|
||||||
| Debug 构建 | ~5 分钟 | ~100 分钟 | ~105 分钟 |
|
|
||||||
| Release 构建 | ~10 分钟 | ~150 分钟 | ~160 分钟 |
|
|
||||||
| 完整流程 | ~15 分钟 | ~200 分钟 | ~215 分钟 |
|
|
||||||
|
|
||||||
### 建议
|
|
||||||
|
|
||||||
- 免费账户每月可进行约 **9-10 次完整构建**
|
|
||||||
- 建议只在必要时构建 iOS 版本
|
|
||||||
- 使用手动触发选择性构建
|
|
||||||
- 考虑升级 GitHub Pro 获得更多额度
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 总结
|
|
||||||
|
|
||||||
通过 GitHub Actions CI/CD 配置,你可以:
|
|
||||||
|
|
||||||
✅ 无需本地 Mac 设备即可构建 iOS 应用
|
|
||||||
✅ 自动化构建和发布流程
|
|
||||||
✅ 支持 Android 和 iOS 双平台
|
|
||||||
✅ 自动上传到 TestFlight 和 GitHub Releases
|
|
||||||
✅ 接收构建通知
|
|
||||||
|
|
||||||
配置好 Secrets 后,只需推送代码或创建标签,即可自动完成构建和发布!
|
|
||||||
@@ -1,423 +0,0 @@
|
|||||||
name: Build UUVPN
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- develop
|
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
build_android:
|
|
||||||
description: 'Build Android APK'
|
|
||||||
required: false
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
build_ios:
|
|
||||||
description: 'Build iOS IPA'
|
|
||||||
required: false
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
release_type:
|
|
||||||
description: 'Release type'
|
|
||||||
required: false
|
|
||||||
default: 'alpha'
|
|
||||||
type: choice
|
|
||||||
options:
|
|
||||||
- alpha
|
|
||||||
- beta
|
|
||||||
- release
|
|
||||||
|
|
||||||
env:
|
|
||||||
# Android 配置
|
|
||||||
ANDROID_COMPILE_SDK: "33"
|
|
||||||
ANDROID_BUILD_TOOLS: "33.0.0"
|
|
||||||
ANDROID_TARGET_SDK: "33"
|
|
||||||
ANDROID_JDK_VERSION: "11"
|
|
||||||
|
|
||||||
# iOS 配置
|
|
||||||
IOS_XCODE_VERSION: "15.0"
|
|
||||||
IOS_DEPLOYMENT_TARGET: "15.0"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
# ==================== Android 构建 ====================
|
|
||||||
build-android:
|
|
||||||
name: Build Android APK
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: ${{ github.event.inputs.build_android != 'false' }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Set up JDK 11
|
|
||||||
uses: actions/setup-java@v4
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.ANDROID_JDK_VERSION }}
|
|
||||||
distribution: 'temurin'
|
|
||||||
cache: 'gradle'
|
|
||||||
|
|
||||||
- name: Setup Go
|
|
||||||
uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: '1.23'
|
|
||||||
cache: true
|
|
||||||
|
|
||||||
- name: Setup Android SDK
|
|
||||||
uses: android-actions/setup-android@v3
|
|
||||||
|
|
||||||
- name: Grant execute permission for gradlew
|
|
||||||
run: |
|
|
||||||
cd Android-kotlin-Code
|
|
||||||
chmod +x gradlew
|
|
||||||
|
|
||||||
- name: Create local.properties
|
|
||||||
run: |
|
|
||||||
cd Android-kotlin-Code
|
|
||||||
echo "sdk.dir=$ANDROID_HOME" > local.properties
|
|
||||||
|
|
||||||
- name: Create signing.properties (Debug)
|
|
||||||
if: ${{ github.event_name == 'pull_request' || github.ref == 'refs/heads/develop' }}
|
|
||||||
run: |
|
|
||||||
cd Android-kotlin-Code
|
|
||||||
echo "keystore.path=debug.keystore" > signing.properties
|
|
||||||
echo "keystore.password=android" >> signing.properties
|
|
||||||
echo "key.alias=androiddebugkey" >> signing.properties
|
|
||||||
echo "key.password=android" >> signing.properties
|
|
||||||
|
|
||||||
- name: Create signing.properties (Release)
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
run: |
|
|
||||||
cd Android-kotlin-Code
|
|
||||||
echo "keystore.path=release.keystore" > signing.properties
|
|
||||||
echo "keystore.password=${{ secrets.ANDROID_KEYSTORE_PASSWORD }}" >> signing.properties
|
|
||||||
echo "key.alias=${{ secrets.ANDROID_KEY_ALIAS }}" >> signing.properties
|
|
||||||
echo "key.password=${{ secrets.ANDROID_KEY_PASSWORD }}" >> signing.properties
|
|
||||||
|
|
||||||
- name: Decode Android keystore
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
run: |
|
|
||||||
cd Android-kotlin-Code
|
|
||||||
echo "${{ secrets.ANDROID_KEYSTORE_BASE64 }}" | base64 -d > release.keystore
|
|
||||||
|
|
||||||
- name: Build Android Debug APK
|
|
||||||
if: ${{ github.event_name == 'pull_request' || github.ref == 'refs/heads/develop' }}
|
|
||||||
run: |
|
|
||||||
cd Android-kotlin-Code
|
|
||||||
./gradlew app:assembleMeta-AlphaDebug --stacktrace
|
|
||||||
|
|
||||||
- name: Build Android Release APK
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
run: |
|
|
||||||
cd Android-kotlin-Code
|
|
||||||
./gradlew app:assembleMeta-AlphaRelease --stacktrace
|
|
||||||
|
|
||||||
- name: Build Android APK (Default)
|
|
||||||
if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/v') && github.ref != 'refs/heads/develop' }}
|
|
||||||
run: |
|
|
||||||
cd Android-kotlin-Code
|
|
||||||
./gradlew app:assembleMeta-AlphaRelease --stacktrace
|
|
||||||
|
|
||||||
- name: Upload Android APK Artifact
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: android-apk-${{ github.sha }}
|
|
||||||
path: |
|
|
||||||
Android-kotlin-Code/app/build/outputs/apk/**/*.apk
|
|
||||||
Android-kotlin-Code/app/build/outputs/apk/**/*.json
|
|
||||||
retention-days: 30
|
|
||||||
|
|
||||||
- name: Get APK filename
|
|
||||||
id: apk_name
|
|
||||||
run: |
|
|
||||||
if [ "${{ startsWith(github.ref, 'refs/tags/v') }}" = "true" ]; then
|
|
||||||
APK_NAME="UUVPN-Android-${{ github.ref_name }}.apk"
|
|
||||||
else
|
|
||||||
APK_NAME="UUVPN-Android-${{ github.sha }}.apk"
|
|
||||||
fi
|
|
||||||
echo "apk_name=$APK_NAME" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Rename APK for release
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
run: |
|
|
||||||
cd Android-kotlin-Code/app/build/outputs/apk
|
|
||||||
find . -name "*.apk" -type f -exec mv {} "${{ steps.apk_name.outputs.apk_name }}" \;
|
|
||||||
|
|
||||||
# ==================== iOS 构建 ====================
|
|
||||||
build-ios:
|
|
||||||
name: Build iOS IPA
|
|
||||||
runs-on: macos-latest
|
|
||||||
if: ${{ github.event.inputs.build_ios != 'false' }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Setup Xcode
|
|
||||||
uses: maxim-lobanov/setup-xcode@v1
|
|
||||||
with:
|
|
||||||
xcode-version: ${{ env.IOS_XCODE_VERSION }}
|
|
||||||
|
|
||||||
- name: Show Xcode version
|
|
||||||
run: |
|
|
||||||
xcodebuild -version
|
|
||||||
swift --version
|
|
||||||
|
|
||||||
- name: Install Apple Certificate
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
uses: apple-actions/import-codesign-certs@v2
|
|
||||||
with:
|
|
||||||
p12-file-base64: ${{ secrets.IOS_CERTIFICATES_P12 }}
|
|
||||||
p12-password: ${{ secrets.IOS_CERTIFICATES_PASSWORD }}
|
|
||||||
|
|
||||||
- name: Install Provisioning Profile
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
run: |
|
|
||||||
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
|
|
||||||
echo "${{ secrets.IOS_PROVISIONING_PROFILE }}" | base64 -d > ~/Library/MobileDevice/Provisioning\ Profiles/uuvpn.mobileprovision
|
|
||||||
|
|
||||||
- name: Resolve Swift Package Dependencies
|
|
||||||
run: |
|
|
||||||
cd iOS-SwiftUI-Code
|
|
||||||
xcodebuild -resolvePackageDependencies -project uuvpn.xcodeproj -scheme SFI | xcpretty
|
|
||||||
|
|
||||||
- name: Build iOS App (Debug)
|
|
||||||
if: ${{ github.event_name == 'pull_request' || github.ref == 'refs/heads/develop' }}
|
|
||||||
run: |
|
|
||||||
cd iOS-SwiftUI-Code
|
|
||||||
xcodebuild clean build \
|
|
||||||
-project uuvpn.xcodeproj \
|
|
||||||
-scheme SFI \
|
|
||||||
-sdk iphonesimulator \
|
|
||||||
-destination 'platform=iOS Simulator,name=iPhone 15,OS=latest' \
|
|
||||||
-configuration Debug \
|
|
||||||
CODE_SIGN_IDENTITY="" \
|
|
||||||
CODE_SIGNING_REQUIRED=NO \
|
|
||||||
| xcpretty
|
|
||||||
|
|
||||||
- name: Build and Archive iOS App (Release)
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
run: |
|
|
||||||
cd iOS-SwiftUI-Code
|
|
||||||
xcodebuild clean archive \
|
|
||||||
-project uuvpn.xcodeproj \
|
|
||||||
-scheme SFI \
|
|
||||||
-sdk iphoneos \
|
|
||||||
-configuration Release \
|
|
||||||
-archivePath build/UUVPN.xcarchive \
|
|
||||||
CODE_SIGN_IDENTITY="${{ secrets.IOS_SIGNING_IDENTITY }}" \
|
|
||||||
PROVISIONING_PROFILE_SPECIFIER="uuvpn" \
|
|
||||||
| xcpretty
|
|
||||||
|
|
||||||
- name: Create ExportOptions.plist
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
run: |
|
|
||||||
cd iOS-SwiftUI-Code
|
|
||||||
cat > ExportOptions.plist << EOF
|
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>method</key>
|
|
||||||
<string>app-store</string>
|
|
||||||
<key>teamID</key>
|
|
||||||
<string>${{ secrets.IOS_TEAM_ID }}</string>
|
|
||||||
<key>uploadSymbols</key>
|
|
||||||
<true/>
|
|
||||||
<key>compileBitcode</key>
|
|
||||||
<false/>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
EOF
|
|
||||||
|
|
||||||
- name: Export IPA
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
run: |
|
|
||||||
cd iOS-SwiftUI-Code
|
|
||||||
xcodebuild -exportArchive \
|
|
||||||
-archivePath build/UUVPN.xcarchive \
|
|
||||||
-exportPath build/ipa \
|
|
||||||
-exportOptionsPlist ExportOptions.plist \
|
|
||||||
| xcpretty
|
|
||||||
|
|
||||||
- name: Upload iOS IPA Artifact
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: ios-ipa-${{ github.sha }}
|
|
||||||
path: iOS-SwiftUI-Code/build/ipa/*.ipa
|
|
||||||
retention-days: 30
|
|
||||||
|
|
||||||
- name: Upload iOS App Artifact (Debug)
|
|
||||||
if: ${{ github.event_name == 'pull_request' || github.ref == 'refs/heads/develop' }}
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: ios-app-debug-${{ github.sha }}
|
|
||||||
path: iOS-SwiftUI-Code/build/**/*.app
|
|
||||||
retention-days: 7
|
|
||||||
|
|
||||||
- name: Get IPA filename
|
|
||||||
id: ipa_name
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
run: |
|
|
||||||
IPA_NAME="UUVPN-iOS-${{ github.ref_name }}.ipa"
|
|
||||||
echo "ipa_name=$IPA_NAME" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Rename IPA for release
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
run: |
|
|
||||||
cd iOS-SwiftUI-Code/build/ipa
|
|
||||||
find . -name "*.ipa" -type f -exec mv {} "${{ steps.ipa_name.outputs.ipa_name }}" \;
|
|
||||||
|
|
||||||
# ==================== 发布到 GitHub Releases ====================
|
|
||||||
release:
|
|
||||||
name: Create GitHub Release
|
|
||||||
needs: [build-android, build-ios]
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Download Android APK
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: android-apk-${{ github.sha }}
|
|
||||||
path: artifacts/android
|
|
||||||
|
|
||||||
- name: Download iOS IPA
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: ios-ipa-${{ github.sha }}
|
|
||||||
path: artifacts/ios
|
|
||||||
|
|
||||||
- name: Get version from tag
|
|
||||||
id: get_version
|
|
||||||
run: |
|
|
||||||
VERSION=${{ github.ref_name }}
|
|
||||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Create Release Notes
|
|
||||||
id: release_notes
|
|
||||||
run: |
|
|
||||||
cat > release_notes.md << EOF
|
|
||||||
# UUVPN ${{ steps.get_version.outputs.version }}
|
|
||||||
|
|
||||||
## 🎉 新版本发布
|
|
||||||
|
|
||||||
### 📱 Android 版本
|
|
||||||
- 支持 Android 5.0+ (推荐 Android 7.0+)
|
|
||||||
- 支持 armeabi-v7a, arm64-v8a, x86, x86_64 架构
|
|
||||||
- 基于 CLASH (mihomo) 核心
|
|
||||||
|
|
||||||
### 🍎 iOS 版本
|
|
||||||
- 支持 iOS 15.0+
|
|
||||||
- 基于 SINGBOX 核心
|
|
||||||
- 支持 iPhone 和 iPad
|
|
||||||
|
|
||||||
## 📥 下载说明
|
|
||||||
|
|
||||||
### Android
|
|
||||||
下载 APK 文件并安装,首次安装需要授予必要权限。
|
|
||||||
|
|
||||||
### iOS
|
|
||||||
IPA 文件需要通过 TestFlight 或第三方工具安装。
|
|
||||||
|
|
||||||
## 🔄 更新内容
|
|
||||||
|
|
||||||
请查看 [Commits](https://github.com/${{ github.repository }}/commits/${{ github.ref_name }}) 了解详细更新内容。
|
|
||||||
|
|
||||||
## 📝 问题反馈
|
|
||||||
|
|
||||||
如遇到问题,请在 [Issues](https://github.com/${{ github.repository }}/issues) 中反馈。
|
|
||||||
EOF
|
|
||||||
|
|
||||||
- name: Create GitHub Release
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
with:
|
|
||||||
tag_name: ${{ github.ref_name }}
|
|
||||||
name: UUVPN ${{ steps.get_version.outputs.version }}
|
|
||||||
body_path: release_notes.md
|
|
||||||
draft: false
|
|
||||||
prerelease: ${{ contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') }}
|
|
||||||
files: |
|
|
||||||
artifacts/android/*.apk
|
|
||||||
artifacts/ios/*.ipa
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
# ==================== 上传到 TestFlight (iOS) ====================
|
|
||||||
upload-testflight:
|
|
||||||
name: Upload to TestFlight
|
|
||||||
needs: [build-ios]
|
|
||||||
runs-on: macos-latest
|
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, 'alpha') }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Download iOS IPA
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: ios-ipa-${{ github.sha }}
|
|
||||||
path: artifacts/ios
|
|
||||||
|
|
||||||
- name: Upload to TestFlight
|
|
||||||
uses: apple-actions/upload-testflight-build@v1
|
|
||||||
with:
|
|
||||||
app-path: artifacts/ios/*.ipa
|
|
||||||
issuer-id: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
|
|
||||||
api-key-id: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
|
|
||||||
api-private-key: ${{ secrets.APP_STORE_CONNECT_API_PRIVATE_KEY }}
|
|
||||||
|
|
||||||
# ==================== 清理旧构建产物 ====================
|
|
||||||
cleanup:
|
|
||||||
name: Cleanup old artifacts
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: ${{ github.event_name == 'push' }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Delete old artifacts
|
|
||||||
uses: c-hive/gha-remove-artifacts@v1
|
|
||||||
with:
|
|
||||||
age: '30 days'
|
|
||||||
skip-recent: 5
|
|
||||||
|
|
||||||
# ==================== 通知 ====================
|
|
||||||
notify:
|
|
||||||
name: Send Notification
|
|
||||||
needs: [build-android, build-ios]
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: ${{ always() && github.event_name == 'push' }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Send Telegram Notification
|
|
||||||
uses: appleboy/telegram-action@master
|
|
||||||
if: ${{ secrets.TELEGRAM_BOT_TOKEN != '' }}
|
|
||||||
with:
|
|
||||||
to: ${{ secrets.TELEGRAM_CHAT_ID }}
|
|
||||||
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
|
||||||
format: markdown
|
|
||||||
message: |
|
|
||||||
*UUVPN Build Notification*
|
|
||||||
|
|
||||||
📦 **Repository**: ${{ github.repository }}
|
|
||||||
🌿 **Branch**: ${{ github.ref_name }}
|
|
||||||
🔄 **Commit**: ${{ github.sha }}
|
|
||||||
✅ **Status**:
|
|
||||||
- Android: ${{ needs.build-android.result }}
|
|
||||||
- iOS: ${{ needs.build-ios.result }}
|
|
||||||
|
|
||||||
👤 **Author**: ${{ github.actor }}
|
|
||||||
💬 **Message**: ${{ github.event.head_commit.message }}
|
|
||||||
|
|
||||||
[View Build](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
|
|
||||||
@@ -1,199 +0,0 @@
|
|||||||
# UUVPN GitHub Secrets 配置脚本 (PowerShell)
|
|
||||||
# 用于快速配置 GitHub Actions 所需的 Secrets
|
|
||||||
|
|
||||||
Write-Host "========================================" -ForegroundColor Cyan
|
|
||||||
Write-Host "UUVPN GitHub Secrets 配置工具" -ForegroundColor Cyan
|
|
||||||
Write-Host "========================================" -ForegroundColor Cyan
|
|
||||||
Write-Host ""
|
|
||||||
|
|
||||||
# 检查是否安装了 GitHub CLI
|
|
||||||
if (-not (Get-Command gh -ErrorAction SilentlyContinue)) {
|
|
||||||
Write-Host "❌ 错误: 未安装 GitHub CLI" -ForegroundColor Red
|
|
||||||
Write-Host "请先安装 GitHub CLI: https://cli.github.com/"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
# 检查是否已登录 GitHub
|
|
||||||
try {
|
|
||||||
$authStatus = gh auth status 2>&1
|
|
||||||
if ($LASTEXITCODE -ne 0) {
|
|
||||||
Write-Host "❌ 错误: 未登录 GitHub CLI" -ForegroundColor Red
|
|
||||||
Write-Host "请先运行: gh auth login"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
} catch {
|
|
||||||
Write-Host "❌ 错误: 未登录 GitHub CLI" -ForegroundColor Red
|
|
||||||
Write-Host "请先运行: gh auth login"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
# 获取仓库信息
|
|
||||||
try {
|
|
||||||
$remoteUrl = git remote get-url origin
|
|
||||||
if ($remoteUrl -match "github\.com[:/](.+?)\.git") {
|
|
||||||
$repo = $matches[1]
|
|
||||||
} else {
|
|
||||||
Write-Host "❌ 错误: 无法获取仓库信息" -ForegroundColor Red
|
|
||||||
Write-Host "请确保在仓库目录中运行此脚本"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
} catch {
|
|
||||||
Write-Host "❌ 错误: 无法获取仓库信息" -ForegroundColor Red
|
|
||||||
Write-Host "请确保在仓库目录中运行此脚本"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
Write-Host "✅ 当前仓库: $repo" -ForegroundColor Green
|
|
||||||
Write-Host ""
|
|
||||||
|
|
||||||
# 配置 Android Secrets
|
|
||||||
Write-Host "📱 配置 Android Secrets" -ForegroundColor Yellow
|
|
||||||
Write-Host "----------------------------------------"
|
|
||||||
|
|
||||||
$configAndroid = Read-Host "是否配置 Android 签名密钥? (y/n)"
|
|
||||||
if ($configAndroid -eq "y") {
|
|
||||||
$keystorePath = Read-Host "密钥库文件路径 (默认: release.keystore)"
|
|
||||||
if ([string]::IsNullOrWhiteSpace($keystorePath)) {
|
|
||||||
$keystorePath = "release.keystore"
|
|
||||||
}
|
|
||||||
|
|
||||||
if (-not (Test-Path $keystorePath)) {
|
|
||||||
Write-Host "❌ 错误: 密钥库文件不存在: $keystorePath" -ForegroundColor Red
|
|
||||||
Write-Host "请先创建密钥库:"
|
|
||||||
Write-Host "keytool -genkey -v -keystore release.keystore -alias uuvpn -keyalg RSA -keysize 2048 -validity 10000"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
$keystorePassword = Read-Host "密钥库密码" -AsSecureString
|
|
||||||
$keystorePasswordPlain = [Runtime.InteropServices.Marshal]::PtrToStringAuto(
|
|
||||||
[Runtime.InteropServices.Marshal]::SecureStringToBSTR($keystorePassword)
|
|
||||||
)
|
|
||||||
|
|
||||||
$keyAlias = Read-Host "密钥别名 (默认: uuvpn)"
|
|
||||||
if ([string]::IsNullOrWhiteSpace($keyAlias)) {
|
|
||||||
$keyAlias = "uuvpn"
|
|
||||||
}
|
|
||||||
|
|
||||||
$keyPassword = Read-Host "密钥密码" -AsSecureString
|
|
||||||
$keyPasswordPlain = [Runtime.InteropServices.Marshal]::PtrToStringAuto(
|
|
||||||
[Runtime.InteropServices.Marshal]::SecureStringToBSTR($keyPassword)
|
|
||||||
)
|
|
||||||
|
|
||||||
# Base64 编码密钥库
|
|
||||||
$keystoreBytes = [IO.File]::ReadAllBytes($keystorePath)
|
|
||||||
$keystoreBase64 = [Convert]::ToBase64String($keystoreBytes)
|
|
||||||
|
|
||||||
Write-Host "正在设置 Android Secrets..." -ForegroundColor Cyan
|
|
||||||
$keystoreBase64 | gh secret set ANDROID_KEYSTORE_BASE64 --repo $repo
|
|
||||||
$keystorePasswordPlain | gh secret set ANDROID_KEYSTORE_PASSWORD --repo $repo
|
|
||||||
$keyAlias | gh secret set ANDROID_KEY_ALIAS --repo $repo
|
|
||||||
$keyPasswordPlain | gh secret set ANDROID_KEY_PASSWORD --repo $repo
|
|
||||||
|
|
||||||
Write-Host "✅ Android Secrets 配置完成" -ForegroundColor Green
|
|
||||||
}
|
|
||||||
|
|
||||||
Write-Host ""
|
|
||||||
|
|
||||||
# 配置 iOS Secrets
|
|
||||||
Write-Host "🍎 配置 iOS Secrets" -ForegroundColor Yellow
|
|
||||||
Write-Host "----------------------------------------"
|
|
||||||
|
|
||||||
$configIOS = Read-Host "是否配置 iOS 签名证书? (y/n)"
|
|
||||||
if ($configIOS -eq "y") {
|
|
||||||
$certPath = Read-Host "证书文件路径 (.p12)"
|
|
||||||
|
|
||||||
if (-not (Test-Path $certPath)) {
|
|
||||||
Write-Host "❌ 错误: 证书文件不存在: $certPath" -ForegroundColor Red
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
$certPassword = Read-Host "证书密码" -AsSecureString
|
|
||||||
$certPasswordPlain = [Runtime.InteropServices.Marshal]::PtrToStringAuto(
|
|
||||||
[Runtime.InteropServices.Marshal]::SecureStringToBSTR($certPassword)
|
|
||||||
)
|
|
||||||
|
|
||||||
$teamId = Read-Host "Team ID"
|
|
||||||
$signingIdentity = Read-Host "签名身份 (如: Apple Distribution: Your Name (TEAM_ID))"
|
|
||||||
|
|
||||||
$profilePath = Read-Host "Provisioning Profile 文件路径 (.mobileprovision)"
|
|
||||||
|
|
||||||
if (-not (Test-Path $profilePath)) {
|
|
||||||
Write-Host "❌ 错误: Provisioning Profile 文件不存在: $profilePath" -ForegroundColor Red
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
# Base64 编码
|
|
||||||
$certBytes = [IO.File]::ReadAllBytes($certPath)
|
|
||||||
$certBase64 = [Convert]::ToBase64String($certBytes)
|
|
||||||
|
|
||||||
$profileBytes = [IO.File]::ReadAllBytes($profilePath)
|
|
||||||
$profileBase64 = [Convert]::ToBase64String($profileBytes)
|
|
||||||
|
|
||||||
Write-Host "正在设置 iOS Secrets..." -ForegroundColor Cyan
|
|
||||||
$certBase64 | gh secret set IOS_CERTIFICATES_P12 --repo $repo
|
|
||||||
$certPasswordPlain | gh secret set IOS_CERTIFICATES_PASSWORD --repo $repo
|
|
||||||
$teamId | gh secret set IOS_TEAM_ID --repo $repo
|
|
||||||
$signingIdentity | gh secret set IOS_SIGNING_IDENTITY --repo $repo
|
|
||||||
$profileBase64 | gh secret set IOS_PROVISIONING_PROFILE --repo $repo
|
|
||||||
|
|
||||||
Write-Host "✅ iOS Secrets 配置完成" -ForegroundColor Green
|
|
||||||
}
|
|
||||||
|
|
||||||
Write-Host ""
|
|
||||||
|
|
||||||
# 配置 App Store Connect Secrets
|
|
||||||
Write-Host "🚀 配置 App Store Connect Secrets" -ForegroundColor Yellow
|
|
||||||
Write-Host "----------------------------------------"
|
|
||||||
|
|
||||||
$configASC = Read-Host "是否配置 App Store Connect API? (y/n)"
|
|
||||||
if ($configASC -eq "y") {
|
|
||||||
$issuerId = Read-Host "Issuer ID"
|
|
||||||
$apiKeyId = Read-Host "API Key ID"
|
|
||||||
$p8Path = Read-Host "API Private Key 文件路径 (.p8)"
|
|
||||||
|
|
||||||
if (-not (Test-Path $p8Path)) {
|
|
||||||
Write-Host "❌ 错误: API Private Key 文件不存在: $p8Path" -ForegroundColor Red
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
# 读取私钥内容
|
|
||||||
$apiKey = Get-Content $p8Path -Raw
|
|
||||||
|
|
||||||
Write-Host "正在设置 App Store Connect Secrets..." -ForegroundColor Cyan
|
|
||||||
$issuerId | gh secret set APP_STORE_CONNECT_ISSUER_ID --repo $repo
|
|
||||||
$apiKeyId | gh secret set APP_STORE_CONNECT_API_KEY_ID --repo $repo
|
|
||||||
$apiKey | gh secret set APP_STORE_CONNECT_API_PRIVATE_KEY --repo $repo
|
|
||||||
|
|
||||||
Write-Host "✅ App Store Connect Secrets 配置完成" -ForegroundColor Green
|
|
||||||
}
|
|
||||||
|
|
||||||
Write-Host ""
|
|
||||||
|
|
||||||
# 配置通知 Secrets
|
|
||||||
Write-Host "📢 配置通知 Secrets" -ForegroundColor Yellow
|
|
||||||
Write-Host "----------------------------------------"
|
|
||||||
|
|
||||||
$configTelegram = Read-Host "是否配置 Telegram 通知? (y/n)"
|
|
||||||
if ($configTelegram -eq "y") {
|
|
||||||
$botToken = Read-Host "Bot Token"
|
|
||||||
$chatId = Read-Host "Chat ID"
|
|
||||||
|
|
||||||
Write-Host "正在设置 Telegram Secrets..." -ForegroundColor Cyan
|
|
||||||
$botToken | gh secret set TELEGRAM_BOT_TOKEN --repo $repo
|
|
||||||
$chatId | gh secret set TELEGRAM_CHAT_ID --repo $repo
|
|
||||||
|
|
||||||
Write-Host "✅ Telegram Secrets 配置完成" -ForegroundColor Green
|
|
||||||
}
|
|
||||||
|
|
||||||
Write-Host ""
|
|
||||||
Write-Host "========================================" -ForegroundColor Cyan
|
|
||||||
Write-Host "✅ 配置完成!" -ForegroundColor Green
|
|
||||||
Write-Host "========================================" -ForegroundColor Cyan
|
|
||||||
Write-Host ""
|
|
||||||
Write-Host "当前配置的 Secrets:"
|
|
||||||
gh secret list --repo $repo
|
|
||||||
Write-Host ""
|
|
||||||
Write-Host "下一步:" -ForegroundColor Yellow
|
|
||||||
Write-Host "1. 推送代码到仓库触发构建"
|
|
||||||
Write-Host "2. 查看构建状态: https://github.com/$repo/actions"
|
|
||||||
Write-Host ""
|
|
||||||
@@ -1,171 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# UUVPN GitHub Secrets 配置脚本
|
|
||||||
# 用于快速配置 GitHub Actions 所需的 Secrets
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
echo "========================================"
|
|
||||||
echo "UUVPN GitHub Secrets 配置工具"
|
|
||||||
echo "========================================"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
# 检查是否安装了 GitHub CLI
|
|
||||||
if ! command -v gh &> /dev/null; then
|
|
||||||
echo "❌ 错误: 未安装 GitHub CLI"
|
|
||||||
echo "请先安装 GitHub CLI: https://cli.github.com/"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# 检查是否已登录 GitHub
|
|
||||||
if ! gh auth status &> /dev/null; then
|
|
||||||
echo "❌ 错误: 未登录 GitHub CLI"
|
|
||||||
echo "请先运行: gh auth login"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# 获取仓库信息
|
|
||||||
REPO=$(git remote get-url origin | sed -E 's|.*github\.com[:/](.*)\.git|\1|')
|
|
||||||
if [ -z "$REPO" ]; then
|
|
||||||
echo "❌ 错误: 无法获取仓库信息"
|
|
||||||
echo "请确保在仓库目录中运行此脚本"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "✅ 当前仓库: $REPO"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
# 配置 Android Secrets
|
|
||||||
echo "📱 配置 Android Secrets"
|
|
||||||
echo "----------------------------------------"
|
|
||||||
|
|
||||||
read -p "是否配置 Android 签名密钥? (y/n): " config_android
|
|
||||||
if [ "$config_android" = "y" ]; then
|
|
||||||
read -p "密钥库文件路径 (默认: release.keystore): " keystore_path
|
|
||||||
keystore_path=${keystore_path:-"release.keystore"}
|
|
||||||
|
|
||||||
if [ ! -f "$keystore_path" ]; then
|
|
||||||
echo "❌ 错误: 密钥库文件不存在: $keystore_path"
|
|
||||||
echo "请先创建密钥库:"
|
|
||||||
echo "keytool -genkey -v -keystore release.keystore -alias uuvpn -keyalg RSA -keysize 2048 -validity 10000"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
read -sp "密钥库密码: " keystore_password
|
|
||||||
echo ""
|
|
||||||
read -p "密钥别名 (默认: uuvpn): " key_alias
|
|
||||||
key_alias=${key_alias:-"uuvpn"}
|
|
||||||
read -sp "密钥密码: " key_password
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
# Base64 编码密钥库
|
|
||||||
keystore_base64=$(base64 -i "$keystore_path")
|
|
||||||
|
|
||||||
echo "正在设置 Android Secrets..."
|
|
||||||
gh secret set ANDROID_KEYSTORE_BASE64 --repo "$REPO" --body "$keystore_base64"
|
|
||||||
gh secret set ANDROID_KEYSTORE_PASSWORD --repo "$REPO" --body "$keystore_password"
|
|
||||||
gh secret set ANDROID_KEY_ALIAS --repo "$REPO" --body "$key_alias"
|
|
||||||
gh secret set ANDROID_KEY_PASSWORD --repo "$REPO" --body "$key_password"
|
|
||||||
|
|
||||||
echo "✅ Android Secrets 配置完成"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
# 配置 iOS Secrets
|
|
||||||
echo "🍎 配置 iOS Secrets"
|
|
||||||
echo "----------------------------------------"
|
|
||||||
|
|
||||||
read -p "是否配置 iOS 签名证书? (y/n): " config_ios
|
|
||||||
if [ "$config_ios" = "y" ]; then
|
|
||||||
read -p "证书文件路径 (.p12): " cert_path
|
|
||||||
|
|
||||||
if [ ! -f "$cert_path" ]; then
|
|
||||||
echo "❌ 错误: 证书文件不存在: $cert_path"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
read -sp "证书密码: " cert_password
|
|
||||||
echo ""
|
|
||||||
read -p "Team ID: " team_id
|
|
||||||
read -p "签名身份 (如: Apple Distribution: Your Name (TEAM_ID)): " signing_identity
|
|
||||||
|
|
||||||
read -p "Provisioning Profile 文件路径 (.mobileprovision): " profile_path
|
|
||||||
|
|
||||||
if [ ! -f "$profile_path" ]; then
|
|
||||||
echo "❌ 错误: Provisioning Profile 文件不存在: $profile_path"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Base64 编码
|
|
||||||
cert_base64=$(base64 -i "$cert_path")
|
|
||||||
profile_base64=$(base64 -i "$profile_path")
|
|
||||||
|
|
||||||
echo "正在设置 iOS Secrets..."
|
|
||||||
gh secret set IOS_CERTIFICATES_P12 --repo "$REPO" --body "$cert_base64"
|
|
||||||
gh secret set IOS_CERTIFICATES_PASSWORD --repo "$REPO" --body "$cert_password"
|
|
||||||
gh secret set IOS_TEAM_ID --repo "$REPO" --body "$team_id"
|
|
||||||
gh secret set IOS_SIGNING_IDENTITY --repo "$REPO" --body "$signing_identity"
|
|
||||||
gh secret set IOS_PROVISIONING_PROFILE --repo "$REPO" --body "$profile_base64"
|
|
||||||
|
|
||||||
echo "✅ iOS Secrets 配置完成"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
# 配置 App Store Connect Secrets
|
|
||||||
echo "🚀 配置 App Store Connect Secrets"
|
|
||||||
echo "----------------------------------------"
|
|
||||||
|
|
||||||
read -p "是否配置 App Store Connect API? (y/n): " config_asc
|
|
||||||
if [ "$config_asc" = "y" ]; then
|
|
||||||
read -p "Issuer ID: " issuer_id
|
|
||||||
read -p "API Key ID: " api_key_id
|
|
||||||
read -p "API Private Key 文件路径 (.p8): " p8_path
|
|
||||||
|
|
||||||
if [ ! -f "$p8_path" ]; then
|
|
||||||
echo "❌ 错误: API Private Key 文件不存在: $p8_path"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# 读取私钥内容
|
|
||||||
api_private_key=$(cat "$p8_path")
|
|
||||||
|
|
||||||
echo "正在设置 App Store Connect Secrets..."
|
|
||||||
gh secret set APP_STORE_CONNECT_ISSUER_ID --repo "$REPO" --body "$issuer_id"
|
|
||||||
gh secret set APP_STORE_CONNECT_API_KEY_ID --repo "$REPO" --body "$api_key_id"
|
|
||||||
gh secret set APP_STORE_CONNECT_API_PRIVATE_KEY --repo "$REPO" --body "$api_private_key"
|
|
||||||
|
|
||||||
echo "✅ App Store Connect Secrets 配置完成"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
# 配置通知 Secrets
|
|
||||||
echo "📢 配置通知 Secrets"
|
|
||||||
echo "----------------------------------------"
|
|
||||||
|
|
||||||
read -p "是否配置 Telegram 通知? (y/n): " config_telegram
|
|
||||||
if [ "$config_telegram" = "y" ]; then
|
|
||||||
read -p "Bot Token: " bot_token
|
|
||||||
read -p "Chat ID: " chat_id
|
|
||||||
|
|
||||||
echo "正在设置 Telegram Secrets..."
|
|
||||||
gh secret set TELEGRAM_BOT_TOKEN --repo "$REPO" --body "$bot_token"
|
|
||||||
gh secret set TELEGRAM_CHAT_ID --repo "$REPO" --body "$chat_id"
|
|
||||||
|
|
||||||
echo "✅ Telegram Secrets 配置完成"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "========================================"
|
|
||||||
echo "✅ 配置完成!"
|
|
||||||
echo "========================================"
|
|
||||||
echo ""
|
|
||||||
echo "当前配置的 Secrets:"
|
|
||||||
gh secret list --repo "$REPO"
|
|
||||||
echo ""
|
|
||||||
echo "下一步:"
|
|
||||||
echo "1. 推送代码到仓库触发构建"
|
|
||||||
echo "2. 查看构建状态: https://github.com/$REPO/actions"
|
|
||||||
echo ""
|
|
||||||
@@ -139,4 +139,3 @@ app.*.symbols
|
|||||||
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
|
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
|
||||||
!/dev/ci/**/Gemfile.lock
|
!/dev/ci/**/Gemfile.lock
|
||||||
!.vscode/settings.json
|
!.vscode/settings.json
|
||||||
/Android-kotlin-Code/core/.cxx
|
|
||||||
|
|||||||
-636
@@ -1,636 +0,0 @@
|
|||||||
# UUVPN API 端点配置指南
|
|
||||||
|
|
||||||
本文档详细说明如何配置 UUVPN 的 API 端点,包括 Android 和 iOS 平台的配置方法。
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 目录
|
|
||||||
|
|
||||||
- [API 配置概述](#api-配置概述)
|
|
||||||
- [配置字段说明](#配置字段说明)
|
|
||||||
- [Android 配置方法](#android-配置方法)
|
|
||||||
- [iOS 配置方法](#ios-配置方法)
|
|
||||||
- [测试与验证](#测试与验证)
|
|
||||||
- [常见问题](#常见问题)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## API 配置概述
|
|
||||||
|
|
||||||
UUVPN 需要配置一个远程 API 端点,用于获取服务器配置信息。该配置采用 JSON 格式,包含 V2Board 面板的 API 地址、支付链接、客服支持等信息。
|
|
||||||
|
|
||||||
### 配置 URL 格式
|
|
||||||
|
|
||||||
```
|
|
||||||
https://your-domain.com/api/config.php
|
|
||||||
```
|
|
||||||
|
|
||||||
### 配置返回格式
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"baseURL": "https://api.0008.uk/api/v1/",
|
|
||||||
"baseDYURL": "https://api.gooapis.com/api/vpnnodes.php",
|
|
||||||
"mainregisterURL": "https://lelian.app/#/register?code=",
|
|
||||||
"paymentURL": "https://your-payment-gateway.com/pay",
|
|
||||||
"telegramurl": "https://t.me/fastlink",
|
|
||||||
"kefuurl": "https://gooapis.com/fastlink/",
|
|
||||||
"websiteURL": "https://gooapis.com/fastlink/",
|
|
||||||
"crisptoken": "5546c6ea-4b1e-41bc-80e4-4b6648cbca76",
|
|
||||||
"banners": [
|
|
||||||
"https://image.gooapis.com/api/images/12-11-56.png",
|
|
||||||
"https://image.gooapis.com/api/images/12-44-57.png",
|
|
||||||
"https://image.gooapis.com/api/images/12-47-03.png"
|
|
||||||
],
|
|
||||||
"message": "OK",
|
|
||||||
"code": 1
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 配置字段说明
|
|
||||||
|
|
||||||
### 1. baseURL
|
|
||||||
|
|
||||||
- **类型**: String
|
|
||||||
- **必填**: 是
|
|
||||||
- **描述**: V2Board 面板的主要 API 端点
|
|
||||||
- **示例**: `https://api.0008.uk/api/v1/`
|
|
||||||
- **用途**: 所有与 V2Board 服务器的 API 请求都将基于此 URL,包括:
|
|
||||||
- 用户登录/注册
|
|
||||||
- 获取节点列表
|
|
||||||
- 获取订阅信息
|
|
||||||
- 用户信息管理
|
|
||||||
|
|
||||||
### 2. baseDYURL
|
|
||||||
|
|
||||||
- **类型**: String
|
|
||||||
- **必填**: 是
|
|
||||||
- **描述**: VPN 节点测试端点
|
|
||||||
- **示例**: `https://api.gooapis.com/api/vpnnodes.php`
|
|
||||||
- **用途**: 用于测试 VPN 节点的连通性和速度,通常用于应用内的节点测速功能
|
|
||||||
|
|
||||||
### 3. mainregisterURL
|
|
||||||
|
|
||||||
- **类型**: String
|
|
||||||
- **必填**: 是
|
|
||||||
- **描述**: 用户注册页面 URL(带邀请码参数)
|
|
||||||
- **示例**: `https://lelian.app/#/register?code=`
|
|
||||||
- **用途**: 引导用户注册,支持邀请码系统
|
|
||||||
- **注意**: URL 末尾需要保留 `code=` 参数,应用会自动填充邀请码
|
|
||||||
|
|
||||||
### 4. paymentURL
|
|
||||||
|
|
||||||
- **类型**: String
|
|
||||||
- **必填**: 是
|
|
||||||
- **描述**: 支付网关 URL
|
|
||||||
- **示例**: `https://your-payment-gateway.com/pay`
|
|
||||||
- **用途**:
|
|
||||||
- **正常模式** (URL 长度 > 3): 显示外部支付选项,启用订阅功能
|
|
||||||
- **审核模式** (URL 长度 ≤ 3): 隐藏外部支付,遵守 App Store 指南
|
|
||||||
- **iOS 重要说明**:
|
|
||||||
- 正常值: `https://payment.example.com/pay` (显示支付功能)
|
|
||||||
- 审核值: `xxx` 或 `xx` (隐藏支付功能,用于 App Store 审核)
|
|
||||||
|
|
||||||
### 5. telegramurl
|
|
||||||
|
|
||||||
- **类型**: String
|
|
||||||
- **必填**: 否
|
|
||||||
- **描述**: Telegram 支持频道/群组链接
|
|
||||||
- **示例**: `https://t.me/fastlink`
|
|
||||||
- **用途**: 提供用户 Telegram 客服支持入口
|
|
||||||
|
|
||||||
### 6. kefuurl
|
|
||||||
|
|
||||||
- **类型**: String
|
|
||||||
- **必填**: 否
|
|
||||||
- **描述**: 在线客服页面 URL
|
|
||||||
- **示例**: `https://gooapis.com/fastlink/`
|
|
||||||
- **用途**: 提供网页版在线客服入口
|
|
||||||
|
|
||||||
### 7. websiteURL
|
|
||||||
|
|
||||||
- **类型**: String
|
|
||||||
- **必填**: 否
|
|
||||||
- **描述**: 官方网站 URL
|
|
||||||
- **示例**: `https://gooapis.com/fastlink/`
|
|
||||||
- **用途**: 应用内关于页面或官网链接
|
|
||||||
|
|
||||||
### 8. crisptoken
|
|
||||||
|
|
||||||
- **类型**: String
|
|
||||||
- **必填**: 否
|
|
||||||
- **描述**: Crisp 聊天服务认证令牌
|
|
||||||
- **示例**: `5546c6ea-4b1e-41bc-80e4-4b6648cbca76`
|
|
||||||
- **用途**: 集成 Crisp 实时聊天功能
|
|
||||||
- **获取方式**: 在 [Crisp 官网](https://crisp.chat/) 注册后获取
|
|
||||||
|
|
||||||
### 9. banners
|
|
||||||
|
|
||||||
- **类型**: Array of Strings
|
|
||||||
- **必填**: 否
|
|
||||||
- **描述**: 首页横幅图片 URL 数组
|
|
||||||
- **示例**:
|
|
||||||
```json
|
|
||||||
[
|
|
||||||
"https://image.gooapis.com/api/images/12-11-56.png",
|
|
||||||
"https://image.gooapis.com/api/images/12-44-57.png"
|
|
||||||
]
|
|
||||||
```
|
|
||||||
- **用途**: 应用首页轮播图展示
|
|
||||||
- **建议尺寸**: 750x300 像素
|
|
||||||
- **格式支持**: PNG, JPG, WebP
|
|
||||||
|
|
||||||
### 10. message
|
|
||||||
|
|
||||||
- **类型**: String
|
|
||||||
- **必填**: 是
|
|
||||||
- **描述**: API 响应状态消息
|
|
||||||
- **示例**: `OK`
|
|
||||||
- **用途**: 标识配置请求是否成功
|
|
||||||
|
|
||||||
### 11. code
|
|
||||||
|
|
||||||
- **类型**: Integer
|
|
||||||
- **必填**: 是
|
|
||||||
- **描述**: API 响应状态码
|
|
||||||
- **示例**: `1` (成功) 或 `0` (失败)
|
|
||||||
- **用途**: 应用根据此字段判断配置是否有效
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Android 配置方法
|
|
||||||
|
|
||||||
### 方法一: 修改配置文件 (推荐)
|
|
||||||
|
|
||||||
1. **定位配置文件**
|
|
||||||
|
|
||||||
在 Android 项目中找到以下文件:
|
|
||||||
```
|
|
||||||
Android-kotlin-Code/app/src/main/java/com/xxx/xxx/config/ApiConfig.kt
|
|
||||||
```
|
|
||||||
|
|
||||||
2. **修改配置 URL**
|
|
||||||
|
|
||||||
找到 `configURL` 或类似的配置常量:
|
|
||||||
```kotlin
|
|
||||||
const val CONFIG_URL = "https://your-domain.com/api/config.php"
|
|
||||||
```
|
|
||||||
|
|
||||||
3. **重新编译 APK**
|
|
||||||
|
|
||||||
```bash
|
|
||||||
./gradlew app:assembleMeta-AlphaRelease
|
|
||||||
```
|
|
||||||
|
|
||||||
### 方法二: 动态配置
|
|
||||||
|
|
||||||
如果支持动态配置,可以在应用启动时请求配置 URL:
|
|
||||||
|
|
||||||
```kotlin
|
|
||||||
// 在 Application 或 MainActivity 中
|
|
||||||
ConfigManager.init(this, "https://your-domain.com/api/config.php")
|
|
||||||
```
|
|
||||||
|
|
||||||
### Android API 请求示例
|
|
||||||
|
|
||||||
```kotlin
|
|
||||||
// ApiService.kt
|
|
||||||
interface ApiService {
|
|
||||||
@GET
|
|
||||||
suspend fun getConfig(@Url url: String): Response<ConfigResponse>
|
|
||||||
}
|
|
||||||
|
|
||||||
data class ConfigResponse(
|
|
||||||
val baseURL: String,
|
|
||||||
val baseDYURL: String,
|
|
||||||
val mainregisterURL: String,
|
|
||||||
val paymentURL: String,
|
|
||||||
val telegramurl: String,
|
|
||||||
val kefuurl: String,
|
|
||||||
val websiteURL: String,
|
|
||||||
val crisptoken: String,
|
|
||||||
val banners: List<String>,
|
|
||||||
val message: String,
|
|
||||||
val code: Int
|
|
||||||
)
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## iOS 配置方法
|
|
||||||
|
|
||||||
### 方法一: 修改 StoreManager.swift (推荐)
|
|
||||||
|
|
||||||
1. **定位配置文件**
|
|
||||||
|
|
||||||
在 iOS 项目中找到:
|
|
||||||
```
|
|
||||||
iOS-SwiftUI-Code/ApplicationLibrary/Service/StoreManager.swift
|
|
||||||
```
|
|
||||||
|
|
||||||
2. **修改配置 URL**
|
|
||||||
|
|
||||||
找到 `configURL` 常量并修改:
|
|
||||||
```swift
|
|
||||||
public let configURL = "https://your-domain.com/api/config.php"
|
|
||||||
```
|
|
||||||
|
|
||||||
3. **重新编译应用**
|
|
||||||
|
|
||||||
在 Xcode 中按 `Cmd + B` 编译项目
|
|
||||||
|
|
||||||
### 方法二: 使用 Info.plist
|
|
||||||
|
|
||||||
1. **在 Info.plist 中添加配置**
|
|
||||||
|
|
||||||
```xml
|
|
||||||
<key>ConfigURL</key>
|
|
||||||
<string>https://your-domain.com/api/config.php</string>
|
|
||||||
```
|
|
||||||
|
|
||||||
2. **在代码中读取**
|
|
||||||
|
|
||||||
```swift
|
|
||||||
if let configURL = Bundle.main.infoDictionary?["ConfigURL"] as? String {
|
|
||||||
// 使用配置 URL
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### iOS 网络请求示例
|
|
||||||
|
|
||||||
```swift
|
|
||||||
// StoreManager.swift
|
|
||||||
func fetchConfig() async throws -> ConfigResponse {
|
|
||||||
guard let url = URL(string: configURL) else {
|
|
||||||
throw URLError(.badURL)
|
|
||||||
}
|
|
||||||
|
|
||||||
var request = URLRequest(url: url)
|
|
||||||
request.addValue("application/json", forHTTPHeaderField: "Content-Type")
|
|
||||||
request.addValue(Bundle.main.bundleIdentifier ?? "", forHTTPHeaderField: "bid")
|
|
||||||
request.addValue(appVersion, forHTTPHeaderField: "appver")
|
|
||||||
|
|
||||||
let (data, _) = try await URLSession.shared.data(for: request)
|
|
||||||
return try JSONDecoder().decode(ConfigResponse.self, from: data)
|
|
||||||
}
|
|
||||||
|
|
||||||
// 数据模型
|
|
||||||
struct ConfigResponse: Codable {
|
|
||||||
let baseURL: String
|
|
||||||
let baseDYURL: String
|
|
||||||
let mainregisterURL: String
|
|
||||||
let paymentURL: String
|
|
||||||
let telegramurl: String
|
|
||||||
let kefuurl: String
|
|
||||||
let websiteURL: String
|
|
||||||
let crisptoken: String
|
|
||||||
let banners: [String]
|
|
||||||
let message: String
|
|
||||||
let code: Int
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 测试与验证
|
|
||||||
|
|
||||||
### 测试配置地址
|
|
||||||
|
|
||||||
项目提供了测试配置地址供开发调试使用:
|
|
||||||
|
|
||||||
```
|
|
||||||
https://vungles.com/api/test/config
|
|
||||||
```
|
|
||||||
|
|
||||||
**测试账号**:
|
|
||||||
- 邮箱: `binance3980@gmail.com`
|
|
||||||
- 密码: `Tinkl123`
|
|
||||||
|
|
||||||
### 验证配置是否正确
|
|
||||||
|
|
||||||
1. **浏览器测试**
|
|
||||||
|
|
||||||
在浏览器中访问你的配置 URL,确认返回正确的 JSON 格式
|
|
||||||
|
|
||||||
2. **Postman 测试**
|
|
||||||
|
|
||||||
使用 Postman 发送 GET 请求,验证响应内容
|
|
||||||
|
|
||||||
3. **应用内测试**
|
|
||||||
|
|
||||||
- 启动应用
|
|
||||||
- 检查是否能正常加载首页横幅图
|
|
||||||
- 测试登录/注册功能
|
|
||||||
- 验证节点列表加载
|
|
||||||
|
|
||||||
### 错误排查
|
|
||||||
|
|
||||||
如果配置加载失败:
|
|
||||||
|
|
||||||
1. **检查 URL 是否正确**
|
|
||||||
```
|
|
||||||
https://your-domain.com/api/config.php
|
|
||||||
```
|
|
||||||
|
|
||||||
2. **检查 HTTPS 证书**
|
|
||||||
- 确保证书有效且未过期
|
|
||||||
- 使用可信 CA 签发的证书
|
|
||||||
|
|
||||||
3. **检查 JSON 格式**
|
|
||||||
- 使用 JSON 格式化工具验证
|
|
||||||
- 确保所有必填字段都存在
|
|
||||||
|
|
||||||
4. **检查 CORS 配置** (Web 端)
|
|
||||||
- 服务器需要配置正确的 CORS 头
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 部署配置服务器
|
|
||||||
|
|
||||||
### 方案一: 静态 JSON 文件 (推荐)
|
|
||||||
|
|
||||||
将配置 JSON 存储在 CDN 或对象存储服务:
|
|
||||||
|
|
||||||
1. **创建配置文件**
|
|
||||||
|
|
||||||
创建 `config.json`:
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"baseURL": "https://api.yourdomain.com/api/v1/",
|
|
||||||
"baseDYURL": "https://api.yourdomain.com/api/vpnnodes.php",
|
|
||||||
"mainregisterURL": "https://yourdomain.com/#/register?code=",
|
|
||||||
"paymentURL": "https://pay.yourdomain.com/",
|
|
||||||
"telegramurl": "https://t.me/yourchannel",
|
|
||||||
"kefuurl": "https://yourdomain.com/support/",
|
|
||||||
"websiteURL": "https://yourdomain.com/",
|
|
||||||
"crisptoken": "your-crisp-token",
|
|
||||||
"banners": [
|
|
||||||
"https://cdn.yourdomain.com/banner1.png"
|
|
||||||
],
|
|
||||||
"message": "OK",
|
|
||||||
"code": 1
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
2. **上传到对象存储**
|
|
||||||
|
|
||||||
- 阿里云 OSS
|
|
||||||
- 腾讯云 COS
|
|
||||||
- AWS S3
|
|
||||||
- Cloudflare R2
|
|
||||||
|
|
||||||
3. **启用 HTTPS**
|
|
||||||
|
|
||||||
确保存储桶启用 HTTPS 访问
|
|
||||||
|
|
||||||
### 方案二: 动态 API 接口
|
|
||||||
|
|
||||||
使用后端服务动态返回配置:
|
|
||||||
|
|
||||||
**PHP 示例**:
|
|
||||||
```php
|
|
||||||
<?php
|
|
||||||
// config.php
|
|
||||||
header('Content-Type: application/json');
|
|
||||||
|
|
||||||
$config = [
|
|
||||||
'baseURL' => 'https://api.yourdomain.com/api/v1/',
|
|
||||||
'baseDYURL' => 'https://api.yourdomain.com/api/vpnnodes.php',
|
|
||||||
'mainregisterURL' => 'https://yourdomain.com/#/register?code=',
|
|
||||||
'paymentURL' => 'https://pay.yourdomain.com/',
|
|
||||||
'telegramurl' => 'https://t.me/yourchannel',
|
|
||||||
'kefuurl' => 'https://yourdomain.com/support/',
|
|
||||||
'websiteURL' => 'https://yourdomain.com/',
|
|
||||||
'crisptoken' => 'your-crisp-token',
|
|
||||||
'banners' => [
|
|
||||||
'https://cdn.yourdomain.com/banner1.png',
|
|
||||||
'https://cdn.yourdomain.com/banner2.png'
|
|
||||||
],
|
|
||||||
'message' => 'OK',
|
|
||||||
'code' => 1
|
|
||||||
];
|
|
||||||
|
|
||||||
echo json_encode($config, JSON_PRETTY_PRINT);
|
|
||||||
?>
|
|
||||||
```
|
|
||||||
|
|
||||||
**Node.js 示例**:
|
|
||||||
```javascript
|
|
||||||
// config.js
|
|
||||||
const express = require('express');
|
|
||||||
const app = express();
|
|
||||||
|
|
||||||
app.get('/api/config', (req, res) => {
|
|
||||||
res.json({
|
|
||||||
baseURL: 'https://api.yourdomain.com/api/v1/',
|
|
||||||
baseDYURL: 'https://api.yourdomain.com/api/vpnnodes.php',
|
|
||||||
mainregisterURL: 'https://yourdomain.com/#/register?code=',
|
|
||||||
paymentURL: 'https://pay.yourdomain.com/',
|
|
||||||
telegramurl: 'https://t.me/yourchannel',
|
|
||||||
kefuurl: 'https://yourdomain.com/support/',
|
|
||||||
websiteURL: 'https://yourdomain.com/',
|
|
||||||
crisptoken: 'your-crisp-token',
|
|
||||||
banners: [
|
|
||||||
'https://cdn.yourdomain.com/banner1.png'
|
|
||||||
],
|
|
||||||
message: 'OK',
|
|
||||||
code: 1
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
app.listen(3000, () => {
|
|
||||||
console.log('Config server running on port 3000');
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 安全建议
|
|
||||||
|
|
||||||
### 1. 使用 HTTPS
|
|
||||||
|
|
||||||
- 所有 API 端点必须使用 HTTPS
|
|
||||||
- 使用可信 CA 签发的 SSL 证书
|
|
||||||
- 禁用 HTTP 访问
|
|
||||||
|
|
||||||
### 2. 请求验证
|
|
||||||
|
|
||||||
在请求头中添加验证信息:
|
|
||||||
|
|
||||||
```kotlin
|
|
||||||
// Android
|
|
||||||
request.addHeader("bid", BuildConfig.APPLICATION_ID)
|
|
||||||
request.addHeader("appver", BuildConfig.VERSION_NAME)
|
|
||||||
request.addHeader("device", android.os.Build.MODEL)
|
|
||||||
```
|
|
||||||
|
|
||||||
```swift
|
|
||||||
// iOS
|
|
||||||
request.addValue(Bundle.main.bundleIdentifier ?? "", forHTTPHeaderField: "bid")
|
|
||||||
request.addValue(appVersion, forHTTPHeaderField: "appver")
|
|
||||||
request.addValue(UIDevice.current.model, forHTTPHeaderField: "device")
|
|
||||||
```
|
|
||||||
|
|
||||||
### 3. 服务器端验证
|
|
||||||
|
|
||||||
在服务器端验证请求来源:
|
|
||||||
|
|
||||||
```php
|
|
||||||
<?php
|
|
||||||
$bid = $_SERVER['HTTP_BID'] ?? '';
|
|
||||||
$appver = $_SERVER['HTTP_APPVER'] ?? '';
|
|
||||||
|
|
||||||
// 验证 Bundle ID
|
|
||||||
$allowedBids = ['com.yourcompany.uuvpn', 'com.yourcompany.uuvpn.dev'];
|
|
||||||
if (!in_array($bid, $allowedBids)) {
|
|
||||||
http_response_code(403);
|
|
||||||
exit(json_encode(['code' => 0, 'message' => 'Unauthorized']));
|
|
||||||
}
|
|
||||||
|
|
||||||
// 返回配置
|
|
||||||
// ...
|
|
||||||
?>
|
|
||||||
```
|
|
||||||
|
|
||||||
### 4. 敏感信息保护
|
|
||||||
|
|
||||||
- 不要在配置文件中存储密钥或密码
|
|
||||||
- 使用 token 而非明文密码
|
|
||||||
- 定期更新 Crisp token
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## iOS App Store 审核配置
|
|
||||||
|
|
||||||
### 审核模式配置
|
|
||||||
|
|
||||||
iOS 应用提交 App Store 审核时,需要隐藏外部支付链接:
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"baseURL": "https://api.yourdomain.com/api/v1/",
|
|
||||||
"baseDYURL": "https://api.yourdomain.com/api/vpnnodes.php",
|
|
||||||
"mainregisterURL": "https://yourdomain.com/#/register?code=",
|
|
||||||
"paymentURL": "xx",
|
|
||||||
"telegramurl": "https://t.me/yourchannel",
|
|
||||||
"kefuurl": "https://yourdomain.com/support/",
|
|
||||||
"websiteURL": "https://yourdomain.com/",
|
|
||||||
"crisptoken": "your-crisp-token",
|
|
||||||
"banners": [],
|
|
||||||
"message": "OK",
|
|
||||||
"code": 1
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
**关键点**:
|
|
||||||
- `paymentURL` 设置为 `"xx"` 或 `"xxx"` (长度 ≤ 3)
|
|
||||||
- `banners` 设置为空数组,避免显示包含支付信息的横幅
|
|
||||||
|
|
||||||
### 审核通过后配置
|
|
||||||
|
|
||||||
审核通过后,将配置改回正常模式:
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"paymentURL": "https://pay.yourdomain.com/",
|
|
||||||
"banners": [
|
|
||||||
"https://cdn.yourdomain.com/banner1.png"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 常见问题
|
|
||||||
|
|
||||||
### Q1: 修改配置后应用没有更新怎么办?
|
|
||||||
|
|
||||||
**A**: 清除应用缓存或重新安装应用
|
|
||||||
|
|
||||||
**Android**:
|
|
||||||
```bash
|
|
||||||
adb shell pm clear com.yourcompany.uuvpn
|
|
||||||
```
|
|
||||||
|
|
||||||
**iOS**: 卸载重装应用
|
|
||||||
|
|
||||||
### Q2: 配置请求超时怎么办?
|
|
||||||
|
|
||||||
**A**: 检查以下内容:
|
|
||||||
- 服务器是否正常运行
|
|
||||||
- HTTPS 证书是否有效
|
|
||||||
- 网络连接是否正常
|
|
||||||
- 考虑使用 CDN 加速
|
|
||||||
|
|
||||||
### Q3: 如何在不重新编译的情况下更改配置?
|
|
||||||
|
|
||||||
**A**: 配置是从远程 URL 动态获取的,只需修改服务器端的配置 JSON 即可,应用会在下次启动时自动获取最新配置
|
|
||||||
|
|
||||||
### Q4: 能否使用多个配置 URL?
|
|
||||||
|
|
||||||
**A**: 可以,通过在不同的编译变体中使用不同的配置 URL:
|
|
||||||
|
|
||||||
**Android**:
|
|
||||||
```kotlin
|
|
||||||
object ApiConfig {
|
|
||||||
val CONFIG_URL = when (BuildConfig.BUILD_TYPE) {
|
|
||||||
"debug" -> "https://dev.yourdomain.com/api/config.php"
|
|
||||||
"release" -> "https://yourdomain.com/api/config.php"
|
|
||||||
else -> "https://yourdomain.com/api/config.php"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
**iOS**:
|
|
||||||
```swift
|
|
||||||
#if DEBUG
|
|
||||||
let configURL = "https://dev.yourdomain.com/api/config.php"
|
|
||||||
#else
|
|
||||||
let configURL = "https://yourdomain.com/api/config.php"
|
|
||||||
#endif
|
|
||||||
```
|
|
||||||
|
|
||||||
### Q5: 配置加载失败应用会崩溃吗?
|
|
||||||
|
|
||||||
**A**: 不会,应用应该有默认配置作为后备:
|
|
||||||
|
|
||||||
```kotlin
|
|
||||||
// Android
|
|
||||||
fun getConfig(): ConfigResponse {
|
|
||||||
return try {
|
|
||||||
apiService.getConfig(configURL)
|
|
||||||
} catch (e: Exception) {
|
|
||||||
// 返回默认配置
|
|
||||||
getDefaultConfig()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
```swift
|
|
||||||
// iOS
|
|
||||||
func loadConfig() async {
|
|
||||||
do {
|
|
||||||
config = try await fetchConfig()
|
|
||||||
} catch {
|
|
||||||
// 使用默认配置
|
|
||||||
config = getDefaultConfig()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 总结
|
|
||||||
|
|
||||||
配置 API 端点是 UUVPN 应用的核心步骤,正确的配置能确保应用正常工作:
|
|
||||||
|
|
||||||
1. ✅ 准备好 V2Board 服务器
|
|
||||||
2. ✅ 创建配置 JSON 文件
|
|
||||||
3. ✅ 部署到 HTTPS 服务器
|
|
||||||
4. ✅ 在应用中配置 URL
|
|
||||||
5. ✅ 测试验证配置
|
|
||||||
6. ✅ 针对iOS审核特殊处理
|
|
||||||
|
|
||||||
如有问题,请参考 [GitHub Issues](https://github.com/nicolastinkl/UUVPN/issues) 或联系技术支持。
|
|
||||||
Binary file not shown.
@@ -8,8 +8,6 @@
|
|||||||
- Android 7.0+ (recommend)
|
- Android 7.0+ (recommend)
|
||||||
- `armeabi-v7a` , `arm64-v8a`, `x86` or `x86_64` Architecture
|
- `armeabi-v7a` , `arm64-v8a`, `x86` or `x86_64` Architecture
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
|
||||||
1. Update submodules
|
1. Update submodules
|
||||||
@@ -69,15 +67,6 @@ Please read 服务器配置+Kotlin-Android 文档教程.docx
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
```
|
|
||||||
测试的 URL 配置地址: https://vungles.com/api/test/config
|
|
||||||
测试账号:
|
|
||||||
binance3980@gmail.com
|
|
||||||
Tinkl123
|
|
||||||
```
|
|
||||||
|
|
||||||
上面字段的意思:
|
上面字段的意思:
|
||||||
以下是您提供的 JSON 配置文件的字段解释:
|
以下是您提供的 JSON 配置文件的字段解释:
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,72 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"artifactType": {
|
||||||
|
"type": "APK",
|
||||||
|
"kind": "Directory"
|
||||||
|
},
|
||||||
|
"applicationId": "com.litevpn.fast",
|
||||||
|
"variantName": "metaDebug",
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"type": "UNIVERSAL",
|
||||||
|
"filters": [],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 321001,
|
||||||
|
"versionName": "3.0.2",
|
||||||
|
"outputFile": "UUVPN-3.0.2-meta-universal-debug.apk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ONE_OF_MANY",
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"filterType": "ABI",
|
||||||
|
"value": "x86_64"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 321001,
|
||||||
|
"versionName": "3.0.2",
|
||||||
|
"outputFile": "UUVPN-3.0.2-meta-x86_64-debug.apk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ONE_OF_MANY",
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"filterType": "ABI",
|
||||||
|
"value": "x86"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 321001,
|
||||||
|
"versionName": "3.0.2",
|
||||||
|
"outputFile": "UUVPN-3.0.2-meta-x86-debug.apk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ONE_OF_MANY",
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"filterType": "ABI",
|
||||||
|
"value": "armeabi-v7a"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 321001,
|
||||||
|
"versionName": "3.0.2",
|
||||||
|
"outputFile": "UUVPN-3.0.2-meta-armeabi-v7a-debug.apk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ONE_OF_MANY",
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"filterType": "ABI",
|
||||||
|
"value": "arm64-v8a"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 321001,
|
||||||
|
"versionName": "3.0.2",
|
||||||
|
"outputFile": "UUVPN-3.0.2-meta-arm64-v8a-debug.apk"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"elementType": "File"
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,72 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"artifactType": {
|
||||||
|
"type": "APK",
|
||||||
|
"kind": "Directory"
|
||||||
|
},
|
||||||
|
"applicationId": "com.litevpn.fast",
|
||||||
|
"variantName": "metaRelease",
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"type": "UNIVERSAL",
|
||||||
|
"filters": [],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 321001,
|
||||||
|
"versionName": "3.0.2",
|
||||||
|
"outputFile": "UUVPN-3.0.2-meta-universal-release.apk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ONE_OF_MANY",
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"filterType": "ABI",
|
||||||
|
"value": "x86_64"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 321001,
|
||||||
|
"versionName": "3.0.2",
|
||||||
|
"outputFile": "UUVPN-3.0.2-meta-x86_64-release.apk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ONE_OF_MANY",
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"filterType": "ABI",
|
||||||
|
"value": "x86"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 321001,
|
||||||
|
"versionName": "3.0.2",
|
||||||
|
"outputFile": "UUVPN-3.0.2-meta-x86-release.apk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ONE_OF_MANY",
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"filterType": "ABI",
|
||||||
|
"value": "armeabi-v7a"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 321001,
|
||||||
|
"versionName": "3.0.2",
|
||||||
|
"outputFile": "UUVPN-3.0.2-meta-armeabi-v7a-release.apk"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ONE_OF_MANY",
|
||||||
|
"filters": [
|
||||||
|
{
|
||||||
|
"filterType": "ABI",
|
||||||
|
"value": "arm64-v8a"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"attributes": [],
|
||||||
|
"versionCode": 321001,
|
||||||
|
"versionName": "3.0.2",
|
||||||
|
"outputFile": "UUVPN-3.0.2-meta-arm64-v8a-release.apk"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"elementType": "File"
|
||||||
|
}
|
||||||
@@ -53,7 +53,6 @@ class LoginActivity : AppCompatActivity() {
|
|||||||
|
|
||||||
|
|
||||||
private var isPasswordVisible = false
|
private var isPasswordVisible = false
|
||||||
private var configRetryCount = 0
|
|
||||||
|
|
||||||
|
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
@@ -130,9 +129,7 @@ class LoginActivity : AppCompatActivity() {
|
|||||||
|
|
||||||
private fun getconfig(){
|
private fun getconfig(){
|
||||||
|
|
||||||
runOnUiThread {
|
LoadingDialog.show(this, "正在初始化...")
|
||||||
LoadingDialog.show(this, "正在初始化...")
|
|
||||||
}
|
|
||||||
CoroutineScope(Dispatchers.IO).launch {
|
CoroutineScope(Dispatchers.IO).launch {
|
||||||
|
|
||||||
safeApiCall {apiService.getConfig()}.let {
|
safeApiCall {apiService.getConfig()}.let {
|
||||||
@@ -145,15 +142,7 @@ class LoginActivity : AppCompatActivity() {
|
|||||||
//重新初始化 ApiClint
|
//重新初始化 ApiClint
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
configRetryCount++
|
getconfig()
|
||||||
if (configRetryCount < 3) {
|
|
||||||
getconfig()
|
|
||||||
} else {
|
|
||||||
withContext(Dispatchers.Main) {
|
|
||||||
LoadingDialog.hide()
|
|
||||||
Toast.makeText(this@LoginActivity, "初始化失败,请检查配置是否正确", Toast.LENGTH_LONG).show()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -241,7 +230,6 @@ class LoginActivity : AppCompatActivity() {
|
|||||||
// Handle error response, even if it's 422
|
// Handle error response, even if it's 422
|
||||||
try {
|
try {
|
||||||
val errorResponse = it?.errorBody()?.string() ?: ""
|
val errorResponse = it?.errorBody()?.string() ?: ""
|
||||||
print(errorResponse)
|
|
||||||
val errorJson = JSONObject(errorResponse)
|
val errorJson = JSONObject(errorResponse)
|
||||||
val message = errorJson.optString("message")
|
val message = errorJson.optString("message")
|
||||||
// Process the error message or show it to the user
|
// Process the error message or show it to the user
|
||||||
|
|||||||
@@ -293,7 +293,7 @@ class MainActivity : BaseActivity<MainDesign>() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private suspend fun configRequesting(retryCount: Int = 0){
|
private suspend fun configRequesting(){
|
||||||
val gson = Gson()
|
val gson = Gson()
|
||||||
val currentTime = System.currentTimeMillis()
|
val currentTime = System.currentTimeMillis()
|
||||||
/*apiService.getConfig().let {
|
/*apiService.getConfig().let {
|
||||||
@@ -333,23 +333,7 @@ class MainActivity : BaseActivity<MainDesign>() {
|
|||||||
performSubscrite()
|
performSubscrite()
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
if (retryCount < 3) {
|
configRequesting()
|
||||||
configRequesting(retryCount + 1)
|
|
||||||
} else {
|
|
||||||
withContext(Dispatchers.Main) {
|
|
||||||
LoadingDialog.hide()
|
|
||||||
showCustomDialog(
|
|
||||||
title = "提示",
|
|
||||||
message = "初始化失败,请检查配置是否正确",
|
|
||||||
positiveButtonText = "确定",
|
|
||||||
negativeButtonText = "",
|
|
||||||
onPositiveClick = {
|
|
||||||
},
|
|
||||||
onNegativeClick = {
|
|
||||||
}
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ import android.content.BroadcastReceiver
|
|||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
import android.content.IntentFilter
|
import android.content.IntentFilter
|
||||||
import android.os.Build
|
|
||||||
import androidx.core.content.ContextCompat
|
|
||||||
import com.github.kr328.clash.common.constants.Intents
|
import com.github.kr328.clash.common.constants.Intents
|
||||||
import com.github.kr328.clash.common.log.Log
|
import com.github.kr328.clash.common.log.Log
|
||||||
import java.util.*
|
import java.util.*
|
||||||
@@ -90,7 +88,7 @@ class Broadcasts(private val context: Application) {
|
|||||||
return
|
return
|
||||||
|
|
||||||
try {
|
try {
|
||||||
val filter = IntentFilter().apply {
|
context.registerReceiver(broadcastReceiver, IntentFilter().apply {
|
||||||
addAction(Intents.ACTION_SERVICE_RECREATED)
|
addAction(Intents.ACTION_SERVICE_RECREATED)
|
||||||
addAction(Intents.ACTION_CLASH_STARTED)
|
addAction(Intents.ACTION_CLASH_STARTED)
|
||||||
addAction(Intents.ACTION_CLASH_STOPPED)
|
addAction(Intents.ACTION_CLASH_STOPPED)
|
||||||
@@ -98,15 +96,7 @@ class Broadcasts(private val context: Application) {
|
|||||||
addAction(Intents.ACTION_PROFILE_UPDATE_COMPLETED)
|
addAction(Intents.ACTION_PROFILE_UPDATE_COMPLETED)
|
||||||
addAction(Intents.ACTION_PROFILE_UPDATE_FAILED)
|
addAction(Intents.ACTION_PROFILE_UPDATE_FAILED)
|
||||||
addAction(Intents.ACTION_PROFILE_LOADED)
|
addAction(Intents.ACTION_PROFILE_LOADED)
|
||||||
}
|
})
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
|
||||||
context.registerReceiver(broadcastReceiver, filter, Context.RECEIVER_EXPORTED)
|
|
||||||
} else {
|
|
||||||
context.registerReceiver(broadcastReceiver, filter)
|
|
||||||
}
|
|
||||||
|
|
||||||
registered = true
|
|
||||||
|
|
||||||
clashRunning = StatusClient(context).currentProfile() != null
|
clashRunning = StatusClient(context).currentProfile() != null
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
@@ -120,11 +110,10 @@ class Broadcasts(private val context: Application) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
context.unregisterReceiver(broadcastReceiver)
|
context.unregisterReceiver(broadcastReceiver)
|
||||||
registered = false
|
|
||||||
|
|
||||||
clashRunning = false
|
clashRunning = false
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
Log.w("Unregister global receiver: $e", e)
|
Log.w("Unregister global receiver: $e", e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -42,9 +42,9 @@ subprojects {
|
|||||||
minSdk = 24
|
minSdk = 24
|
||||||
|
|
||||||
compileSdkVersion(34)
|
compileSdkVersion(34)
|
||||||
targetSdkVersion(34)
|
// targetSdkVersion(34)
|
||||||
versionName = "4.0.0"
|
versionName = "3.0.2"
|
||||||
versionCode = 423001
|
versionCode = 321001
|
||||||
|
|
||||||
resValue("string", "release_name", "v$versionName")
|
resValue("string", "release_name", "v$versionName")
|
||||||
resValue("integer", "release_code", "$versionCode")
|
resValue("integer", "release_code", "$versionCode")
|
||||||
@@ -140,8 +140,8 @@ subprojects {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
named("release") {
|
named("release") {
|
||||||
isMinifyEnabled = false
|
isMinifyEnabled = isApp
|
||||||
isShrinkResources = false
|
isShrinkResources = isApp
|
||||||
signingConfig = signingConfigs.findByName("release")
|
signingConfig = signingConfigs.findByName("release")
|
||||||
proguardFiles(
|
proguardFiles(
|
||||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||||
|
|||||||
@@ -0,0 +1,369 @@
|
|||||||
|
# This is the CMakeCache file.
|
||||||
|
# For build in directory: /Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/12i5r1y2/arm64-v8a
|
||||||
|
# It was generated by CMake: /Users/mac/Library/Android/sdk/cmake/3.18.1/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=arm64-v8a
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
ANDROID_NDK:UNINITIALIZED=/Users/mac/Library/Android/sdk/ndk/27.0.12077973
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
ANDROID_PLATFORM:UNINITIALIZED=android-24
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_ADDR2LINE:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-addr2line
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_ANDROID_ARCH_ABI:UNINITIALIZED=arm64-v8a
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_ANDROID_NDK:UNINITIALIZED=/Users/mac/Library/Android/sdk/ndk/27.0.12077973
|
||||||
|
|
||||||
|
//Archiver
|
||||||
|
CMAKE_AR:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-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 Debug Release RelWithDebInfo
|
||||||
|
// MinSizeRel ...
|
||||||
|
CMAKE_BUILD_TYPE:STRING=Debug
|
||||||
|
|
||||||
|
//Flags used by the compiler during all build types.
|
||||||
|
CMAKE_CXX_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the compiler during debug builds.
|
||||||
|
CMAKE_CXX_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the compiler during release builds.
|
||||||
|
CMAKE_CXX_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//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 C compiler during MINSIZEREL builds.
|
||||||
|
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the compiler during release builds.
|
||||||
|
CMAKE_C_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||||
|
|
||||||
|
//Libraries linked by default with all C applications.
|
||||||
|
CMAKE_C_STANDARD_LIBRARIES:STRING=-latomic -lm
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_DLLTOOL:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-dlltool
|
||||||
|
|
||||||
|
//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 MINSIZEREL 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 RELWITHDEBINFO builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_EXPORT_COMPILE_COMMANDS:UNINITIALIZED=ON
|
||||||
|
|
||||||
|
//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/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/12i5r1y2/obj/arm64-v8a
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_LINKER:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld.lld
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// DEBUG builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// MINSIZEREL builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// RELEASE builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// RELWITHDEBINFO builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_NM:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-nm
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJCOPY:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-objcopy
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJDUMP:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-objdump
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_NAME:STATIC=clash-bridge
|
||||||
|
|
||||||
|
//Ranlib
|
||||||
|
CMAKE_RANLIB:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ranlib
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_READELF:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-readelf
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_RUNTIME_OUTPUT_DIRECTORY:UNINITIALIZED=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/12i5r1y2/obj/arm64-v8a
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of dll's.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during DEBUG builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during MINSIZEREL builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during RELEASE builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during RELWITHDEBINFO 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
|
||||||
|
// during all build types.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during DEBUG builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during MINSIZEREL builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during RELEASE builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Strip
|
||||||
|
CMAKE_STRIP:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-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=24
|
||||||
|
|
||||||
|
//The CMake toolchain file
|
||||||
|
CMAKE_TOOLCHAIN_FILE:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/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
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
FLAVOR_NAME:STRING=beta
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
GO_OUTPUT:STRING=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
GO_SOURCE:STRING=/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native
|
||||||
|
|
||||||
|
//Dependencies for the target
|
||||||
|
bridge_LIB_DEPENDS:STATIC=general;log;general;clash;
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
clash-bridge_BINARY_DIR:STATIC=/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/12i5r1y2/arm64-v8a
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
clash-bridge_SOURCE_DIR:STATIC=/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp
|
||||||
|
|
||||||
|
|
||||||
|
########################
|
||||||
|
# INTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
||||||
|
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
||||||
|
//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/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/12i5r1y2/arm64-v8a
|
||||||
|
//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=18
|
||||||
|
//Patch version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_PATCH_VERSION:INTERNAL=1
|
||||||
|
//Path to CMake executable.
|
||||||
|
CMAKE_COMMAND:INTERNAL=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake
|
||||||
|
//Path to cpack program executable.
|
||||||
|
CMAKE_CPACK_COMMAND:INTERNAL=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cpack
|
||||||
|
//Path to ctest program executable.
|
||||||
|
CMAKE_CTEST_COMMAND:INTERNAL=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ctest
|
||||||
|
//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_DLLTOOL
|
||||||
|
CMAKE_DLLTOOL-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
|
||||||
|
//Name of external makefile project generator.
|
||||||
|
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||||
|
//Name of generator.
|
||||||
|
CMAKE_GENERATOR:INTERNAL=Ninja
|
||||||
|
//Generator instance identifier.
|
||||||
|
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||||
|
//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/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp
|
||||||
|
//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
|
||||||
|
//ADVANCED property for variable: CMAKE_READELF
|
||||||
|
CMAKE_READELF-ADVANCED:INTERNAL=1
|
||||||
|
//Path to CMake installation.
|
||||||
|
CMAKE_ROOT:INTERNAL=/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18
|
||||||
|
//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
|
||||||
|
|
||||||
+77
@@ -0,0 +1,77 @@
|
|||||||
|
set(CMAKE_C_COMPILER "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang")
|
||||||
|
set(CMAKE_C_COMPILER_ARG1 "")
|
||||||
|
set(CMAKE_C_COMPILER_ID "Clang")
|
||||||
|
set(CMAKE_C_COMPILER_VERSION "18.0.1")
|
||||||
|
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_COMPILER_FRONTEND_VARIANT "GNU")
|
||||||
|
set(CMAKE_C_SIMULATE_VERSION "")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_AR "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ar")
|
||||||
|
set(CMAKE_C_COMPILER_AR "CMAKE_C_COMPILER_AR-NOTFOUND")
|
||||||
|
set(CMAKE_RANLIB "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ranlib")
|
||||||
|
set(CMAKE_C_COMPILER_RANLIB "CMAKE_C_COMPILER_RANLIB-NOTFOUND")
|
||||||
|
set(CMAKE_LINKER "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld.lld")
|
||||||
|
set(CMAKE_MT "")
|
||||||
|
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 "8")
|
||||||
|
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_INCLUDE_DIRECTORIES "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/lib/clang/18/include;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "-l:libunwind.a;dl;c;-l:libunwind.a;dl")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/lib/clang/18/lib/linux/aarch64;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||||
BIN
Binary file not shown.
+15
@@ -0,0 +1,15 @@
|
|||||||
|
set(CMAKE_HOST_SYSTEM "Darwin-23.4.0")
|
||||||
|
set(CMAKE_HOST_SYSTEM_NAME "Darwin")
|
||||||
|
set(CMAKE_HOST_SYSTEM_VERSION "23.4.0")
|
||||||
|
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
include("/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake")
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM "Android-1")
|
||||||
|
set(CMAKE_SYSTEM_NAME "Android")
|
||||||
|
set(CMAKE_SYSTEM_VERSION "1")
|
||||||
|
set(CMAKE_SYSTEM_PROCESSOR "aarch64")
|
||||||
|
|
||||||
|
set(CMAKE_CROSSCOMPILING "TRUE")
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_LOADED 1)
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
||||||
+23
@@ -0,0 +1,23 @@
|
|||||||
|
Executable : /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake
|
||||||
|
arguments :
|
||||||
|
-H/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp
|
||||||
|
-DCMAKE_SYSTEM_NAME=Android
|
||||||
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||||
|
-DCMAKE_SYSTEM_VERSION=24
|
||||||
|
-DANDROID_PLATFORM=android-24
|
||||||
|
-DANDROID_ABI=arm64-v8a
|
||||||
|
-DCMAKE_ANDROID_ARCH_ABI=arm64-v8a
|
||||||
|
-DANDROID_NDK=/Users/mac/Library/Android/sdk/ndk/27.0.12077973
|
||||||
|
-DCMAKE_ANDROID_NDK=/Users/mac/Library/Android/sdk/ndk/27.0.12077973
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake
|
||||||
|
-DCMAKE_MAKE_PROGRAM=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja
|
||||||
|
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/12i5r1y2/obj/arm64-v8a
|
||||||
|
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/12i5r1y2/obj/arm64-v8a
|
||||||
|
-DCMAKE_BUILD_TYPE=Debug
|
||||||
|
-B/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/12i5r1y2/arm64-v8a
|
||||||
|
-GNinja
|
||||||
|
-DGO_SOURCE:STRING=/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native
|
||||||
|
-DGO_OUTPUT:STRING=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang
|
||||||
|
-DFLAVOR_NAME:STRING=beta
|
||||||
|
jvmArgs :
|
||||||
|
|
||||||
+1231
File diff suppressed because it is too large
Load Diff
+150
@@ -0,0 +1,150 @@
|
|||||||
|
{
|
||||||
|
"inputs" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"path" : "CMakeLists.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path" : "version.h.in"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isGenerated" : true,
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android-legacy.toolchain.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/abis.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/platforms.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/compiler_id.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Initialize.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isGenerated" : true,
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeCCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInformation.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeGenericSystem.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeInitializeConfigs.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Linux.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/UnixPaths.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCInformation.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeLanguageInformation.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang-C.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/GNU.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Internal/CMakeCheckCompilerFlag.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang-C.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCommonLanguageInclude.cmake"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"kind" : "cmakeFiles",
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"build" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a",
|
||||||
|
"source" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp"
|
||||||
|
},
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 1,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
}
|
||||||
+59
@@ -0,0 +1,59 @@
|
|||||||
|
{
|
||||||
|
"configurations" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"directories" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"build" : ".",
|
||||||
|
"minimumCMakeVersion" :
|
||||||
|
{
|
||||||
|
"string" : "3.6.0"
|
||||||
|
},
|
||||||
|
"projectIndex" : 0,
|
||||||
|
"source" : ".",
|
||||||
|
"targetIndexes" :
|
||||||
|
[
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name" : "Debug",
|
||||||
|
"projects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"directoryIndexes" :
|
||||||
|
[
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"name" : "clash-bridge",
|
||||||
|
"targetIndexes" :
|
||||||
|
[
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"targets" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"directoryIndex" : 0,
|
||||||
|
"id" : "bridge::@6890427a1f51a3e7e1df",
|
||||||
|
"jsonFile" : "target-bridge-Debug-63ec09b473cbec23758b.json",
|
||||||
|
"name" : "bridge",
|
||||||
|
"projectIndex" : 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"kind" : "codemodel",
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"build" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a",
|
||||||
|
"source" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp"
|
||||||
|
},
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
+92
@@ -0,0 +1,92 @@
|
|||||||
|
{
|
||||||
|
"cmake" :
|
||||||
|
{
|
||||||
|
"generator" :
|
||||||
|
{
|
||||||
|
"multiConfig" : false,
|
||||||
|
"name" : "Ninja"
|
||||||
|
},
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"cmake" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake",
|
||||||
|
"cpack" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cpack",
|
||||||
|
"ctest" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ctest",
|
||||||
|
"root" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18"
|
||||||
|
},
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"isDirty" : false,
|
||||||
|
"major" : 3,
|
||||||
|
"minor" : 18,
|
||||||
|
"patch" : 1,
|
||||||
|
"string" : "3.18.1-g262b901",
|
||||||
|
"suffix" : "g262b901"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"objects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"jsonFile" : "codemodel-v2-f43174aea5010b020904.json",
|
||||||
|
"kind" : "codemodel",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"jsonFile" : "cache-v2-e5ad013c072d44868d35.json",
|
||||||
|
"kind" : "cache",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"jsonFile" : "cmakeFiles-v1-3a02fa1f664ecaa78be0.json",
|
||||||
|
"kind" : "cmakeFiles",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 1,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"reply" :
|
||||||
|
{
|
||||||
|
"client-agp" :
|
||||||
|
{
|
||||||
|
"cache-v2" :
|
||||||
|
{
|
||||||
|
"jsonFile" : "cache-v2-e5ad013c072d44868d35.json",
|
||||||
|
"kind" : "cache",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cmakeFiles-v1" :
|
||||||
|
{
|
||||||
|
"jsonFile" : "cmakeFiles-v1-3a02fa1f664ecaa78be0.json",
|
||||||
|
"kind" : "cmakeFiles",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 1,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"codemodel-v2" :
|
||||||
|
{
|
||||||
|
"jsonFile" : "codemodel-v2-f43174aea5010b020904.json",
|
||||||
|
"kind" : "codemodel",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+174
@@ -0,0 +1,174 @@
|
|||||||
|
{
|
||||||
|
"artifacts" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a/libbridge.so"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"backtrace" : 1,
|
||||||
|
"backtraceGraph" :
|
||||||
|
{
|
||||||
|
"commands" :
|
||||||
|
[
|
||||||
|
"add_library",
|
||||||
|
"link_directories",
|
||||||
|
"target_link_libraries",
|
||||||
|
"include_directories"
|
||||||
|
],
|
||||||
|
"files" :
|
||||||
|
[
|
||||||
|
"CMakeLists.txt"
|
||||||
|
],
|
||||||
|
"nodes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"file" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 0,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 68,
|
||||||
|
"parent" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 1,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 66,
|
||||||
|
"parent" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 2,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 69,
|
||||||
|
"parent" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 3,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 63,
|
||||||
|
"parent" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 3,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 64,
|
||||||
|
"parent" : 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"compileGroups" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"compileCommandFragments" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"fragment" : "-g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fno-limit-debug-info -fPIC"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"defines" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"define" : "bridge_EXPORTS"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"includes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"backtrace" : 4,
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/arm64-v8a"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 5,
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"language" : "C",
|
||||||
|
"sourceIndexes" :
|
||||||
|
[
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2
|
||||||
|
],
|
||||||
|
"sysroot" :
|
||||||
|
{
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"id" : "bridge::@6890427a1f51a3e7e1df",
|
||||||
|
"link" :
|
||||||
|
{
|
||||||
|
"commandFragments" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"fragment" : "-static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--no-undefined-version -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments",
|
||||||
|
"role" : "flags"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 2,
|
||||||
|
"fragment" : "-L/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/arm64-v8a",
|
||||||
|
"role" : "libraryPath"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 3,
|
||||||
|
"fragment" : "-llog",
|
||||||
|
"role" : "libraries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 3,
|
||||||
|
"fragment" : "-lclash",
|
||||||
|
"role" : "libraries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fragment" : "-latomic -lm",
|
||||||
|
"role" : "libraries"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"language" : "C",
|
||||||
|
"sysroot" :
|
||||||
|
{
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"name" : "bridge",
|
||||||
|
"nameOnDisk" : "libbridge.so",
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"build" : ".",
|
||||||
|
"source" : "."
|
||||||
|
},
|
||||||
|
"sourceGroups" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name" : "Source Files",
|
||||||
|
"sourceIndexes" :
|
||||||
|
[
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sources" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"backtrace" : 1,
|
||||||
|
"compileGroupIndex" : 0,
|
||||||
|
"path" : "main.c",
|
||||||
|
"sourceGroupIndex" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 1,
|
||||||
|
"compileGroupIndex" : 0,
|
||||||
|
"path" : "jni_helper.c",
|
||||||
|
"sourceGroupIndex" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 1,
|
||||||
|
"compileGroupIndex" : 0,
|
||||||
|
"path" : "bridge_helper.c",
|
||||||
|
"sourceGroupIndex" : 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type" : "SHARED_LIBRARY"
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -0,0 +1,15 @@
|
|||||||
|
# ninja log v5
|
||||||
|
0 24 1733736660 CMakeFiles/bridge.dir/bridge_helper.c.o 7a96bf6b9f797289
|
||||||
|
0 31 1733736660 CMakeFiles/bridge.dir/jni_helper.c.o 6c7ffef43f564855
|
||||||
|
0 47 1733736660 CMakeFiles/bridge.dir/main.c.o 938645cbf56cc460
|
||||||
|
47 82 1733736660 /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a/libbridge.so 9cd40771dccff681
|
||||||
|
1 6 0 clean 3aac71530c245c7c
|
||||||
|
0 30 1733737408 CMakeFiles/bridge.dir/bridge_helper.c.o 7a96bf6b9f797289
|
||||||
|
0 37 1733737408 CMakeFiles/bridge.dir/jni_helper.c.o 6c7ffef43f564855
|
||||||
|
0 49 1733737408 CMakeFiles/bridge.dir/main.c.o 938645cbf56cc460
|
||||||
|
49 89 1733737408 /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a/libbridge.so 9cd40771dccff681
|
||||||
|
0 6 0 clean 3aac71530c245c7c
|
||||||
|
1 38 1733754479 CMakeFiles/bridge.dir/bridge_helper.c.o 7a96bf6b9f797289
|
||||||
|
1 53 1733754479 CMakeFiles/bridge.dir/jni_helper.c.o 6c7ffef43f564855
|
||||||
|
1 79 1733754480 CMakeFiles/bridge.dir/main.c.o 938645cbf56cc460
|
||||||
|
79 135 1733754480 /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a/libbridge.so 9cd40771dccff681
|
||||||
@@ -0,0 +1,369 @@
|
|||||||
|
# This is the CMakeCache file.
|
||||||
|
# For build in directory: /Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a
|
||||||
|
# It was generated by CMake: /Users/mac/Library/Android/sdk/cmake/3.18.1/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=arm64-v8a
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
ANDROID_NDK:UNINITIALIZED=/Users/mac/Library/Android/sdk/ndk/27.0.12077973
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
ANDROID_PLATFORM:UNINITIALIZED=android-24
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_ADDR2LINE:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-addr2line
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_ANDROID_ARCH_ABI:UNINITIALIZED=arm64-v8a
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_ANDROID_NDK:UNINITIALIZED=/Users/mac/Library/Android/sdk/ndk/27.0.12077973
|
||||||
|
|
||||||
|
//Archiver
|
||||||
|
CMAKE_AR:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-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 Debug Release RelWithDebInfo
|
||||||
|
// MinSizeRel ...
|
||||||
|
CMAKE_BUILD_TYPE:STRING=Debug
|
||||||
|
|
||||||
|
//Flags used by the compiler during all build types.
|
||||||
|
CMAKE_CXX_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the compiler during debug builds.
|
||||||
|
CMAKE_CXX_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the compiler during release builds.
|
||||||
|
CMAKE_CXX_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//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 C compiler during MINSIZEREL builds.
|
||||||
|
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the compiler during release builds.
|
||||||
|
CMAKE_C_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||||
|
|
||||||
|
//Libraries linked by default with all C applications.
|
||||||
|
CMAKE_C_STANDARD_LIBRARIES:STRING=-latomic -lm
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_DLLTOOL:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-dlltool
|
||||||
|
|
||||||
|
//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 MINSIZEREL 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 RELWITHDEBINFO builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_EXPORT_COMPILE_COMMANDS:UNINITIALIZED=ON
|
||||||
|
|
||||||
|
//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/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_LINKER:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld.lld
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// DEBUG builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// MINSIZEREL builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// RELEASE builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// RELWITHDEBINFO builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_NM:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-nm
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJCOPY:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-objcopy
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJDUMP:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-objdump
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_NAME:STATIC=clash-bridge
|
||||||
|
|
||||||
|
//Ranlib
|
||||||
|
CMAKE_RANLIB:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ranlib
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_READELF:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-readelf
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_RUNTIME_OUTPUT_DIRECTORY:UNINITIALIZED=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of dll's.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during DEBUG builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during MINSIZEREL builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during RELEASE builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during RELWITHDEBINFO 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
|
||||||
|
// during all build types.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during DEBUG builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during MINSIZEREL builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during RELEASE builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Strip
|
||||||
|
CMAKE_STRIP:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-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=24
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_TOOLCHAIN_FILE:UNINITIALIZED=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/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
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
FLAVOR_NAME:STRING=meta
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
GO_OUTPUT:STRING=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
GO_SOURCE:STRING=/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native
|
||||||
|
|
||||||
|
//Dependencies for the target
|
||||||
|
bridge_LIB_DEPENDS:STATIC=general;log;general;clash;
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
clash-bridge_BINARY_DIR:STATIC=/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
clash-bridge_SOURCE_DIR:STATIC=/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp
|
||||||
|
|
||||||
|
|
||||||
|
########################
|
||||||
|
# INTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
||||||
|
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
||||||
|
//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/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a
|
||||||
|
//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=18
|
||||||
|
//Patch version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_PATCH_VERSION:INTERNAL=1
|
||||||
|
//Path to CMake executable.
|
||||||
|
CMAKE_COMMAND:INTERNAL=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake
|
||||||
|
//Path to cpack program executable.
|
||||||
|
CMAKE_CPACK_COMMAND:INTERNAL=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cpack
|
||||||
|
//Path to ctest program executable.
|
||||||
|
CMAKE_CTEST_COMMAND:INTERNAL=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ctest
|
||||||
|
//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_DLLTOOL
|
||||||
|
CMAKE_DLLTOOL-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
|
||||||
|
//Name of external makefile project generator.
|
||||||
|
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||||
|
//Name of generator.
|
||||||
|
CMAKE_GENERATOR:INTERNAL=Ninja
|
||||||
|
//Generator instance identifier.
|
||||||
|
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||||
|
//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/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp
|
||||||
|
//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
|
||||||
|
//ADVANCED property for variable: CMAKE_READELF
|
||||||
|
CMAKE_READELF-ADVANCED:INTERNAL=1
|
||||||
|
//Path to CMake installation.
|
||||||
|
CMAKE_ROOT:INTERNAL=/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18
|
||||||
|
//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
|
||||||
|
|
||||||
+77
@@ -0,0 +1,77 @@
|
|||||||
|
set(CMAKE_C_COMPILER "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang")
|
||||||
|
set(CMAKE_C_COMPILER_ARG1 "")
|
||||||
|
set(CMAKE_C_COMPILER_ID "Clang")
|
||||||
|
set(CMAKE_C_COMPILER_VERSION "18.0.1")
|
||||||
|
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_COMPILER_FRONTEND_VARIANT "GNU")
|
||||||
|
set(CMAKE_C_SIMULATE_VERSION "")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_AR "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ar")
|
||||||
|
set(CMAKE_C_COMPILER_AR "CMAKE_C_COMPILER_AR-NOTFOUND")
|
||||||
|
set(CMAKE_RANLIB "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ranlib")
|
||||||
|
set(CMAKE_C_COMPILER_RANLIB "CMAKE_C_COMPILER_RANLIB-NOTFOUND")
|
||||||
|
set(CMAKE_LINKER "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld.lld")
|
||||||
|
set(CMAKE_MT "")
|
||||||
|
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 "8")
|
||||||
|
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_INCLUDE_DIRECTORIES "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/lib/clang/18/include;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "-l:libunwind.a;dl;c;-l:libunwind.a;dl")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/lib/clang/18/lib/linux/aarch64;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||||
BIN
Binary file not shown.
+15
@@ -0,0 +1,15 @@
|
|||||||
|
set(CMAKE_HOST_SYSTEM "Darwin-23.4.0")
|
||||||
|
set(CMAKE_HOST_SYSTEM_NAME "Darwin")
|
||||||
|
set(CMAKE_HOST_SYSTEM_VERSION "23.4.0")
|
||||||
|
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
include("/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake")
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM "Android-1")
|
||||||
|
set(CMAKE_SYSTEM_NAME "Android")
|
||||||
|
set(CMAKE_SYSTEM_VERSION "1")
|
||||||
|
set(CMAKE_SYSTEM_PROCESSOR "aarch64")
|
||||||
|
|
||||||
|
set(CMAKE_CROSSCOMPILING "TRUE")
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_LOADED 1)
|
||||||
+3
@@ -0,0 +1,3 @@
|
|||||||
|
/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a/CMakeFiles/rebuild_cache.dir
|
||||||
|
/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a/CMakeFiles/edit_cache.dir
|
||||||
|
/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a/CMakeFiles/bridge.dir
|
||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Ninja" Generator, CMake Version 3.18
|
||||||
|
|
||||||
|
# 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: clash-bridge
|
||||||
|
# Configurations: Debug
|
||||||
|
# =============================================================================
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for running custom commands.
|
||||||
|
|
||||||
|
rule CUSTOM_COMMAND
|
||||||
|
command = $COMMAND
|
||||||
|
description = $DESC
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for compiling C files.
|
||||||
|
|
||||||
|
rule C_COMPILER__bridge_Debug
|
||||||
|
depfile = $DEP_FILE
|
||||||
|
deps = gcc
|
||||||
|
command = /Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android24 --sysroot=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||||
|
description = Building C object $out
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for linking C shared library.
|
||||||
|
|
||||||
|
rule C_SHARED_LIBRARY_LINKER__bridge_Debug
|
||||||
|
command = $PRE_LINK && /Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android24 --sysroot=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/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 C shared library $TARGET_FILE
|
||||||
|
restat = $RESTAT
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for re-running cmake.
|
||||||
|
|
||||||
|
rule RERUN_CMAKE
|
||||||
|
command = /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake --regenerate-during-build -S/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp -B/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a
|
||||||
|
description = Re-running CMake...
|
||||||
|
generator = 1
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for cleaning all built files.
|
||||||
|
|
||||||
|
rule CLEAN
|
||||||
|
command = /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja $FILE_ARG -t clean $TARGETS
|
||||||
|
description = Cleaning all built files...
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for printing all primary targets available.
|
||||||
|
|
||||||
|
rule HELP
|
||||||
|
command = /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja -t targets
|
||||||
|
description = All primary targets available:
|
||||||
|
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
"buildFiles": [
|
||||||
|
"/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/CMakeLists.txt"
|
||||||
|
],
|
||||||
|
"cleanCommandsComponents": [
|
||||||
|
[
|
||||||
|
"/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja",
|
||||||
|
"-C",
|
||||||
|
"/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a",
|
||||||
|
"clean"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"buildTargetsCommandComponents": [
|
||||||
|
"/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja",
|
||||||
|
"-C",
|
||||||
|
"/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a",
|
||||||
|
"{LIST_OF_TARGETS_TO_BUILD}"
|
||||||
|
],
|
||||||
|
"libraries": {
|
||||||
|
"bridge::@6890427a1f51a3e7e1df": {
|
||||||
|
"toolchain": "toolchain",
|
||||||
|
"abi": "arm64-v8a",
|
||||||
|
"artifactName": "bridge",
|
||||||
|
"output": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a/libbridge.so",
|
||||||
|
"runtimeFiles": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"toolchains": {
|
||||||
|
"toolchain": {
|
||||||
|
"cCompilerExecutable": "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang.lld",
|
||||||
|
"cppCompilerExecutable": "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++.lld"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cFileExtensions": [
|
||||||
|
"c"
|
||||||
|
],
|
||||||
|
"cppFileExtensions": []
|
||||||
|
}
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
Executable : /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja
|
||||||
|
arguments :
|
||||||
|
-C
|
||||||
|
/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a
|
||||||
|
bridge
|
||||||
|
jvmArgs :
|
||||||
|
|
||||||
+2
@@ -0,0 +1,2 @@
|
|||||||
|
ninja: Entering directory `/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a'
|
||||||
|
ninja: no work to do.
|
||||||
@@ -0,0 +1,168 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Ninja" Generator, CMake Version 3.18
|
||||||
|
|
||||||
|
# This file contains all the build statements describing the
|
||||||
|
# compilation DAG.
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Write statements declared in CMakeLists.txt:
|
||||||
|
#
|
||||||
|
# Which is the root file.
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Project: clash-bridge
|
||||||
|
# Configurations: Debug
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Minimal version of Ninja required by this file
|
||||||
|
|
||||||
|
ninja_required_version = 1.5
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Set configuration variable for custom commands.
|
||||||
|
|
||||||
|
CONFIGURATION = Debug
|
||||||
|
# =============================================================================
|
||||||
|
# Include auxiliary files.
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Include rules file.
|
||||||
|
|
||||||
|
include CMakeFiles/rules.ninja
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Utility command for rebuild_cache
|
||||||
|
|
||||||
|
build CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
|
||||||
|
COMMAND = cd /Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a && /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake --regenerate-during-build -S/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp -B/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a
|
||||||
|
DESC = Running CMake to regenerate build system...
|
||||||
|
pool = console
|
||||||
|
restat = 1
|
||||||
|
|
||||||
|
build rebuild_cache: phony CMakeFiles/rebuild_cache.util
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Utility command for edit_cache
|
||||||
|
|
||||||
|
build CMakeFiles/edit_cache.util: CUSTOM_COMMAND
|
||||||
|
COMMAND = cd /Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a && /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||||
|
DESC = No interactive CMake dialog available...
|
||||||
|
restat = 1
|
||||||
|
|
||||||
|
build edit_cache: phony CMakeFiles/edit_cache.util
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Object build statements for SHARED_LIBRARY target bridge
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Order-only phony target for bridge
|
||||||
|
|
||||||
|
build cmake_object_order_depends_target_bridge: phony || CMakeFiles/bridge.dir
|
||||||
|
|
||||||
|
build CMakeFiles/bridge.dir/main.c.o: C_COMPILER__bridge_Debug /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/main.c || cmake_object_order_depends_target_bridge
|
||||||
|
DEFINES = -Dbridge_EXPORTS
|
||||||
|
DEP_FILE = CMakeFiles/bridge.dir/main.c.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 -fno-limit-debug-info -fPIC
|
||||||
|
INCLUDES = -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/arm64-v8a -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native
|
||||||
|
OBJECT_DIR = CMakeFiles/bridge.dir
|
||||||
|
OBJECT_FILE_DIR = CMakeFiles/bridge.dir
|
||||||
|
|
||||||
|
build CMakeFiles/bridge.dir/jni_helper.c.o: C_COMPILER__bridge_Debug /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/jni_helper.c || cmake_object_order_depends_target_bridge
|
||||||
|
DEFINES = -Dbridge_EXPORTS
|
||||||
|
DEP_FILE = CMakeFiles/bridge.dir/jni_helper.c.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 -fno-limit-debug-info -fPIC
|
||||||
|
INCLUDES = -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/arm64-v8a -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native
|
||||||
|
OBJECT_DIR = CMakeFiles/bridge.dir
|
||||||
|
OBJECT_FILE_DIR = CMakeFiles/bridge.dir
|
||||||
|
|
||||||
|
build CMakeFiles/bridge.dir/bridge_helper.c.o: C_COMPILER__bridge_Debug /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/bridge_helper.c || cmake_object_order_depends_target_bridge
|
||||||
|
DEFINES = -Dbridge_EXPORTS
|
||||||
|
DEP_FILE = CMakeFiles/bridge.dir/bridge_helper.c.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 -fno-limit-debug-info -fPIC
|
||||||
|
INCLUDES = -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/arm64-v8a -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native
|
||||||
|
OBJECT_DIR = CMakeFiles/bridge.dir
|
||||||
|
OBJECT_FILE_DIR = CMakeFiles/bridge.dir
|
||||||
|
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Link build statements for SHARED_LIBRARY target bridge
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Link the shared library /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a/libbridge.so
|
||||||
|
|
||||||
|
build /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a/libbridge.so: C_SHARED_LIBRARY_LINKER__bridge_Debug CMakeFiles/bridge.dir/main.c.o CMakeFiles/bridge.dir/jni_helper.c.o CMakeFiles/bridge.dir/bridge_helper.c.o
|
||||||
|
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 -fno-limit-debug-info
|
||||||
|
LINK_FLAGS = -static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--no-undefined-version -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments
|
||||||
|
LINK_LIBRARIES = -llog -lclash -latomic -lm
|
||||||
|
LINK_PATH = -L/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/arm64-v8a
|
||||||
|
OBJECT_DIR = CMakeFiles/bridge.dir
|
||||||
|
POST_BUILD = :
|
||||||
|
PRE_LINK = :
|
||||||
|
SONAME = libbridge.so
|
||||||
|
SONAME_FLAG = -Wl,-soname,
|
||||||
|
TARGET_FILE = /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a/libbridge.so
|
||||||
|
TARGET_PDB = bridge.so.dbg
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Target aliases.
|
||||||
|
|
||||||
|
build bridge: phony /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a/libbridge.so
|
||||||
|
|
||||||
|
build libbridge.so: phony /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a/libbridge.so
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Folder targets.
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Folder: /Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a
|
||||||
|
|
||||||
|
build all: phony /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a/libbridge.so
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Unknown Build Time Dependencies.
|
||||||
|
# Tell Ninja that they may appear as side effects of build rules
|
||||||
|
# otherwise ordered by order-only dependencies.
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Built-in targets
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Re-run CMake if any of its inputs changed.
|
||||||
|
|
||||||
|
build build.ninja: RERUN_CMAKE | /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/CMakeLists.txt /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/version.h.in /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCInformation.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCommonLanguageInclude.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeGenericSystem.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeInitializeConfigs.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeLanguageInformation.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInformation.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInitialize.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/CMakeCommonCompilerMacros.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang-C.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/GNU.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Internal/CMakeCheckCompilerFlag.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang-C.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Initialize.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Linux.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/UnixPaths.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/abis.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android-legacy.toolchain.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/compiler_id.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/platforms.cmake CMakeCache.txt CMakeFiles/3.18.1-g262b901/CMakeCCompiler.cmake CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake
|
||||||
|
pool = console
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# A missing CMake input file is not an error.
|
||||||
|
|
||||||
|
build /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/CMakeLists.txt /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/version.h.in /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCInformation.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCommonLanguageInclude.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeGenericSystem.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeInitializeConfigs.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeLanguageInformation.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInformation.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInitialize.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/CMakeCommonCompilerMacros.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang-C.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/GNU.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Internal/CMakeCheckCompilerFlag.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang-C.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Initialize.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Linux.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/UnixPaths.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/abis.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android-legacy.toolchain.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/compiler_id.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/platforms.cmake CMakeCache.txt CMakeFiles/3.18.1-g262b901/CMakeCCompiler.cmake CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake: phony
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Clean all the built files.
|
||||||
|
|
||||||
|
build clean: CLEAN
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Print all primary targets available.
|
||||||
|
|
||||||
|
build help: HELP
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Make the all target the default.
|
||||||
|
|
||||||
|
default all
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
# Install script for directory: /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp
|
||||||
|
|
||||||
|
# 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()
|
||||||
|
|
||||||
|
# Set default install directory permissions.
|
||||||
|
if(NOT DEFINED CMAKE_OBJDUMP)
|
||||||
|
set(CMAKE_OBJDUMP "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-objdump")
|
||||||
|
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/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a/${CMAKE_INSTALL_MANIFEST}"
|
||||||
|
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"directory": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a",
|
||||||
|
"command": "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android24 --sysroot=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dbridge_EXPORTS -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/arm64-v8a -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fno-limit-debug-info -fPIC -o CMakeFiles/bridge.dir/main.c.o -c /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/main.c",
|
||||||
|
"file": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/main.c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"directory": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a",
|
||||||
|
"command": "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android24 --sysroot=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dbridge_EXPORTS -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/arm64-v8a -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fno-limit-debug-info -fPIC -o CMakeFiles/bridge.dir/jni_helper.c.o -c /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/jni_helper.c",
|
||||||
|
"file": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/jni_helper.c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"directory": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a",
|
||||||
|
"command": "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android24 --sysroot=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dbridge_EXPORTS -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/arm64-v8a -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fno-limit-debug-info -fPIC -o CMakeFiles/bridge.dir/bridge_helper.c.o -c /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/bridge_helper.c",
|
||||||
|
"file": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/bridge_helper.c"
|
||||||
|
}
|
||||||
|
]
|
||||||
Binary file not shown.
+26
@@ -0,0 +1,26 @@
|
|||||||
|
Executable : /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake
|
||||||
|
arguments :
|
||||||
|
-H/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp
|
||||||
|
-DCMAKE_SYSTEM_NAME=Android
|
||||||
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||||
|
-DCMAKE_SYSTEM_VERSION=24
|
||||||
|
-DANDROID_PLATFORM=android-24
|
||||||
|
-DANDROID_ABI=arm64-v8a
|
||||||
|
-DCMAKE_ANDROID_ARCH_ABI=arm64-v8a
|
||||||
|
-DANDROID_NDK=/Users/mac/Library/Android/sdk/ndk/27.0.12077973
|
||||||
|
-DCMAKE_ANDROID_NDK=/Users/mac/Library/Android/sdk/ndk/27.0.12077973
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake
|
||||||
|
-DCMAKE_MAKE_PROGRAM=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja
|
||||||
|
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a
|
||||||
|
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/arm64-v8a
|
||||||
|
-DCMAKE_BUILD_TYPE=Debug
|
||||||
|
-B/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/arm64-v8a
|
||||||
|
-GNinja
|
||||||
|
-DGO_SOURCE:STRING=/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native
|
||||||
|
-DGO_OUTPUT:STRING=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang
|
||||||
|
-DFLAVOR_NAME:STRING=meta
|
||||||
|
jvmArgs :
|
||||||
|
|
||||||
|
|
||||||
|
Build command args: []
|
||||||
|
Version: 2
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"enabled": false,
|
||||||
|
"packages": []
|
||||||
|
}
|
||||||
+1231
File diff suppressed because it is too large
Load Diff
+150
@@ -0,0 +1,150 @@
|
|||||||
|
{
|
||||||
|
"inputs" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"path" : "CMakeLists.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path" : "version.h.in"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isGenerated" : true,
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android-legacy.toolchain.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/abis.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/platforms.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/compiler_id.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Initialize.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isGenerated" : true,
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a/CMakeFiles/3.18.1-g262b901/CMakeCCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInformation.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeGenericSystem.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeInitializeConfigs.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Linux.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/UnixPaths.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCInformation.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeLanguageInformation.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang-C.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/GNU.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Internal/CMakeCheckCompilerFlag.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang-C.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCommonLanguageInclude.cmake"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"kind" : "cmakeFiles",
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"build" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a",
|
||||||
|
"source" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp"
|
||||||
|
},
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 1,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
}
|
||||||
+59
@@ -0,0 +1,59 @@
|
|||||||
|
{
|
||||||
|
"configurations" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"directories" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"build" : ".",
|
||||||
|
"minimumCMakeVersion" :
|
||||||
|
{
|
||||||
|
"string" : "3.6.0"
|
||||||
|
},
|
||||||
|
"projectIndex" : 0,
|
||||||
|
"source" : ".",
|
||||||
|
"targetIndexes" :
|
||||||
|
[
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name" : "Debug",
|
||||||
|
"projects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"directoryIndexes" :
|
||||||
|
[
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"name" : "clash-bridge",
|
||||||
|
"targetIndexes" :
|
||||||
|
[
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"targets" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"directoryIndex" : 0,
|
||||||
|
"id" : "bridge::@6890427a1f51a3e7e1df",
|
||||||
|
"jsonFile" : "target-bridge-Debug-1d860d909514c43c2849.json",
|
||||||
|
"name" : "bridge",
|
||||||
|
"projectIndex" : 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"kind" : "codemodel",
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"build" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a",
|
||||||
|
"source" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp"
|
||||||
|
},
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
+92
@@ -0,0 +1,92 @@
|
|||||||
|
{
|
||||||
|
"cmake" :
|
||||||
|
{
|
||||||
|
"generator" :
|
||||||
|
{
|
||||||
|
"multiConfig" : false,
|
||||||
|
"name" : "Ninja"
|
||||||
|
},
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"cmake" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake",
|
||||||
|
"cpack" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cpack",
|
||||||
|
"ctest" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ctest",
|
||||||
|
"root" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18"
|
||||||
|
},
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"isDirty" : false,
|
||||||
|
"major" : 3,
|
||||||
|
"minor" : 18,
|
||||||
|
"patch" : 1,
|
||||||
|
"string" : "3.18.1-g262b901",
|
||||||
|
"suffix" : "g262b901"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"objects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"jsonFile" : "codemodel-v2-52c8ef94c616d131990b.json",
|
||||||
|
"kind" : "codemodel",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"jsonFile" : "cache-v2-9acd074c741ae970a25f.json",
|
||||||
|
"kind" : "cache",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"jsonFile" : "cmakeFiles-v1-99fc0e9984d922b0141d.json",
|
||||||
|
"kind" : "cmakeFiles",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 1,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"reply" :
|
||||||
|
{
|
||||||
|
"client-agp" :
|
||||||
|
{
|
||||||
|
"cache-v2" :
|
||||||
|
{
|
||||||
|
"jsonFile" : "cache-v2-9acd074c741ae970a25f.json",
|
||||||
|
"kind" : "cache",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cmakeFiles-v1" :
|
||||||
|
{
|
||||||
|
"jsonFile" : "cmakeFiles-v1-99fc0e9984d922b0141d.json",
|
||||||
|
"kind" : "cmakeFiles",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 1,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"codemodel-v2" :
|
||||||
|
{
|
||||||
|
"jsonFile" : "codemodel-v2-52c8ef94c616d131990b.json",
|
||||||
|
"kind" : "codemodel",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+174
@@ -0,0 +1,174 @@
|
|||||||
|
{
|
||||||
|
"artifacts" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a/libbridge.so"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"backtrace" : 1,
|
||||||
|
"backtraceGraph" :
|
||||||
|
{
|
||||||
|
"commands" :
|
||||||
|
[
|
||||||
|
"add_library",
|
||||||
|
"link_directories",
|
||||||
|
"target_link_libraries",
|
||||||
|
"include_directories"
|
||||||
|
],
|
||||||
|
"files" :
|
||||||
|
[
|
||||||
|
"CMakeLists.txt"
|
||||||
|
],
|
||||||
|
"nodes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"file" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 0,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 68,
|
||||||
|
"parent" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 1,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 66,
|
||||||
|
"parent" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 2,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 69,
|
||||||
|
"parent" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 3,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 63,
|
||||||
|
"parent" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 3,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 64,
|
||||||
|
"parent" : 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"compileGroups" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"compileCommandFragments" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"fragment" : "-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 -fno-limit-debug-info -fPIC"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"defines" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"define" : "bridge_EXPORTS"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"includes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"backtrace" : 4,
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/armeabi-v7a"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 5,
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"language" : "C",
|
||||||
|
"sourceIndexes" :
|
||||||
|
[
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2
|
||||||
|
],
|
||||||
|
"sysroot" :
|
||||||
|
{
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"id" : "bridge::@6890427a1f51a3e7e1df",
|
||||||
|
"link" :
|
||||||
|
{
|
||||||
|
"commandFragments" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"fragment" : "-static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--no-undefined-version -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments",
|
||||||
|
"role" : "flags"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 2,
|
||||||
|
"fragment" : "-L/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/armeabi-v7a",
|
||||||
|
"role" : "libraryPath"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 3,
|
||||||
|
"fragment" : "-llog",
|
||||||
|
"role" : "libraries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 3,
|
||||||
|
"fragment" : "-lclash",
|
||||||
|
"role" : "libraries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fragment" : "-latomic -lm",
|
||||||
|
"role" : "libraries"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"language" : "C",
|
||||||
|
"sysroot" :
|
||||||
|
{
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"name" : "bridge",
|
||||||
|
"nameOnDisk" : "libbridge.so",
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"build" : ".",
|
||||||
|
"source" : "."
|
||||||
|
},
|
||||||
|
"sourceGroups" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name" : "Source Files",
|
||||||
|
"sourceIndexes" :
|
||||||
|
[
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sources" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"backtrace" : 1,
|
||||||
|
"compileGroupIndex" : 0,
|
||||||
|
"path" : "main.c",
|
||||||
|
"sourceGroupIndex" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 1,
|
||||||
|
"compileGroupIndex" : 0,
|
||||||
|
"path" : "jni_helper.c",
|
||||||
|
"sourceGroupIndex" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 1,
|
||||||
|
"compileGroupIndex" : 0,
|
||||||
|
"path" : "bridge_helper.c",
|
||||||
|
"sourceGroupIndex" : 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type" : "SHARED_LIBRARY"
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -0,0 +1,11 @@
|
|||||||
|
# ninja log v5
|
||||||
|
0 31 1733736661 CMakeFiles/bridge.dir/bridge_helper.c.o 7822cbbfddb87a5c
|
||||||
|
0 44 1733736661 CMakeFiles/bridge.dir/jni_helper.c.o 30e41a3849b62ce0
|
||||||
|
0 51 1733736661 CMakeFiles/bridge.dir/main.c.o 121135c3241716f0
|
||||||
|
51 87 1733736661 /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a/libbridge.so 27c4849e000ffc33
|
||||||
|
0 5 0 clean 3aac71530c245c7c
|
||||||
|
1 30 1733737408 CMakeFiles/bridge.dir/bridge_helper.c.o 7822cbbfddb87a5c
|
||||||
|
1 42 1733737408 CMakeFiles/bridge.dir/jni_helper.c.o 30e41a3849b62ce0
|
||||||
|
1 54 1733737408 CMakeFiles/bridge.dir/main.c.o 121135c3241716f0
|
||||||
|
54 101 1733737408 /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a/libbridge.so 27c4849e000ffc33
|
||||||
|
0 6 0 clean 3aac71530c245c7c
|
||||||
@@ -0,0 +1,369 @@
|
|||||||
|
# This is the CMakeCache file.
|
||||||
|
# For build in directory: /Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a
|
||||||
|
# It was generated by CMake: /Users/mac/Library/Android/sdk/cmake/3.18.1/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/mac/Library/Android/sdk/ndk/27.0.12077973
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
ANDROID_PLATFORM:UNINITIALIZED=android-24
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_ADDR2LINE:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-addr2line
|
||||||
|
|
||||||
|
//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/mac/Library/Android/sdk/ndk/27.0.12077973
|
||||||
|
|
||||||
|
//Archiver
|
||||||
|
CMAKE_AR:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-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 Debug Release RelWithDebInfo
|
||||||
|
// MinSizeRel ...
|
||||||
|
CMAKE_BUILD_TYPE:STRING=Debug
|
||||||
|
|
||||||
|
//Flags used by the compiler during all build types.
|
||||||
|
CMAKE_CXX_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the compiler during debug builds.
|
||||||
|
CMAKE_CXX_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the compiler during release builds.
|
||||||
|
CMAKE_CXX_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//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 C compiler during MINSIZEREL builds.
|
||||||
|
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||||
|
|
||||||
|
//Flags used by the compiler during release builds.
|
||||||
|
CMAKE_C_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||||
|
|
||||||
|
//Libraries linked by default with all C applications.
|
||||||
|
CMAKE_C_STANDARD_LIBRARIES:STRING=-latomic -lm
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_DLLTOOL:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-dlltool
|
||||||
|
|
||||||
|
//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 MINSIZEREL 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 RELWITHDEBINFO builds.
|
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_EXPORT_COMPILE_COMMANDS:UNINITIALIZED=ON
|
||||||
|
|
||||||
|
//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/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_LINKER:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld.lld
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// DEBUG builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// MINSIZEREL builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// RELEASE builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during
|
||||||
|
// RELWITHDEBINFO builds.
|
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_NM:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-nm
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJCOPY:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-objcopy
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_OBJDUMP:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-objdump
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
CMAKE_PROJECT_NAME:STATIC=clash-bridge
|
||||||
|
|
||||||
|
//Ranlib
|
||||||
|
CMAKE_RANLIB:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ranlib
|
||||||
|
|
||||||
|
//Path to a program.
|
||||||
|
CMAKE_READELF:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-readelf
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_RUNTIME_OUTPUT_DIRECTORY:UNINITIALIZED=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of dll's.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during DEBUG builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during MINSIZEREL builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during RELEASE builds.
|
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries
|
||||||
|
// during RELWITHDEBINFO 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
|
||||||
|
// during all build types.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during DEBUG builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during MINSIZEREL builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during RELEASE builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries
|
||||||
|
// during RELWITHDEBINFO builds.
|
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||||
|
|
||||||
|
//Strip
|
||||||
|
CMAKE_STRIP:FILEPATH=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-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=24
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
CMAKE_TOOLCHAIN_FILE:UNINITIALIZED=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/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
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
FLAVOR_NAME:STRING=meta
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
GO_OUTPUT:STRING=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang
|
||||||
|
|
||||||
|
//No help, variable specified on the command line.
|
||||||
|
GO_SOURCE:STRING=/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native
|
||||||
|
|
||||||
|
//Dependencies for the target
|
||||||
|
bridge_LIB_DEPENDS:STATIC=general;log;general;clash;
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
clash-bridge_BINARY_DIR:STATIC=/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a
|
||||||
|
|
||||||
|
//Value Computed by CMake
|
||||||
|
clash-bridge_SOURCE_DIR:STATIC=/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp
|
||||||
|
|
||||||
|
|
||||||
|
########################
|
||||||
|
# INTERNAL cache entries
|
||||||
|
########################
|
||||||
|
|
||||||
|
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
||||||
|
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
||||||
|
//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/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/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=18
|
||||||
|
//Patch version of cmake used to create the current loaded cache
|
||||||
|
CMAKE_CACHE_PATCH_VERSION:INTERNAL=1
|
||||||
|
//Path to CMake executable.
|
||||||
|
CMAKE_COMMAND:INTERNAL=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake
|
||||||
|
//Path to cpack program executable.
|
||||||
|
CMAKE_CPACK_COMMAND:INTERNAL=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cpack
|
||||||
|
//Path to ctest program executable.
|
||||||
|
CMAKE_CTEST_COMMAND:INTERNAL=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ctest
|
||||||
|
//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_DLLTOOL
|
||||||
|
CMAKE_DLLTOOL-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
|
||||||
|
//Name of external makefile project generator.
|
||||||
|
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||||
|
//Name of generator.
|
||||||
|
CMAKE_GENERATOR:INTERNAL=Ninja
|
||||||
|
//Generator instance identifier.
|
||||||
|
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||||
|
//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/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp
|
||||||
|
//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
|
||||||
|
//ADVANCED property for variable: CMAKE_READELF
|
||||||
|
CMAKE_READELF-ADVANCED:INTERNAL=1
|
||||||
|
//Path to CMake installation.
|
||||||
|
CMAKE_ROOT:INTERNAL=/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18
|
||||||
|
//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
|
||||||
|
|
||||||
+77
@@ -0,0 +1,77 @@
|
|||||||
|
set(CMAKE_C_COMPILER "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang")
|
||||||
|
set(CMAKE_C_COMPILER_ARG1 "")
|
||||||
|
set(CMAKE_C_COMPILER_ID "Clang")
|
||||||
|
set(CMAKE_C_COMPILER_VERSION "18.0.1")
|
||||||
|
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_COMPILER_FRONTEND_VARIANT "GNU")
|
||||||
|
set(CMAKE_C_SIMULATE_VERSION "")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_AR "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ar")
|
||||||
|
set(CMAKE_C_COMPILER_AR "CMAKE_C_COMPILER_AR-NOTFOUND")
|
||||||
|
set(CMAKE_RANLIB "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ranlib")
|
||||||
|
set(CMAKE_C_COMPILER_RANLIB "CMAKE_C_COMPILER_RANLIB-NOTFOUND")
|
||||||
|
set(CMAKE_LINKER "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld.lld")
|
||||||
|
set(CMAKE_MT "")
|
||||||
|
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_INCLUDE_DIRECTORIES "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/lib/clang/18/include;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/arm-linux-androideabi;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "-l:libunwind.a;dl;c;-l:libunwind.a;dl")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/lib/clang/18/lib/linux/arm;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi/24;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi;/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib")
|
||||||
|
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||||
BIN
Binary file not shown.
+15
@@ -0,0 +1,15 @@
|
|||||||
|
set(CMAKE_HOST_SYSTEM "Darwin-23.4.0")
|
||||||
|
set(CMAKE_HOST_SYSTEM_NAME "Darwin")
|
||||||
|
set(CMAKE_HOST_SYSTEM_VERSION "23.4.0")
|
||||||
|
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||||
|
|
||||||
|
include("/Users/mac/Library/Android/sdk/ndk/27.0.12077973/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,0 +1,3 @@
|
|||||||
|
/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a/CMakeFiles/rebuild_cache.dir
|
||||||
|
/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a/CMakeFiles/edit_cache.dir
|
||||||
|
/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a/CMakeFiles/bridge.dir
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Ninja" Generator, CMake Version 3.18
|
||||||
|
|
||||||
|
# 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: clash-bridge
|
||||||
|
# Configurations: Debug
|
||||||
|
# =============================================================================
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for running custom commands.
|
||||||
|
|
||||||
|
rule CUSTOM_COMMAND
|
||||||
|
command = $COMMAND
|
||||||
|
description = $DESC
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for compiling C files.
|
||||||
|
|
||||||
|
rule C_COMPILER__bridge_Debug
|
||||||
|
depfile = $DEP_FILE
|
||||||
|
deps = gcc
|
||||||
|
command = /Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=armv7-none-linux-androideabi24 --sysroot=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||||||
|
description = Building C object $out
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for linking C shared library.
|
||||||
|
|
||||||
|
rule C_SHARED_LIBRARY_LINKER__bridge_Debug
|
||||||
|
command = $PRE_LINK && /Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=armv7-none-linux-androideabi24 --sysroot=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/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 C shared library $TARGET_FILE
|
||||||
|
restat = $RESTAT
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for re-running cmake.
|
||||||
|
|
||||||
|
rule RERUN_CMAKE
|
||||||
|
command = /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake --regenerate-during-build -S/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp -B/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a
|
||||||
|
description = Re-running CMake...
|
||||||
|
generator = 1
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for cleaning all built files.
|
||||||
|
|
||||||
|
rule CLEAN
|
||||||
|
command = /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja $FILE_ARG -t clean $TARGETS
|
||||||
|
description = Cleaning all built files...
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Rule for printing all primary targets available.
|
||||||
|
|
||||||
|
rule HELP
|
||||||
|
command = /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja -t targets
|
||||||
|
description = All primary targets available:
|
||||||
|
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
"buildFiles": [
|
||||||
|
"/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/CMakeLists.txt"
|
||||||
|
],
|
||||||
|
"cleanCommandsComponents": [
|
||||||
|
[
|
||||||
|
"/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja",
|
||||||
|
"-C",
|
||||||
|
"/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a",
|
||||||
|
"clean"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"buildTargetsCommandComponents": [
|
||||||
|
"/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja",
|
||||||
|
"-C",
|
||||||
|
"/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a",
|
||||||
|
"{LIST_OF_TARGETS_TO_BUILD}"
|
||||||
|
],
|
||||||
|
"libraries": {
|
||||||
|
"bridge::@6890427a1f51a3e7e1df": {
|
||||||
|
"toolchain": "toolchain",
|
||||||
|
"abi": "armeabi-v7a",
|
||||||
|
"artifactName": "bridge",
|
||||||
|
"output": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a/libbridge.so",
|
||||||
|
"runtimeFiles": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"toolchains": {
|
||||||
|
"toolchain": {
|
||||||
|
"cCompilerExecutable": "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang.lld",
|
||||||
|
"cppCompilerExecutable": "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++.lld"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cFileExtensions": [
|
||||||
|
"c"
|
||||||
|
],
|
||||||
|
"cppFileExtensions": []
|
||||||
|
}
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
Executable : /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja
|
||||||
|
arguments :
|
||||||
|
-C
|
||||||
|
/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a
|
||||||
|
bridge
|
||||||
|
jvmArgs :
|
||||||
|
|
||||||
+5
@@ -0,0 +1,5 @@
|
|||||||
|
ninja: Entering directory `/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a'
|
||||||
|
[1/4] Building C object CMakeFiles/bridge.dir/bridge_helper.c.o
|
||||||
|
[2/4] Building C object CMakeFiles/bridge.dir/jni_helper.c.o
|
||||||
|
[3/4] Building C object CMakeFiles/bridge.dir/main.c.o
|
||||||
|
[4/4] Linking C shared library /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a/libbridge.so
|
||||||
@@ -0,0 +1,168 @@
|
|||||||
|
# CMAKE generated file: DO NOT EDIT!
|
||||||
|
# Generated by "Ninja" Generator, CMake Version 3.18
|
||||||
|
|
||||||
|
# This file contains all the build statements describing the
|
||||||
|
# compilation DAG.
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Write statements declared in CMakeLists.txt:
|
||||||
|
#
|
||||||
|
# Which is the root file.
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Project: clash-bridge
|
||||||
|
# Configurations: Debug
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Minimal version of Ninja required by this file
|
||||||
|
|
||||||
|
ninja_required_version = 1.5
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Set configuration variable for custom commands.
|
||||||
|
|
||||||
|
CONFIGURATION = Debug
|
||||||
|
# =============================================================================
|
||||||
|
# Include auxiliary files.
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Include rules file.
|
||||||
|
|
||||||
|
include CMakeFiles/rules.ninja
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Utility command for rebuild_cache
|
||||||
|
|
||||||
|
build CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
|
||||||
|
COMMAND = cd /Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a && /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake --regenerate-during-build -S/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp -B/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a
|
||||||
|
DESC = Running CMake to regenerate build system...
|
||||||
|
pool = console
|
||||||
|
restat = 1
|
||||||
|
|
||||||
|
build rebuild_cache: phony CMakeFiles/rebuild_cache.util
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Utility command for edit_cache
|
||||||
|
|
||||||
|
build CMakeFiles/edit_cache.util: CUSTOM_COMMAND
|
||||||
|
COMMAND = cd /Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a && /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||||
|
DESC = No interactive CMake dialog available...
|
||||||
|
restat = 1
|
||||||
|
|
||||||
|
build edit_cache: phony CMakeFiles/edit_cache.util
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Object build statements for SHARED_LIBRARY target bridge
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Order-only phony target for bridge
|
||||||
|
|
||||||
|
build cmake_object_order_depends_target_bridge: phony || CMakeFiles/bridge.dir
|
||||||
|
|
||||||
|
build CMakeFiles/bridge.dir/main.c.o: C_COMPILER__bridge_Debug /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/main.c || cmake_object_order_depends_target_bridge
|
||||||
|
DEFINES = -Dbridge_EXPORTS
|
||||||
|
DEP_FILE = CMakeFiles/bridge.dir/main.c.o.d
|
||||||
|
FLAGS = -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 -fno-limit-debug-info -fPIC
|
||||||
|
INCLUDES = -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/armeabi-v7a -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native
|
||||||
|
OBJECT_DIR = CMakeFiles/bridge.dir
|
||||||
|
OBJECT_FILE_DIR = CMakeFiles/bridge.dir
|
||||||
|
|
||||||
|
build CMakeFiles/bridge.dir/jni_helper.c.o: C_COMPILER__bridge_Debug /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/jni_helper.c || cmake_object_order_depends_target_bridge
|
||||||
|
DEFINES = -Dbridge_EXPORTS
|
||||||
|
DEP_FILE = CMakeFiles/bridge.dir/jni_helper.c.o.d
|
||||||
|
FLAGS = -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 -fno-limit-debug-info -fPIC
|
||||||
|
INCLUDES = -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/armeabi-v7a -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native
|
||||||
|
OBJECT_DIR = CMakeFiles/bridge.dir
|
||||||
|
OBJECT_FILE_DIR = CMakeFiles/bridge.dir
|
||||||
|
|
||||||
|
build CMakeFiles/bridge.dir/bridge_helper.c.o: C_COMPILER__bridge_Debug /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/bridge_helper.c || cmake_object_order_depends_target_bridge
|
||||||
|
DEFINES = -Dbridge_EXPORTS
|
||||||
|
DEP_FILE = CMakeFiles/bridge.dir/bridge_helper.c.o.d
|
||||||
|
FLAGS = -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 -fno-limit-debug-info -fPIC
|
||||||
|
INCLUDES = -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/armeabi-v7a -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native
|
||||||
|
OBJECT_DIR = CMakeFiles/bridge.dir
|
||||||
|
OBJECT_FILE_DIR = CMakeFiles/bridge.dir
|
||||||
|
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Link build statements for SHARED_LIBRARY target bridge
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Link the shared library /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a/libbridge.so
|
||||||
|
|
||||||
|
build /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a/libbridge.so: C_SHARED_LIBRARY_LINKER__bridge_Debug CMakeFiles/bridge.dir/main.c.o CMakeFiles/bridge.dir/jni_helper.c.o CMakeFiles/bridge.dir/bridge_helper.c.o
|
||||||
|
LANGUAGE_COMPILE_FLAGS = -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 -fno-limit-debug-info
|
||||||
|
LINK_FLAGS = -static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--no-undefined-version -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments
|
||||||
|
LINK_LIBRARIES = -llog -lclash -latomic -lm
|
||||||
|
LINK_PATH = -L/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/armeabi-v7a
|
||||||
|
OBJECT_DIR = CMakeFiles/bridge.dir
|
||||||
|
POST_BUILD = :
|
||||||
|
PRE_LINK = :
|
||||||
|
SONAME = libbridge.so
|
||||||
|
SONAME_FLAG = -Wl,-soname,
|
||||||
|
TARGET_FILE = /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a/libbridge.so
|
||||||
|
TARGET_PDB = bridge.so.dbg
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Target aliases.
|
||||||
|
|
||||||
|
build bridge: phony /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a/libbridge.so
|
||||||
|
|
||||||
|
build libbridge.so: phony /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a/libbridge.so
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Folder targets.
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Folder: /Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a
|
||||||
|
|
||||||
|
build all: phony /Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a/libbridge.so
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Unknown Build Time Dependencies.
|
||||||
|
# Tell Ninja that they may appear as side effects of build rules
|
||||||
|
# otherwise ordered by order-only dependencies.
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Built-in targets
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Re-run CMake if any of its inputs changed.
|
||||||
|
|
||||||
|
build build.ninja: RERUN_CMAKE | /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/CMakeLists.txt /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/version.h.in /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCInformation.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCommonLanguageInclude.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeGenericSystem.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeInitializeConfigs.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeLanguageInformation.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInformation.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInitialize.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/CMakeCommonCompilerMacros.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang-C.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/GNU.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Internal/CMakeCheckCompilerFlag.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang-C.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Initialize.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Linux.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/UnixPaths.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/abis.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android-legacy.toolchain.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/compiler_id.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/platforms.cmake CMakeCache.txt CMakeFiles/3.18.1-g262b901/CMakeCCompiler.cmake CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake
|
||||||
|
pool = console
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# A missing CMake input file is not an error.
|
||||||
|
|
||||||
|
build /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/CMakeLists.txt /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/version.h.in /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCInformation.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCommonLanguageInclude.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeGenericSystem.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeInitializeConfigs.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeLanguageInformation.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInformation.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInitialize.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/CMakeCommonCompilerMacros.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang-C.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/GNU.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Internal/CMakeCheckCompilerFlag.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang-C.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Initialize.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Linux.cmake /Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/UnixPaths.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/abis.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android-legacy.toolchain.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/compiler_id.cmake /Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/platforms.cmake CMakeCache.txt CMakeFiles/3.18.1-g262b901/CMakeCCompiler.cmake CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake: phony
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Clean all the built files.
|
||||||
|
|
||||||
|
build clean: CLEAN
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Print all primary targets available.
|
||||||
|
|
||||||
|
build help: HELP
|
||||||
|
|
||||||
|
|
||||||
|
#############################################
|
||||||
|
# Make the all target the default.
|
||||||
|
|
||||||
|
default all
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
# Install script for directory: /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp
|
||||||
|
|
||||||
|
# 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()
|
||||||
|
|
||||||
|
# Set default install directory permissions.
|
||||||
|
if(NOT DEFINED CMAKE_OBJDUMP)
|
||||||
|
set(CMAKE_OBJDUMP "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-objdump")
|
||||||
|
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/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a/${CMAKE_INSTALL_MANIFEST}"
|
||||||
|
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"directory": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a",
|
||||||
|
"command": "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=armv7-none-linux-androideabi24 --sysroot=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dbridge_EXPORTS -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/armeabi-v7a -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native -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 -fno-limit-debug-info -fPIC -o CMakeFiles/bridge.dir/main.c.o -c /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/main.c",
|
||||||
|
"file": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/main.c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"directory": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a",
|
||||||
|
"command": "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=armv7-none-linux-androideabi24 --sysroot=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dbridge_EXPORTS -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/armeabi-v7a -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native -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 -fno-limit-debug-info -fPIC -o CMakeFiles/bridge.dir/jni_helper.c.o -c /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/jni_helper.c",
|
||||||
|
"file": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/jni_helper.c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"directory": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a",
|
||||||
|
"command": "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=armv7-none-linux-androideabi24 --sysroot=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Dbridge_EXPORTS -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang/metaDebug/armeabi-v7a -I/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native -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 -fno-limit-debug-info -fPIC -o CMakeFiles/bridge.dir/bridge_helper.c.o -c /Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/bridge_helper.c",
|
||||||
|
"file": "/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp/bridge_helper.c"
|
||||||
|
}
|
||||||
|
]
|
||||||
Binary file not shown.
+26
@@ -0,0 +1,26 @@
|
|||||||
|
Executable : /Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake
|
||||||
|
arguments :
|
||||||
|
-H/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/cpp
|
||||||
|
-DCMAKE_SYSTEM_NAME=Android
|
||||||
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||||
|
-DCMAKE_SYSTEM_VERSION=24
|
||||||
|
-DANDROID_PLATFORM=android-24
|
||||||
|
-DANDROID_ABI=armeabi-v7a
|
||||||
|
-DCMAKE_ANDROID_ARCH_ABI=armeabi-v7a
|
||||||
|
-DANDROID_NDK=/Users/mac/Library/Android/sdk/ndk/27.0.12077973
|
||||||
|
-DCMAKE_ANDROID_NDK=/Users/mac/Library/Android/sdk/ndk/27.0.12077973
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake
|
||||||
|
-DCMAKE_MAKE_PROGRAM=/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ninja
|
||||||
|
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a
|
||||||
|
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/intermediates/cxx/Debug/1l2e1h36/obj/armeabi-v7a
|
||||||
|
-DCMAKE_BUILD_TYPE=Debug
|
||||||
|
-B/Users/mac/Documents/GitHub/LiteVPN-Android/core/.cxx/Debug/1l2e1h36/armeabi-v7a
|
||||||
|
-GNinja
|
||||||
|
-DGO_SOURCE:STRING=/Users/mac/Documents/GitHub/LiteVPN-Android/core/src/main/golang/native
|
||||||
|
-DGO_OUTPUT:STRING=/Users/mac/Documents/GitHub/LiteVPN-Android/core/build/outputs/golang
|
||||||
|
-DFLAVOR_NAME:STRING=meta
|
||||||
|
jvmArgs :
|
||||||
|
|
||||||
|
|
||||||
|
Build command args: []
|
||||||
|
Version: 2
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"enabled": false,
|
||||||
|
"packages": []
|
||||||
|
}
|
||||||
+1247
File diff suppressed because it is too large
Load Diff
+258
@@ -0,0 +1,258 @@
|
|||||||
|
{
|
||||||
|
"inputs" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"path" : "CMakeLists.txt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path" : "version.h.in"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android-legacy.toolchain.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/abis.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/platforms.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/compiler_id.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Determine.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystem.cmake.in"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isGenerated" : true,
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/ClashMetaForAndroid/core/.cxx/Debug/261y124q/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/build/cmake/android.toolchain.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Initialize.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineCCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Determine-C.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android/Determine-Compiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeFindBinUtils.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang-FindBinUtils.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCCompiler.cmake.in"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isGenerated" : true,
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/ClashMetaForAndroid/core/.cxx/Debug/261y124q/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeCCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeSystemSpecificInformation.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeGenericSystem.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeInitializeConfigs.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Linux.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/UnixPaths.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCInformation.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeLanguageInformation.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang-C.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/Clang.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/GNU.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Internal/CMakeCheckCompilerFlag.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang-C.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Platform/Android-Clang.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCommonLanguageInclude.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeTestCompilerCommon.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineCompilerABI.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeParseImplicitIncludeInfo.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeParseImplicitLinkInfo.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeTestCompilerCommon.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCCompilerABI.c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineCompileFeatures.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/Internal/FeatureTesting.cmake"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isCMake" : true,
|
||||||
|
"isExternal" : true,
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeCCompiler.cmake.in"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"isGenerated" : true,
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/ClashMetaForAndroid/core/.cxx/Debug/261y124q/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeCCompiler.cmake"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"kind" : "cmakeFiles",
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"build" : "/Users/mac/Documents/GitHub/ClashMetaForAndroid/core/.cxx/Debug/261y124q/arm64-v8a",
|
||||||
|
"source" : "/Users/mac/Documents/GitHub/ClashMetaForAndroid/core/src/main/cpp"
|
||||||
|
},
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 1,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
}
|
||||||
+59
@@ -0,0 +1,59 @@
|
|||||||
|
{
|
||||||
|
"configurations" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"directories" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"build" : ".",
|
||||||
|
"minimumCMakeVersion" :
|
||||||
|
{
|
||||||
|
"string" : "3.6.0"
|
||||||
|
},
|
||||||
|
"projectIndex" : 0,
|
||||||
|
"source" : ".",
|
||||||
|
"targetIndexes" :
|
||||||
|
[
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"name" : "Debug",
|
||||||
|
"projects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"directoryIndexes" :
|
||||||
|
[
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"name" : "clash-bridge",
|
||||||
|
"targetIndexes" :
|
||||||
|
[
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"targets" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"directoryIndex" : 0,
|
||||||
|
"id" : "bridge::@6890427a1f51a3e7e1df",
|
||||||
|
"jsonFile" : "target-bridge-Debug-db780365abde5401a0e6.json",
|
||||||
|
"name" : "bridge",
|
||||||
|
"projectIndex" : 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"kind" : "codemodel",
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"build" : "/Users/mac/Documents/GitHub/ClashMetaForAndroid/core/.cxx/Debug/261y124q/arm64-v8a",
|
||||||
|
"source" : "/Users/mac/Documents/GitHub/ClashMetaForAndroid/core/src/main/cpp"
|
||||||
|
},
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
+92
@@ -0,0 +1,92 @@
|
|||||||
|
{
|
||||||
|
"cmake" :
|
||||||
|
{
|
||||||
|
"generator" :
|
||||||
|
{
|
||||||
|
"multiConfig" : false,
|
||||||
|
"name" : "Ninja"
|
||||||
|
},
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"cmake" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cmake",
|
||||||
|
"cpack" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/cpack",
|
||||||
|
"ctest" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/bin/ctest",
|
||||||
|
"root" : "/Users/mac/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18"
|
||||||
|
},
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"isDirty" : false,
|
||||||
|
"major" : 3,
|
||||||
|
"minor" : 18,
|
||||||
|
"patch" : 1,
|
||||||
|
"string" : "3.18.1-g262b901",
|
||||||
|
"suffix" : "g262b901"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"objects" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"jsonFile" : "codemodel-v2-5ed2220478f6ef3660aa.json",
|
||||||
|
"kind" : "codemodel",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"jsonFile" : "cache-v2-39e5e1491d701a204180.json",
|
||||||
|
"kind" : "cache",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"jsonFile" : "cmakeFiles-v1-13b8d60d01b6f8101576.json",
|
||||||
|
"kind" : "cmakeFiles",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 1,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"reply" :
|
||||||
|
{
|
||||||
|
"client-agp" :
|
||||||
|
{
|
||||||
|
"cache-v2" :
|
||||||
|
{
|
||||||
|
"jsonFile" : "cache-v2-39e5e1491d701a204180.json",
|
||||||
|
"kind" : "cache",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cmakeFiles-v1" :
|
||||||
|
{
|
||||||
|
"jsonFile" : "cmakeFiles-v1-13b8d60d01b6f8101576.json",
|
||||||
|
"kind" : "cmakeFiles",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 1,
|
||||||
|
"minor" : 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"codemodel-v2" :
|
||||||
|
{
|
||||||
|
"jsonFile" : "codemodel-v2-5ed2220478f6ef3660aa.json",
|
||||||
|
"kind" : "codemodel",
|
||||||
|
"version" :
|
||||||
|
{
|
||||||
|
"major" : 2,
|
||||||
|
"minor" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+174
@@ -0,0 +1,174 @@
|
|||||||
|
{
|
||||||
|
"artifacts" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/ClashMetaForAndroid/core/build/intermediates/cxx/Debug/261y124q/obj/arm64-v8a/libbridge.so"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"backtrace" : 1,
|
||||||
|
"backtraceGraph" :
|
||||||
|
{
|
||||||
|
"commands" :
|
||||||
|
[
|
||||||
|
"add_library",
|
||||||
|
"link_directories",
|
||||||
|
"target_link_libraries",
|
||||||
|
"include_directories"
|
||||||
|
],
|
||||||
|
"files" :
|
||||||
|
[
|
||||||
|
"CMakeLists.txt"
|
||||||
|
],
|
||||||
|
"nodes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"file" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 0,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 68,
|
||||||
|
"parent" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 1,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 66,
|
||||||
|
"parent" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 2,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 69,
|
||||||
|
"parent" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 3,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 63,
|
||||||
|
"parent" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command" : 3,
|
||||||
|
"file" : 0,
|
||||||
|
"line" : 64,
|
||||||
|
"parent" : 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"compileGroups" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"compileCommandFragments" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"fragment" : "-g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fno-limit-debug-info -fPIC"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"defines" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"define" : "bridge_EXPORTS"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"includes" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"backtrace" : 4,
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/ClashMetaForAndroid/core/build/outputs/golang/alphaDebug/arm64-v8a"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 5,
|
||||||
|
"path" : "/Users/mac/Documents/GitHub/ClashMetaForAndroid/core/src/main/golang/native"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"language" : "C",
|
||||||
|
"sourceIndexes" :
|
||||||
|
[
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2
|
||||||
|
],
|
||||||
|
"sysroot" :
|
||||||
|
{
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"id" : "bridge::@6890427a1f51a3e7e1df",
|
||||||
|
"link" :
|
||||||
|
{
|
||||||
|
"commandFragments" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"fragment" : "-static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--no-undefined-version -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments",
|
||||||
|
"role" : "flags"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 2,
|
||||||
|
"fragment" : "-L/Users/mac/Documents/GitHub/ClashMetaForAndroid/core/build/outputs/golang/alphaDebug/arm64-v8a",
|
||||||
|
"role" : "libraryPath"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 3,
|
||||||
|
"fragment" : "-llog",
|
||||||
|
"role" : "libraries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 3,
|
||||||
|
"fragment" : "-lclash",
|
||||||
|
"role" : "libraries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fragment" : "-latomic -lm",
|
||||||
|
"role" : "libraries"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"language" : "C",
|
||||||
|
"sysroot" :
|
||||||
|
{
|
||||||
|
"path" : "/Users/mac/Library/Android/sdk/ndk/27.0.12077973/toolchains/llvm/prebuilt/darwin-x86_64/sysroot"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"name" : "bridge",
|
||||||
|
"nameOnDisk" : "libbridge.so",
|
||||||
|
"paths" :
|
||||||
|
{
|
||||||
|
"build" : ".",
|
||||||
|
"source" : "."
|
||||||
|
},
|
||||||
|
"sourceGroups" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name" : "Source Files",
|
||||||
|
"sourceIndexes" :
|
||||||
|
[
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sources" :
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"backtrace" : 1,
|
||||||
|
"compileGroupIndex" : 0,
|
||||||
|
"path" : "main.c",
|
||||||
|
"sourceGroupIndex" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 1,
|
||||||
|
"compileGroupIndex" : 0,
|
||||||
|
"path" : "jni_helper.c",
|
||||||
|
"sourceGroupIndex" : 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"backtrace" : 1,
|
||||||
|
"compileGroupIndex" : 0,
|
||||||
|
"path" : "bridge_helper.c",
|
||||||
|
"sourceGroupIndex" : 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type" : "SHARED_LIBRARY"
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user