Summary: drop-conflicts Reviewed By: passy Differential Revision: D13176350 fbshipit-source-id: 0f875a6c0f1eca2f992026bb2b2d0851f90f5d2f
37 lines
964 B
Python
37 lines
964 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("//tools/build_defs/oss:yoga_defs.bzl", "ANDROID_RES_TARGET", "ANDROID_SAMPLE_JAVA_TARGET", "ANDROID_SAMPLE_RES_TARGET", "yoga_android_binary", "yoga_android_resource")
|
|
load("//tools/build_defs:fb_native_wrapper.bzl", "fb_native")
|
|
|
|
yoga_android_binary(
|
|
name = "sample",
|
|
keystore = ":debug_keystore",
|
|
manifest = "AndroidManifest.xml",
|
|
deps = [
|
|
ANDROID_SAMPLE_JAVA_TARGET,
|
|
ANDROID_SAMPLE_RES_TARGET,
|
|
],
|
|
)
|
|
|
|
yoga_android_resource(
|
|
name = "res",
|
|
package = "com.facebook.samples.yoga",
|
|
res = "res",
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
deps = [
|
|
ANDROID_RES_TARGET,
|
|
],
|
|
)
|
|
|
|
fb_native.keystore(
|
|
name = "debug_keystore",
|
|
properties = "debug.keystore.properties",
|
|
store = "debug.keystore",
|
|
)
|