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

Side by Side Diff: chrome/chrome.gyp

Issue 207025: NaCl-Chrome integration (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « chrome/browser/sandbox_policy.cc ('k') | chrome/common/child_process_info.h » ('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) 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 '../views/view_unittest.cc', 97 '../views/view_unittest.cc',
98 '../views/focus/focus_manager_unittest.cc', 98 '../views/focus/focus_manager_unittest.cc',
99 ], 99 ],
100 'views_unit_tests_sources_win_specific': [ 100 'views_unit_tests_sources_win_specific': [
101 # TODO(jcampan): make the following tests work on Linux. 101 # TODO(jcampan): make the following tests work on Linux.
102 '../views/controls/label_unittest.cc', 102 '../views/controls/label_unittest.cc',
103 '../views/controls/table/table_view_unittest.cc', 103 '../views/controls/table/table_view_unittest.cc',
104 '../views/grid_layout_unittest.cc', 104 '../views/grid_layout_unittest.cc',
105 ], 105 ],
106 'conditions': [ 106 'conditions': [
107 ['OS=="win"', {
108 'nacl_defines': [
109 'NACL_WINDOWS=1',
110 'NACL_LINUX=0',
111 'NACL_OSX=0',
112 ],
113 },],
114 ['OS=="linux"', {
115 'nacl_defines': [
116 'NACL_WINDOWS=0',
117 'NACL_LINUX=1',
118 'NACL_OSX=0',
119 ],
120 },],
107 ['OS=="mac"', { 121 ['OS=="mac"', {
122 'nacl_defines': [
123 'NACL_WINDOWS=0',
124 'NACL_LINUX=0',
125 'NACL_OSX=1',
126 ],
108 'conditions': [ 127 'conditions': [
109 ['branding=="Chrome"', { 128 ['branding=="Chrome"', {
110 'mac_bundle_id': 'com.google.Chrome', 129 'mac_bundle_id': 'com.google.Chrome',
111 'mac_creator': 'rimZ', 130 'mac_creator': 'rimZ',
112 }, { # else: branding!="Chrome" 131 }, { # else: branding!="Chrome"
113 'mac_bundle_id': 'org.chromium.Chromium', 132 'mac_bundle_id': 'org.chromium.Chromium',
114 'mac_creator': 'Cr24', 133 'mac_creator': 'Cr24',
115 }], # branding 134 }], # branding
116 ], # conditions 135 ], # conditions
117 }], # OS=="mac" 136 }], # OS=="mac"
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 'common/render_messages.h', 580 'common/render_messages.h',
562 'common/render_messages_internal.h', 581 'common/render_messages_internal.h',
563 'common/renderer_preferences.h', 582 'common/renderer_preferences.h',
564 'common/resource_dispatcher.cc', 583 'common/resource_dispatcher.cc',
565 'common/resource_dispatcher.h', 584 'common/resource_dispatcher.h',
566 'common/result_codes.h', 585 'common/result_codes.h',
567 'common/sandbox_init_wrapper.cc', 586 'common/sandbox_init_wrapper.cc',
568 'common/sandbox_init_wrapper.h', 587 'common/sandbox_init_wrapper.h',
569 'common/security_filter_peer.cc', 588 'common/security_filter_peer.cc',
570 'common/security_filter_peer.h', 589 'common/security_filter_peer.h',
590 'common/nacl_messages.h',
591 'common/nacl_messages_internal.h',
571 'common/sqlite_compiled_statement.cc', 592 'common/sqlite_compiled_statement.cc',
572 'common/sqlite_compiled_statement.h', 593 'common/sqlite_compiled_statement.h',
573 'common/sqlite_utils.cc', 594 'common/sqlite_utils.cc',
574 'common/sqlite_utils.h', 595 'common/sqlite_utils.h',
575 'common/task_queue.cc', 596 'common/task_queue.cc',
576 'common/task_queue.h', 597 'common/task_queue.h',
577 'common/temp_scaffolding_stubs.cc', 598 'common/temp_scaffolding_stubs.cc',
578 'common/temp_scaffolding_stubs.h', 599 'common/temp_scaffolding_stubs.h',
579 'common/thumbnail_score.cc', 600 'common/thumbnail_score.cc',
580 'common/thumbnail_score.h', 601 'common/thumbnail_score.h',
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 '../third_party/icu/icu.gyp:icuuc', 694 '../third_party/icu/icu.gyp:icuuc',
674 '../third_party/libxml/libxml.gyp:libxml', 695 '../third_party/libxml/libxml.gyp:libxml',
675 '../third_party/npapi/npapi.gyp:npapi', 696 '../third_party/npapi/npapi.gyp:npapi',
676 '../third_party/hunspell/hunspell.gyp:hunspell', 697 '../third_party/hunspell/hunspell.gyp:hunspell',
677 '../webkit/webkit.gyp:glue', 698 '../webkit/webkit.gyp:glue',
678 ], 699 ],
679 'include_dirs': [ 700 'include_dirs': [
680 '..', 701 '..',
681 '<(INTERMEDIATE_DIR)', 702 '<(INTERMEDIATE_DIR)',
682 ], 703 ],
704 'defines': [
705 '<@(nacl_defines)',
706 ],
683 'sources': [ 707 'sources': [
684 # 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
685 # mocks. 709 # mocks.
686 'browser/alternate_nav_url_fetcher.cc', 710 'browser/alternate_nav_url_fetcher.cc',
687 'browser/alternate_nav_url_fetcher.h', 711 'browser/alternate_nav_url_fetcher.h',
688 'browser/app_controller_mac.h', 712 'browser/app_controller_mac.h',
689 'browser/app_controller_mac.mm', 713 'browser/app_controller_mac.mm',
690 'browser/app_modal_dialog.cc', 714 'browser/app_modal_dialog.cc',
691 'browser/app_modal_dialog.h', 715 'browser/app_modal_dialog.h',
692 'browser/app_modal_dialog_gtk.cc', 716 'browser/app_modal_dialog_gtk.cc',
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1781 'browser/search_engines/template_url_fetcher.cc', 1805 'browser/search_engines/template_url_fetcher.cc',
1782 'browser/search_engines/template_url_fetcher.h', 1806 'browser/search_engines/template_url_fetcher.h',
1783 'browser/search_engines/template_url_model.cc', 1807 'browser/search_engines/template_url_model.cc',
1784 'browser/search_engines/template_url_model.h', 1808 'browser/search_engines/template_url_model.h',
1785 'browser/search_engines/template_url_parser.cc', 1809 'browser/search_engines/template_url_parser.cc',
1786 'browser/search_engines/template_url_parser.h', 1810 'browser/search_engines/template_url_parser.h',
1787 'browser/search_engines/template_url_prepopulate_data.cc', 1811 'browser/search_engines/template_url_prepopulate_data.cc',
1788 'browser/search_engines/template_url_prepopulate_data.h', 1812 'browser/search_engines/template_url_prepopulate_data.h',
1789 'browser/search_engines/template_url_table_model.cc', 1813 'browser/search_engines/template_url_table_model.cc',
1790 'browser/search_engines/template_url_table_model.h', 1814 'browser/search_engines/template_url_table_model.h',
1815 'browser/nacl_process_host.cc',
1816 'browser/nacl_process_host.h',
1791 'browser/session_startup_pref.cc', 1817 'browser/session_startup_pref.cc',
1792 'browser/session_startup_pref.h', 1818 'browser/session_startup_pref.h',
1793 'browser/sessions/base_session_service.cc', 1819 'browser/sessions/base_session_service.cc',
1794 'browser/sessions/base_session_service.h', 1820 'browser/sessions/base_session_service.h',
1795 'browser/sessions/session_backend.cc', 1821 'browser/sessions/session_backend.cc',
1796 'browser/sessions/session_backend.h', 1822 'browser/sessions/session_backend.h',
1797 'browser/sessions/session_command.cc', 1823 'browser/sessions/session_command.cc',
1798 'browser/sessions/session_command.h', 1824 'browser/sessions/session_command.h',
1799 'browser/sessions/session_id.cc', 1825 'browser/sessions/session_id.cc',
1800 'browser/sessions/session_id.h', 1826 'browser/sessions/session_id.h',
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
2819 '_CRT_SECURE_NO_DEPRECATE', 2845 '_CRT_SECURE_NO_DEPRECATE',
2820 '_SCL_SECURE_NO_DEPRECATE', 2846 '_SCL_SECURE_NO_DEPRECATE',
2821 ], 2847 ],
2822 'include_dirs': [ 2848 'include_dirs': [
2823 'third_party/wtl/include', 2849 'third_party/wtl/include',
2824 ], 2850 ],
2825 },], 2851 },],
2826 ], 2852 ],
2827 }, 2853 },
2828 { 2854 {
2855 'target_name': 'nacl',
2856 'type': '<(library)',
2857 'msvs_guid': '83E86DAF-5763-4711-AD34-5FDAE395560C',
2858 'dependencies': [
2859 'common',
2860 'chrome_resources',
2861 'chrome_strings',
2862 '../third_party/npapi/npapi.gyp:npapi',
2863 '../webkit/webkit.gyp:glue',
2864 '../native_client/src/trusted/plugin/plugin_chrome.gyp:npGoogleNaClPlugi nChrome',
2865 '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel',
2866 '../native_client/src/trusted/validator_x86/validator_x86.gyp:ncvalidate ',
2867 '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:plat form_qual_lib',
2868 ],
2869 'include_dirs': [
2870 '<(INTERMEDIATE_DIR)',
2871 ],
2872 'defines': [
2873 'NACL_BLOCK_SHIFT=5',
2874 'NACL_BLOCK_SIZE=32',
2875 # TODO(gregoryd): consider getting this from NaCl's common.gypi
2876 'NACL_TARGET_SUBARCH=32',
2877 'NACL_BUILD_SUBARCH=32',
2878 '<@(nacl_defines)',
2879 ],
2880 'sources': [
2881 # All .cc, .h, .m, and .mm files under nacl except for tests and
2882 # mocks.
2883 'nacl/sel_main.cc',
2884 'nacl/nacl_main.cc',
2885 'nacl/nacl_thread.cc',
2886 'nacl/nacl_thread.h',
2887 ],
2888 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines
2889 'conditions': [
2890 ['OS=="win"', {
2891 'defines': [
2892 '__STD_C',
2893 '_CRT_SECURE_NO_DEPRECATE',
2894 '_SCL_SECURE_NO_DEPRECATE',
2895 ],
2896 'include_dirs': [
2897 'third_party/wtl/include',
2898 ],
2899 },],
2900 ],
2901 },
2902 {
2829 'target_name': 'renderer', 2903 'target_name': 'renderer',
2830 'type': '<(library)', 2904 'type': '<(library)',
2831 'msvs_guid': '9301A569-5D2B-4D11-9332-B1E30AEACB8D', 2905 'msvs_guid': '9301A569-5D2B-4D11-9332-B1E30AEACB8D',
2832 'dependencies': [ 2906 'dependencies': [
2833 'common', 2907 'common',
2908 'nacl',
2834 'plugin', 2909 'plugin',
2835 'chrome_resources', 2910 'chrome_resources',
2836 'chrome_strings', 2911 'chrome_strings',
2837 '../printing/printing.gyp:printing', 2912 '../printing/printing.gyp:printing',
2838 '../skia/skia.gyp:skia', 2913 '../skia/skia.gyp:skia',
2839 '../third_party/icu/icu.gyp:icui18n', 2914 '../third_party/icu/icu.gyp:icui18n',
2840 '../third_party/icu/icu.gyp:icuuc', 2915 '../third_party/icu/icu.gyp:icuuc',
2841 '../third_party/npapi/npapi.gyp:npapi', 2916 '../third_party/npapi/npapi.gyp:npapi',
2842 '../webkit/webkit.gyp:glue', 2917 '../webkit/webkit.gyp:glue',
2843 '../webkit/webkit.gyp:webkit', 2918 '../webkit/webkit.gyp:webkit',
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
3312 'CHROMIUM_SHORT_NAME': '<(branding)', 3387 'CHROMIUM_SHORT_NAME': '<(branding)',
3313 }, 3388 },
3314 'mac_bundle_resources': [ 3389 'mac_bundle_resources': [
3315 '<(PRODUCT_DIR)/<(mac_product_name) Helper.app', 3390 '<(PRODUCT_DIR)/<(mac_product_name) Helper.app',
3316 ], 3391 ],
3317 'dependencies': [ 3392 'dependencies': [
3318 'helper_app', 3393 'helper_app',
3319 'infoplist_strings_tool', 3394 'infoplist_strings_tool',
3320 # Bring in pdfsqueeze and run it on all pdfs 3395 # Bring in pdfsqueeze and run it on all pdfs
3321 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze', 3396 '../build/temp_gyp/pdfsqueeze.gyp:pdfsqueeze',
3397 # This library provides the real implementation for NaClSyscallSeg
3398 '../native_client/src/trusted/service_runtime/arch/x86_32/service_ru ntime_x86_32.gyp:service_runtime_x86_32_chrome'
3322 ], 3399 ],
3323 'rules': [ 3400 'rules': [
3324 { 3401 {
3325 'rule_name': 'pdfsqueeze', 3402 'rule_name': 'pdfsqueeze',
3326 'extension': 'pdf', 3403 'extension': 'pdf',
3327 'inputs': [ 3404 'inputs': [
3328 '<(PRODUCT_DIR)/pdfsqueeze', 3405 '<(PRODUCT_DIR)/pdfsqueeze',
3329 ], 3406 ],
3330 'outputs': [ 3407 'outputs': [
3331 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf', 3408 '<(INTERMEDIATE_DIR)/pdfsqueeze/<(RULE_INPUT_ROOT).pdf',
(...skipping 3262 matching lines...) Expand 10 before | Expand all | Expand 10 after
6594 'dependencies': [ 6671 'dependencies': [
6595 '../third_party/pthreads-win32/pthreads.gyp:pthreads', 6672 '../third_party/pthreads-win32/pthreads.gyp:pthreads',
6596 ], 6673 ],
6597 }], 6674 }],
6598 ], 6675 ],
6599 }, 6676 },
6600 ], # targets when chrome_personalization==1 and use_syncapi_stub==0 6677 ], # targets when chrome_personalization==1 and use_syncapi_stub==0
6601 }], 6678 }],
6602 ], # 'conditions' 6679 ], # 'conditions'
6603 } 6680 }
OLDNEW
« no previous file with comments | « chrome/browser/sandbox_policy.cc ('k') | chrome/common/child_process_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698