Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: third_party/custom_tabs_client/BUILD.gn

Issue 2156453002: Add AAR support to Chrome and convert support libraries to using AARs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert change in 3p/android_async_task/README.chromium Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/android_swipe_refresh/BUILD.gn ('k') | third_party/espresso/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 java_files = [ 14 java_files = [
15 "src/Application/src/main/java/org/chromium/customtabsclient/BottomBarManage r.java", 15 "src/Application/src/main/java/org/chromium/customtabsclient/BottomBarManage r.java",
16 "src/Application/src/main/java/org/chromium/customtabsclient/MainActivity.ja va", 16 "src/Application/src/main/java/org/chromium/customtabsclient/MainActivity.ja va",
17 "src/Application/src/main/java/org/chromium/customtabsclient/SessionHelper.j ava", 17 "src/Application/src/main/java/org/chromium/customtabsclient/SessionHelper.j ava",
18 ] 18 ]
19 android_manifest = "src/Application/src/main/AndroidManifest.xml" 19 android_manifest = "src/Application/src/main/AndroidManifest.xml"
20 apk_name = "CustomTabsClientExample" 20 apk_name = "CustomTabsClientExample"
21 deps = [ 21 deps = [
22 ":chrome_tabs_client_example_apk_resources", 22 ":chrome_tabs_client_example_apk_resources",
23 ":custom_tabs_client_shared_lib", 23 ":custom_tabs_client_shared_lib",
24 ":custom_tabs_support_lib", 24 ":custom_tabs_support_lib",
25 "//third_party/android_tools:android_support_v13_java", 25 "//third_party/android_tools:android_support_annotations_java",
26 ] 26 ]
27 chromium_code = false 27 chromium_code = false
28 } 28 }
29 29
30 android_library("custom_tabs_client_shared_lib") { 30 android_library("custom_tabs_client_shared_lib") {
31 java_files = [ 31 java_files = [
32 "src/shared/src/main/java/org/chromium/customtabsclient/shared/CustomTabsHel per.java", 32 "src/shared/src/main/java/org/chromium/customtabsclient/shared/CustomTabsHel per.java",
33 "src/shared/src/main/java/org/chromium/customtabsclient/shared/KeepAliveServ ice.java", 33 "src/shared/src/main/java/org/chromium/customtabsclient/shared/KeepAliveServ ice.java",
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_lib", 39 ":custom_tabs_support_lib",
40 ] 40 ]
41 chromium_code = true 41 chromium_code = true
42 } 42 }
43 43
44 android_library("custom_tabs_support_lib") { 44 android_library("custom_tabs_support_lib") {
45 java_files = [ 45 java_files = [
46 "src/customtabs/src/android/support/customtabs/CustomTabsCallback.java", 46 "src/customtabs/src/android/support/customtabs/CustomTabsCallback.java",
47 "src/customtabs/src/android/support/customtabs/CustomTabsClient.java", 47 "src/customtabs/src/android/support/customtabs/CustomTabsClient.java",
48 "src/customtabs/src/android/support/customtabs/CustomTabsIntent.java", 48 "src/customtabs/src/android/support/customtabs/CustomTabsIntent.java",
49 "src/customtabs/src/android/support/customtabs/CustomTabsService.java", 49 "src/customtabs/src/android/support/customtabs/CustomTabsService.java",
50 "src/customtabs/src/android/support/customtabs/CustomTabsServiceConnection.j ava", 50 "src/customtabs/src/android/support/customtabs/CustomTabsServiceConnection.j ava",
51 "src/customtabs/src/android/support/customtabs/CustomTabsSession.java", 51 "src/customtabs/src/android/support/customtabs/CustomTabsSession.java",
52 "src/customtabs/src/android/support/customtabs/CustomTabsSessionToken.java", 52 "src/customtabs/src/android/support/customtabs/CustomTabsSessionToken.java",
53 ] 53 ]
54 deps = [ 54 deps = [
55 "//third_party/android_tools:android_support_v13_java", 55 "//third_party/android_tools:android_support_annotations_java",
56 "//third_party/android_tools:android_support_v4_java",
56 ] 57 ]
57 srcjar_deps = [ ":chrome_custom_tabs_service_aidl" ] 58 srcjar_deps = [ ":chrome_custom_tabs_service_aidl" ]
58 chromium_code = true 59 chromium_code = true
59 } 60 }
60 61
61 android_aidl("chrome_custom_tabs_service_aidl") { 62 android_aidl("chrome_custom_tabs_service_aidl") {
62 interface_file = "common.aidl" 63 interface_file = "common.aidl"
63 64
64 java_in_dir = "src/customtabs/src/android/support/customtabs" 65 java_in_dir = "src/customtabs/src/android/support/customtabs"
65 sources = [ 66 sources = [
66 "$java_in_dir/ICustomTabsCallback.aidl", 67 "$java_in_dir/ICustomTabsCallback.aidl",
67 "$java_in_dir/ICustomTabsService.aidl", 68 "$java_in_dir/ICustomTabsService.aidl",
68 ] 69 ]
69 } 70 }
OLDNEW
« no previous file with comments | « third_party/android_swipe_refresh/BUILD.gn ('k') | third_party/espresso/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698