2018-08-29 08:39:47 +00:00
|
|
|
# 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",
|
2018-07-21 12:30:16 +00:00
|
|
|
"//media:media_buildflags",
|
2018-08-29 08:39:47 +00:00
|
|
|
"//ppapi/host",
|
|
|
|
"//ppapi/proxy",
|
|
|
|
"//ppapi/proxy:ipc",
|
|
|
|
"//ppapi/shared_impl",
|
|
|
|
"//services/device/public/mojom",
|
|
|
|
"//skia",
|
|
|
|
"//third_party/adobe/flash:flapper_version_h",
|
|
|
|
"//ui/base",
|
2019-02-04 15:55:22 +00:00
|
|
|
"//ui/base/clipboard",
|
2018-08-29 08:39:47 +00:00
|
|
|
]
|
|
|
|
if (is_mac) {
|
|
|
|
sources += [
|
|
|
|
"//chrome/browser/renderer_host/pepper/monitor_finder_mac.h",
|
|
|
|
"//chrome/browser/renderer_host/pepper/monitor_finder_mac.mm",
|
|
|
|
]
|
2019-09-18 19:58:00 +00:00
|
|
|
libs = [ "CoreGraphics.framework" ]
|
2018-08-29 08:39:47 +00:00
|
|
|
}
|
2018-10-05 18:54:08 +00:00
|
|
|
if (is_linux) {
|
|
|
|
deps += [ "//components/services/font/public/cpp" ]
|
|
|
|
}
|
2018-08-29 08:39:47 +00:00
|
|
|
}
|