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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 "//url", | 414 "//url", |
415 "//sync/internal_api/attachments/proto", | 415 "//sync/internal_api/attachments/proto", |
416 "//sync/protocol", | 416 "//sync/protocol", |
417 ] | 417 ] |
418 | 418 |
419 if (is_chromeos) { | 419 if (is_chromeos) { |
420 # Required by get_session_name.cc on Chrome OS. | 420 # Required by get_session_name.cc on Chrome OS. |
421 deps += [ "//chromeos" ] | 421 deps += [ "//chromeos" ] |
422 } | 422 } |
423 | 423 |
424 if (is_mac) { | |
425 libs = [ | |
426 # Required by get_session_name_mac.mm on Mac. | |
427 "SystemConfiguration.framework", | |
428 ] | |
429 } | |
430 | |
431 defines = [ "SYNC_IMPLEMENTATION" ] | 424 defines = [ "SYNC_IMPLEMENTATION" ] |
432 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 425 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
433 } | 426 } |
434 | 427 |
435 # GYP version: sync/sync_tests.gypi:test_support_sync_core | 428 # GYP version: sync/sync_tests.gypi:test_support_sync_core |
436 static_library("test_support_sync_core") { | 429 static_library("test_support_sync_core") { |
437 testonly = true | 430 testonly = true |
438 sources = [ | 431 sources = [ |
439 "internal_api/public/base/model_type_test_util.cc", | 432 "internal_api/public/base/model_type_test_util.cc", |
440 "internal_api/public/base/model_type_test_util.h", | 433 "internal_api/public/base/model_type_test_util.h", |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 deps = [ | 814 deps = [ |
822 ":fake_server_jni", | 815 ":fake_server_jni", |
823 ":sync_core", | 816 ":sync_core", |
824 ":test_support_sync_fake_server", | 817 ":test_support_sync_fake_server", |
825 "//base", | 818 "//base", |
826 "//sync/protocol:protocol", | 819 "//sync/protocol:protocol", |
827 "//testing/gtest", | 820 "//testing/gtest", |
828 ] | 821 ] |
829 } | 822 } |
830 } | 823 } |
OLD | NEW |