| # Copyright 2020 The Chromium Authors. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| import("//build_overrides/build.gni") | |
| source_set("test_main") { | |
| testonly = true | |
| sources = [ | |
| "test_main.cc", | |
| ] | |
| if (!build_with_chromium) { | |
| defines = [ "ENABLE_PLATFORM_IMPL" ] | |
| } | |
| deps = [ | |
| "../platform", | |
| "../third_party/googletest:gtest", | |
| ] | |
| } |