OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 # Define the common dependencies that contain all the actual | 9 # Define the common dependencies that contain all the actual |
10 # Chromium functionality. This list gets pulled in below by | 10 # Chromium functionality. This list gets pulled in below by |
(...skipping 4546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4557 ['chrome_personalization==1 and use_syncapi_stub==0', { | 4557 ['chrome_personalization==1 and use_syncapi_stub==0', { |
4558 'type': 'shared_library', | 4558 'type': 'shared_library', |
4559 'sources': [ | 4559 'sources': [ |
4560 'browser/sync/engine/syncapi.cc', | 4560 'browser/sync/engine/syncapi.cc', |
4561 ], | 4561 ], |
4562 'include_dirs': [ | 4562 'include_dirs': [ |
4563 '..', | 4563 '..', |
4564 '<(protoc_out_dir)', | 4564 '<(protoc_out_dir)', |
4565 ], | 4565 ], |
4566 'defines' : [ | 4566 'defines' : [ |
4567 'COMPILER_MSVC', | |
4568 'COMPILING_SYNCAPI_LIBRARY', | 4567 'COMPILING_SYNCAPI_LIBRARY', |
4569 '_CRT_SECURE_NO_WARNINGS', | 4568 '_CRT_SECURE_NO_WARNINGS', |
4570 '_USE_32BIT_TIME_T', | 4569 '_USE_32BIT_TIME_T', |
4571 ], | 4570 ], |
4572 'dependencies': [ | 4571 'dependencies': [ |
4573 '../base/base.gyp:base', | 4572 '../base/base.gyp:base', |
4574 '../build/temp_gyp/googleurl.gyp:googleurl', | 4573 '../build/temp_gyp/googleurl.gyp:googleurl', |
4575 '../net/net.gyp:net', | 4574 '../net/net.gyp:net', |
4576 '../third_party/icu/icu.gyp:icuuc', | 4575 '../third_party/icu/icu.gyp:icuuc', |
4577 '../third_party/libjingle/libjingle.gyp:libjingle', | 4576 '../third_party/libjingle/libjingle.gyp:libjingle', |
4578 '../third_party/protobuf2/protobuf.gyp:protobuf', | 4577 '../third_party/protobuf2/protobuf.gyp:protobuf', |
4579 '../third_party/sqlite/sqlite.gyp:sqlite', | 4578 '../third_party/sqlite/sqlite.gyp:sqlite', |
4580 'notifier', | 4579 'notifier', |
4581 'sync', | 4580 'sync', |
4582 ], | 4581 ], |
4583 'conditions': [ | 4582 'conditions': [ |
4584 ['OS=="win"', { | 4583 ['OS=="win"', { |
| 4584 'defines' : [ |
| 4585 'COMPILER_MSVC', |
| 4586 ], |
4585 'msvs_settings': { | 4587 'msvs_settings': { |
4586 'VCLinkerTool': { | 4588 'VCLinkerTool': { |
4587 'ImportLibrary': '$(OutDir)\\lib\\syncapi.lib', | 4589 'ImportLibrary': '$(OutDir)\\lib\\syncapi.lib', |
4588 'ProgramDatabaseFile': '$(OutDir)\\syncapi_dll.pdb', | 4590 'ProgramDatabaseFile': '$(OutDir)\\syncapi_dll.pdb', |
4589 }, | 4591 }, |
4590 }, | 4592 }, |
4591 'link_settings': { | 4593 'link_settings': { |
4592 'libraries': [ | 4594 'libraries': [ |
4593 '-lcrypt32.lib', | 4595 '-lcrypt32.lib', |
4594 '-liphlpapi.lib', | 4596 '-liphlpapi.lib', |
4595 '-lsecur32.lib', | 4597 '-lsecur32.lib', |
4596 ] | 4598 ] |
4597 }, | 4599 }, |
4598 'dependencies': [ | 4600 'dependencies': [ |
4599 '../third_party/pthreads-win32/pthreads.gyp:pthreads', | 4601 '../third_party/pthreads-win32/pthreads.gyp:pthreads', |
4600 ], | 4602 ], |
4601 }], | 4603 }], |
| 4604 ['OS=="linux"', { |
| 4605 'defines': [ |
| 4606 'POSIX', |
| 4607 ], |
| 4608 }], |
4602 ], | 4609 ], |
4603 }], | 4610 }], |
4604 ['chrome_personalization==1 and OS=="win"', { | 4611 ['chrome_personalization==1 and OS=="win"', { |
4605 'direct_dependent_settings': { # Shared by stub and non-stub. | 4612 'direct_dependent_settings': { # Shared by stub and non-stub. |
4606 'msvs_settings': { | 4613 'msvs_settings': { |
4607 'VCLinkerTool': { | 4614 'VCLinkerTool': { |
4608 'DelayLoadDLLs': [ | 4615 'DelayLoadDLLs': [ |
4609 'syncapi.dll', | 4616 'syncapi.dll', |
4610 ], | 4617 ], |
4611 }, | 4618 }, |
(...skipping 1762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6374 'browser/sync/notifier/listener/subscribe_task.h', | 6381 'browser/sync/notifier/listener/subscribe_task.h', |
6375 'browser/sync/notifier/listener/talk_mediator.h', | 6382 'browser/sync/notifier/listener/talk_mediator.h', |
6376 'browser/sync/notifier/listener/talk_mediator_impl.cc', | 6383 'browser/sync/notifier/listener/talk_mediator_impl.cc', |
6377 'browser/sync/notifier/listener/talk_mediator_impl.h', | 6384 'browser/sync/notifier/listener/talk_mediator_impl.h', |
6378 ], | 6385 ], |
6379 'include_dirs': [ | 6386 'include_dirs': [ |
6380 '..', | 6387 '..', |
6381 '<(protoc_out_dir)', | 6388 '<(protoc_out_dir)', |
6382 ], | 6389 ], |
6383 'defines' : [ | 6390 'defines' : [ |
6384 'COMPILER_MSVC', | |
6385 '_CRT_SECURE_NO_WARNINGS', | 6391 '_CRT_SECURE_NO_WARNINGS', |
6386 '_USE_32BIT_TIME_T', | 6392 '_USE_32BIT_TIME_T', |
6387 'kXmppProductName="chromium-sync"', | 6393 'kXmppProductName="chromium-sync"', |
6388 ], | 6394 ], |
6389 'dependencies': [ | 6395 'dependencies': [ |
6390 '../third_party/expat/expat.gyp:expat', | 6396 '../third_party/expat/expat.gyp:expat', |
6391 '../third_party/libjingle/libjingle.gyp:libjingle', | 6397 '../third_party/libjingle/libjingle.gyp:libjingle', |
6392 '../third_party/protobuf2/protobuf.gyp:protobuf', | 6398 '../third_party/protobuf2/protobuf.gyp:protobuf', |
6393 'sync_proto', | 6399 'sync_proto', |
6394 ], | 6400 ], |
6395 'conditions': [ | 6401 'conditions': [ |
6396 ['OS=="win"', { | 6402 ['OS=="win"', { |
| 6403 'defines' : [ |
| 6404 'COMPILER_MSVC', |
| 6405 ], |
6397 'dependencies': [ | 6406 'dependencies': [ |
6398 '../third_party/pthreads-win32/pthreads.gyp:pthreads', | 6407 '../third_party/pthreads-win32/pthreads.gyp:pthreads', |
6399 ], | 6408 ], |
6400 }], | 6409 }], |
| 6410 ['OS=="linux"', { |
| 6411 'defines': [ |
| 6412 'POSIX', |
| 6413 'OS_LINUX', |
| 6414 ], |
| 6415 }], |
6401 ], | 6416 ], |
6402 }, | 6417 }, |
6403 { | 6418 { |
6404 'target_name': 'sync_unit_tests', | 6419 'target_name': 'sync_unit_tests', |
6405 'type': 'executable', | 6420 'type': 'executable', |
6406 'sources': [ | 6421 'sources': [ |
6407 'browser/sync/engine/all_status_unittest.cc', | 6422 'browser/sync/engine/all_status_unittest.cc', |
6408 'browser/sync/engine/apply_updates_command_unittest.cc', | 6423 'browser/sync/engine/apply_updates_command_unittest.cc', |
6409 'browser/sync/engine/net/gaia_authenticator_unittest.cc', | 6424 'browser/sync/engine/net/gaia_authenticator_unittest.cc', |
6410 'browser/sync/engine/syncer_proto_util_unittest.cc', | 6425 'browser/sync/engine/syncer_proto_util_unittest.cc', |
(...skipping 18 matching lines...) Expand all Loading... |
6429 'test/sync/engine/mock_server_connection.h', | 6444 'test/sync/engine/mock_server_connection.h', |
6430 'test/sync/engine/test_directory_setter_upper.cc', | 6445 'test/sync/engine/test_directory_setter_upper.cc', |
6431 'test/sync/engine/test_directory_setter_upper.h', | 6446 'test/sync/engine/test_directory_setter_upper.h', |
6432 'test/sync/engine/test_id_factory.h', | 6447 'test/sync/engine/test_id_factory.h', |
6433 ], | 6448 ], |
6434 'include_dirs': [ | 6449 'include_dirs': [ |
6435 '..', | 6450 '..', |
6436 '<(protoc_out_dir)', | 6451 '<(protoc_out_dir)', |
6437 ], | 6452 ], |
6438 'defines' : [ | 6453 'defines' : [ |
6439 'COMPILER_MSVC', | |
6440 'COMPILING_SYNCAPI_LIBRARY', | 6454 'COMPILING_SYNCAPI_LIBRARY', |
6441 'SYNC_ENGINE_VERSION_STRING="Unknown"', | 6455 'SYNC_ENGINE_VERSION_STRING="Unknown"', |
6442 '_CRT_SECURE_NO_WARNINGS', | 6456 '_CRT_SECURE_NO_WARNINGS', |
6443 '_USE_32BIT_TIME_T', | 6457 '_USE_32BIT_TIME_T', |
6444 ], | 6458 ], |
6445 'dependencies': [ | 6459 'dependencies': [ |
6446 '../testing/gtest.gyp:gtest', | 6460 '../testing/gtest.gyp:gtest', |
6447 '../third_party/libjingle/libjingle.gyp:libjingle', | 6461 '../third_party/libjingle/libjingle.gyp:libjingle', |
6448 '../third_party/protobuf2/protobuf.gyp:protobuf', | 6462 '../third_party/protobuf2/protobuf.gyp:protobuf', |
6449 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', | 6463 '../third_party/tcmalloc/tcmalloc.gyp:tcmalloc', |
6450 'notifier', | 6464 'notifier', |
6451 'sync', | 6465 'sync', |
6452 'test_support_unit', | 6466 'test_support_unit', |
6453 ], | 6467 ], |
6454 'conditions': [ | 6468 'conditions': [ |
6455 ['OS=="win"', { | 6469 ['OS=="win"', { |
| 6470 'defines' : [ |
| 6471 'COMPILER_MSVC', |
| 6472 ], |
6456 'dependencies': [ | 6473 'dependencies': [ |
6457 '../third_party/pthreads-win32/pthreads.gyp:pthreads', | 6474 '../third_party/pthreads-win32/pthreads.gyp:pthreads', |
6458 ], | 6475 ], |
6459 'link_settings': { | 6476 'link_settings': { |
6460 'libraries': [ | 6477 'libraries': [ |
6461 '-lcrypt32.lib', | 6478 '-lcrypt32.lib', |
6462 '-lws2_32.lib', | 6479 '-lws2_32.lib', |
6463 '-lsecur32.lib', | 6480 '-lsecur32.lib', |
6464 ], | 6481 ], |
6465 }, | 6482 }, |
6466 }], | 6483 }], |
| 6484 ['OS=="linux"', { |
| 6485 'defines': [ |
| 6486 'POSIX', |
| 6487 ], |
| 6488 }], |
6467 ], | 6489 ], |
6468 }, | 6490 }, |
6469 { | 6491 { |
6470 'target_name': 'sync', | 6492 'target_name': 'sync', |
6471 'type': '<(library)', | 6493 'type': '<(library)', |
6472 'sources': [ | 6494 'sources': [ |
6473 '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.cc', | 6495 '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.cc', |
6474 '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.h', | 6496 '<(protoc_out_dir)/chrome/browser/sync/protocol/sync.pb.h', |
6475 'browser/sync/engine/all_status.cc', | 6497 'browser/sync/engine/all_status.cc', |
6476 'browser/sync/engine/all_status.h', | 6498 'browser/sync/engine/all_status.h', |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6560 'browser/sync/util/character_set_converters.h', | 6582 'browser/sync/util/character_set_converters.h', |
6561 'browser/sync/util/character_set_converters_linux.cc', | 6583 'browser/sync/util/character_set_converters_linux.cc', |
6562 'browser/sync/util/character_set_converters_win.cc', | 6584 'browser/sync/util/character_set_converters_win.cc', |
6563 'browser/sync/util/closure.h', | 6585 'browser/sync/util/closure.h', |
6564 'browser/sync/util/compat_file.h', | 6586 'browser/sync/util/compat_file.h', |
6565 'browser/sync/util/compat_file_posix.cc', | 6587 'browser/sync/util/compat_file_posix.cc', |
6566 'browser/sync/util/compat_file_win.cc', | 6588 'browser/sync/util/compat_file_win.cc', |
6567 'browser/sync/util/compat_pthread.h', | 6589 'browser/sync/util/compat_pthread.h', |
6568 'browser/sync/util/crypto_helpers.cc', | 6590 'browser/sync/util/crypto_helpers.cc', |
6569 'browser/sync/util/crypto_helpers.h', | 6591 'browser/sync/util/crypto_helpers.h', |
6570 'browser/sync/util/data_encryption.cc', | |
6571 'browser/sync/util/data_encryption.h', | |
6572 'browser/sync/util/dbgq.h', | 6592 'browser/sync/util/dbgq.h', |
6573 'browser/sync/util/event_sys-inl.h', | 6593 'browser/sync/util/event_sys-inl.h', |
6574 'browser/sync/util/event_sys.h', | 6594 'browser/sync/util/event_sys.h', |
6575 'browser/sync/util/fast_dump.h', | 6595 'browser/sync/util/fast_dump.h', |
6576 'browser/sync/util/highres_timer.h', | 6596 'browser/sync/util/highres_timer.h', |
6577 'browser/sync/util/highres_timer_linux.cc', | 6597 'browser/sync/util/highres_timer_linux.cc', |
6578 'browser/sync/util/highres_timer_linux.h', | 6598 'browser/sync/util/highres_timer_linux.h', |
6579 'browser/sync/util/highres_timer_win.cc', | 6599 'browser/sync/util/highres_timer_win.cc', |
6580 'browser/sync/util/highres_timer_win.h', | 6600 'browser/sync/util/highres_timer_win.h', |
6581 'browser/sync/util/path_helpers.cc', | |
6582 'browser/sync/util/path_helpers.h', | 6601 'browser/sync/util/path_helpers.h', |
6583 'browser/sync/util/path_helpers_linux.cc', | 6602 'browser/sync/util/path_helpers_linux.cc', |
6584 'browser/sync/util/path_helpers_posix.cc', | 6603 'browser/sync/util/path_helpers_posix.cc', |
6585 'browser/sync/util/pthread_helpers.cc', | 6604 'browser/sync/util/pthread_helpers.cc', |
6586 'browser/sync/util/pthread_helpers.h', | 6605 'browser/sync/util/pthread_helpers.h', |
6587 'browser/sync/util/pthread_helpers_fwd.h', | 6606 'browser/sync/util/pthread_helpers_fwd.h', |
6588 'browser/sync/util/query_helpers.cc', | 6607 'browser/sync/util/query_helpers.cc', |
6589 'browser/sync/util/query_helpers.h', | 6608 'browser/sync/util/query_helpers.h', |
6590 'browser/sync/util/row_iterator.h', | 6609 'browser/sync/util/row_iterator.h', |
6591 'browser/sync/util/signin.h', | 6610 'browser/sync/util/signin.h', |
6592 'browser/sync/util/sync_types.h', | 6611 'browser/sync/util/sync_types.h', |
6593 'browser/sync/util/user_settings.cc', | 6612 'browser/sync/util/user_settings.cc', |
6594 'browser/sync/util/user_settings.h', | 6613 'browser/sync/util/user_settings.h', |
6595 'browser/sync/util/user_settings_posix.cc', | 6614 'browser/sync/util/user_settings_posix.cc', |
6596 'browser/sync/util/user_settings_win.cc', | 6615 'browser/sync/util/user_settings_win.cc', |
6597 ], | 6616 ], |
6598 'include_dirs': [ | 6617 'include_dirs': [ |
6599 '..', | 6618 '..', |
6600 '<(protoc_out_dir)', | 6619 '<(protoc_out_dir)', |
6601 ], | 6620 ], |
6602 'defines' : [ | 6621 'defines' : [ |
6603 'COMPILER_MSVC', | |
6604 'COMPILING_SYNCAPI_LIBRARY', | 6622 'COMPILING_SYNCAPI_LIBRARY', |
6605 'SYNC_ENGINE_VERSION_STRING="Unknown"', | 6623 'SYNC_ENGINE_VERSION_STRING="Unknown"', |
6606 '_CRT_SECURE_NO_WARNINGS', | 6624 '_CRT_SECURE_NO_WARNINGS', |
6607 '_USE_32BIT_TIME_T', | 6625 '_USE_32BIT_TIME_T', |
6608 ], | 6626 ], |
6609 'dependencies': [ | 6627 'dependencies': [ |
6610 '../third_party/libjingle/libjingle.gyp:libjingle', | 6628 '../third_party/libjingle/libjingle.gyp:libjingle', |
6611 '../third_party/protobuf2/protobuf.gyp:protobuf', | 6629 '../third_party/protobuf2/protobuf.gyp:protobuf', |
6612 'sync_proto', | 6630 'sync_proto', |
6613 ], | 6631 ], |
6614 'conditions': [ | 6632 'conditions': [ |
6615 ['OS=="win"', { | 6633 ['OS=="win"', { |
| 6634 'sources' : [ |
| 6635 'browser/sync/util/data_encryption.cc', |
| 6636 'browser/sync/util/data_encryption.h', |
| 6637 'browser/sync/util/path_helpers.cc', |
| 6638 ], |
| 6639 'defines' : [ |
| 6640 'COMPILER_MSVC', |
| 6641 ], |
6616 'dependencies': [ | 6642 'dependencies': [ |
6617 '../third_party/pthreads-win32/pthreads.gyp:pthreads', | 6643 '../third_party/pthreads-win32/pthreads.gyp:pthreads', |
6618 ], | 6644 ], |
6619 }], | 6645 }], |
| 6646 ['OS=="linux"', { |
| 6647 'defines': [ |
| 6648 'POSIX', |
| 6649 ], |
| 6650 }], |
6620 ], | 6651 ], |
6621 }, | 6652 }, |
6622 ], # targets when chrome_personalization==1 and use_syncapi_stub==0 | 6653 ], # targets when chrome_personalization==1 and use_syncapi_stub==0 |
6623 }], | 6654 }], |
6624 ], # 'conditions' | 6655 ], # 'conditions' |
6625 } | 6656 } |
OLD | NEW |