Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: chrome/chrome.gyp

Issue 7020031: [Sync] Move chrome/browser/sync/api files into their own targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chrome_frame gyp error Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'profile_import', 27 'profile_import',
28 'renderer', 28 'renderer',
29 'syncapi', 29 'syncapi_core',
30 'utility', 30 'utility',
31 'service', 31 'service',
32 '../content/content.gyp:content_gpu', 32 '../content/content.gyp:content_gpu',
33 '../content/content.gyp:content_ppapi_plugin', 33 '../content/content.gyp:content_ppapi_plugin',
34 '../content/content.gyp:content_worker', 34 '../content/content.gyp:content_worker',
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 'nacl_win64_dependencies': [ 38 'nacl_win64_dependencies': [
39 'common_nacl_win64', 39 'common_nacl_win64',
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 ], 507 ],
508 'sources': [ 508 'sources': [
509 'profile_import/profile_import_main.cc', 509 'profile_import/profile_import_main.cc',
510 'profile_import/profile_import_thread.cc', 510 'profile_import/profile_import_thread.cc',
511 'profile_import/profile_import_thread.h', 511 'profile_import/profile_import_thread.h',
512 ], 512 ],
513 }, 513 },
514 { 514 {
515 # Provides a syncapi dynamic library target from checked-in binaries, 515 # Provides a syncapi dynamic library target from checked-in binaries,
516 # or from compiling a stub implementation. 516 # or from compiling a stub implementation.
517 'target_name': 'syncapi', 517 'target_name': 'syncapi_core',
518 'type': 'static_library', 518 'type': 'static_library',
519 'sources': [ 519 'sources': [
520 'browser/sync/engine/http_post_provider_factory.h', 520 'browser/sync/engine/http_post_provider_factory.h',
521 'browser/sync/engine/http_post_provider_interface.h', 521 'browser/sync/engine/http_post_provider_interface.h',
522 'browser/sync/engine/syncapi.cc', 522 'browser/sync/engine/syncapi.cc',
523 'browser/sync/engine/syncapi.h', 523 'browser/sync/engine/syncapi.h',
524 'browser/sync/engine/configure_reason.h' 524 'browser/sync/engine/configure_reason.h'
525 ], 525 ],
526 'include_dirs': [ 526 'include_dirs': [
527 '..', 527 '..',
(...skipping 17 matching lines...) Expand all
545 ], 545 ],
546 'export_dependent_settings': [ 546 'export_dependent_settings': [
547 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp', 547 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp',
548 'sync', 548 'sync',
549 ], 549 ],
550 # This target exports a hard dependency because syncapi.h includes 550 # This target exports a hard dependency because syncapi.h includes
551 # generated proto header files from sync_proto_cpp. 551 # generated proto header files from sync_proto_cpp.
552 'hard_dependency': 1, 552 'hard_dependency': 1,
553 }, 553 },
554 { 554 {
555 # Provides the API that Chrome services use to talk to sync.
556 'target_name': 'syncapi_service',
557 'type': 'static_library',
558 'sources': [
559 'browser/sync/api/syncable_service.cc',
560 'browser/sync/api/syncable_service.h',
561 'browser/sync/api/sync_data.h',
562 'browser/sync/api/sync_data.cc',
563 'browser/sync/api/sync_change.h',
564 'browser/sync/api/sync_change.cc',
565 'browser/sync/api/sync_change_processor.h',
566 'browser/sync/api/sync_change_processor.cc',
567 ],
568 'include_dirs': [
569 '..',
570 ],
571 'dependencies': [
572 '../base/base.gyp:base',
573 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp',
574 'sync',
575 ],
576 'export_dependent_settings': [
577 '../base/base.gyp:base',
578 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp',
579 'sync',
580 ],
581 # Even though this target depends on sync_proto_cpp, it doesn't
582 # need to export a hard dependency since we explicitly avoid
583 # including the generated proto header files from this target's
584 # header files.
585 },
586 {
555 'target_name': 'sync', 587 'target_name': 'sync',
556 'type': 'static_library', 588 'type': 'static_library',
557 'sources': [ 589 'sources': [
558 'browser/sync/engine/all_status.cc', 590 'browser/sync/engine/all_status.cc',
559 'browser/sync/engine/all_status.h', 591 'browser/sync/engine/all_status.h',
560 'browser/sync/engine/apply_updates_command.cc', 592 'browser/sync/engine/apply_updates_command.cc',
561 'browser/sync/engine/apply_updates_command.h', 593 'browser/sync/engine/apply_updates_command.h',
562 'browser/sync/engine/build_and_process_conflict_sets_command.cc', 594 'browser/sync/engine/build_and_process_conflict_sets_command.cc',
563 'browser/sync/engine/build_and_process_conflict_sets_command.h', 595 'browser/sync/engine/build_and_process_conflict_sets_command.h',
564 'browser/sync/engine/build_commit_command.cc', 596 'browser/sync/engine/build_commit_command.cc',
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1634 }], # targets 1666 }], # targets
1635 }], # os_posix == 1 and OS != "mac" 1667 }], # os_posix == 1 and OS != "mac"
1636 ], # 'conditions' 1668 ], # 'conditions'
1637 } 1669 }
1638 1670
1639 # Local Variables: 1671 # Local Variables:
1640 # tab-width:2 1672 # tab-width:2
1641 # indent-tabs-mode:nil 1673 # indent-tabs-mode:nil
1642 # End: 1674 # End:
1643 # vim: set expandtab tabstop=2 shiftwidth=2: 1675 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698