Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: ppapi/BUILD.gn

Issue 965633002: Add remoting and PPAPI tests to GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge fix Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/libgtk2ui/BUILD.gn ('k') | ppapi/ppapi_host.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/BUILD.gn
diff --git a/ppapi/BUILD.gn b/ppapi/BUILD.gn
index f7ff011c7f48fcaa854b8dcf8f5530e8aba47b71..7ecb40ad46bc5eb92be86da4cc550972eb97f287 100644
--- a/ppapi/BUILD.gn
+++ b/ppapi/BUILD.gn
@@ -3,6 +3,8 @@
# found in the LICENSE file.
import("//ppapi/ppapi_sources.gni")
+import("//testing/test.gni")
+
shared_library("ppapi_tests") {
sources = ppapi_sources.test_common_source_files +
ppapi_sources.test_trusted_source_files
@@ -15,4 +17,76 @@ shared_library("ppapi_tests") {
"//ppapi/shared_impl",
]
}
-# TODO(GYP) other targets from ppapi_tests.gyp
+
+test("ppapi_unittests") {
+ sources = [
+ "host/resource_message_filter_unittest.cc",
+ "proxy/device_enumeration_resource_helper_unittest.cc",
+ "proxy/file_chooser_resource_unittest.cc",
+ "proxy/file_system_resource_unittest.cc",
+ "proxy/flash_resource_unittest.cc",
+ "proxy/interface_list_unittest.cc",
+ "proxy/mock_resource.cc",
+ "proxy/mock_resource.h",
+ "proxy/nacl_message_scanner_unittest.cc",
+ "proxy/pdf_resource_unittest.cc",
+ "proxy/plugin_dispatcher_unittest.cc",
+ "proxy/plugin_resource_tracker_unittest.cc",
+ "proxy/plugin_var_tracker_unittest.cc",
+ "proxy/ppb_var_unittest.cc",
+ "proxy/ppp_instance_private_proxy_unittest.cc",
+ "proxy/ppp_instance_proxy_unittest.cc",
+ "proxy/ppp_messaging_proxy_unittest.cc",
+ "proxy/printing_resource_unittest.cc",
+ "proxy/raw_var_data_unittest.cc",
+ "proxy/serialized_var_unittest.cc",
+ "proxy/talk_resource_unittest.cc",
+ "proxy/video_decoder_resource_unittest.cc",
+ "proxy/video_encoder_resource_unittest.cc",
+ "proxy/websocket_resource_unittest.cc",
+ "shared_impl/media_stream_audio_track_shared_unittest.cc",
+ "shared_impl/media_stream_buffer_manager_unittest.cc",
+ "shared_impl/media_stream_video_track_shared_unittest.cc",
+ "shared_impl/proxy_lock_unittest.cc",
+ "shared_impl/resource_tracker_unittest.cc",
+ "shared_impl/thread_aware_callback_unittest.cc",
+ "shared_impl/time_conversion_unittest.cc",
+ "shared_impl/tracked_callback_unittest.cc",
+ "shared_impl/var_tracker_unittest.cc",
+ ]
+
+ deps = [
+ "//base/allocator",
+ "//base/test:run_all_unittests",
+ "//base/test:test_support",
+ "//gpu/ipc",
+ "//ipc",
+ "//ipc:test_support",
+ "//media:shared_memory_support",
+ "//ppapi/host",
+ "//ppapi/proxy",
+ "//ppapi/proxy:test_support",
+ "//ppapi/shared_impl",
+ "//ppapi/shared_impl:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//ui/surface",
+ ]
+}
+
+test("ppapi_perftests") {
+ sources = [
+ "proxy/ppapi_perftests.cc",
+ "proxy/ppp_messaging_proxy_perftest.cc",
+ ]
+
+ deps = [
+ "//base/allocator",
+ "//base/test:test_support",
+ "//ppapi/proxy",
+ "//ppapi/proxy:test_support",
+ "//ppapi/shared_impl",
+ "//ppapi/shared_impl:test_support",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « chrome/browser/ui/libgtk2ui/BUILD.gn ('k') | ppapi/ppapi_host.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698