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" |
(...skipping 23 matching lines...) Expand all Loading... |
34 "src/shared/src/main/java/org/chromium/customtabsclient/shared/ServiceConnec
tionCallback.java", | 34 "src/shared/src/main/java/org/chromium/customtabsclient/shared/ServiceConnec
tionCallback.java", |
35 "src/shared/src/main/java/org/chromium/customtabsclient/shared/ServiceConnec
tion.java", | 35 "src/shared/src/main/java/org/chromium/customtabsclient/shared/ServiceConnec
tion.java", |
36 ] | 36 ] |
37 | 37 |
38 deps = [ | 38 deps = [ |
39 ":custom_tabs_support_java", | 39 ":custom_tabs_support_java", |
40 ] | 40 ] |
41 chromium_code = true | 41 chromium_code = true |
42 } | 42 } |
43 | 43 |
44 # TODO(agrieve): Delete once no longer referenced downstream. | |
45 java_group("custom_tabs_support_lib") { | |
46 deps = [ | |
47 ":custom_tabs_support_java", | |
48 ] | |
49 } | |
50 | |
51 android_library("custom_tabs_support_java") { | 44 android_library("custom_tabs_support_java") { |
52 java_files = [ | 45 java_files = [ |
53 "src/customtabs/src/android/support/customtabs/CustomTabsCallback.java", | 46 "src/customtabs/src/android/support/customtabs/CustomTabsCallback.java", |
54 "src/customtabs/src/android/support/customtabs/CustomTabsClient.java", | 47 "src/customtabs/src/android/support/customtabs/CustomTabsClient.java", |
55 "src/customtabs/src/android/support/customtabs/CustomTabsIntent.java", | 48 "src/customtabs/src/android/support/customtabs/CustomTabsIntent.java", |
56 "src/customtabs/src/android/support/customtabs/CustomTabsService.java", | 49 "src/customtabs/src/android/support/customtabs/CustomTabsService.java", |
57 "src/customtabs/src/android/support/customtabs/CustomTabsServiceConnection.j
ava", | 50 "src/customtabs/src/android/support/customtabs/CustomTabsServiceConnection.j
ava", |
58 "src/customtabs/src/android/support/customtabs/CustomTabsSession.java", | 51 "src/customtabs/src/android/support/customtabs/CustomTabsSession.java", |
59 "src/customtabs/src/android/support/customtabs/CustomTabsSessionToken.java", | 52 "src/customtabs/src/android/support/customtabs/CustomTabsSessionToken.java", |
60 ] | 53 ] |
61 deps = [ | 54 deps = [ |
62 "//third_party/android_tools:android_support_annotations_java", | 55 "//third_party/android_tools:android_support_annotations_java", |
63 "//third_party/android_tools:android_support_v4_java", | 56 "//third_party/android_tools:android_support_v4_java", |
64 ] | 57 ] |
65 srcjar_deps = [ ":chrome_custom_tabs_service_aidl" ] | 58 srcjar_deps = [ ":chrome_custom_tabs_service_aidl" ] |
66 chromium_code = true | 59 chromium_code = true |
67 run_findbugs_override = false | 60 run_findbugs_override = false |
68 } | 61 } |
69 | 62 |
70 android_aidl("chrome_custom_tabs_service_aidl") { | 63 android_aidl("chrome_custom_tabs_service_aidl") { |
71 interface_file = "common.aidl" | 64 interface_file = "common.aidl" |
72 | 65 |
73 java_in_dir = "src/customtabs/src/android/support/customtabs" | 66 java_in_dir = "src/customtabs/src/android/support/customtabs" |
74 sources = [ | 67 sources = [ |
75 "$java_in_dir/ICustomTabsCallback.aidl", | 68 "$java_in_dir/ICustomTabsCallback.aidl", |
76 "$java_in_dir/ICustomTabsService.aidl", | 69 "$java_in_dir/ICustomTabsService.aidl", |
77 ] | 70 ] |
78 } | 71 } |
OLD | NEW |