| 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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 "//crypto", | 418 "//crypto", |
| 419 "//google_apis", | 419 "//google_apis", |
| 420 "//net", | 420 "//net", |
| 421 "//sql", | 421 "//sql", |
| 422 "//third_party/leveldatabase", | 422 "//third_party/leveldatabase", |
| 423 "//third_party/zlib", | 423 "//third_party/zlib", |
| 424 "//url", | 424 "//url", |
| 425 "//sync/protocol", | 425 "//sync/protocol", |
| 426 ] | 426 ] |
| 427 | 427 |
| 428 if (is_android) { |
| 429 deps += [ "//sync/android:jni_headers" ] |
| 430 sources += [ |
| 431 "android/model_type_helper.cc", |
| 432 "android/model_type_helper.h", |
| 433 "android/sync_jni_registrar.cc", |
| 434 "android/sync_jni_registrar.h", |
| 435 ] |
| 436 } |
| 437 |
| 428 if (is_chromeos) { | 438 if (is_chromeos) { |
| 429 # Required by get_session_name.cc on Chrome OS. | 439 # Required by get_session_name.cc on Chrome OS. |
| 430 deps += [ "//chromeos" ] | 440 deps += [ "//chromeos" ] |
| 431 } | 441 } |
| 432 | 442 |
| 433 if (is_mac) { | 443 if (is_mac) { |
| 434 libs = [ | 444 libs = [ |
| 435 # Required by get_session_name_mac.mm on Mac. | 445 # Required by get_session_name_mac.mm on Mac. |
| 436 "SystemConfiguration.framework", | 446 "SystemConfiguration.framework", |
| 437 ] | 447 ] |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 ":fake_server_jni", | 819 ":fake_server_jni", |
| 810 ":sync_core", | 820 ":sync_core", |
| 811 ":test_support_sync_fake_server", | 821 ":test_support_sync_fake_server", |
| 812 "//base", | 822 "//base", |
| 813 "//sync/protocol:protocol", | 823 "//sync/protocol:protocol", |
| 814 "//testing/gtest", | 824 "//testing/gtest", |
| 815 "//url:url", | 825 "//url:url", |
| 816 ] | 826 ] |
| 817 } | 827 } |
| 818 } | 828 } |
| OLD | NEW |