-rw-r--r-- root/root usr/lib/chromium/chrome_100_percent.pak
-rw-r--r-- root/root usr/lib/chromium/chrome_200_percent.pak
-rwxr-xr-x root/root usr/lib/chromium/chromium
--rw-r--r-- root/root usr/lib/chromium/content_resources.pak
-rw-r--r-- root/root usr/lib/chromium/icudtl.dat
-rw-r--r-- root/root usr/lib/chromium/keyboard_resources.pak
drwxr-xr-x root/root usr/lib/chromium/locales/
-rw-r--r-- root/root usr/lib/chromium/locales/en-US.pak
+-rw-r--r-- root/root usr/lib/chromium/mus_app_resources_100.pak
+-rw-r--r-- root/root usr/lib/chromium/mus_app_resources_200.pak
+-rw-r--r-- root/root usr/lib/chromium/mus_app_resources_strings.pak
-rw-r--r-- root/root usr/lib/chromium/natives_blob.bin
-rw-r--r-- root/root usr/lib/chromium/resources.pak
drwxr-xr-x root/root usr/lib/chromium/resources/
-drwxr-xr-x root/root usr/lib/chromium/resources/extension/
-drwxr-xr-x root/root usr/lib/chromium/resources/extension/demo/
--rw-r--r-- root/root usr/lib/chromium/resources/extension/demo/library.js
drwxr-xr-x root/root usr/lib/chromium/resources/inspector/
drwxr-xr-x root/root usr/lib/chromium/resources/inspector/Images/
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/accelerometer-back.png
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/resourcesTimeGraphIcon.png
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/searchNext.png
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/searchPrev.png
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/securityPropertyInfo.svg
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/securityPropertyInsecure.svg
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/securityPropertySecure.svg
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/securityPropertyUnknown.svg
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/securityPropertyWarning.svg
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/securityStateInsecure.svg
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/securityStateNeutral.svg
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/securityStateSecure.svg
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/securityIcons.png
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/securityIcons_2x.png
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/settingsListRemove.png
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/settingsListRemove_2x.png
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/smallIcons.png
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/smallIcons_2x.png
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/speech.png
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/toolbarButtonGlyphs.png
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Images/toolbarButtonGlyphs_2x.png
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/InspectorBackendCommands.js
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/SupportedCSSProperties.js
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/Tests.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/accessibility_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/animation_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/audits_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/cm_modes_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/components_lazy_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/console_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/devices_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/accessibility/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/accessibility/accessibility_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/animation/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/animation/animation_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/audits/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/audits/audits_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/cm_modes/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/cm_modes/cm_modes_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/components_lazy/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/components_lazy/components_lazy_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/console/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/console/console_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/devices/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/devices/devices_module.js
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/devtools.js
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/devtools_extension_api.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/diff_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/elements_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/diff/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/diff/diff_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/elements/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/elements/elements_module.js
drwxr-xr-x root/root usr/lib/chromium/resources/inspector/emulated_devices/
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/emulated_devices/Nexus5X-landscape.svg
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/emulated_devices/Nexus5X-portrait.svg
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/emulated_devices/Nexus6P-landscape.svg
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/emulated_devices/Nexus6P-portrait.svg
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/emulated_devices/emulated_devices_module.js (EMPTY)
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/emulated_devices/google-nexus-5-horizontal-default-1x.png
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/emulated_devices/google-nexus-5-horizontal-default-2x.png
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/emulated_devices/google-nexus-5-horizontal-keyboard-1x.png
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/emulated_devices/iPhone6-portrait.svg
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/emulated_devices/iPhone6Plus-landscape.svg
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/emulated_devices/iPhone6Plus-portrait.svg
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/emulated_devices_module.js (EMPTY)
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/es_tree_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/es_tree/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/es_tree/es_tree_module.js
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/formatter_worker.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/gonzales_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/gonzales/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/gonzales/gonzales_module.js
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/heap_snapshot_worker.js
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/inspector.html
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/inspector.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/layers_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/network_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/profiler_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/resources_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/sass_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/screencast_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/security_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/settings_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/snippets_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/source_frame_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/sources_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/layers/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/layers/layers_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/network/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/network/network_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/profiler/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/profiler/profiler_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/resources/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/resources/resources_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/sass/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/sass/sass_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/screencast/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/screencast/screencast_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/security/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/security/security_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/settings/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/settings/settings_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/snippets/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/snippets/snippets_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/source_frame/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/source_frame/source_frame_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/sources/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/sources/sources_module.js
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/temp_storage_shared_worker.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/timeline_model_module.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/timeline_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/timeline/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/timeline/timeline_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/timeline_model/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/timeline_model/timeline_model_module.js
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/toolbox.html
-rw-r--r-- root/root usr/lib/chromium/resources/inspector/toolbox.js
--rw-r--r-- root/root usr/lib/chromium/resources/inspector/ui_lazy_module.js
+drwxr-xr-x root/root usr/lib/chromium/resources/inspector/ui_lazy/
+-rw-r--r-- root/root usr/lib/chromium/resources/inspector/ui_lazy/ui_lazy_module.js
-rw-r--r-- root/root usr/lib/chromium/snapshot_blob.bin
+-rw-r--r-- root/root usr/lib/chromium/views_mus_resources.pak
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/chromium.desktop
# Depends on: dbus-glib gperf gtk libevent libexif libgcrypt mesa3d ninja nss pciutils speech-dispatcher xorg-libxscrnsaver xorg-libxt xorg-libxtst yasm
name=chromium
-version=53.0.2785.143
+version=54.0.2840.100
release=1
source=(http://commondatastorage.googleapis.com/$name-browser-official/$name-$version.tar.xz \
- $name.sh $name.desktop)
+ last-commit-position.patch $name-build-toolchain.patch $name.sh $name.desktop)
build() {
cd $name-$version
- touch chrome/test/data/webui/i18n_process_css_test.html
-
export CFLAGS="$CFLAGS $(pkg-config --cflags nspr) -lpthread"
export LDFLAGS="$LDFLAGS $(pkg-config --libs nspr)"
esac
done
- build/gyp_chromium build/all.gyp --depth=. \
- -Dtarget_arch=arm \
- -Darm_float_abi=hard \
- -Darmv7=$USE_ARMV7 \
- -Darm_thumb=$USE_ARM_THUMB \
- -Darm_neon=$USE_ARM_NEON \
- -Dv8_target_arch=arm \
- -Dv8_use_arm_eabi_hardfloat=1 \
- -Dsysroot= \
- -Dclang=0 \
- -Dpython_ver="2.7" \
- -Dno_strict_aliasing=1 \
- -Dwerror= \
- -Dlinux_sandbox_path=/usr/lib/$name/chrome-sandbox \
- -Dlinux_strip_binary=1 \
- -Dlinux_use_gold_binary=0 \
- -Dlinux_use_gold_flags=0 \
- -Drelease_extra_cflags="$CFLAGS" \
- -Dproprietary_codecs=1 \
- -Dffmpeg_branding=Chrome \
- -Dlibspeechd_h_prefix=speech-dispatcher/ \
- -Duse_system_libjpeg=1 \
- -Duse_system_libxslt=1 \
- -Duse_system_libxml=1 \
- -Duse_system_bzip2=1 \
- -Duse_system_zlib=0 \
- -Duse_system_libpng=0 \
- -Duse_system_ffmpeg=0 \
- -Duse_system_yasm=1 \
- -Duse_system_libevent=1 \
- -Duse_system_sqlite=0 \
- -Duse_system_ssl=0 \
- -Duse_system_icu=0 \
- -Dremove_webcore_debug_symbols=1 \
- -Duse_gconf=0 \
- -Duse_cups=0 \
- -Duse_gnome_keyring=0 \
- -Duse_kerberos=0 \
- -Duse_pulseaudio=0 \
- -Dlinux_link_gnome_keyring=0 \
- -Dlinux_link_libpci=1 \
- -Dlinux_link_libspeechd=1 \
- -Denable_webrtc=1 \
- -Ddisable_nacl=1 \
- -Dicu_use_data_file_flag=1
+
+ # we don't use git sources
+ patch -p1 -i $SRC/last-commit-position.patch
+
+ # Let's fix the toolchain
+ patch -p0 -i $SRC/$name-build-toolchain.patch
+
+ _gn_args=(
+ 'blink_gc_plugin=false'
+ 'clang_use_chrome_plugins=false'
+ 'enable_hangout_services_extension=true'
+ 'enable_nacl=false'
+ 'enable_nacl_nonsfi=false'
+ 'fatal_linker_warnings=false'
+ 'ffmpeg_branding="Chrome"'
+ 'is_clang=false'
+ 'is_debug=false'
+ 'linux_use_bundled_binutils=false'
+ 'proprietary_codecs=true'
+ 'remove_webcore_debug_symbols=true'
+ 'symbol_level=0'
+ 'treat_warnings_as_errors=false'
+ 'use_allocator="none"'
+ 'use_cups=false'
+ 'use_gconf=false'
+ 'use_gnome_keyring=false'
+ 'use_gold=false'
+ 'use_kerberos=false'
+ 'use_pulseaudio=false'
+ 'use_sysroot=false'
+ 'use_system_libjpeg=true'
+ )
+
+ python2 tools/gn/bootstrap/bootstrap.py --gn-gen-args="${_gn_args[*]}"
+ out/Release/gn gen out/Release --args="${_gn_args[*]}" --script-executable=/usr/bin/python2
ninja -C out/Release chrome chrome_sandbox
for size in 22 24 48 128 256; do
install -m 0644 -D chrome/app/theme/$name/product_logo_${size}.png \
- $PKG/usr/share/icons/hicolor/${size}x${size}/apps/$name.png
+ $PKG/usr/share/icons/hicolor/${size}x${size}/apps/$name.png
done
# fix icu installation