# Copyright (c) 2018 GitHub, Inc. # Use of this source code is governed by the MIT license that can be # found in the LICENSE file. component("pepper_flash") { visibility = [ "//electron:electron_lib" ] defines = [ "IS_PEPPER_FLASH_IMPL" ] sources = [ "//chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.cc", "//chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.h", "//chrome/browser/renderer_host/pepper/pepper_broker_message_filter.cc", "//chrome/browser/renderer_host/pepper/pepper_broker_message_filter.h", "//chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc", "//chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h", "//chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc", "//chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.h", "//chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc", "//chrome/browser/renderer_host/pepper/pepper_flash_drm_host.h", "//chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc", "//chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.h", "//chrome/renderer/pepper/chrome_renderer_pepper_host_factory.cc", "//chrome/renderer/pepper/chrome_renderer_pepper_host_factory.h", "//chrome/renderer/pepper/pepper_flash_drm_renderer_host.cc", "//chrome/renderer/pepper/pepper_flash_drm_renderer_host.h", "//chrome/renderer/pepper/pepper_flash_font_file_host.cc", "//chrome/renderer/pepper/pepper_flash_font_file_host.h", "//chrome/renderer/pepper/pepper_flash_fullscreen_host.cc", "//chrome/renderer/pepper/pepper_flash_fullscreen_host.h", "//chrome/renderer/pepper/pepper_flash_menu_host.cc", "//chrome/renderer/pepper/pepper_flash_menu_host.h", "//chrome/renderer/pepper/pepper_flash_renderer_host.cc", "//chrome/renderer/pepper/pepper_flash_renderer_host.h", "//chrome/renderer/pepper/pepper_helper.cc", "//chrome/renderer/pepper/pepper_helper.h", "//chrome/renderer/pepper/pepper_shared_memory_message_filter.cc", "//chrome/renderer/pepper/pepper_shared_memory_message_filter.h", ] deps = [ "//content/public/browser", "//content/public/renderer", "//media:media_buildflags", "//ppapi/host", "//ppapi/proxy", "//ppapi/proxy:ipc", "//ppapi/shared_impl", "//services/device/public/mojom", "//skia", "//third_party/adobe/flash:flapper_version_h", "//ui/base", "//ui/base/clipboard", ] if (is_mac) { sources += [ "//chrome/browser/renderer_host/pepper/monitor_finder_mac.h", "//chrome/browser/renderer_host/pepper/monitor_finder_mac.mm", ] libs = [ "CoreGraphics.framework" ] } if (is_linux) { deps += [ "//components/services/font/public/cpp" ] } }