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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
831 ":fake_server_jni", | 841 ":fake_server_jni", |
832 ":sync_core", | 842 ":sync_core", |
833 ":test_support_sync_fake_server", | 843 ":test_support_sync_fake_server", |
834 "//base", | 844 "//base", |
835 "//sync/protocol:protocol", | 845 "//sync/protocol:protocol", |
836 "//testing/gtest", | 846 "//testing/gtest", |
837 "//url:url", | 847 "//url:url", |
838 ] | 848 ] |
839 } | 849 } |
840 } | 850 } |
OLD | NEW |