gecko-dev/media
Gabriele Svelto 69790bc62e Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

Differential Revision: https://phabricator.services.mozilla.com/D55443

--HG--
extra : moz-landing-system : lando
2019-12-06 09:16:44 +00:00
..
audioipc Backed out 2 changesets (bug 1590249) for causing a spike in webgl crashes. CLOSED TREE 2019-10-29 03:04:11 +02:00
ffvpx Bug 1582271 - pt4 - add ffvpx mp3 decoding for android32. r=jya 2019-09-25 14:50:02 +00:00
gmp-clearkey/0.1 Bug 1579506 - Remove OpenAES source code and references r=bryce,mhoye 2019-09-12 23:27:08 +00:00
kiss_fft
libaom Bug 1592855 - run mach vendor aom with python3 r=dminor 2019-11-04 20:31:43 +00:00
libcubeb Bug 1596546: disable sndio lazy loading on OpenBSD, and directly link with it r=kinetik 2019-11-15 06:33:19 +00:00
libdav1d Bug 1588123 - Update libdav1d to head; r=TD-Linux 2019-10-24 18:58:15 +00:00
libjpeg Bug 1508198 - Update libjpeg-turbo to 2.0.3. r=aosmond 2019-09-05 16:49:12 +00:00
libmkv Bug 1465407 - Add media fuzzing targets. r=jya 2019-07-16 14:50:17 +00:00
libnestegg Bug 1592193 - Update libnestegg to b50521d4. r=bryce 2019-11-05 00:08:16 +00:00
libogg Bug 1465407 - Add media fuzzing targets. r=jya 2019-07-16 14:50:17 +00:00
libopus Bug 1496746 - Remove VPATH; r=glandium 2019-09-09 17:44:47 +00:00
libpng
libsoundtouch Bug 1588233 - P1: Correct the moz-patch for soundtouch. r=padenot 2019-11-26 00:42:34 +00:00
libspeex_resampler
libtheora Bug 1496746 - Remove VPATH; r=glandium 2019-09-09 17:44:47 +00:00
libtremor
libvorbis Bug 1465407 - Add media fuzzing targets. r=jya 2019-07-16 14:50:17 +00:00
libvpx Bug 1585358 - Remove mingw-gcc configuration stuf from libvpx r=jya 2019-10-10 18:30:56 +00:00
libwebp Bug 1556062 - Add additional libfuzzer instrumentation for WebP. r=posidron 2019-05-31 19:26:23 +00:00
libyuv
mp4parse-rust Bug 1567359 - Update mp4parse-rust to 201556d3. r=me 2019-07-19 14:32:44 +12:00
mtransport Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan 2019-12-06 09:16:44 +00:00
openmax_dl
openmax_il/il112
psshparser
webrtc Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan 2019-12-06 09:16:44 +00:00
moz.build
update-libjpeg.sh