| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 '../views/view_unittest.cc', | 99 '../views/view_unittest.cc', |
| 100 '../views/focus/focus_manager_unittest.cc', | 100 '../views/focus/focus_manager_unittest.cc', |
| 101 ], | 101 ], |
| 102 'views_unit_tests_sources_win_specific': [ | 102 'views_unit_tests_sources_win_specific': [ |
| 103 # TODO(jcampan): make the following tests work on Linux. | 103 # TODO(jcampan): make the following tests work on Linux. |
| 104 '../views/controls/label_unittest.cc', | 104 '../views/controls/label_unittest.cc', |
| 105 '../views/controls/table/table_view_unittest.cc', | 105 '../views/controls/table/table_view_unittest.cc', |
| 106 '../views/grid_layout_unittest.cc', | 106 '../views/grid_layout_unittest.cc', |
| 107 ], | 107 ], |
| 108 'conditions': [ | 108 'conditions': [ |
| 109 ['OS=="win"', { |
| 110 'nacl_defines': [ |
| 111 'NACL_WINDOWS=1', |
| 112 'NACL_LINUX=0', |
| 113 'NACL_OSX=0', |
| 114 ], |
| 115 },], |
| 116 ['OS=="linux"', { |
| 117 'nacl_defines': [ |
| 118 'NACL_WINDOWS=0', |
| 119 'NACL_LINUX=1', |
| 120 'NACL_OSX=0', |
| 121 ], |
| 122 },], |
| 109 ['OS=="mac"', { | 123 ['OS=="mac"', { |
| 124 'nacl_defines': [ |
| 125 'NACL_WINDOWS=0', |
| 126 'NACL_LINUX=0', |
| 127 'NACL_OSX=1', |
| 128 ], |
| 110 'conditions': [ | 129 'conditions': [ |
| 111 ['branding=="Chrome"', { | 130 ['branding=="Chrome"', { |
| 112 'mac_bundle_id': 'com.google.Chrome', | 131 'mac_bundle_id': 'com.google.Chrome', |
| 113 'mac_creator': 'rimZ', | 132 'mac_creator': 'rimZ', |
| 114 }, { # else: branding!="Chrome" | 133 }, { # else: branding!="Chrome" |
| 115 'mac_bundle_id': 'org.chromium.Chromium', | 134 'mac_bundle_id': 'org.chromium.Chromium', |
| 116 'mac_creator': 'Cr24', | 135 'mac_creator': 'Cr24', |
| 117 }], # branding | 136 }], # branding |
| 118 ], # conditions | 137 ], # conditions |
| 119 }], # OS=="mac" | 138 }], # OS=="mac" |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 'common/render_messages.h', | 575 'common/render_messages.h', |
| 557 'common/render_messages_internal.h', | 576 'common/render_messages_internal.h', |
| 558 'common/renderer_preferences.h', | 577 'common/renderer_preferences.h', |
| 559 'common/resource_dispatcher.cc', | 578 'common/resource_dispatcher.cc', |
| 560 'common/resource_dispatcher.h', | 579 'common/resource_dispatcher.h', |
| 561 'common/result_codes.h', | 580 'common/result_codes.h', |
| 562 'common/sandbox_init_wrapper.cc', | 581 'common/sandbox_init_wrapper.cc', |
| 563 'common/sandbox_init_wrapper.h', | 582 'common/sandbox_init_wrapper.h', |
| 564 'common/security_filter_peer.cc', | 583 'common/security_filter_peer.cc', |
| 565 'common/security_filter_peer.h', | 584 'common/security_filter_peer.h', |
| 585 'common/nacl_messages.h', |
| 586 'common/nacl_messages_internal.h', |
| 566 'common/sqlite_compiled_statement.cc', | 587 'common/sqlite_compiled_statement.cc', |
| 567 'common/sqlite_compiled_statement.h', | 588 'common/sqlite_compiled_statement.h', |
| 568 'common/sqlite_utils.cc', | 589 'common/sqlite_utils.cc', |
| 569 'common/sqlite_utils.h', | 590 'common/sqlite_utils.h', |
| 570 'common/task_queue.cc', | 591 'common/task_queue.cc', |
| 571 'common/task_queue.h', | 592 'common/task_queue.h', |
| 572 'common/temp_scaffolding_stubs.cc', | 593 'common/temp_scaffolding_stubs.cc', |
| 573 'common/temp_scaffolding_stubs.h', | 594 'common/temp_scaffolding_stubs.h', |
| 574 'common/thumbnail_score.cc', | 595 'common/thumbnail_score.cc', |
| 575 'common/thumbnail_score.h', | 596 'common/thumbnail_score.h', |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 '../third_party/icu/icu.gyp:icuuc', | 689 '../third_party/icu/icu.gyp:icuuc', |
| 669 '../third_party/libxml/libxml.gyp:libxml', | 690 '../third_party/libxml/libxml.gyp:libxml', |
| 670 '../third_party/npapi/npapi.gyp:npapi', | 691 '../third_party/npapi/npapi.gyp:npapi', |
| 671 '../third_party/hunspell/hunspell.gyp:hunspell', | 692 '../third_party/hunspell/hunspell.gyp:hunspell', |
| 672 '../webkit/webkit.gyp:glue', | 693 '../webkit/webkit.gyp:glue', |
| 673 ], | 694 ], |
| 674 'include_dirs': [ | 695 'include_dirs': [ |
| 675 '..', | 696 '..', |
| 676 '<(INTERMEDIATE_DIR)', | 697 '<(INTERMEDIATE_DIR)', |
| 677 ], | 698 ], |
| 699 'defines': [ |
| 700 '<@(nacl_defines)', |
| 701 ], |
| 678 'sources': [ | 702 'sources': [ |
| 679 # All .cc, .h, .m, and .mm files under browser except for tests and | 703 # All .cc, .h, .m, and .mm files under browser except for tests and |
| 680 # mocks. | 704 # mocks. |
| 681 'browser/alternate_nav_url_fetcher.cc', | 705 'browser/alternate_nav_url_fetcher.cc', |
| 682 'browser/alternate_nav_url_fetcher.h', | 706 'browser/alternate_nav_url_fetcher.h', |
| 683 'browser/app_controller_mac.h', | 707 'browser/app_controller_mac.h', |
| 684 'browser/app_controller_mac.mm', | 708 'browser/app_controller_mac.mm', |
| 685 'browser/app_modal_dialog.cc', | 709 'browser/app_modal_dialog.cc', |
| 686 'browser/app_modal_dialog.h', | 710 'browser/app_modal_dialog.h', |
| 687 'browser/app_modal_dialog_gtk.cc', | 711 'browser/app_modal_dialog_gtk.cc', |
| (...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1776 'browser/search_engines/template_url_fetcher.cc', | 1800 'browser/search_engines/template_url_fetcher.cc', |
| 1777 'browser/search_engines/template_url_fetcher.h', | 1801 'browser/search_engines/template_url_fetcher.h', |
| 1778 'browser/search_engines/template_url_model.cc', | 1802 'browser/search_engines/template_url_model.cc', |
| 1779 'browser/search_engines/template_url_model.h', | 1803 'browser/search_engines/template_url_model.h', |
| 1780 'browser/search_engines/template_url_parser.cc', | 1804 'browser/search_engines/template_url_parser.cc', |
| 1781 'browser/search_engines/template_url_parser.h', | 1805 'browser/search_engines/template_url_parser.h', |
| 1782 'browser/search_engines/template_url_prepopulate_data.cc', | 1806 'browser/search_engines/template_url_prepopulate_data.cc', |
| 1783 'browser/search_engines/template_url_prepopulate_data.h', | 1807 'browser/search_engines/template_url_prepopulate_data.h', |
| 1784 'browser/search_engines/template_url_table_model.cc', | 1808 'browser/search_engines/template_url_table_model.cc', |
| 1785 'browser/search_engines/template_url_table_model.h', | 1809 'browser/search_engines/template_url_table_model.h', |
| 1810 'browser/nacl_process_host.cc', |
| 1811 'browser/nacl_process_host.h', |
| 1786 'browser/session_startup_pref.cc', | 1812 'browser/session_startup_pref.cc', |
| 1787 'browser/session_startup_pref.h', | 1813 'browser/session_startup_pref.h', |
| 1788 'browser/sessions/base_session_service.cc', | 1814 'browser/sessions/base_session_service.cc', |
| 1789 'browser/sessions/base_session_service.h', | 1815 'browser/sessions/base_session_service.h', |
| 1790 'browser/sessions/session_backend.cc', | 1816 'browser/sessions/session_backend.cc', |
| 1791 'browser/sessions/session_backend.h', | 1817 'browser/sessions/session_backend.h', |
| 1792 'browser/sessions/session_command.cc', | 1818 'browser/sessions/session_command.cc', |
| 1793 'browser/sessions/session_command.h', | 1819 'browser/sessions/session_command.h', |
| 1794 'browser/sessions/session_id.cc', | 1820 'browser/sessions/session_id.cc', |
| 1795 'browser/sessions/session_id.h', | 1821 'browser/sessions/session_id.h', |
| (...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2814 '_CRT_SECURE_NO_DEPRECATE', | 2840 '_CRT_SECURE_NO_DEPRECATE', |
| 2815 '_SCL_SECURE_NO_DEPRECATE', | 2841 '_SCL_SECURE_NO_DEPRECATE', |
| 2816 ], | 2842 ], |
| 2817 'include_dirs': [ | 2843 'include_dirs': [ |
| 2818 'third_party/wtl/include', | 2844 'third_party/wtl/include', |
| 2819 ], | 2845 ], |
| 2820 },], | 2846 },], |
| 2821 ], | 2847 ], |
| 2822 }, | 2848 }, |
| 2823 { | 2849 { |
| 2850 'target_name': 'nacl', |
| 2851 'type': '<(library)', |
| 2852 'msvs_guid': '83E86DAF-5763-4711-AD34-5FDAE395560C', |
| 2853 'dependencies': [ |
| 2854 'common', |
| 2855 'chrome_resources', |
| 2856 'chrome_strings', |
| 2857 '../third_party/npapi/npapi.gyp:npapi', |
| 2858 '../webkit/webkit.gyp:glue', |
| 2859 '../native_client/src/trusted/plugin/plugin_chrome.gyp:npGoogleNaClPlugi
nChrome', |
| 2860 '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel', |
| 2861 '../native_client/src/trusted/validator_x86/validator_x86.gyp:ncvalidate
', |
| 2862 '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:plat
form_qual_lib', |
| 2863 ], |
| 2864 'include_dirs': [ |
| 2865 '<(INTERMEDIATE_DIR)', |
| 2866 ], |
| 2867 'defines': [ |
| 2868 'NACL_BLOCK_SHIFT=5', |
| 2869 'NACL_BLOCK_SIZE=32', |
| 2870 # TODO(gregoryd): consider getting this from NaCl's common.gypi |
| 2871 'NACL_TARGET_SUBARCH=32', |
| 2872 'NACL_BUILD_SUBARCH=32', |
| 2873 '<@(nacl_defines)', |
| 2874 ], |
| 2875 'sources': [ |
| 2876 # All .cc, .h, .m, and .mm files under nacl except for tests and |
| 2877 # mocks. |
| 2878 'nacl/sel_main.cc', |
| 2879 'nacl/nacl_main.cc', |
| 2880 'nacl/nacl_thread.cc', |
| 2881 'nacl/nacl_thread.h', |
| 2882 ], |
| 2883 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines |
| 2884 'conditions': [ |
| 2885 ['OS=="win"', { |
| 2886 'defines': [ |
| 2887 '__STD_C', |
| 2888 '_CRT_SECURE_NO_DEPRECATE', |
| 2889 '_SCL_SECURE_NO_DEPRECATE', |
| 2890 ], |
| 2891 'include_dirs': [ |
| 2892 'third_party/wtl/include', |
| 2893 ], |
| 2894 },], |
| 2895 ], |
| 2896 }, |
| 2897 { |
| 2824 'target_name': 'renderer', | 2898 'target_name': 'renderer', |
| 2825 'type': '<(library)', | 2899 'type': '<(library)', |
| 2826 'msvs_guid': '9301A569-5D2B-4D11-9332-B1E30AEACB8D', | 2900 'msvs_guid': '9301A569-5D2B-4D11-9332-B1E30AEACB8D', |
| 2827 'dependencies': [ | 2901 'dependencies': [ |
| 2828 'common', | 2902 'common', |
| 2903 'nacl', |
| 2829 'plugin', | 2904 'plugin', |
| 2830 'chrome_resources', | 2905 'chrome_resources', |
| 2831 'chrome_strings', | 2906 'chrome_strings', |
| 2832 '../printing/printing.gyp:printing', | 2907 '../printing/printing.gyp:printing', |
| 2833 '../skia/skia.gyp:skia', | 2908 '../skia/skia.gyp:skia', |
| 2834 '../third_party/icu/icu.gyp:icui18n', | 2909 '../third_party/icu/icu.gyp:icui18n', |
| 2835 '../third_party/icu/icu.gyp:icuuc', | 2910 '../third_party/icu/icu.gyp:icuuc', |
| 2836 '../third_party/npapi/npapi.gyp:npapi', | 2911 '../third_party/npapi/npapi.gyp:npapi', |
| 2837 '../webkit/webkit.gyp:glue', | 2912 '../webkit/webkit.gyp:glue', |
| 2838 '../webkit/webkit.gyp:webkit', | 2913 '../webkit/webkit.gyp:webkit', |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3307 'CHROMIUM_SHORT_NAME': '<(branding)', | 3382 'CHROMIUM_SHORT_NAME': '<(branding)', |
| 3308 }, | 3383 }, |
| 3309 'mac_bundle_resources': [ | 3384 'mac_bundle_resources': [ |
| 3310 '<(PRODUCT_DIR)/<(mac_product_name) Helper.app', | 3385 '<(PRODUCT_DIR)/<(mac_product_name) Helper.app', |
| 3311 ], | 3386 ], |
| 3312 'dependencies': [ | 3387 'dependencies': [ |
| 3313 'helper_app', | 3388 'helper_app', |
| 3314 'infoplist_strings_tool', | 3389 'infoplist_strings_tool', |
| 3315 # Bring in pdfsqueeze and run it on all pdfs | 3390 # Bring in pdfsqueeze and run it on all pdfs |
| 3316 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', | 3391 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', |
| 3392 # This library provides the real implementation for NaClSyscallSeg |
| 3393 '../native_client/src/trusted/service_runtime/arch/x86_32/service_ru
ntime_x86_32.gyp:service_runtime_x86_32_chrome' |
| 3317 ], | 3394 ], |
| 3318 'rules': [ | 3395 'rules': [ |
| 3319 { | 3396 { |
| 3320 'rule_name': 'pdfsqueeze', | 3397 'rule_name': 'pdfsqueeze', |
| 3321 'extension': 'pdf', | 3398 'extension': 'pdf', |
| 3322 'inputs': [ | 3399 'inputs': [ |
| 3323 '<(PRODUCT_DIR)/pdfsqueeze', | 3400 '<(PRODUCT_DIR)/pdfsqueeze', |
| 3324 ], | 3401 ], |
| 3325 'outputs': [ | 3402 'outputs': [ |
| 3326 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', | 3403 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', |
| (...skipping 3262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6589 'dependencies': [ | 6666 'dependencies': [ |
| 6590 '../third_party/pthreads-win32/pthreads.gyp:pthreads', | 6667 '../third_party/pthreads-win32/pthreads.gyp:pthreads', |
| 6591 ], | 6668 ], |
| 6592 }], | 6669 }], |
| 6593 ], | 6670 ], |
| 6594 }, | 6671 }, |
| 6595 ], # targets when chrome_personalization==1 and use_syncapi_stub==0 | 6672 ], # targets when chrome_personalization==1 and use_syncapi_stub==0 |
| 6596 }], | 6673 }], |
| 6597 ], # 'conditions' | 6674 ], # 'conditions' |
| 6598 } | 6675 } |
| OLD | NEW |