Skip to content

Commit

Permalink
Turns on use_mojo=1 for linux.
Browse files Browse the repository at this point in the history
BUG=353602
TEST=none
R=csharp@chromium.org, mmoss@google.com, thestig@chromium.org, mmoss@chromium.org

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258062

Review URL: https://codereview.chromium.org/203963003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258411 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
sky@chromium.org committed Mar 20, 2014
1 parent 999f3e8 commit 2294ea4
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@
'enable_printing%': 0,
}],

['OS=="win"', {
['OS=="win" or (OS=="linux" and chromeos==0)', {
'use_mojo%': 1,
}],

Expand Down
1 change: 1 addition & 0 deletions chrome/chrome.isolate
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
'<(PRODUCT_DIR)/libffmpegsumo.so',
'<(PRODUCT_DIR)/libosmesa.so',
'<(PRODUCT_DIR)/libppGoogleNaClPluginChrome.so',
'<(PRODUCT_DIR)/lib/libmojo_system.so',
'<(PRODUCT_DIR)/nacl_helper<(EXECUTABLE_SUFFIX)',
'<(PRODUCT_DIR)/nacl_helper_bootstrap<(EXECUTABLE_SUFFIX)',
],
Expand Down
5 changes: 5 additions & 0 deletions chrome/chrome_installer.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,11 @@
'<(PRODUCT_DIR)/lib/libpeerconnection.so',
],
}],
['use_mojo==1', {
'packaging_files_binaries': [
'<(PRODUCT_DIR)/lib/libmojo_system.so',
],
}],
],
},
'targets': [
Expand Down
7 changes: 6 additions & 1 deletion chrome/installer/linux/common/installer.include
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@ stage_install_common() {
# ffmpeg libs
install -m 644 -s "${BUILDDIR}/libffmpegsumo.so" "${STAGEDIR}/${INSTALLDIR}/"

install -m 755 -d "${STAGEDIR}/${INSTALLDIR}/lib/"

if [ -f "${BUILDDIR}/lib/libmojo_system.so" ]; then
install -m 644 -s "${BUILDDIR}/lib/libmojo_system.so" "${STAGEDIR}/${INSTALLDIR}/lib/"
fi

# Widevine CDM.
if [ -f "${BUILDDIR}/libwidevinecdmadapter.so" ]; then
install -m 644 -s "${BUILDDIR}/libwidevinecdmadapter.so" "${STAGEDIR}/${INSTALLDIR}/"
Expand All @@ -172,7 +178,6 @@ stage_install_common() {

# peerconnection shared library
if [ -f "${BUILDDIR}/lib/libpeerconnection.so" ]; then
install -m 755 -d "${STAGEDIR}/${INSTALLDIR}/lib/"
install -m 644 -s "${BUILDDIR}/lib/libpeerconnection.so" "${STAGEDIR}/${INSTALLDIR}/lib/"
fi

Expand Down
1 change: 1 addition & 0 deletions chrome/installer/linux/rpm/expected_deps_i386
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ libgio-2.0.so.0
libglib-2.0.so.0
libgobject-2.0.so.0
libgtk-x11-2.0.so.0
libmojo_system.so
libm.so.6
libm.so.6(GLIBC_2.0)
libm.so.6(GLIBC_2.1)
Expand Down
1 change: 1 addition & 0 deletions chrome/installer/linux/rpm/expected_deps_x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ libgio-2.0.so.0()(64bit)
libglib-2.0.so.0()(64bit)
libgobject-2.0.so.0()(64bit)
libgtk-x11-2.0.so.0()(64bit)
libmojo_system.so()(64bit)
libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libnspr4.so()(64bit)
Expand Down
1 change: 1 addition & 0 deletions chrome/interactive_ui_tests.isolate
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
'../testing/xvfb.py',
'<(PRODUCT_DIR)/libffmpegsumo.so',
'<(PRODUCT_DIR)/libosmesa.so',
'<(PRODUCT_DIR)/lib/libmojo_system.so',
'<(PRODUCT_DIR)/pyproto/google/__init__.py',
'<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
],
Expand Down
1 change: 1 addition & 0 deletions chrome/sync_integration_tests.isolate
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
'<(PRODUCT_DIR)/chrome_100_percent.pak',
'<(PRODUCT_DIR)/libffmpegsumo.so',
'<(PRODUCT_DIR)/libppGoogleNaClPluginChrome.so',
'<(PRODUCT_DIR)/lib/libmojo_system.so',
'<(PRODUCT_DIR)/locales/en-US.pak',
'<(PRODUCT_DIR)/nacl_helper<(EXECUTABLE_SUFFIX)',
'<(PRODUCT_DIR)/nacl_helper_bootstrap<(EXECUTABLE_SUFFIX)',
Expand Down
6 changes: 6 additions & 0 deletions chrome/tools/build/linux/FILES.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ FILES = [
'filename': 'libffmpegsumo.so',
'buildtype': ['dev', 'official'],
},
{
'filename': 'lib/libmojo_system.so',
'buildtype': ['dev', 'official'],
# TODO(sky): remove this when we remove use_mojo.
'optional': ['dev', 'official'],
},
{
'filename': 'lib/libpeerconnection.so',
'buildtype': ['dev', 'official'],
Expand Down
1 change: 1 addition & 0 deletions chrome/unit_tests.isolate
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
'../testing/xvfb.py',
'<(PRODUCT_DIR)/libffmpegsumo.so',
'<(PRODUCT_DIR)/libosmesa.so',
'<(PRODUCT_DIR)/lib/libmojo_system.so',
'<(PRODUCT_DIR)/locales/fr.pak',
'<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
],
Expand Down
1 change: 1 addition & 0 deletions content/content_browsertests.isolate
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
'<(PRODUCT_DIR)/libclearkeycdm.so',
'<(PRODUCT_DIR)/libclearkeycdmadapter.so',
'<(PRODUCT_DIR)/libffmpegsumo.so',
'<(PRODUCT_DIR)/lib/libmojo_system.so',
'<(PRODUCT_DIR)/plugins/libtest_netscape_plugin.so',
'<(PRODUCT_DIR)/plugins/libnpapi_test_plugin.so',
],
Expand Down
1 change: 1 addition & 0 deletions content/content_unittests.isolate
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
'isolate_dependency_tracked': [
'../testing/xvfb.py',
'<(PRODUCT_DIR)/libffmpegsumo.so',
'<(PRODUCT_DIR)/lib/libmojo_system.so',
'<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
],
},
Expand Down

0 comments on commit 2294ea4

Please sign in to comment.