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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 | « chrome/BUILD.gn ('k') | chrome/android/chrome_apk.gyp » ('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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 "//components/gcm_driver/android:gcm_driver_java", 234 "//components/gcm_driver/android:gcm_driver_java",
235 "//components/gcm_driver/instance_id/android:instance_id_driver_java", 235 "//components/gcm_driver/instance_id/android:instance_id_driver_java",
236 "//components/invalidation/impl:java", 236 "//components/invalidation/impl:java",
237 "//components/location/android:location_java", 237 "//components/location/android:location_java",
238 "//components/navigation_interception/android:navigation_interception_java ", 238 "//components/navigation_interception/android:navigation_interception_java ",
239 "//components/ntp_tiles/android:ntp_tiles_java", 239 "//components/ntp_tiles/android:ntp_tiles_java",
240 "//components/policy/android:policy_java", 240 "//components/policy/android:policy_java",
241 "//components/precache/android:precache_java", 241 "//components/precache/android:precache_java",
242 "//components/safe_json/android:safe_json_java", 242 "//components/safe_json/android:safe_json_java",
243 "//components/signin/core/browser/android:java", 243 "//components/signin/core/browser/android:java",
244 "//components/sync/android:sync_java",
244 "//components/web_contents_delegate_android:web_contents_delegate_android_ java", 245 "//components/web_contents_delegate_android:web_contents_delegate_android_ java",
245 "//sync/android:sync_java",
246 ] 246 ]
247 } 247 }
248 } 248 }
249 249
250 # GYP: //chrome/chrome_browser.gypi:activity_type_ids_java 250 # GYP: //chrome/chrome_browser.gypi:activity_type_ids_java
251 # GYP: //chrome/chrome_browser.gypi:connectivity_check_result_java 251 # GYP: //chrome/chrome_browser.gypi:connectivity_check_result_java
252 # GYP: //chrome/chrome_browser.gypi:shortcut_source_java 252 # GYP: //chrome/chrome_browser.gypi:shortcut_source_java
253 # GYP: //chrome/chrome_browser.gypi:profile_account_management_metrics_java 253 # GYP: //chrome/chrome_browser.gypi:profile_account_management_metrics_java
254 # GYP: //chrome/chrome_browser.gypi:tab_load_status_java 254 # GYP: //chrome/chrome_browser.gypi:tab_load_status_java
255 # GYP: //chrome/chrome_browser.gypi:infobar_action_type_java 255 # GYP: //chrome/chrome_browser.gypi:infobar_action_type_java
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 # From java_sources.gni. 302 # From java_sources.gni.
303 java_files = chrome_junit_test_java_sources 303 java_files = chrome_junit_test_java_sources
304 deps = [ 304 deps = [
305 ":chrome_java", 305 ":chrome_java",
306 ":chrome_java_resources", 306 ":chrome_java_resources",
307 "//base:base_java", 307 "//base:base_java",
308 "//base:base_java_test_support", 308 "//base:base_java_test_support",
309 "//base:base_junit_test_support", 309 "//base:base_junit_test_support",
310 "//components/bookmarks/common/android:bookmarks_java", 310 "//components/bookmarks/common/android:bookmarks_java",
311 "//components/invalidation/impl:java", 311 "//components/invalidation/impl:java",
312 "//components/sync:sync_java_test_support",
313 "//components/sync/android:sync_java",
312 "//components/web_restrictions:web_restrictions_java", 314 "//components/web_restrictions:web_restrictions_java",
313 "//content/public/android:content_java", 315 "//content/public/android:content_java",
314 "//device/geolocation:geolocation_java", 316 "//device/geolocation:geolocation_java",
315 "//net/android:net_java", 317 "//net/android:net_java",
316 "//sync:sync_java_test_support",
317 "//sync/android:sync_java",
318 "//third_party/WebKit/public:blink_headers_java", 318 "//third_party/WebKit/public:blink_headers_java",
319 "//third_party/android_tools:android_support_v7_mediarouter_java", 319 "//third_party/android_tools:android_support_v7_mediarouter_java",
320 "//third_party/android_tools:android_support_v7_recyclerview_java", 320 "//third_party/android_tools:android_support_v7_recyclerview_java",
321 "//third_party/cacheinvalidation:cacheinvalidation_javalib", 321 "//third_party/cacheinvalidation:cacheinvalidation_javalib",
322 "//third_party/junit:hamcrest", 322 "//third_party/junit:hamcrest",
323 "//ui/android:ui_java", 323 "//ui/android:ui_java",
324 google_play_services_library, 324 google_play_services_library,
325 ] 325 ]
326 } 326 }
327 327
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 "//components/bookmarks/common/android:bookmarks_java", 364 "//components/bookmarks/common/android:bookmarks_java",
365 "//components/dom_distiller/android:dom_distiller_core_java", 365 "//components/dom_distiller/android:dom_distiller_core_java",
366 "//components/gcm_driver/android:gcm_driver_java", 366 "//components/gcm_driver/android:gcm_driver_java",
367 "//components/invalidation/impl:java", 367 "//components/invalidation/impl:java",
368 "//components/invalidation/impl:javatests", 368 "//components/invalidation/impl:javatests",
369 "//components/location/android:location_java", 369 "//components/location/android:location_java",
370 "//components/navigation_interception/android:navigation_interception_java", 370 "//components/navigation_interception/android:navigation_interception_java",
371 "//components/policy/android:policy_java", 371 "//components/policy/android:policy_java",
372 "//components/precache/android:precache_java", 372 "//components/precache/android:precache_java",
373 "//components/precache/android:precache_javatests", 373 "//components/precache/android:precache_javatests",
374 "//components/sync:sync_java_test_support",
375 "//components/sync/android:sync_java",
376 "//components/sync/android:sync_javatests",
374 "//components/web_contents_delegate_android:web_contents_delegate_android_ja va", 377 "//components/web_contents_delegate_android:web_contents_delegate_android_ja va",
375 "//components/web_restrictions:web_restrictions_java", 378 "//components/web_restrictions:web_restrictions_java",
376 "//content/public/android:content_java", 379 "//content/public/android:content_java",
377 "//content/public/test/android:content_java_test_support", 380 "//content/public/test/android:content_java_test_support",
378 "//device/geolocation:geolocation_java", 381 "//device/geolocation:geolocation_java",
379 "//device/geolocation:geolocation_java_test_support", 382 "//device/geolocation:geolocation_java_test_support",
380 "//mojo/public/java:bindings", 383 "//mojo/public/java:bindings",
381 "//mojo/public/java:system", 384 "//mojo/public/java:system",
382 "//net/android:net_java", 385 "//net/android:net_java",
383 "//net/android:net_java_test_support", 386 "//net/android:net_java_test_support",
384 "//printing:printing_java", 387 "//printing:printing_java",
385 "//sync:sync_java_test_support",
386 "//sync/android:sync_java",
387 "//sync/android:sync_javatests",
388 "//third_party/WebKit/public:android_mojo_bindings_java", 388 "//third_party/WebKit/public:android_mojo_bindings_java",
389 "//third_party/WebKit/public:blink_headers_java", 389 "//third_party/WebKit/public:blink_headers_java",
390 "//third_party/android_tools:android_support_design_java", 390 "//third_party/android_tools:android_support_design_java",
391 "//third_party/android_tools:android_support_v7_appcompat_java", 391 "//third_party/android_tools:android_support_v7_appcompat_java",
392 "//third_party/android_tools:android_support_v7_recyclerview_java", 392 "//third_party/android_tools:android_support_v7_recyclerview_java",
393 "//third_party/android_tools:legacy_http_javalib", 393 "//third_party/android_tools:legacy_http_javalib",
394 "//third_party/cacheinvalidation:cacheinvalidation_javalib", 394 "//third_party/cacheinvalidation:cacheinvalidation_javalib",
395 "//third_party/custom_tabs_client:custom_tabs_support_lib", 395 "//third_party/custom_tabs_client:custom_tabs_support_lib",
396 "//third_party/jsr-305:jsr_305_javalib", 396 "//third_party/jsr-305:jsr_305_javalib",
397 "//ui/android:ui_java", 397 "//ui/android:ui_java",
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 ] 491 ]
492 } 492 }
493 } 493 }
494 494
495 # GYP: //chrome/android/chrome_apk.gyp:libchrome_sync_shell 495 # GYP: //chrome/android/chrome_apk.gyp:libchrome_sync_shell
496 shared_library("chrome_sync_shell") { 496 shared_library("chrome_sync_shell") {
497 testonly = true 497 testonly = true
498 deps = [ 498 deps = [
499 "//build/config/sanitizers:deps", 499 "//build/config/sanitizers:deps",
500 "//chrome:chrome_android_core", 500 "//chrome:chrome_android_core",
501 "//sync", 501 "//components/sync",
502 "//sync:test_support_sync_fake_server_android", 502 "//components/sync:test_support_sync_fake_server_android",
503 ] 503 ]
504 sources = chrome_apk_gypi.chrome_sync_shell_app_native_sources 504 sources = chrome_apk_gypi.chrome_sync_shell_app_native_sources
505 } 505 }
506 506
507 # Contains rules common to chrome_public_apk and chrome_sync_shell_apk 507 # Contains rules common to chrome_public_apk and chrome_sync_shell_apk
508 template("chrome_public_apk_tmpl_shared") { 508 template("chrome_public_apk_tmpl_shared") {
509 chrome_public_apk_tmpl(target_name) { 509 chrome_public_apk_tmpl(target_name) {
510 forward_variables_from(invoker, "*") 510 forward_variables_from(invoker, "*")
511 511
512 native_lib_version_rule = "//build/util:chrome_version_json" 512 native_lib_version_rule = "//build/util:chrome_version_json"
(...skipping 26 matching lines...) Expand all
539 android_manifest_dep = ":chrome_sync_shell_apk_manifest" 539 android_manifest_dep = ":chrome_sync_shell_apk_manifest"
540 apk_name = "ChromeSyncShell" 540 apk_name = "ChromeSyncShell"
541 shared_libraries = [ ":chrome_sync_shell" ] 541 shared_libraries = [ ":chrome_sync_shell" ]
542 542
543 deps = [ 543 deps = [
544 ":chrome_sync_shell_apk_template_resources", 544 ":chrome_sync_shell_apk_template_resources",
545 545
546 # This exists here because com.google.protobuf.nano is needed in tests, 546 # This exists here because com.google.protobuf.nano is needed in tests,
547 # but that code is stripped out via proguard. Adding this deps adds 547 # but that code is stripped out via proguard. Adding this deps adds
548 # usages and prevents removal of the proto code. 548 # usages and prevents removal of the proto code.
549 "//sync:test_support_sync_proto_java", 549 "//components/sync:test_support_sync_proto_java",
550 ] 550 ]
551 } 551 }
552 552
553 chrome_public_test_apk_manifest = 553 chrome_public_test_apk_manifest =
554 "$root_gen_dir/chrome_public_test_apk_manifest/AndroidManifest.xml" 554 "$root_gen_dir/chrome_public_test_apk_manifest/AndroidManifest.xml"
555 chrome_sync_shell_test_apk_manifest = 555 chrome_sync_shell_test_apk_manifest =
556 "$root_gen_dir/chrome_sync_shell_test_apk_manifest/AndroidManifest.xml" 556 "$root_gen_dir/chrome_sync_shell_test_apk_manifest/AndroidManifest.xml"
557 557
558 # GYP: //chrome/android/chrome_apk.gyp:chrome_public_test_apk_manifest 558 # GYP: //chrome/android/chrome_apk.gyp:chrome_public_test_apk_manifest
559 jinja_template("chrome_public_test_apk_manifest") { 559 jinja_template("chrome_public_test_apk_manifest") {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 # From java_sources.jni. 598 # From java_sources.jni.
599 java_files = sync_shell_test_java_sources 599 java_files = sync_shell_test_java_sources
600 600
601 deps = [ 601 deps = [
602 "//base:base_java", 602 "//base:base_java",
603 "//base:base_java_test_support", 603 "//base:base_java_test_support",
604 "//chrome/android:chrome_java", 604 "//chrome/android:chrome_java",
605 "//chrome/test/android:chrome_java_test_support", 605 "//chrome/test/android:chrome_java_test_support",
606 "//components/bookmarks/common/android:bookmarks_java", 606 "//components/bookmarks/common/android:bookmarks_java",
607 "//components/policy/android:policy_java", 607 "//components/policy/android:policy_java",
608 "//components/sync:sync_java_test_support",
609 "//components/sync:test_support_sync_proto_java",
610 "//components/sync/android:sync_java",
608 "//content/public/android:content_java", 611 "//content/public/android:content_java",
609 "//content/public/test/android:content_java_test_support", 612 "//content/public/test/android:content_java_test_support",
610 "//sync:sync_java_test_support",
611 "//sync:test_support_sync_proto_java",
612 "//sync/android:sync_java",
613 "//third_party/android_protobuf:protobuf_nano_javalib", 613 "//third_party/android_protobuf:protobuf_nano_javalib",
614 "//third_party/android_tools:android_support_v7_appcompat_java", 614 "//third_party/android_tools:android_support_v7_appcompat_java",
615 "//ui/android:ui_java", 615 "//ui/android:ui_java",
616 ] 616 ]
617 } 617 }
618 618
619 if (!enable_all_proguard_optimizations) { 619 if (!enable_all_proguard_optimizations) {
620 # GYP: //chrome/android/chrome_apk.gyp:chrome_sync_shell_test_apk 620 # GYP: //chrome/android/chrome_apk.gyp:chrome_sync_shell_test_apk
621 instrumentation_test_apk("chrome_sync_shell_test_apk") { 621 instrumentation_test_apk("chrome_sync_shell_test_apk") {
622 apk_name = "ChromeSyncShellTest" 622 apk_name = "ChromeSyncShellTest"
623 apk_under_test = ":chrome_sync_shell_apk" 623 apk_under_test = ":chrome_sync_shell_apk"
624 android_manifest = chrome_sync_shell_test_apk_manifest 624 android_manifest = chrome_sync_shell_test_apk_manifest
625 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest" 625 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest"
626 deps = [ 626 deps = [
627 ":chrome_sync_shell_test_apk_java", 627 ":chrome_sync_shell_test_apk_java",
628 ] 628 ]
629 proguard_enabled = !is_java_debug 629 proguard_enabled = !is_java_debug
630 } 630 }
631 } 631 }
OLDNEW
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/android/chrome_apk.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698