~chromium-team/chromium-browser/artful-beta

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Olivier Tilloy
  • Date: 2017-10-27 05:13:29 UTC
  • mfrom: (1358.1.47 artful-dev)
  • Revision ID: olivier.tilloy@canonical.com-20171027051329-vbmvjlczqsshcuqm
* Upstream beta channel update: 63.0.3239.18
* debian/rules:
  - replace allow_posix_link_time_opt=false by use_lld=false, is_cfi=false and use_thin_lto=false
  - rename use_vulcanize GN flag to optimize_webui
  - generate the man page as it's not being built with chromium any longer (since commit 64b961499bebc54fe48478f5e37477252c7887fa)
* debian/patches/arm-neon.patch: refreshed
* debian/patches/disable-sse2: refreshed
* debian/patches/fix-gn-bootstrap.patch: removed, no longer needed
* debian/patches/fix_building_widevinecdm_with_chromium.patch: refreshed
* debian/patches/glibc-2-26-changes.patch: renamed to debian/patches/no-xlocale-header.patch and updated
* debian/patches/revert-Xclang-instcombine-lower-dbg-declare.patch: added
* debian/patches/search-credit.patch: refreshed
* debian/patches/set-rpath-on-chromium-executables.patch: updated
* debian/patches/suppress-newer-clang-warning-flags.patch: updated
* debian/patches/touch-v35: refreshed
* debian/patches/use-clang-versioned.patch: refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
        is_clang=true \
88
88
        clang_base_path="/usr" \
89
89
        clang_use_chrome_plugins=false \
90
 
        allow_posix_link_time_opt=false \
 
90
        use_lld=false \
 
91
        is_cfi=false \
 
92
        use_thin_lto=false \
91
93
        fatal_linker_warnings=false \
92
94
        target_os="linux" \
93
95
        current_os="linux" \
94
 
        use_vulcanize=false
 
96
        optimize_webui=false
95
97
 
96
98
ffmpeg_std_defines   += proprietary_codecs=false
97
99
ffmpeg_extra_defines += proprietary_codecs=true ffmpeg_branding="Chrome"
252
254
        cp -a debian/chromium-browser.svg debian/chromium-browser/usr/share/icons/hicolor/scalable/apps
253
255
 
254
256
 
255
 
        # Record files that were built, so we can compare later that we instlled everything.
 
257
        # Record files that were built, so we can compare later that we installed everything.
256
258
        find debian/tmp debian/tmp-std debian/tmp-std -type f |cut -d/ -f3- >$(T)/unfiltered-built
257
259
        grep -vE \($(subst $(SPACE),\|,$(BUILT_UNUSED_MATCH))\) $(T)/unfiltered-built $(foreach expr,$(RENAMED_FILE), |sed -r -e $(expr)) |grep -vE \($(subst $(SPACE),\|,$(INDEP_MATCH))\) | LC_ALL=C sort >$(T)/built
258
260
 
285
287
 
286
288
        install -T -m 755 debian/chromium-browser.sh debian/chromium-browser/usr/bin/chromium-browser
287
289
 
288
 
        # Manpage is for wrong program name, and it's in a weird place.  Use and destroy.
 
290
        # Generate the manpage and install it
289
291
        mkdir -p debian/chromium-browser/usr/share/man/man1
290
 
        mv debian/chromium-browser/$(LIB_DIR)/chrome.1 debian/chromium-browser/usr/share/man/man1/chromium-browser.1
291
 
        gzip -f -9 debian/chromium-browser/usr/share/man/man1/chromium-browser.1
 
292
        sed \
 
293
          -e "s:/@@PACKAGE@@:/chromium:g" \
 
294
          -e "s:@@PACKAGE@@:chromium-browser:g" \
 
295
          -e "s:@@MENUNAME@@:Chromium:g" \
 
296
          chrome/app/resources/manpage.1.in \
 
297
          > debian/chromium-browser/usr/share/man/man1/chromium-browser.1
 
298
        gzip -9n debian/chromium-browser/usr/share/man/man1/chromium-browser.1
 
299
        echo "usr/share/man/man1/chromium-browser.1.gz" >> $(T)/built
 
300
        LC_ALL=C sort $(T)/built -o $(T)/built
292
301
 
293
302
        # this should find almost nothing
294
303
        find debian/chromium-browser/$(LIB_DIR)/locales -type f -name \*.pak -print