| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 5 'variables': { |
| 6 'chromium_code': 1, | 6 'chromium_code': 1, |
| 7 | 7 |
| 8 'variables': { | 8 'variables': { |
| 9 'version_py_path': 'tools/build/version.py', | 9 'version_py_path': 'tools/build/version.py', |
| 10 'version_path': 'VERSION', | 10 'version_path': 'VERSION', |
| 11 }, | 11 }, |
| 12 'version_py_path': '<(version_py_path)', | 12 'version_py_path': '<(version_py_path)', |
| 13 'version_path': '<(version_path)', | 13 'version_path': '<(version_path)', |
| 14 'version_full': | 14 'version_full': |
| 15 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BU
ILD@.@PATCH@")', | 15 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BU
ILD@.@PATCH@")', |
| 16 'version_mac_dylib': | 16 'version_mac_dylib': |
| 17 '<!(python <(version_py_path) -f <(version_path) -t "@BUILD@.@PATCH_HI@.
@PATCH_LO@" -e "PATCH_HI=int(PATCH)/256" -e "PATCH_LO=int(PATCH)%256")', | 17 '<!(python <(version_py_path) -f <(version_path) -t "@BUILD@.@PATCH_HI@.
@PATCH_LO@" -e "PATCH_HI=int(PATCH)/256" -e "PATCH_LO=int(PATCH)%256")', |
| 18 | 18 |
| 19 # Define the common dependencies that contain all the actual | 19 # Define the common dependencies that contain all the actual |
| 20 # Chromium functionality. This list gets pulled in below by | 20 # Chromium functionality. This list gets pulled in below by |
| 21 # the link of the actual chrome (or chromium) executable on | 21 # the link of the actual chrome (or chromium) executable on |
| 22 # Linux or Mac, and into chrome.dll on Windows. | 22 # Linux or Mac, and into chrome.dll on Windows. |
| 23 'chromium_dependencies': [ | 23 'chromium_dependencies': [ |
| 24 'common', | 24 'common', |
| 25 'browser', | 25 'browser', |
| 26 'debugger', | 26 'debugger', |
| 27 'plugin', | 27 'plugin', |
| 28 'renderer', | 28 'renderer', |
| 29 'syncapi_core', | |
| 30 'utility', | 29 'utility', |
| 31 '../content/content.gyp:content_app', | 30 '../content/content.gyp:content_app', |
| 32 '../content/content.gyp:content_gpu', | 31 '../content/content.gyp:content_gpu', |
| 33 '../content/content.gyp:content_ppapi_plugin', | 32 '../content/content.gyp:content_ppapi_plugin', |
| 34 '../content/content.gyp:content_worker', | 33 '../content/content.gyp:content_worker', |
| 34 '../sync/sync.gyp:syncapi_core', |
| 35 '../printing/printing.gyp:printing', | 35 '../printing/printing.gyp:printing', |
| 36 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:inspector_resourc
es', | 36 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:inspector_resourc
es', |
| 37 ], | 37 ], |
| 38 'allocator_target': '../base/allocator/allocator.gyp:allocator', | 38 'allocator_target': '../base/allocator/allocator.gyp:allocator', |
| 39 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', | 39 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', |
| 40 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', | 40 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', |
| 41 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'], | 41 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'], |
| 42 # TODO: remove this helper when we have loops in GYP | 42 # TODO: remove this helper when we have loops in GYP |
| 43 'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'], | 43 'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'], |
| 44 'conditions': [ | 44 'conditions': [ |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 ], | 257 ], |
| 258 'conditions': [ | 258 'conditions': [ |
| 259 ['toolkit_uses_gtk == 1', { | 259 ['toolkit_uses_gtk == 1', { |
| 260 'dependencies': [ | 260 'dependencies': [ |
| 261 '../build/linux/system.gyp:gtk', | 261 '../build/linux/system.gyp:gtk', |
| 262 ], | 262 ], |
| 263 }], | 263 }], |
| 264 ], | 264 ], |
| 265 }, | 265 }, |
| 266 { | 266 { |
| 267 # Provides a syncapi dynamic library target from checked-in binaries, | |
| 268 # or from compiling a stub implementation. | |
| 269 'target_name': 'syncapi_core', | |
| 270 'type': 'static_library', | |
| 271 'variables': { 'enable_wexit_time_destructors': 1, }, | |
| 272 'sources': [ | |
| 273 'browser/sync/internal_api/all_status.cc', | |
| 274 'browser/sync/internal_api/all_status.h', | |
| 275 'browser/sync/internal_api/syncapi_internal.cc', | |
| 276 'browser/sync/internal_api/syncapi_internal.h', | |
| 277 'browser/sync/internal_api/base_node.cc', | |
| 278 'browser/sync/internal_api/base_node.h', | |
| 279 'browser/sync/internal_api/base_transaction.cc', | |
| 280 'browser/sync/internal_api/base_transaction.h', | |
| 281 'browser/sync/internal_api/change_record.cc', | |
| 282 'browser/sync/internal_api/change_record.h', | |
| 283 'browser/sync/internal_api/change_reorder_buffer.cc', | |
| 284 'browser/sync/internal_api/change_reorder_buffer.h', | |
| 285 'browser/sync/internal_api/configure_reason.h', | |
| 286 'browser/sync/internal_api/debug_info_event_listener.cc', | |
| 287 'browser/sync/internal_api/debug_info_event_listener.h', | |
| 288 'browser/sync/internal_api/http_post_provider_factory.h', | |
| 289 'browser/sync/internal_api/http_post_provider_interface.h', | |
| 290 'browser/sync/internal_api/read_node.cc', | |
| 291 'browser/sync/internal_api/read_node.h', | |
| 292 'browser/sync/internal_api/read_transaction.cc', | |
| 293 'browser/sync/internal_api/read_transaction.h', | |
| 294 'browser/sync/internal_api/syncapi_server_connection_manager.cc', | |
| 295 'browser/sync/internal_api/syncapi_server_connection_manager.h', | |
| 296 'browser/sync/internal_api/sync_manager.cc', | |
| 297 'browser/sync/internal_api/sync_manager.h', | |
| 298 'browser/sync/internal_api/user_share.cc', | |
| 299 'browser/sync/internal_api/user_share.h', | |
| 300 'browser/sync/internal_api/write_node.cc', | |
| 301 'browser/sync/internal_api/write_node.h', | |
| 302 'browser/sync/internal_api/write_transaction.cc', | |
| 303 'browser/sync/internal_api/write_transaction.h', | |
| 304 'browser/sync/internal_api/js_mutation_event_observer.cc', | |
| 305 'browser/sync/internal_api/js_mutation_event_observer.h', | |
| 306 'browser/sync/internal_api/js_sync_manager_observer.cc', | |
| 307 'browser/sync/internal_api/js_sync_manager_observer.h', | |
| 308 ], | |
| 309 'include_dirs': [ | |
| 310 '..', | |
| 311 ], | |
| 312 'defines' : [ | |
| 313 '_CRT_SECURE_NO_WARNINGS', | |
| 314 '_USE_32BIT_TIME_T', | |
| 315 ], | |
| 316 'dependencies': [ | |
| 317 '../base/base.gyp:base', | |
| 318 '../net/net.gyp:net', | |
| 319 '../third_party/sqlite/sqlite.gyp:sqlite', | |
| 320 '../sync/protocol/sync_proto.gyp:sync_proto', | |
| 321 '../sync/sync.gyp:sync_notifier', | |
| 322 '../sync/sync.gyp:sync', | |
| 323 ], | |
| 324 'export_dependent_settings': [ | |
| 325 '../sync/protocol/sync_proto.gyp:sync_proto', | |
| 326 '../sync/sync.gyp:sync', | |
| 327 ], | |
| 328 # This target exports a hard dependency because syncapi.h includes | |
| 329 # generated proto header files from sync_proto. | |
| 330 'hard_dependency': 1, | |
| 331 }, | |
| 332 { | |
| 333 # Provides the API that Chrome services use to talk to sync. | 267 # Provides the API that Chrome services use to talk to sync. |
| 334 'target_name': 'syncapi_service', | 268 'target_name': 'syncapi_service', |
| 335 'type': 'static_library', | 269 'type': 'static_library', |
| 336 'variables': { 'enable_wexit_time_destructors': 1, }, | 270 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 337 'sources': [ | 271 'sources': [ |
| 338 'browser/sync/api/syncable_service.cc', | 272 'browser/sync/api/syncable_service.cc', |
| 339 'browser/sync/api/syncable_service.h', | 273 'browser/sync/api/syncable_service.h', |
| 340 'browser/sync/api/sync_data.h', | 274 'browser/sync/api/sync_data.h', |
| 341 'browser/sync/api/sync_data.cc', | 275 'browser/sync/api/sync_data.cc', |
| 342 'browser/sync/api/sync_change.h', | 276 'browser/sync/api/sync_change.h', |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1133 'sources': [ | 1067 'sources': [ |
| 1134 'browser/safe_browsing/signature_util.h', | 1068 'browser/safe_browsing/signature_util.h', |
| 1135 'browser/safe_browsing/signature_util_win.cc', | 1069 'browser/safe_browsing/signature_util_win.cc', |
| 1136 'tools/safe_browsing/sb_sigutil.cc', | 1070 'tools/safe_browsing/sb_sigutil.cc', |
| 1137 ], | 1071 ], |
| 1138 }, | 1072 }, |
| 1139 ]}, # 'targets' | 1073 ]}, # 'targets' |
| 1140 ], # OS=="win" | 1074 ], # OS=="win" |
| 1141 ], # 'conditions' | 1075 ], # 'conditions' |
| 1142 } | 1076 } |
| OLD | NEW |