| 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 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'base', | 11 'target_name': 'base', |
| 12 'type': '<(library)', | 12 'type': '<(library)', |
| 13 'dependencies': [ | |
| 14 '../third_party/icu/icu.gyp:icui18n', | |
| 15 '../third_party/icu/icu.gyp:icuuc', | |
| 16 ], | |
| 17 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165', | 13 'msvs_guid': '1832A374-8A74-4F9E-B536-69A699B3E165', |
| 18 'sources': [ | 14 'sources': [ |
| 19 '../build/build_config.h', | 15 '../build/build_config.h', |
| 20 'crypto/cssm_init.cc', | 16 'crypto/cssm_init.cc', |
| 21 'crypto/cssm_init.h', | 17 'crypto/cssm_init.h', |
| 22 'crypto/rsa_private_key.h', | 18 'crypto/rsa_private_key.h', |
| 23 'crypto/rsa_private_key.cc', | 19 'crypto/rsa_private_key.cc', |
| 24 'crypto/rsa_private_key_mac.cc', | 20 'crypto/rsa_private_key_mac.cc', |
| 25 'crypto/rsa_private_key_nss.cc', | 21 'crypto/rsa_private_key_nss.cc', |
| 26 'crypto/rsa_private_key_win.cc', | 22 'crypto/rsa_private_key_win.cc', |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 'file_util_linux.cc', | 120 'file_util_linux.cc', |
| 125 'file_util_mac.mm', | 121 'file_util_mac.mm', |
| 126 'file_util_posix.cc', | 122 'file_util_posix.cc', |
| 127 'file_util_win.cc', | 123 'file_util_win.cc', |
| 128 'file_version_info.cc', | 124 'file_version_info.cc', |
| 129 'file_version_info.h', | 125 'file_version_info.h', |
| 130 'file_version_info_mac.mm', | 126 'file_version_info_mac.mm', |
| 131 'fix_wp64.h', | 127 'fix_wp64.h', |
| 132 'float_util.h', | 128 'float_util.h', |
| 133 'foundation_utils_mac.h', | 129 'foundation_utils_mac.h', |
| 130 'gfx/point.cc', |
| 131 'gfx/point.h', |
| 132 'gfx/rect.cc', |
| 133 'gfx/rect.h', |
| 134 'gfx/size.cc', |
| 135 'gfx/size.h', |
| 134 'global_descriptors_posix.h', | 136 'global_descriptors_posix.h', |
| 135 'global_descriptors_posix.cc', | 137 'global_descriptors_posix.cc', |
| 136 'hash_tables.h', | 138 'hash_tables.h', |
| 137 'histogram.cc', | 139 'histogram.cc', |
| 138 'histogram.h', | 140 'histogram.h', |
| 139 'hmac.h', | 141 'hmac.h', |
| 140 'hmac_mac.cc', | 142 'hmac_mac.cc', |
| 141 'hmac_nss.cc', | 143 'hmac_nss.cc', |
| 142 'hmac_win.cc', | 144 'hmac_win.cc', |
| 143 'i18n/file_util_icu.cc', | |
| 144 'i18n/file_util_icu.h', | |
| 145 'i18n/icu_string_conversions.cc', | |
| 146 'i18n/icu_string_conversions.h', | |
| 147 'i18n/icu_util.cc', | |
| 148 'i18n/icu_util.h', | |
| 149 'i18n/number_formatting.cc', | |
| 150 'i18n/number_formatting.h', | |
| 151 'i18n/time_formatting.cc', | |
| 152 'i18n/time_formatting.h', | |
| 153 'i18n/word_iterator.cc', | |
| 154 'i18n/word_iterator.h', | |
| 155 'iat_patch.cc', | 145 'iat_patch.cc', |
| 156 'iat_patch.h', | 146 'iat_patch.h', |
| 157 'id_map.h', | 147 'id_map.h', |
| 158 'image_util.cc', | 148 'image_util.cc', |
| 159 'image_util.h', | 149 'image_util.h', |
| 160 'json_reader.cc', | 150 'json_reader.cc', |
| 161 'json_reader.h', | 151 'json_reader.h', |
| 162 'json_writer.cc', | 152 'json_writer.cc', |
| 163 'json_writer.h', | 153 'json_writer.h', |
| 164 'keyboard_code_conversion_gtk.cc', | 154 'keyboard_code_conversion_gtk.cc', |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 ], | 354 ], |
| 365 'direct_dependent_settings': { | 355 'direct_dependent_settings': { |
| 366 'include_dirs': [ | 356 'include_dirs': [ |
| 367 '..', | 357 '..', |
| 368 ], | 358 ], |
| 369 }, | 359 }, |
| 370 # These warnings are needed for the files in third_party\dmg_fp. | 360 # These warnings are needed for the files in third_party\dmg_fp. |
| 371 'msvs_disabled_warnings': [ | 361 'msvs_disabled_warnings': [ |
| 372 4244, 4554, 4018, 4102, | 362 4244, 4554, 4018, 4102, |
| 373 ], | 363 ], |
| 364 'mac_framework_dirs': [ |
| 365 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram
eworks', |
| 366 ], |
| 374 'conditions': [ | 367 'conditions': [ |
| 375 [ 'OS == "linux" or OS == "freebsd"', { | 368 [ 'OS == "linux" or OS == "freebsd"', { |
| 376 'variables' : { | 369 'variables' : { |
| 377 'linux_use_tcmalloc%': 0, | 370 'linux_use_tcmalloc%': 0, |
| 378 }, | 371 }, |
| 379 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'], | 372 'sources/': [ ['exclude', '_(mac|win|chromeos)\\.cc$'], |
| 380 ['exclude', '\\.mm?$' ] ], | 373 ['exclude', '\\.mm?$' ] ], |
| 381 'conditions': [ | 374 'conditions': [ |
| 382 [ 'chromeos==1', { | 375 [ 'chromeos==1', { |
| 383 'sources/': [ ['include', '_chromeos\\.cc$'] ] | 376 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 'registry.cc', | 500 'registry.cc', |
| 508 'resource_util.cc', | 501 'resource_util.cc', |
| 509 'win_util.cc', | 502 'win_util.cc', |
| 510 'wmi_util.cc', | 503 'wmi_util.cc', |
| 511 ], | 504 ], |
| 512 }, | 505 }, |
| 513 ], | 506 ], |
| 514 ], | 507 ], |
| 515 }, | 508 }, |
| 516 { | 509 { |
| 517 'target_name': 'base_gfx', | 510 'target_name': 'base_i18n', |
| 518 'type': '<(library)', | 511 'type': '<(library)', |
| 519 'msvs_guid': 'A508ADD3-CECE-4E0F-8448-2F5E454DF551', | 512 'msvs_guid': '968F3222-9798-4d21-BE08-15ECB5EF2994', |
| 520 'sources': [ | |
| 521 'gfx/point.cc', | |
| 522 'gfx/point.h', | |
| 523 'gfx/rect.cc', | |
| 524 'gfx/rect.h', | |
| 525 'gfx/size.cc', | |
| 526 'gfx/size.h', | |
| 527 ], | |
| 528 'mac_framework_dirs': [ | |
| 529 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram
eworks', | |
| 530 ], | |
| 531 'dependencies': [ | 513 'dependencies': [ |
| 532 'base', | 514 'base', |
| 515 '../third_party/icu/icu.gyp:icui18n', |
| 516 '../third_party/icu/icu.gyp:icuuc', |
| 533 ], | 517 ], |
| 534 'export_dependent_settings': [ | 518 'export_dependent_settings': [ |
| 535 'base', | 519 'base', |
| 536 ], | 520 ], |
| 521 'sources': [ |
| 522 'i18n/file_util_icu.cc', |
| 523 'i18n/file_util_icu.h', |
| 524 'i18n/icu_string_conversions.cc', |
| 525 'i18n/icu_string_conversions.h', |
| 526 'i18n/icu_util.cc', |
| 527 'i18n/icu_util.h', |
| 528 'i18n/number_formatting.cc', |
| 529 'i18n/number_formatting.h', |
| 530 'i18n/time_formatting.cc', |
| 531 'i18n/time_formatting.h', |
| 532 'i18n/word_iterator.cc', |
| 533 'i18n/word_iterator.h', |
| 534 ], |
| 537 'conditions': [ | 535 'conditions': [ |
| 538 ['OS == "linux" or OS == "freebsd"', { | |
| 539 'dependencies': [ | |
| 540 '../build/linux/system.gyp:gtk', | |
| 541 ], | |
| 542 }], | |
| 543 [ 'OS != "linux" and OS != "freebsd"', { 'sources!': [ | |
| 544 'gfx/gtk_native_view_id_manager.cc', | |
| 545 'gfx/native_widget_types_gtk.cc', | |
| 546 ], | |
| 547 }], | |
| 548 ], | 536 ], |
| 549 }, | 537 }, |
| 550 { | 538 { |
| 551 'target_name': 'base_unittests', | 539 'target_name': 'base_unittests', |
| 552 'type': 'executable', | 540 'type': 'executable', |
| 553 'msvs_guid': '27A30967-4BBA-48D1-8522-CDE95F7B1CEC', | 541 'msvs_guid': '27A30967-4BBA-48D1-8522-CDE95F7B1CEC', |
| 554 'sources': [ | 542 'sources': [ |
| 555 # Infrastructure files. | 543 # Infrastructure files. |
| 556 'multiprocess_test.h', | 544 'multiprocess_test.h', |
| 557 'test/run_all_unittests.cc', | 545 'test/run_all_unittests.cc', |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 'wmi_util_unittest.cc', | 625 'wmi_util_unittest.cc', |
| 638 'worker_pool_unittest.cc', | 626 'worker_pool_unittest.cc', |
| 639 ], | 627 ], |
| 640 'include_dirs': [ | 628 'include_dirs': [ |
| 641 # word_iterator.h (used by word_iterator_unittest.cc) leaks an ICU | 629 # word_iterator.h (used by word_iterator_unittest.cc) leaks an ICU |
| 642 # #include for unicode/uchar.h. This should probably be cleaned up. | 630 # #include for unicode/uchar.h. This should probably be cleaned up. |
| 643 '../third_party/icu/public/common', | 631 '../third_party/icu/public/common', |
| 644 ], | 632 ], |
| 645 'dependencies': [ | 633 'dependencies': [ |
| 646 'base', | 634 'base', |
| 647 'base_gfx', | 635 'base_i18n', |
| 648 '../testing/gmock.gyp:gmock', | 636 '../testing/gmock.gyp:gmock', |
| 649 '../testing/gtest.gyp:gtest', | 637 '../testing/gtest.gyp:gtest', |
| 650 ], | 638 ], |
| 651 'conditions': [ | 639 'conditions': [ |
| 652 ['OS == "linux" or OS == "freebsd"', { | 640 ['OS == "linux" or OS == "freebsd"', { |
| 653 'sources!': [ | 641 'sources!': [ |
| 654 'file_version_info_unittest.cc', | 642 'file_version_info_unittest.cc', |
| 655 'worker_pool_linux_unittest.cc', | 643 'worker_pool_linux_unittest.cc', |
| 656 ], | 644 ], |
| 657 'dependencies': [ | 645 'dependencies': [ |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 ], | 825 ], |
| 838 }], | 826 }], |
| 839 ], | 827 ], |
| 840 } | 828 } |
| 841 | 829 |
| 842 # Local Variables: | 830 # Local Variables: |
| 843 # tab-width:2 | 831 # tab-width:2 |
| 844 # indent-tabs-mode:nil | 832 # indent-tabs-mode:nil |
| 845 # End: | 833 # End: |
| 846 # vim: set expandtab tabstop=2 shiftwidth=2: | 834 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |