Reviewed By: emilsjolander Differential Revision: D6494379 fbshipit-source-id: f6b78d8a1b3d4bcdeef350ad7bd097cdbe5d15b1
36 lines
852 B
Python
36 lines
852 B
Python
# Copyright 2014-present, Facebook, Inc.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the license found in the
|
|
# LICENSE-examples file in the root directory of this source tree.
|
|
|
|
load("//:yoga_defs.bzl", "ANDROID_SAMPLE_JAVA_TARGET", "ANDROID_SAMPLE_RES_TARGET", "ANDROID_RES_TARGET", "android_binary", "android_resource")
|
|
|
|
android_binary(
|
|
name = "sample",
|
|
keystore = ":debug_keystore",
|
|
manifest = "AndroidManifest.xml",
|
|
deps = [
|
|
ANDROID_SAMPLE_JAVA_TARGET,
|
|
ANDROID_SAMPLE_RES_TARGET,
|
|
],
|
|
)
|
|
|
|
android_resource(
|
|
name = "res",
|
|
package = "com.facebook.samples.yoga",
|
|
res = "res",
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
deps = [
|
|
ANDROID_RES_TARGET,
|
|
],
|
|
)
|
|
|
|
keystore(
|
|
name = "debug_keystore",
|
|
properties = "debug.keystore.properties",
|
|
store = "debug.keystore",
|
|
)
|