OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/android/rules.gni") |
| 6 |
| 7 android_resources("chrome_tabs_client_example_apk_resources") { |
| 8 resource_dirs = [ "src/Application/src/main/res" ] |
| 9 android_manifest = "src/Application/src/main/AndroidManifest.xml" |
| 10 custom_package = "org.chromium.customtabsclient" |
| 11 } |
| 12 |
| 13 android_apk("custom_tabs_client_example_apk") { |
| 14 DEPRECATED_java_in_dir = "src/Application/src/main/java" |
| 15 android_manifest = "src/Application/src/main/AndroidManifest.xml" |
| 16 apk_name = "CustomTabsClientExample" |
| 17 deps = [ |
| 18 ":chrome_tabs_client_example_apk_resources", |
| 19 ":custom_tabs_support_lib", |
| 20 ":custom_tabs_client_shared_lib", |
| 21 ] |
| 22 chromium_code = false |
| 23 } |
| 24 |
| 25 android_library("custom_tabs_client_shared_lib") { |
| 26 DEPRECATED_java_in_dir = |
| 27 "src/shared/src/main/java/org/chromium/customtabsclient/shared" |
| 28 deps = [ |
| 29 ":custom_tabs_support_lib", |
| 30 ] |
| 31 } |
| 32 |
| 33 android_library("custom_tabs_support_lib") { |
| 34 DEPRECATED_java_in_dir = "src/customtabs/src" |
| 35 deps = [ |
| 36 "//third_party/android_tools:android_support_annotations_javalib", |
| 37 ] |
| 38 srcjar_deps = [ ":chrome_custom_tabs_service_aidl" ] |
| 39 } |
| 40 |
| 41 android_aidl("chrome_custom_tabs_service_aidl") { |
| 42 interface_file = "common.aidl" |
| 43 |
| 44 java_in_dir = "src/customtabs/src/android/support/customtabs" |
| 45 sources = [ |
| 46 "$java_in_dir/ICustomTabsCallback.aidl", |
| 47 "$java_in_dir/ICustomTabsService.aidl", |
| 48 ] |
| 49 } |
OLD | NEW |