| 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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 ":fake_server_jni", | 823 ":fake_server_jni", |
| 817 ":sync_core", | 824 ":sync_core", |
| 818 ":test_support_sync_fake_server", | 825 ":test_support_sync_fake_server", |
| 819 "//base", | 826 "//base", |
| 820 "//sync/protocol:protocol", | 827 "//sync/protocol:protocol", |
| 821 "//testing/gtest", | 828 "//testing/gtest", |
| 822 "//url:url", | 829 "//url:url", |
| 823 ] | 830 ] |
| 824 } | 831 } |
| 825 } | 832 } |
| OLD | NEW |