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

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

Issue 2473963003: Fix java target naming exceptions in third_party/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « components/cronet/android/BUILD.gn ('k') | third_party/haha/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_java",
24 ":custom_tabs_support_lib", 24 ":custom_tabs_support_java",
25 "//third_party/android_tools:android_support_annotations_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_java") {
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_java",
40 ] 40 ]
41 chromium_code = true 41 chromium_code = true
42 } 42 }
43 43
44 android_library("custom_tabs_support_lib") { 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") {
45 java_files = [ 52 java_files = [
46 "src/customtabs/src/android/support/customtabs/CustomTabsCallback.java", 53 "src/customtabs/src/android/support/customtabs/CustomTabsCallback.java",
47 "src/customtabs/src/android/support/customtabs/CustomTabsClient.java", 54 "src/customtabs/src/android/support/customtabs/CustomTabsClient.java",
48 "src/customtabs/src/android/support/customtabs/CustomTabsIntent.java", 55 "src/customtabs/src/android/support/customtabs/CustomTabsIntent.java",
49 "src/customtabs/src/android/support/customtabs/CustomTabsService.java", 56 "src/customtabs/src/android/support/customtabs/CustomTabsService.java",
50 "src/customtabs/src/android/support/customtabs/CustomTabsServiceConnection.j ava", 57 "src/customtabs/src/android/support/customtabs/CustomTabsServiceConnection.j ava",
51 "src/customtabs/src/android/support/customtabs/CustomTabsSession.java", 58 "src/customtabs/src/android/support/customtabs/CustomTabsSession.java",
52 "src/customtabs/src/android/support/customtabs/CustomTabsSessionToken.java", 59 "src/customtabs/src/android/support/customtabs/CustomTabsSessionToken.java",
53 ] 60 ]
54 deps = [ 61 deps = [
55 "//third_party/android_tools:android_support_annotations_java", 62 "//third_party/android_tools:android_support_annotations_java",
56 "//third_party/android_tools:android_support_v4_java", 63 "//third_party/android_tools:android_support_v4_java",
57 ] 64 ]
58 srcjar_deps = [ ":chrome_custom_tabs_service_aidl" ] 65 srcjar_deps = [ ":chrome_custom_tabs_service_aidl" ]
59 chromium_code = true 66 chromium_code = true
60 } 67 }
61 68
62 android_aidl("chrome_custom_tabs_service_aidl") { 69 android_aidl("chrome_custom_tabs_service_aidl") {
63 interface_file = "common.aidl" 70 interface_file = "common.aidl"
64 71
65 java_in_dir = "src/customtabs/src/android/support/customtabs" 72 java_in_dir = "src/customtabs/src/android/support/customtabs"
66 sources = [ 73 sources = [
67 "$java_in_dir/ICustomTabsCallback.aidl", 74 "$java_in_dir/ICustomTabsCallback.aidl",
68 "$java_in_dir/ICustomTabsService.aidl", 75 "$java_in_dir/ICustomTabsService.aidl",
69 ] 76 ]
70 } 77 }
OLDNEW
« no previous file with comments | « components/cronet/android/BUILD.gn ('k') | third_party/haha/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698