Files
platform-external-webrtc/tools/valgrind-webrtc/valgrind-webrtc.gni
ehmaldonado ed8c8ede5d Add rtc_use_memcheck flag, update MB and GN to handle it, and add gni files listing the runtime deps
When set to true, this adds the files necessary to run memcheck as data dependencies, listed in the .gni files.
This will enable us to run memcheck on swarming.

R=kjellander@chromium.org
BUG=chromium:497757
NOTRY=True

Review-Url: https://codereview.webrtc.org/2510033004
Cr-Commit-Position: refs/heads/master@{#15219}
2016-11-23 20:58:45 +00:00

33 lines
1.8 KiB
Plaintext

# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
# TODO(ehmaldonado): Replace by the new paths once the upstream changes land.
# See https://codereview.chromium.org/2526883002/ for valgrind-binaries.gni and
# https://codereview.chromium.org/2517953007/ for python-google.gni and
# valgrind.gni
import("python-google.gni")
import("valgrind-binaries.gni")
import("valgrind.gni")
valgrind_webrtc_dependencies = [
"../../tools/valgrind-webrtc/gtest_exclude/modules_tests.gtest-memcheck.txt",
"../../tools/valgrind-webrtc/gtest_exclude/modules_unittests.gtest-memcheck.txt",
"../../tools/valgrind-webrtc/gtest_exclude/peerconnection_unittests.gtest-memcheck.txt",
"../../tools/valgrind-webrtc/gtest_exclude/rtc_media_unittests.gtest-memcheck.txt",
"../../tools/valgrind-webrtc/gtest_exclude/rtc_media_unittests.gtest-memcheck_mac.txt",
"../../tools/valgrind-webrtc/gtest_exclude/rtc_pc_unittests.gtest-memcheck.txt",
"../../tools/valgrind-webrtc/gtest_exclude/rtc_unittests.gtest-memcheck.txt",
"../../tools/valgrind-webrtc/gtest_exclude/video_engine_tests.gtest-memcheck.txt",
"../../tools/valgrind-webrtc/gtest_exclude/webrtc_nonparallel_tests.gtest-memcheck.txt",
"../../tools/valgrind-webrtc/memcheck/suppressions.txt",
"../../tools/valgrind-webrtc/memcheck/suppressions_mac.txt",
"../../tools/valgrind-webrtc/memcheck/suppressions_win32.txt",
"../../tools/valgrind-webrtc/webrtc_tests.py",
"../../tools/valgrind-webrtc/webrtc_tests.sh",
] + valgrind_dependencies + valgrind_binaries + python_google