mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
708ddc7be7
Backed out changeset 53058615e7a3 (bug 1024774) Backed out changeset 68fe0894bb09 (bug 1065657) Backed out changeset 1b9620d674df (bug 1024774) Backed out changeset a31c514b59da (bug 1024774) Backed out changeset 0fcf8757f6c2 (bug 1024774) Backed out changeset 9a3c71b925d4 (bug 1024774) Backed out changeset 783acc92af04 (bug 1024774) Backed out changeset ad71c9a3446b (bug 1024774) Backed out changeset 4f37e72e70f6 (bug 1024774) Backed out changeset ec869578cc0a (bug 1024774) Backed out changeset 3c1d306c8a3d (bug 1024774) Backed out changeset b3a90f30892d (bug 1024774) Backed out changeset cf7bbb3774c0 (bug 1024774) Backed out changeset 2522eb4d3cf2 (bug 1024774) Backed out changeset 89a502d88f9c (bug 1024774) Backed out changeset 61046ad3161f (bug 1024774) Backed out changeset 36706aaa2f06 (bug 1024774) Backed out changeset ba8e68e05149 (bug 1149397) Backed out changeset 532169437c2f (bug 1065657)
26 lines
918 B
Bash
Executable File
26 lines
918 B
Bash
Executable File
#!/bin/bash
|
|
# A script to generate toolkit/components/downloads/csd.pb.{cc,h} for use in
|
|
# nsIApplicationReputationQuery. This script assumes you have downloaded and
|
|
# installed the protocol buffer compiler.
|
|
# As of June 26 2014, csd.proto contains many protobufs that are currently
|
|
# unused by ApplicationReputation. You may want to strip csd.proto of these
|
|
# before running the protocol compiler on it.
|
|
if [ -n $PROTOC_PATH ]; then
|
|
PROTOC_PATH=/usr/local/bin/protoc
|
|
fi
|
|
|
|
echo "Using $PROTOC_PATH as protocol compiler"
|
|
|
|
if [ ! -e $PROTOC_PATH ]; then
|
|
echo "You must install the protocol compiler from " \
|
|
"https://code.google.com/p/protobuf/downloads/list"
|
|
exit 1
|
|
fi
|
|
|
|
# Get the protocol buffer and compile it
|
|
CMD='wget http://src.chromium.org/chrome/trunk/src/chrome/common/safe_browsing/csd.proto -O csd.proto'
|
|
OUTPUT_PATH=toolkit/components/downloads
|
|
|
|
$CMD
|
|
$PROTOC_PATH csd.proto --cpp_out=$OUTPUT_PATH
|