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

Side by Side Diff: chrome/chrome.gyp

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