diff options
author | zork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-09 17:35:35 +0000 |
---|---|---|
committer | zork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-09 17:35:35 +0000 |
commit | c04558992dcba248ff8477021addf14b3b5b74f6 (patch) | |
tree | 7908abf3a882071017f2681c3fb97b8bd8d340e4 /gears/SConscript.inputs | |
parent | 9333f1812b353233e6c492a6dfe7efb3a03717a3 (diff) | |
download | chromium_src-c04558992dcba248ff8477021addf14b3b5b74f6.zip chromium_src-c04558992dcba248ff8477021addf14b3b5b74f6.tar.gz chromium_src-c04558992dcba248ff8477021addf14b3b5b74f6.tar.bz2 |
First pass at adding support for building Android via scons.
Review URL: http://codereview.chromium.org/13644
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gears/SConscript.inputs')
-rwxr-xr-x | gears/SConscript.inputs | 51 |
1 files changed, 29 insertions, 22 deletions
diff --git a/gears/SConscript.inputs b/gears/SConscript.inputs index dac9884..1efe16b 100755 --- a/gears/SConscript.inputs +++ b/gears/SConscript.inputs @@ -196,13 +196,14 @@ env.Append(SF_CPPSRCS = [ #----------------------------------------------------------------------------- # third_party/v8/bindings -env.Append(NPAPI_CPPSRCS = [ - '$THIRD_PARTY_DIR/v8/bindings_local/npruntime.cc', - '$THIRD_PARTY_DIR/v8/bindings_local/np_v8object.cc', - '$THIRD_PARTY_DIR/v8/bindings_local/v8_helpers.cc', - '$THIRD_PARTY_DIR/v8/bindings_local/v8_np_utils.cc', - '$THIRD_PARTY_DIR/v8/bindings_local/v8_npobject.cc', -]) +if env['OS'] == 'win32': + env.Append(NPAPI_CPPSRCS = [ + '$THIRD_PARTY_DIR/v8/bindings_local/npruntime.cc', + '$THIRD_PARTY_DIR/v8/bindings_local/np_v8object.cc', + '$THIRD_PARTY_DIR/v8/bindings_local/v8_helpers.cc', + '$THIRD_PARTY_DIR/v8/bindings_local/v8_np_utils.cc', + '$THIRD_PARTY_DIR/v8/bindings_local/v8_npobject.cc', + ]) #----------------------------------------------------------------------------- # third_party/convert_utf @@ -394,8 +395,6 @@ elif env['OS'] == 'wince': # base/chrome + npapi env.Append(NPAPI_CPPSRCS = [ - '$OPEN_DIR/base/chrome/module_cr.cc', - '$OPEN_DIR/base/common/js_runner_cr.cc', '$OPEN_DIR/base/common/html_event_monitor_np.cc', '$OPEN_DIR/base/common/ipc_message_queue_linux.cc', '$OPEN_DIR/base/common/ipc_message_queue_null.cc', @@ -403,7 +402,6 @@ env.Append(NPAPI_CPPSRCS = [ '$OPEN_DIR/base/common/ipc_message_queue_test_linux.cc', '$OPEN_DIR/base/common/ipc_message_queue_test_win32.cc', '$OPEN_DIR/base/common/ipc_message_queue_win32.cc', - '$OPEN_DIR/base/common/paths_cr.cc', '$OPEN_DIR/base/npapi/browser_utils.cc', '$OPEN_DIR/base/npapi/module.cc', '$OPEN_DIR/base/npapi/np_utils.cc', @@ -414,6 +412,9 @@ env.Append(NPAPI_CPPSRCS = [ if env['OS'] == 'win32': env.Append(NPAPI_CPPSRCS = [ + '$OPEN_DIR/base/chrome/module_cr.cc', + '$OPEN_DIR/base/common/js_runner_cr.cc', + '$OPEN_DIR/base/common/paths_cr.cc', '$OPEN_DIR/base/common/detect_version_collision_win32.cc', '$OPEN_DIR/base/common/message_queue_cr.cc', '$OPEN_DIR/base/ie/ie_version.cc', @@ -509,9 +510,10 @@ env.Append(BROWSER_CPPSRCS = [ '$OPEN_DIR/desktop/shortcut_utils_win32.cc', ]) -env.Append(NPAPI_CPPSRCS = [ - '$OPEN_DIR/desktop/desktop_cr.cc', -]) +if env['OS'] == 'win32': + env.Append(NPAPI_CPPSRCS = [ + '$OPEN_DIR/desktop/desktop_cr.cc', + ]) env.Append(BROWSER_CPPSRCS = [ '$OPEN_DIR/desktop/file_dialog.cc', @@ -588,14 +590,18 @@ env.Append(SF_CPPSRCS = [ # localserver/chrome + npapi env.Append(NPAPI_CPPSRCS = [ - '$OPEN_DIR/localserver/chrome/gears_protocol_handler.cc', - '$OPEN_DIR/localserver/chrome/network_intercept_cr.cc', - '$OPEN_DIR/localserver/chrome/http_cookies_cr.cc', - '$OPEN_DIR/localserver/chrome/http_request_cr.cc', - '$OPEN_DIR/localserver/chrome/update_task_cr.cc', '$OPEN_DIR/localserver/npapi/async_task_np.cc', ]) +if env['OS'] == 'win32': + env.Append(NPAPI_CPPSRCS = [ + '$OPEN_DIR/localserver/chrome/gears_protocol_handler.cc', + '$OPEN_DIR/localserver/chrome/network_intercept_cr.cc', + '$OPEN_DIR/localserver/chrome/http_cookies_cr.cc', + '$OPEN_DIR/localserver/chrome/http_request_cr.cc', + '$OPEN_DIR/localserver/chrome/update_task_cr.cc', + ]) + #----------------------------------------------------------------------------- # localserver/safari @@ -710,10 +716,11 @@ env.Append(NPAPI_M4SRCS = [ #----------------------------------------------------------------------------- # ui/chrome -env.Append(NPAPI_CPPSRCS = [ - '$OPEN_DIR/ui/chrome/settings_dialog_cr.cc', - '$OPEN_DIR/ui/chrome/html_dialog_cr.cc', -]) +if env['OS'] == 'win32': + env.Append(NPAPI_CPPSRCS = [ + '$OPEN_DIR/ui/chrome/settings_dialog_cr.cc', + '$OPEN_DIR/ui/chrome/html_dialog_cr.cc', + ]) #----------------------------------------------------------------------------- # ui/safari |