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
|
|
|
|
|
|
|
include_defs('//YOGA_DEFS')
|
|
|
|
|
|
|
|
android_binary(
|
|
|
|
name = 'sample',
|
|
|
|
manifest = 'AndroidManifest.xml',
|
|
|
|
keystore = ':debug_keystore',
|
|
|
|
deps = [
|
|
|
|
ANDROID_SAMPLE_JAVA_TARGET,
|
|
|
|
ANDROID_SAMPLE_RES_TARGET,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2017-02-14 03:05:32 -08:00
|
|
|
android_resource(
|
|
|
|
name = 'res',
|
|
|
|
res = 'res',
|
|
|
|
package = 'com.facebook.samples.yoga',
|
2017-02-14 07:54:20 -08:00
|
|
|
deps = [
|
|
|
|
ANDROID_RES_TARGET,
|
|
|
|
],
|
2017-02-14 03:05:32 -08:00
|
|
|
visibility = [
|
|
|
|
'PUBLIC',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2017-02-14 00:05:06 -08:00
|
|
|
keystore(
|
|
|
|
name='debug_keystore',
|
|
|
|
store='debug.keystore',
|
|
|
|
properties='debug.keystore.properties',
|
|
|
|
)
|
|
|
|
|
|
|
|
project_config(
|
|
|
|
src_target = ':sample',
|
|
|
|
)
|