summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorMark Wei <markwei@google.com>2014-07-14 16:56:54 -0700
committerMark Wei <markwei@google.com>2014-07-14 16:56:54 -0700
commitc5644927c0e7e121049b063046296ee8a59a4b37 (patch)
treed78a248b0a908e71dd5516cd435a27acd004afe2 /sample
parent5c102db5a1a16a2adcc7728693a6e65a981f91ae (diff)
downloadbitmap-c5644927c0e7e121049b063046296ee8a59a4b37.tar.gz
Import latest bitmap library changes.
Change-Id: Ic3a79a1154fb1329bf4c163ea6aeb32f8bd3857d
Diffstat (limited to 'sample')
-rw-r--r--sample/BUILD21
1 files changed, 17 insertions, 4 deletions
diff --git a/sample/BUILD b/sample/BUILD
index 13931e6..595790c 100644
--- a/sample/BUILD
+++ b/sample/BUILD
@@ -4,21 +4,34 @@ package(
],
)
+licenses(["notice"]) # Apache License 2.0
+
+exports_files(["LICENSE"])
+
android_manifest_merge(
name = "merged_manifest",
srcs = ["AndroidManifest.xml"],
deps = [
- "//java/com/google/android/apps/bigtop/third_party/bitmap:AndroidManifest.xml",
+ "//third_party/java_src/android_libs/bitmap_library:AndroidManifest.xml",
],
)
+filegroup(
+ name = "resource_files",
+ srcs = glob(
+ ["res/**"],
+ exclude_directories = 1,
+ ),
+)
+
android_resources(
name = "resources",
custom_package = "com.example.bitmapsample",
inline_constants = 0,
manifest = ":merged_manifest",
- resources = glob(["res/**"]) + [
- "//java/com/google/android/apps/bigtop/third_party/bitmap:resource_files",
+ resources = [
+ ":resource_files",
+ "//third_party/java_src/android_libs/bitmap_library:resource_files",
],
resources_dir = "res",
visibility = ["//visibility:private"],
@@ -36,6 +49,6 @@ android_binary(
],
resources = ":resources",
deps = [
- "//java/com/google/android/apps/bigtop/third_party/bitmap",
+ "//third_party/java_src/android_libs/bitmap_library",
],
)