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 |
424 defines = [ "SYNC_IMPLEMENTATION" ] | 431 defines = [ "SYNC_IMPLEMENTATION" ] |
425 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 432 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
426 } | 433 } |
427 | 434 |
428 # GYP version: sync/sync_tests.gypi:test_support_sync_core | 435 # GYP version: sync/sync_tests.gypi:test_support_sync_core |
429 static_library("test_support_sync_core") { | 436 static_library("test_support_sync_core") { |
430 testonly = true | 437 testonly = true |
431 sources = [ | 438 sources = [ |
432 "internal_api/public/base/model_type_test_util.cc", | 439 "internal_api/public/base/model_type_test_util.cc", |
433 "internal_api/public/base/model_type_test_util.h", | 440 "internal_api/public/base/model_type_test_util.h", |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 deps = [ | 821 deps = [ |
815 ":fake_server_jni", | 822 ":fake_server_jni", |
816 ":sync_core", | 823 ":sync_core", |
817 ":test_support_sync_fake_server", | 824 ":test_support_sync_fake_server", |
818 "//base", | 825 "//base", |
819 "//sync/protocol:protocol", | 826 "//sync/protocol:protocol", |
820 "//testing/gtest", | 827 "//testing/gtest", |
821 ] | 828 ] |
822 } | 829 } |
823 } | 830 } |
OLD | NEW |