OLD | NEW |
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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 if (is_android) { | 428 if (is_android) { |
429 deps += [ "//sync/android:jni_headers" ] | 429 deps += [ "//sync/android:jni_headers" ] |
430 sources += [ | 430 sources += [ |
431 "android/model_type_helper.cc", | 431 "android/model_type_helper.cc", |
432 "android/model_type_helper.h", | 432 "android/model_type_helper.h", |
433 "android/sync_jni_registrar.cc", | 433 "android/sync_jni_registrar.cc", |
434 "android/sync_jni_registrar.h", | 434 "android/sync_jni_registrar.h", |
435 ] | 435 ] |
436 } | 436 } |
437 | 437 |
438 if (is_chromeos) { | 438 if (use_cros_fe) { |
439 # Required by get_session_name.cc on Chrome OS. | 439 # Required by get_session_name.cc on Chrome OS. |
440 deps += [ "//chromeos" ] | 440 deps += [ "//chromeos" ] |
441 } | 441 } |
442 | 442 |
443 if (is_mac) { | 443 if (is_mac) { |
444 libs = [ | 444 libs = [ |
445 # Required by get_session_name_mac.mm on Mac. | 445 # Required by get_session_name_mac.mm on Mac. |
446 "SystemConfiguration.framework", | 446 "SystemConfiguration.framework", |
447 ] | 447 ] |
448 } | 448 } |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 "//testing/gtest", | 705 "//testing/gtest", |
706 "//third_party/leveldatabase", | 706 "//third_party/leveldatabase", |
707 "//third_party/protobuf:protobuf_lite", | 707 "//third_party/protobuf:protobuf_lite", |
708 "//third_party/zlib", | 708 "//third_party/zlib", |
709 ] | 709 ] |
710 | 710 |
711 if (is_android) { | 711 if (is_android) { |
712 isolate_file = "sync_unit_tests.isolate" | 712 isolate_file = "sync_unit_tests.isolate" |
713 } | 713 } |
714 | 714 |
715 if (is_chromeos) { | 715 if (use_cros_fe) { |
716 # Required by get_session_name_unittest.cc on Chrome OS. | 716 # Required by get_session_name_unittest.cc on Chrome OS. |
717 deps += [ "//chromeos" ] | 717 deps += [ "//chromeos" ] |
718 } | 718 } |
719 | 719 |
720 if (is_ios) { | 720 if (is_ios) { |
721 sources -= [ "internal_api/http_bridge_unittest.cc" ] | 721 sources -= [ "internal_api/http_bridge_unittest.cc" ] |
722 } | 722 } |
723 | 723 |
724 defines = [ "SYNC_TEST" ] | 724 defines = [ "SYNC_TEST" ] |
725 } | 725 } |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 ":fake_server_jni", | 842 ":fake_server_jni", |
843 ":sync_core", | 843 ":sync_core", |
844 ":test_support_sync_fake_server", | 844 ":test_support_sync_fake_server", |
845 "//base", | 845 "//base", |
846 "//sync/protocol:protocol", | 846 "//sync/protocol:protocol", |
847 "//testing/gtest", | 847 "//testing/gtest", |
848 "//url:url", | 848 "//url:url", |
849 ] | 849 ] |
850 } | 850 } |
851 } | 851 } |
OLD | NEW |