mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-03 02:36:09 +03:00
77 lines
1.7 KiB
Plaintext
77 lines
1.7 KiB
Plaintext
# Copyright 2014 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/config/nacl/config.gni")
|
|
import("../../../mojo/public/tools/bindings/mojom.gni")
|
|
|
|
if (is_android) {
|
|
import("//build/config/android/config.gni")
|
|
import("//build/config/android/rules.gni")
|
|
}
|
|
|
|
source_set("test_utils") {
|
|
testonly = true
|
|
|
|
sources = [
|
|
"test_utils.cc",
|
|
"test_utils.h",
|
|
]
|
|
|
|
public_deps = [
|
|
"//mojo/public/c/system",
|
|
"//mojo/public/cpp/system",
|
|
]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//base/test:test_support",
|
|
"//mojo/edk/test:test_support",
|
|
"//testing/gtest:gtest",
|
|
]
|
|
}
|
|
|
|
source_set("test_sources") {
|
|
testonly = true
|
|
sources = [
|
|
"channel_unittest.cc",
|
|
"core_test_base.cc",
|
|
"core_test_base.h",
|
|
"core_unittest.cc",
|
|
"handle_table_unittest.cc",
|
|
"message_pipe_unittest.cc",
|
|
"message_unittest.cc",
|
|
"options_validation_unittest.cc",
|
|
"platform_handle_dispatcher_unittest.cc",
|
|
"shared_buffer_dispatcher_unittest.cc",
|
|
"shared_buffer_unittest.cc",
|
|
"signals_unittest.cc",
|
|
"trap_unittest.cc",
|
|
]
|
|
|
|
if (!is_ios) {
|
|
sources += [
|
|
"data_pipe_unittest.cc",
|
|
"invitation_unittest.cc",
|
|
"multiprocess_message_pipe_unittest.cc",
|
|
"platform_wrapper_unittest.cc",
|
|
]
|
|
}
|
|
|
|
deps = [
|
|
":test_utils",
|
|
"//base",
|
|
"//base/test:test_support",
|
|
"//mojo/edk",
|
|
"//mojo/edk/embedder:embedder_unittests",
|
|
"//mojo/edk/system/ports:tests",
|
|
"//mojo/edk/test:run_all_unittests",
|
|
"//mojo/edk/test:test_support",
|
|
"//mojo/public/cpp/system",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
]
|
|
|
|
allow_circular_includes_from = [ "//mojo/edk/embedder:embedder_unittests" ]
|
|
}
|