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

Side by Side Diff: chrome/android/BUILD.gn

Issue 1954363002: Start using the third_party/custom_tabs_client as support lib source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 4 years, 6 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 | « no previous file | chrome/android/java/proguard.flags » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 import("//build_overrides/v8.gni") 7 import("//build_overrides/v8.gni")
8 import("//chrome/android/chrome_public_apk_tmpl.gni") 8 import("//chrome/android/chrome_public_apk_tmpl.gni")
9 import("//chrome/common/features.gni") 9 import("//chrome/common/features.gni")
10 import("//chrome/version.gni") 10 import("//chrome/version.gni")
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 "//third_party/android_tools:android_gcm_java", 141 "//third_party/android_tools:android_gcm_java",
142 "//third_party/android_tools:android_support_design_java", 142 "//third_party/android_tools:android_support_design_java",
143 "//third_party/android_tools:android_support_design_resources", 143 "//third_party/android_tools:android_support_design_resources",
144 "//third_party/android_tools:android_support_v13_java", 144 "//third_party/android_tools:android_support_v13_java",
145 "//third_party/android_tools:android_support_v7_appcompat_java", 145 "//third_party/android_tools:android_support_v7_appcompat_java",
146 "//third_party/android_tools:android_support_v7_mediarouter_java", 146 "//third_party/android_tools:android_support_v7_mediarouter_java",
147 "//third_party/android_tools:android_support_v7_mediarouter_resources", 147 "//third_party/android_tools:android_support_v7_mediarouter_resources",
148 "//third_party/android_tools:android_support_v7_recyclerview_java", 148 "//third_party/android_tools:android_support_v7_recyclerview_java",
149 "//third_party/cacheinvalidation:cacheinvalidation_javalib", 149 "//third_party/cacheinvalidation:cacheinvalidation_javalib",
150 "//third_party/cacheinvalidation:cacheinvalidation_proto_java", 150 "//third_party/cacheinvalidation:cacheinvalidation_proto_java",
151 "//third_party/custom_tabs_client:custom_tabs_support_lib",
151 "//third_party/gif_player:gif_player_java", 152 "//third_party/gif_player:gif_player_java",
152 "//third_party/jsr-305:jsr_305_javalib", 153 "//third_party/jsr-305:jsr_305_javalib",
153 "//third_party/leakcanary:leakcanary_java", 154 "//third_party/leakcanary:leakcanary_java",
154 "//ui/android:ui_java", 155 "//ui/android:ui_java",
155 "//ui/android:ui_java_resources", 156 "//ui/android:ui_java_resources",
156 google_play_services_library, 157 google_play_services_library,
157 ] 158 ]
158 159
159 srcjar_deps = [ 160 srcjar_deps = [
160 ":chrome_android_java_enums_srcjar", 161 ":chrome_android_java_enums_srcjar",
(...skipping 10 matching lines...) Expand all
171 # New versions of BuildConfig.java will be created when creating an apk. 172 # New versions of BuildConfig.java will be created when creating an apk.
172 jar_excluded_patterns = [ "*/BuildConfig.class" ] 173 jar_excluded_patterns = [ "*/BuildConfig.class" ]
173 174
174 # TODO(sievers): Split java code into components. Not everything 175 # TODO(sievers): Split java code into components. Not everything
175 # is really all that UI related here. 176 # is really all that UI related here.
176 if (android_java_ui) { 177 if (android_java_ui) {
177 # From java_sources.gni. 178 # From java_sources.gni.
178 java_files = chrome_java_sources 179 java_files = chrome_java_sources
179 180
180 srcjar_deps += [ 181 srcjar_deps += [
181 ":custom_tabs_service_aidl",
182 "//chrome:page_info_connection_type_javagen", 182 "//chrome:page_info_connection_type_javagen",
183 "//chrome:website_settings_action_javagen", 183 "//chrome:website_settings_action_javagen",
184 "//components/infobars/core:infobar_enums_java", 184 "//components/infobars/core:infobar_enums_java",
185 "//components/offline_pages:offline_page_model_enums_java", 185 "//components/offline_pages:offline_page_model_enums_java",
186 "//components/omnibox/browser:autocomplete_match_javagen", 186 "//components/omnibox/browser:autocomplete_match_javagen",
187 "//components/omnibox/browser:autocomplete_match_type_javagen", 187 "//components/omnibox/browser:autocomplete_match_type_javagen",
188 "//components/security_state:security_state_enums_java", 188 "//components/security_state:security_state_enums_java",
189 "//components/signin/core/browser:investigated_scenario_java", 189 "//components/signin/core/browser:investigated_scenario_java",
190 ] 190 ]
191 191
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 inputs = [ 305 inputs = [
306 chrome_version_java_file, 306 chrome_version_java_file,
307 ] 307 ]
308 output = "$target_gen_dir/$target_name.srcjar" 308 output = "$target_gen_dir/$target_name.srcjar"
309 base_dir = chrome_version_java_dir 309 base_dir = chrome_version_java_dir
310 deps = [ 310 deps = [
311 ":chrome_version_java", 311 ":chrome_version_java",
312 ] 312 ]
313 } 313 }
314 314
315 #GYP: //chrome/android/chrome_apk.gyp:custom_tabs_service_aidl
316 android_aidl("custom_tabs_service_aidl") {
317 import_include = "java/src/android/support/customtabs"
318 interface_file = "java/src/android/support/customtabs/common.aidl"
319 sources = [
320 "java/src/android/support/customtabs/ICustomTabsCallback.aidl",
321 "java/src/android/support/customtabs/ICustomTabsService.aidl",
322 ]
323 }
324
325 # GYP: //chrome/android/chrome_apk.gyp:chrome_test_java 315 # GYP: //chrome/android/chrome_apk.gyp:chrome_test_java
326 android_library("chrome_test_java") { 316 android_library("chrome_test_java") {
327 testonly = true 317 testonly = true
328 318
329 # From java_sources.gni. 319 # From java_sources.gni.
330 java_files = chrome_test_java_sources 320 java_files = chrome_test_java_sources
331 321
332 deps = [ 322 deps = [
333 "//base:base_java", 323 "//base:base_java",
334 "//base:base_java_test_support", 324 "//base:base_java_test_support",
(...skipping 19 matching lines...) Expand all
354 "//sync:sync_java_test_support", 344 "//sync:sync_java_test_support",
355 "//sync/android:sync_java", 345 "//sync/android:sync_java",
356 "//sync/android:sync_javatests", 346 "//sync/android:sync_javatests",
357 "//third_party/WebKit/public:blink_headers_java", 347 "//third_party/WebKit/public:blink_headers_java",
358 "//third_party/android_tools:android_support_design_java", 348 "//third_party/android_tools:android_support_design_java",
359 "//third_party/android_tools:android_support_v13_java", 349 "//third_party/android_tools:android_support_v13_java",
360 "//third_party/android_tools:android_support_v7_appcompat_java", 350 "//third_party/android_tools:android_support_v7_appcompat_java",
361 "//third_party/android_tools:android_support_v7_recyclerview_java", 351 "//third_party/android_tools:android_support_v7_recyclerview_java",
362 "//third_party/android_tools:legacy_http_javalib", 352 "//third_party/android_tools:legacy_http_javalib",
363 "//third_party/cacheinvalidation:cacheinvalidation_javalib", 353 "//third_party/cacheinvalidation:cacheinvalidation_javalib",
354 "//third_party/custom_tabs_client:custom_tabs_support_lib",
364 "//third_party/jsr-305:jsr_305_javalib", 355 "//third_party/jsr-305:jsr_305_javalib",
365 "//ui/android:ui_java", 356 "//ui/android:ui_java",
366 "//ui/android:ui_javatests", 357 "//ui/android:ui_javatests",
367 google_play_services_library, 358 google_play_services_library,
368 ] 359 ]
369 } 360 }
370 361
371 # Overrides icon / name defined in chrome_java_resources. 362 # Overrides icon / name defined in chrome_java_resources.
372 android_resources("chrome_public_apk_resources") { 363 android_resources("chrome_public_apk_resources") {
373 resource_dirs = [ "java/res_chromium" ] 364 resource_dirs = [ "java/res_chromium" ]
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 instrumentation_test_apk("chrome_sync_shell_test_apk") { 589 instrumentation_test_apk("chrome_sync_shell_test_apk") {
599 apk_name = "ChromeSyncShellTest" 590 apk_name = "ChromeSyncShellTest"
600 apk_under_test = ":chrome_sync_shell_apk" 591 apk_under_test = ":chrome_sync_shell_apk"
601 android_manifest = chrome_sync_shell_test_apk_manifest 592 android_manifest = chrome_sync_shell_test_apk_manifest
602 deps = [ 593 deps = [
603 ":chrome_sync_shell_test_apk_java", 594 ":chrome_sync_shell_test_apk_java",
604 ":chrome_sync_shell_test_apk_manifest", 595 ":chrome_sync_shell_test_apk_manifest",
605 ] 596 ]
606 proguard_enabled = !is_debug 597 proguard_enabled = !is_debug
607 } 598 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/proguard.flags » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698