Add implementation for perfetto project. (#2011)

* Add implementation for perfetto project.

This delegates to scripts in our repo to make changes easier.

* Change CC to mailing list.
This commit is contained in:
Florian Mayer 2018-12-07 17:48:35 +00:00 committed by Abhishek Arya
parent 370b76dc58
commit 165a2f2539
3 changed files with 48 additions and 1 deletions

View File

@ -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/

View File

@ -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

View File

@ -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