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

Side by Side Diff: sync/BUILD.gn

Issue 1258753002: Add yet more GN isolates ... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@isolates_4_2
Patch Set: fix net_unittests conditional on android, fix wow_helper dependency on win Created 5 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 | « remoting/BUILD.gn ('k') | testing/buildbot/chromium.linux.json » ('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/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 component("sync") { 8 component("sync") {
9 public_deps = [ 9 public_deps = [
10 ":sync_core", 10 ":sync_core",
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 562
563 defines = [ "SYNC_TEST" ] 563 defines = [ "SYNC_TEST" ]
564 564
565 public_deps = [ 565 public_deps = [
566 "//base", 566 "//base",
567 "//sync", 567 "//sync",
568 "//testing/gmock", 568 "//testing/gmock",
569 ] 569 ]
570 } 570 }
571 571
572 # TODO(GYP): Delete this after we've converted everything to GN.
573 # The _run targets exist only for compatibility w/ GYP.
574 group("sync_unit_tests_run") {
575 testonly = true
576 deps = [
577 ":sync_unit_tests",
578 ]
579 }
580
572 # GYP version: sync/sync_tests.gypi:sync_unit_tests 581 # GYP version: sync/sync_tests.gypi:sync_unit_tests
573 test("sync_unit_tests") { 582 test("sync_unit_tests") {
574 sources = [ 583 sources = [
575 "api/attachments/attachment_id_unittest.cc", 584 "api/attachments/attachment_id_unittest.cc",
576 "api/attachments/attachment_metadata_unittest.cc", 585 "api/attachments/attachment_metadata_unittest.cc",
577 "api/attachments/attachment_unittest.cc", 586 "api/attachments/attachment_unittest.cc",
578 "api/sync_change_unittest.cc", 587 "api/sync_change_unittest.cc",
579 "api/sync_data_unittest.cc", 588 "api/sync_data_unittest.cc",
580 "api/sync_error_unittest.cc", 589 "api/sync_error_unittest.cc",
581 "api/sync_merge_result_unittest.cc", 590 "api/sync_merge_result_unittest.cc",
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 "syncable/syncable_util_unittest.cc", 657 "syncable/syncable_util_unittest.cc",
649 "util/cryptographer_unittest.cc", 658 "util/cryptographer_unittest.cc",
650 "util/data_type_histogram_unittest.cc", 659 "util/data_type_histogram_unittest.cc",
651 "util/get_session_name_unittest.cc", 660 "util/get_session_name_unittest.cc",
652 "util/nigori_unittest.cc", 661 "util/nigori_unittest.cc",
653 "util/protobuf_unittest.cc", 662 "util/protobuf_unittest.cc",
654 ] 663 ]
655 664
656 configs += [ "//build/config:precompiled_headers" ] 665 configs += [ "//build/config:precompiled_headers" ]
657 666
667 data = [
668 "//chrome/test/data/sync/",
669 "//net/tools/testserver/",
670 "//third_party/pyftpdlib/",
671 "//third_party/pywebsocket/",
672 "//third_party/tlslite/",
673 "$root_out_dir/pyproto/google/",
674 ]
675
676 if (is_android) {
677 data += [ "$root_out_dir/locales/en-US.pak" ]
678 }
679
658 deps = [ 680 deps = [
659 ":test_support_sync_core", 681 ":test_support_sync_core",
660 ":test_support_sync_internal_api", 682 ":test_support_sync_internal_api",
661 "//base", 683 "//base",
662 "//base/allocator", 684 "//base/allocator",
663 "//base/test:run_all_unittests", 685 "//base/test:run_all_unittests",
664 "//google_apis", 686 "//google_apis",
665 "//google_apis:test_support", 687 "//google_apis:test_support",
666 "//net", 688 "//net",
667 "//net:test_support", 689 "//net:test_support",
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 ":fake_server_jni", 831 ":fake_server_jni",
810 ":sync_core", 832 ":sync_core",
811 ":test_support_sync_fake_server", 833 ":test_support_sync_fake_server",
812 "//base", 834 "//base",
813 "//sync/protocol:protocol", 835 "//sync/protocol:protocol",
814 "//testing/gtest", 836 "//testing/gtest",
815 "//url:url", 837 "//url:url",
816 ] 838 ]
817 } 839 }
818 } 840 }
OLDNEW
« no previous file with comments | « remoting/BUILD.gn ('k') | testing/buildbot/chromium.linux.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698