| 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("//sync/protocol/protocol_sources.gni") | 6 import("//sync/protocol/protocol_sources.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 component("sync") { | 9 component("sync") { |
| 10 public_deps = [ | 10 public_deps = [ |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 ] | 454 ] |
| 455 } | 455 } |
| 456 | 456 |
| 457 if (is_chromeos) { | 457 if (is_chromeos) { |
| 458 # Required by get_session_name.cc on Chrome OS. | 458 # Required by get_session_name.cc on Chrome OS. |
| 459 deps += [ "//chromeos" ] | 459 deps += [ "//chromeos" ] |
| 460 } | 460 } |
| 461 | 461 |
| 462 if (is_mac) { | 462 if (is_mac) { |
| 463 libs = [ | 463 libs = [ |
| 464 # Required by get_session_name_mac.mm on Mac. | 464 "CoreFoundation.framework", |
| 465 "SystemConfiguration.framework", | 465 "SystemConfiguration.framework", # Required by get_session_name_mac.mm. |
| 466 ] | 466 ] |
| 467 } | 467 } |
| 468 | 468 |
| 469 defines = [ "SYNC_IMPLEMENTATION" ] | 469 defines = [ "SYNC_IMPLEMENTATION" ] |
| 470 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 470 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 471 } | 471 } |
| 472 | 472 |
| 473 # GYP version: sync/sync_tests.gypi:test_support_sync_core | 473 # GYP version: sync/sync_tests.gypi:test_support_sync_core |
| 474 static_library("test_support_sync_core") { | 474 static_library("test_support_sync_core") { |
| 475 testonly = true | 475 testonly = true |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 887 ":fake_server_jni", | 887 ":fake_server_jni", |
| 888 ":sync_core", | 888 ":sync_core", |
| 889 ":test_support_sync_fake_server", | 889 ":test_support_sync_fake_server", |
| 890 "//base", | 890 "//base", |
| 891 "//sync/protocol:protocol", | 891 "//sync/protocol:protocol", |
| 892 "//testing/gtest", | 892 "//testing/gtest", |
| 893 "//url:url", | 893 "//url:url", |
| 894 ] | 894 ] |
| 895 } | 895 } |
| 896 } | 896 } |
| OLD | NEW |