summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/android/webapk/libs/common/BUILD.gn
blob: ad32e48a948dc5ce27ff0a23aeb2437140afe480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/android/rules.gni")

android_library("common_java") {
  java_files = [
    "src/org/chromium/webapk/lib/common/WebApkCommonUtils.java",
    "src/org/chromium/webapk/lib/common/WebApkConstants.java",
    "src/org/chromium/webapk/lib/common/WebApkMetaDataKeys.java",
    "src/org/chromium/webapk/lib/common/WebApkMetaDataUtils.java",
  ]
  srcjar_deps = [ "//chrome/android/webapk/libs/common:identity_service_aidl" ]
}

android_library("splash_java") {
  java_files = [ "src/org/chromium/webapk/lib/common/splash/SplashLayout.java" ]
  deps = [
    ":splash_resources",
    "//third_party/android_deps:androidx_annotation_annotation_java",
  ]
}

android_resources("splash_resources") {
  resource_dirs = [ "res_splash" ]
  custom_package = "org.chromium.webapk.lib.common.splash"
}

android_aidl("identity_service_aidl") {
  import_include = [ "src/org/chromium/webapk/lib/common/identity_service" ]
  interface_file =
      "src/org/chromium/webapk/lib/common/identity_service/common.aidl"
  sources = [
    "src/org/chromium/webapk/lib/common/identity_service/IIdentityService.aidl",
  ]
}