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

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

Issue 2419793005: [Sync] Fix test support targets + duplicate namespaces. (Closed)
Patch Set: Fix ChromeOS. Created 4 years, 2 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/test/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 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("//android_webview/webview_repack_locales_list.gni") 5 import("//android_webview/webview_repack_locales_list.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
8 import("//build/util/process_version.gni") 8 import("//build/util/process_version.gni")
9 import("//build_overrides/v8.gni") 9 import("//build_overrides/v8.gni")
10 import("//chrome/android/chrome_public_apk_tmpl.gni") 10 import("//chrome/android/chrome_public_apk_tmpl.gni")
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 sources = [ 623 sources = [
624 "../browser/android/chrome_entry_point.cc", 624 "../browser/android/chrome_entry_point.cc",
625 "../browser/android/chrome_sync_shell_main_delegate.cc", 625 "../browser/android/chrome_sync_shell_main_delegate.cc",
626 "../browser/android/chrome_sync_shell_main_delegate.h", 626 "../browser/android/chrome_sync_shell_main_delegate.h",
627 "../browser/android/chrome_sync_shell_main_delegate_initializer.cc", 627 "../browser/android/chrome_sync_shell_main_delegate_initializer.cc",
628 ] 628 ]
629 deps = [ 629 deps = [
630 "//build/config/sanitizers:deps", 630 "//build/config/sanitizers:deps",
631 "//chrome:chrome_android_core", 631 "//chrome:chrome_android_core",
632 "//components/sync", 632 "//components/sync",
633 "//components/sync:test_support_sync_fake_server_android", 633 "//components/sync:test_support_fake_server_android",
634 ] 634 ]
635 } 635 }
636 636
637 # Contains rules common to chrome_public_apk and chrome_sync_shell_apk 637 # Contains rules common to chrome_public_apk and chrome_sync_shell_apk
638 template("chrome_public_apk_tmpl_shared") { 638 template("chrome_public_apk_tmpl_shared") {
639 chrome_public_apk_tmpl(target_name) { 639 chrome_public_apk_tmpl(target_name) {
640 forward_variables_from(invoker, "*") 640 forward_variables_from(invoker, "*")
641 641
642 native_lib_version_rule = "//build/util:chrome_version_json" 642 native_lib_version_rule = "//build/util:chrome_version_json"
643 deps += [ 643 deps += [
(...skipping 21 matching lines...) Expand all
665 android_manifest_dep = ":chrome_sync_shell_android_manifest" 665 android_manifest_dep = ":chrome_sync_shell_android_manifest"
666 apk_name = "ChromeSyncShell" 666 apk_name = "ChromeSyncShell"
667 shared_libraries = [ ":chrome_sync_shell" ] 667 shared_libraries = [ ":chrome_sync_shell" ]
668 668
669 deps = [ 669 deps = [
670 ":chrome_sync_shell_apk_template_resources", 670 ":chrome_sync_shell_apk_template_resources",
671 671
672 # This exists here because com.google.protobuf.nano is needed in tests, 672 # This exists here because com.google.protobuf.nano is needed in tests,
673 # but that code is stripped out via proguard. Adding this deps adds 673 # but that code is stripped out via proguard. Adding this deps adds
674 # usages and prevents removal of the proto code. 674 # usages and prevents removal of the proto code.
675 "//components/sync:test_support_sync_proto_java", 675 "//components/sync:test_support_proto_java",
676 ] 676 ]
677 } 677 }
678 678
679 chrome_public_test_apk_manifest = 679 chrome_public_test_apk_manifest =
680 "$root_gen_dir/chrome_public_test_apk_manifest/AndroidManifest.xml" 680 "$root_gen_dir/chrome_public_test_apk_manifest/AndroidManifest.xml"
681 chrome_sync_shell_test_apk_manifest = 681 chrome_sync_shell_test_apk_manifest =
682 "$root_gen_dir/chrome_sync_shell_test_apk_manifest/AndroidManifest.xml" 682 "$root_gen_dir/chrome_sync_shell_test_apk_manifest/AndroidManifest.xml"
683 683
684 jinja_template("chrome_public_test_apk_manifest") { 684 jinja_template("chrome_public_test_apk_manifest") {
685 input = "javatests/AndroidManifest.xml" 685 input = "javatests/AndroidManifest.xml"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 721
722 deps = [ 722 deps = [
723 "//base:base_java", 723 "//base:base_java",
724 "//base:base_java_test_support", 724 "//base:base_java_test_support",
725 "//chrome/android:chrome_java", 725 "//chrome/android:chrome_java",
726 "//chrome/test/android:chrome_java_test_support", 726 "//chrome/test/android:chrome_java_test_support",
727 "//components/bookmarks/common/android:bookmarks_java", 727 "//components/bookmarks/common/android:bookmarks_java",
728 "//components/policy/android:policy_java", 728 "//components/policy/android:policy_java",
729 "//components/signin/core/browser/android:signin_java_test_support", 729 "//components/signin/core/browser/android:signin_java_test_support",
730 "//components/sync:sync_java_test_support", 730 "//components/sync:sync_java_test_support",
731 "//components/sync:test_support_sync_proto_java", 731 "//components/sync:test_support_proto_java",
732 "//components/sync/android:sync_java", 732 "//components/sync/android:sync_java",
733 "//content/public/android:content_java", 733 "//content/public/android:content_java",
734 "//content/public/test/android:content_java_test_support", 734 "//content/public/test/android:content_java_test_support",
735 "//third_party/android_protobuf:protobuf_nano_javalib", 735 "//third_party/android_protobuf:protobuf_nano_javalib",
736 "//third_party/android_tools:android_support_v7_appcompat_java", 736 "//third_party/android_tools:android_support_v7_appcompat_java",
737 "//ui/android:ui_java", 737 "//ui/android:ui_java",
738 ] 738 ]
739 } 739 }
740 740
741 instrumentation_test_apk("chrome_sync_shell_test_apk") { 741 instrumentation_test_apk("chrome_sync_shell_test_apk") {
742 apk_name = "ChromeSyncShellTest" 742 apk_name = "ChromeSyncShellTest"
743 apk_under_test = ":chrome_sync_shell_apk" 743 apk_under_test = ":chrome_sync_shell_apk"
744 android_manifest = chrome_sync_shell_test_apk_manifest 744 android_manifest = chrome_sync_shell_test_apk_manifest
745 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest" 745 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest"
746 deps = [ 746 deps = [
747 ":chrome_sync_shell_test_apk_java", 747 ":chrome_sync_shell_test_apk_java",
748 ] 748 ]
749 proguard_enabled = !is_java_debug 749 proguard_enabled = !is_java_debug
750 } 750 }
OLDNEW
« no previous file with comments | « no previous file | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698