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