| 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 }, | 8 }, |
| 9 | 9 |
| 10 'includes': [ | 10 'includes': [ |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 'sync_proto', | 27 'sync_proto', |
| 28 ], | 28 ], |
| 29 }, | 29 }, |
| 30 | 30 |
| 31 # Contains everything related to sync implementation that does not depend | 31 # Contains everything related to sync implementation that does not depend |
| 32 # on chrome/ or components/. Do not depend on this directly. Depend on | 32 # on chrome/ or components/. Do not depend on this directly. Depend on |
| 33 # the 'sync' target to get the sync protobufs, too. | 33 # the 'sync' target to get the sync protobufs, too. |
| 34 { | 34 { |
| 35 'target_name': 'sync_core', | 35 'target_name': 'sync_core', |
| 36 'type': '<(component)', | 36 'type': '<(component)', |
| 37 'variables': { 'enable_wexit_time_desctructors': 1, }, | 37 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 38 'defines': [ | 38 'defines': [ |
| 39 'SYNC_IMPLEMENTATION', | 39 'SYNC_IMPLEMENTATION', |
| 40 ], | 40 ], |
| 41 'include_dirs': [ | 41 'include_dirs': [ |
| 42 '..', | 42 '..', |
| 43 ], | 43 ], |
| 44 'dependencies': [ | 44 'dependencies': [ |
| 45 '../base/base.gyp:base', | 45 '../base/base.gyp:base', |
| 46 '../base/base.gyp:base_i18n', | 46 '../base/base.gyp:base_i18n', |
| 47 '../crypto/crypto.gyp:crypto', | 47 '../crypto/crypto.gyp:crypto', |
| 48 '../google_apis/google_apis.gyp:google_apis', | 48 '../google_apis/google_apis.gyp:google_apis', |
| 49 '../net/net.gyp:net', | 49 '../net/net.gyp:net', |
| 50 '../sql/sql.gyp:sql', | 50 '../sql/sql.gyp:sql', |
| 51 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 51 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
| 52 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 52 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
| 53 '../third_party/zlib/zlib.gyp:zlib', | 53 '../third_party/zlib/zlib.gyp:zlib', |
| 54 '../url/url.gyp:url_lib', | 54 '../url/url.gyp:url_lib', |
| 55 'attachment_store_proto', |
| 55 'sync_proto', | 56 'sync_proto', |
| 56 ], | 57 ], |
| 57 'export_dependent_settings': [ | 58 'export_dependent_settings': [ |
| 58 'sync_proto', | 59 'sync_proto', |
| 59 ], | 60 ], |
| 60 'sources': [ | 61 'sources': [ |
| 61 'api/attachments/attachment.cc', | 62 'api/attachments/attachment.cc', |
| 62 'api/attachments/attachment.h', | 63 'api/attachments/attachment.h', |
| 63 'api/attachments/attachment_id.cc', | 64 'api/attachments/attachment_id.cc', |
| 64 'api/attachments/attachment_id.h', | 65 'api/attachments/attachment_id.h', |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 'protocol/synced_notification_app_info_specifics.proto', | 502 'protocol/synced_notification_app_info_specifics.proto', |
| 502 'protocol/synced_notification_data.proto', | 503 'protocol/synced_notification_data.proto', |
| 503 'protocol/synced_notification_render.proto', | 504 'protocol/synced_notification_render.proto', |
| 504 'protocol/synced_notification_specifics.proto', | 505 'protocol/synced_notification_specifics.proto', |
| 505 'protocol/test.proto', | 506 'protocol/test.proto', |
| 506 'protocol/theme_specifics.proto', | 507 'protocol/theme_specifics.proto', |
| 507 'protocol/typed_url_specifics.proto', | 508 'protocol/typed_url_specifics.proto', |
| 508 'protocol/unique_position.proto', | 509 'protocol/unique_position.proto', |
| 509 ], | 510 ], |
| 510 'variables': { | 511 'variables': { |
| 511 'enable_wexit_time_desctructors': 1, | 512 'enable_wexit_time_destructors': 1, |
| 512 'proto_in_dir': './protocol', | 513 'proto_in_dir': './protocol', |
| 513 'proto_out_dir': 'sync/protocol', | 514 'proto_out_dir': 'sync/protocol', |
| 514 'cc_generator_options': 'dllexport_decl=SYNC_PROTO_EXPORT:', | 515 'cc_generator_options': 'dllexport_decl=SYNC_PROTO_EXPORT:', |
| 515 'cc_include': 'sync/protocol/sync_proto_export.h', | 516 'cc_include': 'sync/protocol/sync_proto_export.h', |
| 516 }, | 517 }, |
| 517 'includes': [ | 518 'includes': [ |
| 518 '../build/protoc.gypi' | 519 '../build/protoc.gypi' |
| 519 ], | 520 ], |
| 520 }, | 521 }, |
| 522 { |
| 523 # Contains attachment_store protobuf definitions. Do not depend on this |
| 524 # directly. |
| 525 # Depend on the 'sync' target to get the relevant C++ code, too. |
| 526 # |
| 527 # GN version: //sync/internal_api/attachments/proto |
| 528 'target_name': 'attachment_store_proto', |
| 529 'type': 'static_library', |
| 530 'sources': [ |
| 531 # NOTE: If you add a file to this list, also add it to |
| 532 # sync/internal_api/attachments/proto/BUILD.gn |
| 533 'internal_api/attachments/proto/attachment_store.proto', |
| 534 ], |
| 535 'variables': { |
| 536 'enable_wexit_time_destructors': 1, |
| 537 'proto_in_dir': 'internal_api/attachments/proto', |
| 538 'proto_out_dir': 'sync/internal_api/attachments/proto', |
| 539 'cc_generator_options': 'dllexport_decl=SYNC_EXPORT_PRIVATE:', |
| 540 'cc_include': 'sync/base/sync_export.h', |
| 541 }, |
| 542 'includes': [ |
| 543 '../build/protoc.gypi' |
| 544 ], |
| 545 'defines': [ |
| 546 'SYNC_IMPLEMENTATION' |
| 547 ], |
| 548 }, |
| 521 ], | 549 ], |
| 522 } | 550 } |
| OLD | NEW |