# =============================================================================
# Android Cast — .gitignore
#
# Rule: ignore BUILD / LOCAL / SECRET outputs only. Never ignore whole trees
# like gradle/ or third-party/ — that hid gradle/wrapper/ and broke ./rebuild.sh.
#
# TRACKED on purpose (do not add blanket rules above these):
#   gradle/wrapper/          Gradle wrapper jar + properties
#   gradle/wireguard-tunnel/build.gradle
#   third-party/README.md    + submodule gitlinks (.gitmodules)
# =============================================================================

# --- Gradle (daemon cache only; not gradle/wrapper/) ---
.gradle/

# WireGuard Gradle module — build outputs only
gradle/wireguard-tunnel/.cxx/
gradle/wireguard-tunnel/build/

# --- Android / JVM ---
/local.properties
/.idea/
*.iml
*.apk
*.ap_
*.dex

# App module outputs
app/build/
app/.cxx/

# Root + shared native/Gradle outputs
/build/
build/native/

# Desktop
desktop/session-studio/build/

# --- NDK symlinks / autotools staging at repo root ---
/bin
/lib
/include
/bin/
/lib/
/include/

# Local symlink to sibling repo (not part of android cast)
rtc_media_server

# --- Captures / debug dumps ---
captures/
.log_capture
log_capture
debug-capture/

# --- PHP local config (use *.example in repo) ---
config.php.alpine

# --- CI / OTA / local artifacts ---
out/
ota-publish/
.adb_connect_cache
.adb_http_cache/

# --- Scratch (not for commit) ---
tmp/

# --- Docs PDF build (local; scripts/build-all-docs-pdf.sh, mermaid_render.py) ---
.venv-pdf/
docs/_pdf_build/mermaid_cache/

# --- Python ---
__pycache__/
*.py[cod]

# --- Editor swap ---
*.swp
*~

# --- OS ---
.DS_Store
