12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
-
-
-
-
-
-
-
-
-
-
- load(":build_defs.bzl", "create_aar_targets", "create_jar_targets")
-
- lib_deps = []
-
- create_aar_targets(glob(["libs/*.aar"]))
-
- create_jar_targets(glob(["libs/*.jar"]))
-
- android_library(
- name = "all-libs",
- exported_deps = lib_deps,
- )
-
- android_library(
- name = "app-code",
- srcs = glob([
- "src/main/java/**/*.java",
- ]),
- deps = [
- ":all-libs",
- ":build_config",
- ":res",
- ],
- )
-
- android_build_config(
- name = "build_config",
- package = "com.newexample",
- )
-
- android_resource(
- name = "res",
- package = "com.newexample",
- res = "src/main/res",
- )
-
- android_binary(
- name = "app",
- keystore = "//android/keystores:debug",
- manifest = "src/main/AndroidManifest.xml",
- package_type = "debug",
- deps = [
- ":app-code",
- ],
- )
|