Summary: Resources don't usually live under the package name. We want to gradle build this soon, so making the directory structure as traditional as possible is best. Reviewed By: emilsjolander Differential Revision: D4557978 fbshipit-source-id: 7f80599201fe007a895e52bc5141425f9a83eb51
38 lines
795 B
Python
38 lines
795 B
Python
# Copyright (c) 2014-present, Facebook, Inc.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the BSD-style license found in the
|
|
# LICENSE file in the root directory of this source tree. An additional grant
|
|
# of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
include_defs('//YOGA_DEFS')
|
|
|
|
android_binary(
|
|
name = 'sample',
|
|
manifest = 'AndroidManifest.xml',
|
|
keystore = ':debug_keystore',
|
|
deps = [
|
|
ANDROID_SAMPLE_JAVA_TARGET,
|
|
ANDROID_SAMPLE_RES_TARGET,
|
|
],
|
|
)
|
|
|
|
android_resource(
|
|
name = 'res',
|
|
res = 'res',
|
|
package = 'com.facebook.samples.yoga',
|
|
visibility = [
|
|
'PUBLIC',
|
|
],
|
|
)
|
|
|
|
keystore(
|
|
name='debug_keystore',
|
|
store='debug.keystore',
|
|
properties='debug.keystore.properties',
|
|
)
|
|
|
|
project_config(
|
|
src_target = ':sample',
|
|
)
|