• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2017 The Dagger Authors.
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# Description:
16#   A skeletal application that demonstates wiring for an injected Application and Actiity.
17
18package(default_visibility = ["//:src"])
19
20android_library(
21    name = "simple_lib",
22    srcs = glob(["*.java"]),
23    manifest = "AndroidManifest.xml",
24    resource_files = glob(["res/**"]),
25    deps = [
26        "//:android",
27        "//:android-support",
28        "//:dagger_with_compiler",
29        "@androidsdk//com.android.support:appcompat-v7-25.0.0",
30        "@androidsdk//com.android.support:support-annotations-25.0.0",
31        "@androidsdk//com.android.support:support-fragment-25.0.0",
32    ],
33)
34
35android_binary(
36    name = "simple",
37    aapt_version = "aapt",
38    manifest = "AndroidManifest.xml",
39    deps = [
40        ":simple_lib",
41    ],
42)
43