2017-02-14 07:54:20 -08:00
|
|
|
# Copyright 2014-present, Facebook, Inc.
|
2017-02-14 00:05:06 -08:00
|
|
|
# All rights reserved.
|
|
|
|
#
|
2017-02-14 07:54:20 -08:00
|
|
|
# This source code is licensed under the license found in the
|
|
|
|
# LICENSE-examples file in the root directory of this source tree.
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2018-11-27 15:13:56 -08:00
|
|
|
load("//tools/build_defs:fb_native_wrapper.bzl", "fb_native")
|
2019-01-10 19:57:40 -08:00
|
|
|
load("//tools/build_defs/oss:yoga_defs.bzl", "ANDROID_RES_TARGET", "ANDROID_SAMPLE_JAVA_TARGET", "ANDROID_SAMPLE_RES_TARGET", "yoga_android_binary", "yoga_android_resource")
|
2017-02-14 00:05:06 -08:00
|
|
|
|
2018-04-14 12:39:23 -07:00
|
|
|
yoga_android_binary(
|
2017-02-24 21:40:45 -08:00
|
|
|
name = "sample",
|
|
|
|
keystore = ":debug_keystore",
|
|
|
|
manifest = "AndroidManifest.xml",
|
|
|
|
deps = [
|
|
|
|
ANDROID_SAMPLE_JAVA_TARGET,
|
|
|
|
ANDROID_SAMPLE_RES_TARGET,
|
|
|
|
],
|
2017-02-14 00:05:06 -08:00
|
|
|
)
|
|
|
|
|
2018-04-14 12:39:23 -07:00
|
|
|
yoga_android_resource(
|
2017-02-24 21:40:45 -08:00
|
|
|
name = "res",
|
|
|
|
package = "com.facebook.samples.yoga",
|
|
|
|
res = "res",
|
|
|
|
visibility = [
|
|
|
|
"PUBLIC",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
ANDROID_RES_TARGET,
|
|
|
|
],
|
2017-02-14 03:05:32 -08:00
|
|
|
)
|
|
|
|
|
2018-10-31 12:03:17 -07:00
|
|
|
fb_native.keystore(
|
2017-02-24 21:40:45 -08:00
|
|
|
name = "debug_keystore",
|
|
|
|
properties = "debug.keystore.properties",
|
|
|
|
store = "debug.keystore",
|
2017-02-14 00:05:06 -08:00
|
|
|
)
|