chromium/third_party/crashpad/crashpad/test/gtest_main.cc

// Copyright 2017 The Crashpad Authors
//
// 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.

#include "base/logging.h"
#include "build/build_config.h"
#include "gtest/gtest.h"
#include "test/main_arguments.h"
#include "test/multiprocess_exec.h"

#if defined(CRASHPAD_TEST_LAUNCHER_GOOGLEMOCK)
#include "gmock/gmock.h"
#endif  // CRASHPAD_TEST_LAUNCHER_GOOGLEMOCK

#if BUILDFLAG(IS_ANDROID)
#include "util/linux/initial_signal_dispositions.h"
#endif  // BUILDFLAG(IS_ANDROID)

#if BUILDFLAG(IS_IOS)
#include "test/ios/google_test_setup.h"
#endif

#if BUILDFLAG(IS_WIN)
#include "test/win/win_child_process.h"
#endif  // BUILDFLAG(IS_WIN)

#if defined(CRASHPAD_IS_IN_CHROMIUM)
#include "base/functional/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
#endif  // CRASHPAD_IS_IN_CHROMIUM

namespace {

#if !BUILDFLAG(IS_IOS)
bool GetChildTestFunctionName(std::string* child_func_name) {}
#endif  // !BUILDFLAG(IS_IOS)

}  // namespace

int main(int argc, char* argv[]) {}