Commit b1a324dc authored by Lei Zhang's avatar Lei Zhang Committed by Commit Bot

Put pdf/out_of_process_instance.* into its own target.

OutOfProcessInstance requires PPAPI dependencies. So split it away from
the "internal" target, which is migrating away from PPAPI.

Bug: 1103478
Change-Id: Id17208b497b4f2e45c015fc702b82d1c16282771
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2293326
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: default avatarDaniel Hosseinian <dhoss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#789974}
parent 0115eed9
...@@ -48,6 +48,7 @@ if (enable_pdf) { ...@@ -48,6 +48,7 @@ if (enable_pdf) {
deps = [ deps = [
":internal", ":internal",
":out_of_process_instance",
":pdf", ":pdf",
"//base", "//base",
"//ppapi/cpp:objects", "//ppapi/cpp:objects",
...@@ -87,8 +88,6 @@ if (enable_pdf) { ...@@ -87,8 +88,6 @@ if (enable_pdf) {
"draw_utils/coordinates.h", "draw_utils/coordinates.h",
"draw_utils/shadow.cc", "draw_utils/shadow.cc",
"draw_utils/shadow.h", "draw_utils/shadow.h",
"out_of_process_instance.cc",
"out_of_process_instance.h",
"page_orientation.cc", "page_orientation.cc",
"page_orientation.h", "page_orientation.h",
"paint_aggregator.cc", "paint_aggregator.cc",
...@@ -185,6 +184,27 @@ if (enable_pdf) { ...@@ -185,6 +184,27 @@ if (enable_pdf) {
] ]
} }
source_set("out_of_process_instance") {
visibility = [ ":*" ]
sources = [
"out_of_process_instance.cc",
"out_of_process_instance.h",
]
configs += [ ":pdf_common_config" ]
deps = [
":features",
":internal",
"//base",
"//net",
"//ppapi/cpp:objects",
"//ppapi/cpp/private:internal_module",
"//ui/base",
]
}
source_set("pdf_test_utils") { source_set("pdf_test_utils") {
visibility = [ ":*" ] visibility = [ ":*" ]
...@@ -246,6 +266,7 @@ if (enable_pdf) { ...@@ -246,6 +266,7 @@ if (enable_pdf) {
":assert_enums", ":assert_enums",
":features", ":features",
":internal", ":internal",
":out_of_process_instance",
":pdf", ":pdf",
":pdf_test_utils", ":pdf_test_utils",
"//base", "//base",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment