1# Copyright 2019 The Bazel Authors. All rights reserved. 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15"""Starlark rules for building Android apps.""" 16 17load( 18 "//rules/aar_import:rule.bzl", 19 _aar_import = "aar_import", 20) 21load( 22 "//rules/android_application:android_application.bzl", 23 _android_application = "android_application", 24) 25load( 26 ":android_binary.bzl", 27 _android_binary = "android_binary", 28) 29load( 30 "//rules/android_library:rule.bzl", 31 _android_library = "android_library_macro", 32) 33load( 34 ":android_ndk_repository.bzl", 35 _android_ndk_repository = "android_ndk_repository", 36) 37load( 38 ":android_sdk.bzl", 39 _android_sdk = "android_sdk", 40) 41load( 42 ":android_sdk_repository.bzl", 43 _android_sdk_repository = "android_sdk_repository", 44) 45load( 46 ":android_tools_defaults_jar.bzl", 47 _android_tools_defaults_jar = "android_tools_defaults_jar", 48) 49 50# Current version. Tools may check this to determine compatibility. 51RULES_ANDROID_VERSION = "0.1.0" 52 53aar_import = _aar_import 54android_application = _android_application 55android_binary = _android_binary 56android_library = _android_library 57android_ndk_repository = _android_ndk_repository 58android_sdk = _android_sdk 59android_sdk_repository = _android_sdk_repository 60android_tools_defaults_jar = _android_tools_defaults_jar 61