Skip to content

Commit

Permalink
[firefox] housekeeping (google#2234)
Browse files Browse the repository at this point in the history
* disable ContentSecurityPolicyParser target

* disable building av1 (requires new nasm)

* remove ContentSecurityPolicyParser files
  • Loading branch information
pdknsk authored and Dor1s committed Mar 13, 2019
1 parent a51f446 commit 94c742f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 20 deletions.
11 changes: 0 additions & 11 deletions projects/firefox/ContentSecurityPolicyParser.diff

This file was deleted.

2 changes: 0 additions & 2 deletions projects/firefox/ContentSecurityPolicyParser.options

This file was deleted.

2 changes: 0 additions & 2 deletions projects/firefox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,3 @@ RUN hg clone --uncompressed https://hg.mozilla.org/mozilla-central
RUN git clone --depth 1 https://github.com/mozillasecurity/fuzzdata
WORKDIR mozilla-central
COPY build.sh target.c *.options mozconfig.* $SRC/
COPY *.diff $SRC/mozilla-central/
RUN hg patch --no-commit ContentSecurityPolicyParser.diff
8 changes: 3 additions & 5 deletions projects/firefox/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ FUZZ_TARGETS=(
SdpParser
StunParser
ContentParentIPC
ContentSecurityPolicyParser
# Qcms # needn't be enabled; has its own project with more sanitizers/engines
# Targets which are available but disabled.
# Qcms
# ContentSecurityPolicyParser
)

# Firefox object (build) directory and configuration file.
Expand Down Expand Up @@ -82,6 +83,3 @@ cp $SRC/fuzzdata/dicts/stun.dict $OUT/StunParser.dict

# ContentParentIPC
cp $SRC/fuzzdata/settings/ipc/libfuzzer.content.blacklist.txt $OUT/firefox

# ContentSecurityPolicyParser
cp dom/security/fuzztest/csp_fuzzer.dict $OUT/ContentSecurityPolicyParser.dict
1 change: 1 addition & 0 deletions projects/firefox/mozconfig.coverage
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ ac_add_options --disable-debug
ac_add_options --disable-elf-hack
ac_add_options --disable-jemalloc
ac_add_options --disable-crashreporter
ac_add_options --disable-av1
ac_add_options --enable-fuzzing
ac_add_options --enable-optimize=-O1
ac_add_options --enable-debug-symbols=-gline-tables-only

0 comments on commit 94c742f

Please sign in to comment.