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

Unified Diff: content/test/BUILD.gn

Issue 1939683002: Test X11 header pollution (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « content/renderer/pepper/pepper_video_encoder_host.cc ('k') | media/filters/vp9_parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/BUILD.gn
diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn
index c3220ad4b8fde8e4b7b3290b76ae0d1802a517f1..d589deaca8975626163f662b60f68d5967259396 100644
--- a/content/test/BUILD.gn
+++ b/content/test/BUILD.gn
@@ -894,90 +894,3 @@ test("content_perftests") {
deps += [ "//testing/android/native_test:native_test_native_code" ]
}
}
-
-if (is_android || is_chromeos) {
- # TODO(GYP): Port Windows logic.
- test("video_decode_accelerator_unittest") {
- deps = [
- "//base",
- "//content",
- "//media",
- "//testing/gtest",
- "//ui/base",
- "//ui/gfx",
- "//ui/gfx:test_support",
- "//ui/gfx/geometry",
- "//ui/gl",
- "//ui/gl:test_support",
- ]
- configs += [ "//third_party/khronos:khronos_headers" ]
- if (is_chromeos && target_cpu != "arm") {
- configs += [ "//third_party/libva:libva_config" ]
- }
- sources = [
- "//content/common/gpu/media/video_accelerator_unittest_helpers.h",
- ]
- if (is_android) {
- sources += [ "//content/common/gpu/media/android_video_decode_accelerator_unittest.cc" ]
- } else {
- sources += [
- "//content/common/gpu/media/rendering_helper.cc",
- "//content/common/gpu/media/rendering_helper.h",
- "//content/common/gpu/media/video_decode_accelerator_unittest.cc",
- ]
- }
-
- if (is_android) {
- deps += [
- "//gpu:test_support",
- "//media/base/android",
- "//media/base/android:media_java",
- "//media/capture/video/android:capture_java",
- "//testing/gmock",
- "//ui/android:ui_java",
- ]
- }
- if (is_chromeos && use_ozone) {
- deps += [
- "//ui/display", # Used by rendering_helper.cc
- "//ui/ozone", # Used by rendering_helper.cc
- ]
- }
- if (use_x11) {
- configs += [ "//build/config/linux:x11" ]
- deps += [ "//ui/gfx/x" ]
- }
- }
-}
-
-if (is_chromeos || is_mac) {
- test("video_encode_accelerator_unittest") {
- deps = [
- "//base",
- "//content",
- "//media",
- "//media/base:test_support",
- "//testing/gtest",
- "//ui/base",
- "//ui/gfx",
- "//ui/gfx:test_support",
- "//ui/gfx/geometry",
- "//ui/gl",
- "//ui/gl:test_support",
- ]
- configs += [
- "//third_party/libva:libva_config",
- "//third_party/libyuv:libyuv_config",
- ]
- sources = [
- "//content/common/gpu/media/video_accelerator_unittest_helpers.h",
- "//content/common/gpu/media/video_encode_accelerator_unittest.cc",
- ]
- if (use_x11) {
- deps += [ "//ui/gfx/x" ]
- }
- if (use_ozone) {
- deps += [ "//ui/ozone" ]
- }
- }
-}
« no previous file with comments | « content/renderer/pepper/pepper_video_encoder_host.cc ('k') | media/filters/vp9_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698