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

Side by Side Diff: chrome/chrome.gyp

Issue 172032: First cut for a FreeBSD port - much still not working (Closed) Base URL: http://src.chromium.org/svn/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
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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 'includes': [ 139 'includes': [
140 '../build/common.gypi', 140 '../build/common.gypi',
141 ], 141 ],
142 'target_defaults': { 142 'target_defaults': {
143 'sources/': [ 143 'sources/': [
144 ['exclude', '/(cocoa|gtk|win)/'], 144 ['exclude', '/(cocoa|gtk|win)/'],
145 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|views|x)(_unittest)?\\.( cc|mm?)$'], 145 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|views|x)(_unittest)?\\.( cc|mm?)$'],
146 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], 146 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'],
147 ], 147 ],
148 'conditions': [ 148 'conditions': [
149 ['OS=="linux"', {'sources/': [ 149 ['OS=="linux" or OS=="freebsd"', {'sources/': [
150 ['include', '/gtk/'], 150 ['include', '/gtk/'],
151 ['include', '_(gtk|linux|posix|skia|x)(_unittest)?\\.cc$'], 151 ['include', '_(gtk|linux|posix|skia|x)(_unittest)?\\.cc$'],
152 ['include', '/(gtk|x11)_[^/]*\\.cc$'], 152 ['include', '/(gtk|x11)_[^/]*\\.cc$'],
153 ]}], 153 ]}],
154 ['OS=="mac"', {'sources/': [ 154 ['OS=="mac"', {'sources/': [
155 ['include', '/cocoa/'], 155 ['include', '/cocoa/'],
156 ['include', '_(cocoa|mac|posix)(_unittest)?\\.(cc|mm?)$'], 156 ['include', '_(cocoa|mac|posix)(_unittest)?\\.(cc|mm?)$'],
157 ]}, { # else: OS != "mac" 157 ]}, { # else: OS != "mac"
158 'sources/': [ 158 'sources/': [
159 ['exclude', '\\.mm?$'], 159 ['exclude', '\\.mm?$'],
(...skipping 2057 matching lines...) Expand 10 before | Expand all | Expand 10 after
2217 }], 2217 }],
2218 ], 2218 ],
2219 }], 2219 }],
2220 ['OS=="linux" and toolkit_views==0', { 2220 ['OS=="linux" and toolkit_views==0', {
2221 'sources!': [ 2221 'sources!': [
2222 'browser/bookmarks/bookmark_drop_info.cc', 2222 'browser/bookmarks/bookmark_drop_info.cc',
2223 'browser/views/autocomplete/autocomplete_popup_gtk.cc', 2223 'browser/views/autocomplete/autocomplete_popup_gtk.cc',
2224 'browser/views/autocomplete/autocomplete_popup_gtk.h' 2224 'browser/views/autocomplete/autocomplete_popup_gtk.h'
2225 ], 2225 ],
2226 }], 2226 }],
2227 ['OS=="freebsd"', {
2228 'dependencies': [
2229 '../build/linux/system.gyp:gtk',
2230 '../build/linux/system.gyp:nss',
2231 ],
2232 }],
2227 ['OS=="mac"', { 2233 ['OS=="mac"', {
2228 'sources!': [ 2234 'sources!': [
2229 'browser/automation/automation_provider_list_generic.cc', 2235 'browser/automation/automation_provider_list_generic.cc',
2230 'browser/bookmarks/bookmark_context_menu.cc', 2236 'browser/bookmarks/bookmark_context_menu.cc',
2231 'browser/bookmarks/bookmark_drop_info.cc', 2237 'browser/bookmarks/bookmark_drop_info.cc',
2232 'browser/dock_info.cc', 2238 'browser/dock_info.cc',
2233 'browser/download/download_request_dialog_delegate_win.cc', 2239 'browser/download/download_request_dialog_delegate_win.cc',
2234 'browser/jankometer.cc', 2240 'browser/jankometer.cc',
2235 'browser/password_manager/password_store_gnome.h', 2241 'browser/password_manager/password_store_gnome.h',
2236 'browser/password_manager/password_store_gnome.cc', 2242 'browser/password_manager/password_store_gnome.cc',
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
2673 'browser/debugger/devtools_remote_service.cc', 2679 'browser/debugger/devtools_remote_service.cc',
2674 'browser/debugger/devtools_remote_service.h', 2680 'browser/debugger/devtools_remote_service.h',
2675 'browser/debugger/devtools_window.cc', 2681 'browser/debugger/devtools_window.cc',
2676 'browser/debugger/devtools_window.h', 2682 'browser/debugger/devtools_window.h',
2677 'browser/debugger/extension_ports_remote_service.cc', 2683 'browser/debugger/extension_ports_remote_service.cc',
2678 'browser/debugger/extension_ports_remote_service.h', 2684 'browser/debugger/extension_ports_remote_service.h',
2679 'browser/debugger/inspectable_tab_proxy.cc', 2685 'browser/debugger/inspectable_tab_proxy.cc',
2680 'browser/debugger/inspectable_tab_proxy.h', 2686 'browser/debugger/inspectable_tab_proxy.h',
2681 ], 2687 ],
2682 'conditions': [ 2688 'conditions': [
2683 ['OS=="linux"', { 2689 ['OS=="linux" or OS=="freebsd"', {
2684 'dependencies': [ 2690 'dependencies': [
2685 '../build/linux/system.gyp:gtk', 2691 '../build/linux/system.gyp:gtk',
2686 ], 2692 ],
2687 }], 2693 }],
2688 ], 2694 ],
2689 }, 2695 },
2690 { 2696 {
2691 'target_name': 'plugin', 2697 'target_name': 'plugin',
2692 'type': '<(library)', 2698 'type': '<(library)',
2693 'msvs_guid': '20A560A0-2CD0-4D9E-A58B-1F24B99C087A', 2699 'msvs_guid': '20A560A0-2CD0-4D9E-A58B-1F24B99C087A',
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
3014 # TODO(mark): Come up with a fancier way to do this. It should only 3020 # TODO(mark): Come up with a fancier way to do this. It should only
3015 # be necessary to list app-Info.plist once, not the three times it is 3021 # be necessary to list app-Info.plist once, not the three times it is
3016 # listed here. 3022 # listed here.
3017 'mac_bundle_resources!': [ 3023 'mac_bundle_resources!': [
3018 'app/app-Info.plist', 3024 'app/app-Info.plist',
3019 ], 3025 ],
3020 'xcode_settings': { 3026 'xcode_settings': {
3021 'INFOPLIST_FILE': 'app/app-Info.plist', 3027 'INFOPLIST_FILE': 'app/app-Info.plist',
3022 }, 3028 },
3023 'conditions': [ 3029 'conditions': [
3024 ['OS=="linux"', { 3030 ['OS=="linux" or OS=="freebsd"', {
3025 'actions': [ 3031 'actions': [
3026 { 3032 {
3027 'action_name': 'manpage', 3033 'action_name': 'manpage',
3028 'conditions': [ 3034 'conditions': [
3029 [ 'branding == "Chrome"', { 3035 [ 'branding == "Chrome"', {
3030 'variables': { 3036 'variables': {
3031 'name': 'Google Chrome', 3037 'name': 'Google Chrome',
3032 'filename': 'google-chrome', 3038 'filename': 'google-chrome',
3033 }, 3039 },
3034 }, { # else branding!="Chrome" 3040 }, { # else branding!="Chrome"
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
3455 'inputs': [ 3461 'inputs': [
3456 '<(repack_path)', 3462 '<(repack_path)',
3457 '<@(pak_inputs)', 3463 '<@(pak_inputs)',
3458 ], 3464 ],
3459 'outputs': [ 3465 'outputs': [
3460 '<(INTERMEDIATE_DIR)/repack/theme.pak', 3466 '<(INTERMEDIATE_DIR)/repack/theme.pak',
3461 ], 3467 ],
3462 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inp uts)'], 3468 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inp uts)'],
3463 'process_outputs_as_mac_bundle_resources': 1, 3469 'process_outputs_as_mac_bundle_resources': 1,
3464 'conditions': [ 3470 'conditions': [
3465 ['OS=="linux"', { 3471 ['OS=="linux" or OS=="freebsd"', {
3466 'outputs=': [ 3472 'outputs=': [
3467 '<(INTERMEDIATE_DIR)/repack/default.pak', 3473 '<(INTERMEDIATE_DIR)/repack/default.pak',
3468 ] 3474 ]
3469 }], 3475 }],
3470 ], 3476 ],
3471 }, 3477 },
3472 { 3478 {
3473 'action_name': 'repack_locales', 3479 'action_name': 'repack_locales',
3474 'process_outputs_as_mac_bundle_resources': 1, 3480 'process_outputs_as_mac_bundle_resources': 1,
3475 'variables': { 3481 'variables': {
(...skipping 2366 matching lines...) Expand 10 before | Expand all | Expand 10 after
5842 # Use outputs of this action as inputs for the main target build. 5848 # Use outputs of this action as inputs for the main target build.
5843 # Seems as a misnomer but makes this happy on Linux (scons). 5849 # Seems as a misnomer but makes this happy on Linux (scons).
5844 'process_outputs_as_sources': 1, 5850 'process_outputs_as_sources': 1,
5845 }, 5851 },
5846 ], # 'actions' 5852 ], # 'actions'
5847 }, 5853 },
5848 ] 5854 ]
5849 }], 5855 }],
5850 ], # 'conditions' 5856 ], # 'conditions'
5851 } 5857 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698