| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 '../views/view_unittest.cc', | 101 '../views/view_unittest.cc', |
| 102 '../views/focus/focus_manager_unittest.cc', | 102 '../views/focus/focus_manager_unittest.cc', |
| 103 '../views/controls/label_unittest.cc', | 103 '../views/controls/label_unittest.cc', |
| 104 ], | 104 ], |
| 105 'views_unit_tests_sources_win_specific': [ | 105 'views_unit_tests_sources_win_specific': [ |
| 106 # TODO(jcampan): make the following tests work on Linux. | 106 # TODO(jcampan): make the following tests work on Linux. |
| 107 '../views/controls/table/table_view_unittest.cc', | 107 '../views/controls/table/table_view_unittest.cc', |
| 108 '../views/grid_layout_unittest.cc', | 108 '../views/grid_layout_unittest.cc', |
| 109 ], | 109 ], |
| 110 'conditions': [ | 110 'conditions': [ |
| 111 ['OS=="win"', { | |
| 112 'nacl_defines': [ | |
| 113 'NACL_WINDOWS=1', | |
| 114 'NACL_LINUX=0', | |
| 115 'NACL_OSX=0', | |
| 116 ], | |
| 117 },], | |
| 118 ['OS=="linux"', { | |
| 119 'nacl_defines': [ | |
| 120 'NACL_WINDOWS=0', | |
| 121 'NACL_LINUX=1', | |
| 122 'NACL_OSX=0', | |
| 123 ], | |
| 124 },], | |
| 125 ['OS=="mac"', { | 111 ['OS=="mac"', { |
| 126 'nacl_defines': [ | |
| 127 'NACL_WINDOWS=0', | |
| 128 'NACL_LINUX=0', | |
| 129 'NACL_OSX=1', | |
| 130 ], | |
| 131 'conditions': [ | 112 'conditions': [ |
| 132 ['branding=="Chrome"', { | 113 ['branding=="Chrome"', { |
| 133 'mac_bundle_id': 'com.google.Chrome', | 114 'mac_bundle_id': 'com.google.Chrome', |
| 134 'mac_creator': 'rimZ', | 115 'mac_creator': 'rimZ', |
| 135 }, { # else: branding!="Chrome" | 116 }, { # else: branding!="Chrome" |
| 136 'mac_bundle_id': 'org.chromium.Chromium', | 117 'mac_bundle_id': 'org.chromium.Chromium', |
| 137 'mac_creator': 'Cr24', | 118 'mac_creator': 'Cr24', |
| 138 }], # branding | 119 }], # branding |
| 139 ], # conditions | 120 ], # conditions |
| 140 }], # OS=="mac" | 121 }], # OS=="mac" |
| 141 ['OS=="win"', { | 122 ['OS=="win"', { |
| 142 # Whether or not browser sync code is built in. | 123 # Whether or not browser sync code is built in. |
| 143 'chrome_personalization%': 1, | 124 'chrome_personalization%': 1, |
| 144 # Used to build a stub (no-op) syncapi engine. | 125 # Used to build a stub (no-op) syncapi engine. |
| 145 'use_syncapi_stub%': 0, | 126 'use_syncapi_stub%': 0, |
| 146 }, { | 127 }, { |
| 147 'chrome_personalization%': 0, | 128 'chrome_personalization%': 0, |
| 148 'use_syncapi_stub%': 1, | 129 'use_syncapi_stub%': 1, |
| 149 }], # OS=="win" | 130 }], # OS=="win" |
| 150 ['target_arch=="ia32"', { | |
| 151 'nacl_defines': [ | |
| 152 # TODO(gregoryd): consider getting this from NaCl's common.gypi | |
| 153 'NACL_TARGET_SUBARCH=32', | |
| 154 'NACL_BUILD_SUBARCH=32', | |
| 155 ], | |
| 156 }], | |
| 157 ['target_arch=="x64"', { | |
| 158 'nacl_defines': [ | |
| 159 # TODO(gregoryd): consider getting this from NaCl's common.gypi | |
| 160 'NACL_TARGET_SUBARCH=64', | |
| 161 'NACL_BUILD_SUBARCH=64', | |
| 162 ], | |
| 163 }], | |
| 164 ], # conditions | 131 ], # conditions |
| 165 }, # variables | 132 }, # variables |
| 166 'target_defaults': { | 133 'target_defaults': { |
| 167 'sources/': [ | 134 'sources/': [ |
| 168 ['exclude', '/(cocoa|gtk|win)/'], | 135 ['exclude', '/(cocoa|gtk|win)/'], |
| 169 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|views|x)(_unittest)?\\.(
cc|mm?)$'], | 136 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|views|x)(_unittest)?\\.(
cc|mm?)$'], |
| 170 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], | 137 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], |
| 171 ], | 138 ], |
| 172 'conditions': [ | 139 'conditions': [ |
| 173 ['OS=="linux" or OS=="freebsd"', {'sources/': [ | 140 ['OS=="linux" or OS=="freebsd"', {'sources/': [ |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 'common/render_messages.h', | 583 'common/render_messages.h', |
| 617 'common/render_messages_internal.h', | 584 'common/render_messages_internal.h', |
| 618 'common/renderer_preferences.h', | 585 'common/renderer_preferences.h', |
| 619 'common/resource_dispatcher.cc', | 586 'common/resource_dispatcher.cc', |
| 620 'common/resource_dispatcher.h', | 587 'common/resource_dispatcher.h', |
| 621 'common/result_codes.h', | 588 'common/result_codes.h', |
| 622 'common/sandbox_init_wrapper.cc', | 589 'common/sandbox_init_wrapper.cc', |
| 623 'common/sandbox_init_wrapper.h', | 590 'common/sandbox_init_wrapper.h', |
| 624 'common/security_filter_peer.cc', | 591 'common/security_filter_peer.cc', |
| 625 'common/security_filter_peer.h', | 592 'common/security_filter_peer.h', |
| 626 'common/nacl_messages.h', | |
| 627 'common/nacl_messages_internal.h', | |
| 628 'common/sqlite_compiled_statement.cc', | 593 'common/sqlite_compiled_statement.cc', |
| 629 'common/sqlite_compiled_statement.h', | 594 'common/sqlite_compiled_statement.h', |
| 630 'common/sqlite_utils.cc', | 595 'common/sqlite_utils.cc', |
| 631 'common/sqlite_utils.h', | 596 'common/sqlite_utils.h', |
| 632 'common/task_queue.cc', | 597 'common/task_queue.cc', |
| 633 'common/task_queue.h', | 598 'common/task_queue.h', |
| 634 'common/temp_scaffolding_stubs.cc', | 599 'common/temp_scaffolding_stubs.cc', |
| 635 'common/temp_scaffolding_stubs.h', | 600 'common/temp_scaffolding_stubs.h', |
| 636 'common/thumbnail_score.cc', | 601 'common/thumbnail_score.cc', |
| 637 'common/thumbnail_score.h', | 602 'common/thumbnail_score.h', |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 '../third_party/libxml/libxml.gyp:libxml', | 697 '../third_party/libxml/libxml.gyp:libxml', |
| 733 '../third_party/npapi/npapi.gyp:npapi', | 698 '../third_party/npapi/npapi.gyp:npapi', |
| 734 '../third_party/hunspell/hunspell.gyp:hunspell', | 699 '../third_party/hunspell/hunspell.gyp:hunspell', |
| 735 '../webkit/webkit.gyp:database', | 700 '../webkit/webkit.gyp:database', |
| 736 '../webkit/webkit.gyp:glue', | 701 '../webkit/webkit.gyp:glue', |
| 737 ], | 702 ], |
| 738 'include_dirs': [ | 703 'include_dirs': [ |
| 739 '..', | 704 '..', |
| 740 '<(INTERMEDIATE_DIR)', | 705 '<(INTERMEDIATE_DIR)', |
| 741 ], | 706 ], |
| 742 'defines': [ | |
| 743 '<@(nacl_defines)', | |
| 744 ], | |
| 745 'sources': [ | 707 'sources': [ |
| 746 # All .cc, .h, .m, and .mm files under browser except for tests and | 708 # All .cc, .h, .m, and .mm files under browser except for tests and |
| 747 # mocks. | 709 # mocks. |
| 748 'browser/alternate_nav_url_fetcher.cc', | 710 'browser/alternate_nav_url_fetcher.cc', |
| 749 'browser/alternate_nav_url_fetcher.h', | 711 'browser/alternate_nav_url_fetcher.h', |
| 750 'browser/app_controller_mac.h', | 712 'browser/app_controller_mac.h', |
| 751 'browser/app_controller_mac.mm', | 713 'browser/app_controller_mac.mm', |
| 752 'browser/app_modal_dialog.cc', | 714 'browser/app_modal_dialog.cc', |
| 753 'browser/app_modal_dialog.h', | 715 'browser/app_modal_dialog.h', |
| 754 'browser/app_modal_dialog_gtk.cc', | 716 'browser/app_modal_dialog_gtk.cc', |
| (...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1861 'browser/search_engines/template_url_fetcher.cc', | 1823 'browser/search_engines/template_url_fetcher.cc', |
| 1862 'browser/search_engines/template_url_fetcher.h', | 1824 'browser/search_engines/template_url_fetcher.h', |
| 1863 'browser/search_engines/template_url_model.cc', | 1825 'browser/search_engines/template_url_model.cc', |
| 1864 'browser/search_engines/template_url_model.h', | 1826 'browser/search_engines/template_url_model.h', |
| 1865 'browser/search_engines/template_url_parser.cc', | 1827 'browser/search_engines/template_url_parser.cc', |
| 1866 'browser/search_engines/template_url_parser.h', | 1828 'browser/search_engines/template_url_parser.h', |
| 1867 'browser/search_engines/template_url_prepopulate_data.cc', | 1829 'browser/search_engines/template_url_prepopulate_data.cc', |
| 1868 'browser/search_engines/template_url_prepopulate_data.h', | 1830 'browser/search_engines/template_url_prepopulate_data.h', |
| 1869 'browser/search_engines/template_url_table_model.cc', | 1831 'browser/search_engines/template_url_table_model.cc', |
| 1870 'browser/search_engines/template_url_table_model.h', | 1832 'browser/search_engines/template_url_table_model.h', |
| 1871 'browser/nacl_process_host.cc', | |
| 1872 'browser/nacl_process_host.h', | |
| 1873 'browser/session_startup_pref.cc', | 1833 'browser/session_startup_pref.cc', |
| 1874 'browser/session_startup_pref.h', | 1834 'browser/session_startup_pref.h', |
| 1875 'browser/sessions/base_session_service.cc', | 1835 'browser/sessions/base_session_service.cc', |
| 1876 'browser/sessions/base_session_service.h', | 1836 'browser/sessions/base_session_service.h', |
| 1877 'browser/sessions/session_backend.cc', | 1837 'browser/sessions/session_backend.cc', |
| 1878 'browser/sessions/session_backend.h', | 1838 'browser/sessions/session_backend.h', |
| 1879 'browser/sessions/session_command.cc', | 1839 'browser/sessions/session_command.cc', |
| 1880 'browser/sessions/session_command.h', | 1840 'browser/sessions/session_command.h', |
| 1881 'browser/sessions/session_id.cc', | 1841 'browser/sessions/session_id.cc', |
| 1882 'browser/sessions/session_id.h', | 1842 'browser/sessions/session_id.h', |
| (...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2905 '_CRT_SECURE_NO_DEPRECATE', | 2865 '_CRT_SECURE_NO_DEPRECATE', |
| 2906 '_SCL_SECURE_NO_DEPRECATE', | 2866 '_SCL_SECURE_NO_DEPRECATE', |
| 2907 ], | 2867 ], |
| 2908 'include_dirs': [ | 2868 'include_dirs': [ |
| 2909 'third_party/wtl/include', | 2869 'third_party/wtl/include', |
| 2910 ], | 2870 ], |
| 2911 },], | 2871 },], |
| 2912 ], | 2872 ], |
| 2913 }, | 2873 }, |
| 2914 { | 2874 { |
| 2915 'target_name': 'nacl', | |
| 2916 'type': '<(library)', | |
| 2917 'msvs_guid': '83E86DAF-5763-4711-AD34-5FDAE395560C', | |
| 2918 'dependencies': [ | |
| 2919 'common', | |
| 2920 'chrome_resources', | |
| 2921 'chrome_strings', | |
| 2922 '../third_party/npapi/npapi.gyp:npapi', | |
| 2923 '../webkit/webkit.gyp:glue', | |
| 2924 '../native_client/src/trusted/plugin/plugin_chrome.gyp:npGoogleNaClPlugi
nChrome', | |
| 2925 '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel', | |
| 2926 '../native_client/src/trusted/validator_x86/validator_x86.gyp:ncvalidate
', | |
| 2927 '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:plat
form_qual_lib', | |
| 2928 ], | |
| 2929 'include_dirs': [ | |
| 2930 '<(INTERMEDIATE_DIR)', | |
| 2931 ], | |
| 2932 'defines': [ | |
| 2933 'NACL_BLOCK_SHIFT=5', | |
| 2934 'NACL_BLOCK_SIZE=32', | |
| 2935 '<@(nacl_defines)', | |
| 2936 ], | |
| 2937 'sources': [ | |
| 2938 # All .cc, .h, .m, and .mm files under nacl except for tests and | |
| 2939 # mocks. | |
| 2940 'nacl/sel_main.cc', | |
| 2941 'nacl/nacl_main.cc', | |
| 2942 'nacl/nacl_thread.cc', | |
| 2943 'nacl/nacl_thread.h', | |
| 2944 ], | |
| 2945 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines | |
| 2946 'conditions': [ | |
| 2947 ['OS=="win"', { | |
| 2948 'defines': [ | |
| 2949 '__STD_C', | |
| 2950 '_CRT_SECURE_NO_DEPRECATE', | |
| 2951 '_SCL_SECURE_NO_DEPRECATE', | |
| 2952 ], | |
| 2953 'include_dirs': [ | |
| 2954 'third_party/wtl/include', | |
| 2955 ], | |
| 2956 },], | |
| 2957 ], | |
| 2958 }, | |
| 2959 { | |
| 2960 'target_name': 'renderer', | 2875 'target_name': 'renderer', |
| 2961 'type': '<(library)', | 2876 'type': '<(library)', |
| 2962 'msvs_guid': '9301A569-5D2B-4D11-9332-B1E30AEACB8D', | 2877 'msvs_guid': '9301A569-5D2B-4D11-9332-B1E30AEACB8D', |
| 2963 'dependencies': [ | 2878 'dependencies': [ |
| 2964 'common', | 2879 'common', |
| 2965 'nacl', | |
| 2966 'plugin', | 2880 'plugin', |
| 2967 'chrome_resources', | 2881 'chrome_resources', |
| 2968 'chrome_strings', | 2882 'chrome_strings', |
| 2969 '../printing/printing.gyp:printing', | 2883 '../printing/printing.gyp:printing', |
| 2970 '../skia/skia.gyp:skia', | 2884 '../skia/skia.gyp:skia', |
| 2971 '../third_party/icu/icu.gyp:icui18n', | 2885 '../third_party/icu/icu.gyp:icui18n', |
| 2972 '../third_party/icu/icu.gyp:icuuc', | 2886 '../third_party/icu/icu.gyp:icuuc', |
| 2973 '../third_party/npapi/npapi.gyp:npapi', | 2887 '../third_party/npapi/npapi.gyp:npapi', |
| 2974 '../webkit/webkit.gyp:glue', | 2888 '../webkit/webkit.gyp:glue', |
| 2975 '../webkit/webkit.gyp:webkit', | 2889 '../webkit/webkit.gyp:webkit', |
| 2976 ], | 2890 ], |
| 2977 'include_dirs': [ | 2891 'include_dirs': [ |
| 2978 '..', | 2892 '..', |
| 2979 ], | 2893 ], |
| 2980 'defines': [ | |
| 2981 '<@(nacl_defines)', | |
| 2982 ], | |
| 2983 'sources': [ | 2894 'sources': [ |
| 2984 # TODO(jrg): to link ipc_tests, these files need to be in renderer.a. | 2895 # TODO(jrg): to link ipc_tests, these files need to be in renderer.a. |
| 2985 # But app/ is the wrong directory for them. | 2896 # But app/ is the wrong directory for them. |
| 2986 # Better is to remove the dep of *_tests on renderer, but in the | 2897 # Better is to remove the dep of *_tests on renderer, but in the |
| 2987 # short term I'd like the build to work. | 2898 # short term I'd like the build to work. |
| 2988 'renderer/automation/dom_automation_controller.cc', | 2899 'renderer/automation/dom_automation_controller.cc', |
| 2989 'renderer/automation/dom_automation_controller.h', | 2900 'renderer/automation/dom_automation_controller.h', |
| 2990 'renderer/extensions/bindings_utils.cc', | 2901 'renderer/extensions/bindings_utils.cc', |
| 2991 'renderer/extensions/bindings_utils.h', | 2902 'renderer/extensions/bindings_utils.h', |
| 2992 'renderer/extensions/event_bindings.cc', | 2903 'renderer/extensions/event_bindings.cc', |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3450 'CHROMIUM_SHORT_NAME': '<(branding)', | 3361 'CHROMIUM_SHORT_NAME': '<(branding)', |
| 3451 }, | 3362 }, |
| 3452 'mac_bundle_resources': [ | 3363 'mac_bundle_resources': [ |
| 3453 '<(PRODUCT_DIR)/<(mac_product_name) Helper.app', | 3364 '<(PRODUCT_DIR)/<(mac_product_name) Helper.app', |
| 3454 ], | 3365 ], |
| 3455 'dependencies': [ | 3366 'dependencies': [ |
| 3456 'helper_app', | 3367 'helper_app', |
| 3457 'infoplist_strings_tool', | 3368 'infoplist_strings_tool', |
| 3458 # Bring in pdfsqueeze and run it on all pdfs | 3369 # Bring in pdfsqueeze and run it on all pdfs |
| 3459 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', | 3370 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', |
| 3460 # This library provides the real implementation for NaClSyscallSeg | |
| 3461 '../native_client/src/trusted/service_runtime/arch/x86_32/service_ru
ntime_x86_32.gyp:service_runtime_x86_32_chrome' | |
| 3462 ], | 3371 ], |
| 3463 'rules': [ | 3372 'rules': [ |
| 3464 { | 3373 { |
| 3465 'rule_name': 'pdfsqueeze', | 3374 'rule_name': 'pdfsqueeze', |
| 3466 'extension': 'pdf', | 3375 'extension': 'pdf', |
| 3467 'inputs': [ | 3376 'inputs': [ |
| 3468 '<(PRODUCT_DIR)/pdfsqueeze', | 3377 '<(PRODUCT_DIR)/pdfsqueeze', |
| 3469 ], | 3378 ], |
| 3470 'outputs': [ | 3379 'outputs': [ |
| 3471 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', | 3380 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', |
| (...skipping 3285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6757 'defines': [ | 6666 'defines': [ |
| 6758 'POSIX', | 6667 'POSIX', |
| 6759 ], | 6668 ], |
| 6760 }], | 6669 }], |
| 6761 ], | 6670 ], |
| 6762 }, | 6671 }, |
| 6763 ], # targets when chrome_personalization==1 and use_syncapi_stub==0 | 6672 ], # targets when chrome_personalization==1 and use_syncapi_stub==0 |
| 6764 }], | 6673 }], |
| 6765 ], # 'conditions' | 6674 ], # 'conditions' |
| 6766 } | 6675 } |
| OLD | NEW |