| 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 13 matching lines...) Expand all Loading... |
| 24 # targets that depend on it. Anything that depends on sync code should | 24 # targets that depend on it. Anything that depends on sync code should |
| 25 # declare a dependency on this target. | 25 # declare a dependency on this target. |
| 26 { | 26 { |
| 27 'target_name': 'sync', | 27 'target_name': 'sync', |
| 28 'type': 'none', | 28 'type': 'none', |
| 29 'dependencies': [ | 29 'dependencies': [ |
| 30 'sync_core', | 30 'sync_core', |
| 31 'sync_proto', | 31 'sync_proto', |
| 32 ], | 32 ], |
| 33 'export_dependent_settings': [ | 33 'export_dependent_settings': [ |
| 34 'sync_core', |
| 34 'sync_proto', | 35 'sync_proto', |
| 35 ], | 36 ], |
| 36 }, | 37 }, |
| 37 | 38 |
| 38 # Contains everything related to sync implementation that does not depend | 39 # Contains everything related to sync implementation that does not depend |
| 39 # on chrome/ or components/. Do not depend on this directly. Depend on | 40 # on chrome/ or components/. Do not depend on this directly. Depend on |
| 40 # the 'sync' target to get the sync protobufs, too. | 41 # the 'sync' target to get the sync protobufs, too. |
| 41 { | 42 { |
| 42 'target_name': 'sync_core', | 43 'target_name': 'sync_core', |
| 43 'type': '<(component)', | 44 'type': '<(component)', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 56 '../net/net.gyp:net', | 57 '../net/net.gyp:net', |
| 57 '../sql/sql.gyp:sql', | 58 '../sql/sql.gyp:sql', |
| 58 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 59 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
| 59 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 60 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
| 60 '../third_party/zlib/zlib.gyp:zlib', | 61 '../third_party/zlib/zlib.gyp:zlib', |
| 61 '../url/url.gyp:url_lib', | 62 '../url/url.gyp:url_lib', |
| 62 'attachment_store_proto', | 63 'attachment_store_proto', |
| 63 'sync_proto', | 64 'sync_proto', |
| 64 ], | 65 ], |
| 65 'export_dependent_settings': [ | 66 'export_dependent_settings': [ |
| 67 '../net/net.gyp:net', |
| 66 'sync_proto', | 68 'sync_proto', |
| 67 ], | 69 ], |
| 68 'sources': [ | 70 'sources': [ |
| 69 'api/attachments/attachment.cc', | 71 'api/attachments/attachment.cc', |
| 70 'api/attachments/attachment.h', | 72 'api/attachments/attachment.h', |
| 71 'api/attachments/attachment_id.cc', | 73 'api/attachments/attachment_id.cc', |
| 72 'api/attachments/attachment_id.h', | 74 'api/attachments/attachment_id.h', |
| 73 'api/attachments/attachment_metadata.cc', | 75 'api/attachments/attachment_metadata.cc', |
| 74 'api/attachments/attachment_metadata.h', | 76 'api/attachments/attachment_metadata.h', |
| 75 'api/attachments/attachment_store.cc', | 77 'api/attachments/attachment_store.cc', |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 }, | 559 }, |
| 558 'includes': [ | 560 'includes': [ |
| 559 '../build/protoc.gypi' | 561 '../build/protoc.gypi' |
| 560 ], | 562 ], |
| 561 'defines': [ | 563 'defines': [ |
| 562 'SYNC_IMPLEMENTATION' | 564 'SYNC_IMPLEMENTATION' |
| 563 ], | 565 ], |
| 564 }, | 566 }, |
| 565 ], | 567 ], |
| 566 } | 568 } |
| OLD | NEW |