OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 # Setting these two variables allows other targets to use the | 8 # Setting these two variables allows other targets to use the |
9 # sync_proto_sources variable as the list of sync protocol buffer files. | 9 # sync_proto_sources variable as the list of sync protocol buffer files. |
10 'sync_proto_sources_dir': 'protocol', | 10 'sync_proto_sources_dir': 'protocol', |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 ], | 467 ], |
468 }], | 468 }], |
469 ['OS=="mac"', { | 469 ['OS=="mac"', { |
470 'link_settings': { | 470 'link_settings': { |
471 'libraries': [ | 471 'libraries': [ |
472 # Required by get_session_name_mac.mm on Mac. | 472 # Required by get_session_name_mac.mm on Mac. |
473 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framewor
k', | 473 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framewor
k', |
474 ] | 474 ] |
475 }, | 475 }, |
476 }], | 476 }], |
| 477 ['OS=="android"', { |
| 478 'dependencies': [ |
| 479 'sync_jni_headers', |
| 480 ], |
| 481 'sources': [ |
| 482 'android/model_type_helper.cc', |
| 483 'android/model_type_helper.h', |
| 484 'android/sync_jni_registrar.cc', |
| 485 'android/sync_jni_registrar.h', |
| 486 ], |
| 487 }], |
477 ], | 488 ], |
478 }, | 489 }, |
479 { | 490 { |
480 # Contains sync protobuf definitions. Do not depend on this directly. | 491 # Contains sync protobuf definitions. Do not depend on this directly. |
481 # Depend on the 'sync' target to get the relevant C++ code, too. | 492 # Depend on the 'sync' target to get the relevant C++ code, too. |
482 # | 493 # |
483 # GN version: //sync/protocol | 494 # GN version: //sync/protocol |
484 'target_name': 'sync_proto', | 495 'target_name': 'sync_proto', |
485 'type': '<(component)', | 496 'type': '<(component)', |
486 'include_dirs': [ | 497 'include_dirs': [ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 }, | 538 }, |
528 'includes': [ | 539 'includes': [ |
529 '../build/protoc.gypi' | 540 '../build/protoc.gypi' |
530 ], | 541 ], |
531 'defines': [ | 542 'defines': [ |
532 'SYNC_IMPLEMENTATION' | 543 'SYNC_IMPLEMENTATION' |
533 ], | 544 ], |
534 }, | 545 }, |
535 ], | 546 ], |
536 } | 547 } |
OLD | NEW |