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

Side by Side Diff: chrome/chrome.gyp

Issue 155774: Starting mac l10n:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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
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 # Define the common dependencies that contain all the actual 8 # Define the common dependencies that contain all the actual
9 # Chromium functionality. This list gets pulled in below by 9 # Chromium functionality. This list gets pulled in below by
10 # the link of the actual chrome (or chromium) executable on 10 # the link of the actual chrome (or chromium) executable on
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 'browser/cocoa/infobar_container_controller.mm', 809 'browser/cocoa/infobar_container_controller.mm',
810 'browser/cocoa/infobar_controller.h', 810 'browser/cocoa/infobar_controller.h',
811 'browser/cocoa/infobar_controller.mm', 811 'browser/cocoa/infobar_controller.mm',
812 'browser/cocoa/infobar_gradient_view.h', 812 'browser/cocoa/infobar_gradient_view.h',
813 'browser/cocoa/infobar_gradient_view.mm', 813 'browser/cocoa/infobar_gradient_view.mm',
814 'browser/cocoa/infobar_test_helper.h', 814 'browser/cocoa/infobar_test_helper.h',
815 'browser/cocoa/infobar_text_field.h', 815 'browser/cocoa/infobar_text_field.h',
816 'browser/cocoa/infobar_text_field.mm', 816 'browser/cocoa/infobar_text_field.mm',
817 'browser/cocoa/location_bar_view_mac.h', 817 'browser/cocoa/location_bar_view_mac.h',
818 'browser/cocoa/location_bar_view_mac.mm', 818 'browser/cocoa/location_bar_view_mac.mm',
819 'browser/cocoa/menu_localizer.h',
820 'browser/cocoa/menu_localizer.mm',
821 'browser/cocoa/nsimage_cache.h', 819 'browser/cocoa/nsimage_cache.h',
822 'browser/cocoa/nsimage_cache.mm', 820 'browser/cocoa/nsimage_cache.mm',
823 'browser/cocoa/page_info_window_controller.h', 821 'browser/cocoa/page_info_window_controller.h',
824 'browser/cocoa/page_info_window_controller.mm', 822 'browser/cocoa/page_info_window_controller.mm',
825 'browser/cocoa/page_info_window_mac.h', 823 'browser/cocoa/page_info_window_mac.h',
826 'browser/cocoa/page_info_window_mac.mm', 824 'browser/cocoa/page_info_window_mac.mm',
827 'browser/cocoa/preferences_localizer.h', 825 'browser/cocoa/preferences_localizer.h',
828 'browser/cocoa/preferences_localizer.mm', 826 'browser/cocoa/preferences_localizer.mm',
829 'browser/cocoa/preferences_window_controller.h', 827 'browser/cocoa/preferences_window_controller.h',
830 'browser/cocoa/preferences_window_controller.mm', 828 'browser/cocoa/preferences_window_controller.mm',
(...skipping 23 matching lines...) Expand all
854 'browser/cocoa/tab_window_controller.h', 852 'browser/cocoa/tab_window_controller.h',
855 'browser/cocoa/tab_window_controller.mm', 853 'browser/cocoa/tab_window_controller.mm',
856 'browser/cocoa/throbber_view.h', 854 'browser/cocoa/throbber_view.h',
857 'browser/cocoa/throbber_view.mm', 855 'browser/cocoa/throbber_view.mm',
858 'browser/cocoa/toolbar_button_cell.h', 856 'browser/cocoa/toolbar_button_cell.h',
859 'browser/cocoa/toolbar_button_cell.mm', 857 'browser/cocoa/toolbar_button_cell.mm',
860 'browser/cocoa/toolbar_controller.h', 858 'browser/cocoa/toolbar_controller.h',
861 'browser/cocoa/toolbar_controller.mm', 859 'browser/cocoa/toolbar_controller.mm',
862 'browser/cocoa/toolbar_view.h', 860 'browser/cocoa/toolbar_view.h',
863 'browser/cocoa/toolbar_view.mm', 861 'browser/cocoa/toolbar_view.mm',
862 'browser/cocoa/ui_localizer.h',
863 'browser/cocoa/ui_localizer.mm',
864 'browser/cocoa/web_drop_target.h', 864 'browser/cocoa/web_drop_target.h',
865 'browser/cocoa/web_drop_target.mm', 865 'browser/cocoa/web_drop_target.mm',
866 'browser/command_updater.cc', 866 'browser/command_updater.cc',
867 'browser/command_updater.h', 867 'browser/command_updater.h',
868 'browser/cross_site_request_manager.cc', 868 'browser/cross_site_request_manager.cc',
869 'browser/cross_site_request_manager.h', 869 'browser/cross_site_request_manager.h',
870 'browser/defaults.cc', 870 'browser/defaults.cc',
871 'browser/defaults.h', 871 'browser/defaults.h',
872 'browser/dock_info_gtk.cc', 872 'browser/dock_info_gtk.cc',
873 'browser/dock_info_win.cc', 873 'browser/dock_info_win.cc',
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
1938 'include_dirs': [ 1938 'include_dirs': [
1939 '../third_party/GTM', 1939 '../third_party/GTM',
1940 '../third_party/GTM/AppKit', 1940 '../third_party/GTM/AppKit',
1941 ], 1941 ],
1942 'link_settings': { 1942 'link_settings': {
1943 'libraries': [ 1943 'libraries': [
1944 '$(SDKROOT)/System/Library/Frameworks/SecurityInterface.framework' , 1944 '$(SDKROOT)/System/Library/Frameworks/SecurityInterface.framework' ,
1945 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', 1945 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
1946 ], 1946 ],
1947 }, 1947 },
1948 'actions': [
1949 # This block of actions are used to extract the localization data
1950 # from xib files and generate a localizer out of it.
1951 {
1952 'action_name': 'process_mainmenu_xib',
1953 'process_outputs_as_sources': 1,
1954 'inputs': [
1955 '<(DEPTH)/build/mac/generate_localizer',
1956 'app/nibs/MainMenu.xib'
1957 ],
1958 'outputs': [
1959 '<(INTERMEDIATE_DIR)/xib_localizers/main_menu_localizer.h',
1960 '<(INTERMEDIATE_DIR)/xib_localizers/main_menu_localizer.mm',
1961 ],
1962 'action': ['<@(_inputs)', '<@(_outputs)'],
1963 },
1964 # TODO(tvl): add other xibs
1965 ],
1948 }], 1966 }],
1949 ['OS=="win"', { 1967 ['OS=="win"', {
1950 'defines': [ 1968 'defines': [
1951 '__STD_C', 1969 '__STD_C',
1952 '_CRT_SECURE_NO_DEPRECATE', 1970 '_CRT_SECURE_NO_DEPRECATE',
1953 '_SCL_SECURE_NO_DEPRECATE', 1971 '_SCL_SECURE_NO_DEPRECATE',
1954 ], 1972 ],
1955 'include_dirs': [ 1973 'include_dirs': [
1956 'third_party/wtl/include', 1974 'third_party/wtl/include',
1957 ], 1975 ],
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
3086 }], 3104 }],
3087 ], 3105 ],
3088 }, 3106 },
3089 'inputs': [ 3107 'inputs': [
3090 '<(repack_path)', 3108 '<(repack_path)',
3091 '<@(pak_inputs)', 3109 '<@(pak_inputs)',
3092 ], 3110 ],
3093 'conditions': [ 3111 'conditions': [
3094 ['OS=="mac"', { 3112 ['OS=="mac"', {
3095 'outputs': [ 3113 'outputs': [
3096 # TODO(port): We can't simply emit the strings file without 3114 '<(INTERMEDIATE_DIR)/repack/da.lproj/locale.pak',
3097 # the nibs too, or the app fails to launch in this language.
3098 # Currently, this is only for ui_tests, which won't work on
3099 # the Mac anyway, so temporarily disable until we have the
3100 # full strategy figured out. This goes for he and zh below.
3101 # '<(INTERMEDIATE_DIR)/repack/da.lproj/locale.pak',
3102 ], 3115 ],
3103 }, { # else: OS!="mac" 3116 }, { # else: OS!="mac"
3104 'outputs': [ 3117 'outputs': [
3105 '<(INTERMEDIATE_DIR)/repack/da.pak', 3118 '<(INTERMEDIATE_DIR)/repack/da.pak',
3106 ], 3119 ],
3107 }], 3120 }],
3108 ], 3121 ],
3109 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inp uts)'], 3122 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inp uts)'],
3110 }, 3123 },
3111 { 3124 {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
3170 }], 3183 }],
3171 ], 3184 ],
3172 }, 3185 },
3173 'inputs': [ 3186 'inputs': [
3174 '<(repack_path)', 3187 '<(repack_path)',
3175 '<@(pak_inputs)', 3188 '<@(pak_inputs)',
3176 ], 3189 ],
3177 'conditions': [ 3190 'conditions': [
3178 ['OS=="mac"', { 3191 ['OS=="mac"', {
3179 'outputs': [ 3192 'outputs': [
3180 # '<(INTERMEDIATE_DIR)/repack/he.lproj/locale.pak', 3193 '<(INTERMEDIATE_DIR)/repack/he.lproj/locale.pak',
3181 ], 3194 ],
3182 }, { # else: OS!="mac" 3195 }, { # else: OS!="mac"
3183 'outputs': [ 3196 'outputs': [
3184 '<(INTERMEDIATE_DIR)/repack/he.pak', 3197 '<(INTERMEDIATE_DIR)/repack/he.pak',
3185 ], 3198 ],
3186 }], 3199 }],
3187 ], 3200 ],
3188 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inp uts)'], 3201 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inp uts)'],
3189 }, 3202 },
3190 { 3203 {
(...skipping 18 matching lines...) Expand all
3209 }], 3222 }],
3210 ], 3223 ],
3211 }, 3224 },
3212 'inputs': [ 3225 'inputs': [
3213 '<(repack_path)', 3226 '<(repack_path)',
3214 '<@(pak_inputs)', 3227 '<@(pak_inputs)',
3215 ], 3228 ],
3216 'conditions': [ 3229 'conditions': [
3217 ['OS=="mac"', { 3230 ['OS=="mac"', {
3218 'outputs': [ 3231 'outputs': [
3219 # '<(INTERMEDIATE_DIR)/repack/zh.lproj/locale.pak', 3232 '<(INTERMEDIATE_DIR)/repack/zh.lproj/locale.pak',
3220 ], 3233 ],
3221 }, { # else: OS!="mac" 3234 }, { # else: OS!="mac"
3222 'outputs': [ 3235 'outputs': [
3223 '<(INTERMEDIATE_DIR)/repack/zh-TW.pak', 3236 '<(INTERMEDIATE_DIR)/repack/zh-TW.pak',
3224 ], 3237 ],
3225 }], 3238 }],
3226 ], 3239 ],
3227 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inp uts)'], 3240 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inp uts)'],
3228 }, 3241 },
3229 ], 3242 ],
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
3689 'browser/cocoa/status_bubble_mac_unittest.mm', 3702 'browser/cocoa/status_bubble_mac_unittest.mm',
3690 'browser/cocoa/tab_cell_unittest.mm', 3703 'browser/cocoa/tab_cell_unittest.mm',
3691 'browser/cocoa/tab_controller_unittest.mm', 3704 'browser/cocoa/tab_controller_unittest.mm',
3692 'browser/cocoa/tab_strip_controller_unittest.mm', 3705 'browser/cocoa/tab_strip_controller_unittest.mm',
3693 'browser/cocoa/tab_strip_view_unittest.mm', 3706 'browser/cocoa/tab_strip_view_unittest.mm',
3694 'browser/cocoa/tab_view_unittest.mm', 3707 'browser/cocoa/tab_view_unittest.mm',
3695 'browser/cocoa/throbber_view_unittest.mm', 3708 'browser/cocoa/throbber_view_unittest.mm',
3696 'browser/cocoa/toolbar_button_cell_unittest.mm', 3709 'browser/cocoa/toolbar_button_cell_unittest.mm',
3697 'browser/cocoa/toolbar_controller_unittest.mm', 3710 'browser/cocoa/toolbar_controller_unittest.mm',
3698 'browser/cocoa/toolbar_view_unittest.mm', 3711 'browser/cocoa/toolbar_view_unittest.mm',
3712 'browser/cocoa/ui_localizer_unittest.mm',
3699 'browser/cocoa/web_drop_target_unittest.mm', 3713 'browser/cocoa/web_drop_target_unittest.mm',
3700 'browser/command_updater_unittest.cc', 3714 'browser/command_updater_unittest.cc',
3701 'browser/debugger/devtools_manager_unittest.cc', 3715 'browser/debugger/devtools_manager_unittest.cc',
3702 'browser/dom_ui/dom_ui_theme_source_unittest.cc', 3716 'browser/dom_ui/dom_ui_theme_source_unittest.cc',
3703 'browser/dom_ui/dom_ui_unittest.cc', 3717 'browser/dom_ui/dom_ui_unittest.cc',
3704 'browser/download/download_manager_unittest.cc', 3718 'browser/download/download_manager_unittest.cc',
3705 'browser/download/download_request_manager_unittest.cc', 3719 'browser/download/download_request_manager_unittest.cc',
3706 'browser/download/save_package_unittest.cc', 3720 'browser/download/save_package_unittest.cc',
3707 'browser/encoding_menu_controller_unittest.cc', 3721 'browser/encoding_menu_controller_unittest.cc',
3708 'browser/extensions/extension_messages_unittest.cc', 3722 'browser/extensions/extension_messages_unittest.cc',
(...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after
5099 # Use outputs of this action as inputs for the main target build. 5113 # Use outputs of this action as inputs for the main target build.
5100 # Seems as a misnomer but makes this happy on Linux (scons). 5114 # Seems as a misnomer but makes this happy on Linux (scons).
5101 'process_outputs_as_sources': 1, 5115 'process_outputs_as_sources': 1,
5102 }, 5116 },
5103 ], # 'actions' 5117 ], # 'actions'
5104 }, 5118 },
5105 ] 5119 ]
5106 }], 5120 }],
5107 ], # 'conditions' 5121 ], # 'conditions'
5108 } 5122 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698