diff --git a/projects/perfetto/Dockerfile b/projects/perfetto/Dockerfile new file mode 100644 index 000000000..b5af15d4d --- /dev/null +++ b/projects/perfetto/Dockerfile @@ -0,0 +1,29 @@ +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ + +FROM gcr.io/oss-fuzz-base/base-builder +MAINTAINER fmayer@google.com + +RUN apt-get update +RUN apt-get -y install python git curl + +RUN git clone --depth=1 https://android.googlesource.com/platform/external/perfetto/ $SRC/perfetto + +RUN $SRC/perfetto/infra/oss-fuzz/init_container + +WORKDIR /src/perfetto +RUN tools/install-build-deps --no-android +COPY build.sh $SRC/ diff --git a/projects/perfetto/build.sh b/projects/perfetto/build.sh new file mode 100644 index 000000000..af1f553ab --- /dev/null +++ b/projects/perfetto/build.sh @@ -0,0 +1,18 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ + +$SRC/perfetto/infra/oss-fuzz/build_fuzzers diff --git a/projects/perfetto/project.yaml b/projects/perfetto/project.yaml index 37dc7d417..0f25de3c0 100644 --- a/projects/perfetto/project.yaml +++ b/projects/perfetto/project.yaml @@ -1,6 +1,6 @@ homepage: "https://perfetto.dev" primary_contact: "fmayer@google.com" auto_ccs: - - "primiano@google.com" + - "perfetto-oss-fuzz@google.com" sanitizers: - address