summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gn1
-rw-r--r--constants/BUILD.gn8
-rw-r--r--core/fpdfapi/edit/BUILD.gn1
-rw-r--r--core/fpdfapi/page/BUILD.gn1
-rw-r--r--core/fpdfapi/parser/BUILD.gn2
-rw-r--r--core/fpdfapi/render/BUILD.gn1
-rw-r--r--core/fpdfdoc/BUILD.gn1
-rw-r--r--fpdfsdk/BUILD.gn1
8 files changed, 12 insertions, 4 deletions
diff --git a/.gn b/.gn
index 1327f274b7..d18f4fd60b 100644
--- a/.gn
+++ b/.gn
@@ -20,6 +20,7 @@ check_targets = [
":pdfium",
":pdfium_embeddertests",
":pdfium_unittests",
+ "//constants/*",
"//core/*",
"//fpdfsdk/*",
"//fxbarcode/*",
diff --git a/constants/BUILD.gn b/constants/BUILD.gn
index 7860539229..25a574eba9 100644
--- a/constants/BUILD.gn
+++ b/constants/BUILD.gn
@@ -7,9 +7,9 @@ import("../pdfium.gni")
jumbo_source_set("constants") {
sources = [
- "constants/form_flags.h",
- "constants/page_object.h",
- "constants/stream_dict_common.h",
- "constants/transparency.h",
+ "form_flags.h",
+ "page_object.h",
+ "stream_dict_common.h",
+ "transparency.h",
]
}
diff --git a/core/fpdfapi/edit/BUILD.gn b/core/fpdfapi/edit/BUILD.gn
index ff127a9a7e..2ef5fd93c9 100644
--- a/core/fpdfapi/edit/BUILD.gn
+++ b/core/fpdfapi/edit/BUILD.gn
@@ -23,6 +23,7 @@ jumbo_source_set("edit") {
]
configs += [ "../../../:pdfium_core_config" ]
deps = [
+ "../../../constants",
"../../../third_party:skia_shared",
"../../fxcrt",
"../font",
diff --git a/core/fpdfapi/page/BUILD.gn b/core/fpdfapi/page/BUILD.gn
index 7855dc12e9..3778ff6155 100644
--- a/core/fpdfapi/page/BUILD.gn
+++ b/core/fpdfapi/page/BUILD.gn
@@ -93,6 +93,7 @@ jumbo_source_set("page") {
]
configs += [ "../../../:pdfium_core_config" ]
deps = [
+ "../../../constants",
"../../fdrm",
"../../fxcodec",
"../../fxcrt",
diff --git a/core/fpdfapi/parser/BUILD.gn b/core/fpdfapi/parser/BUILD.gn
index 45035b3d0e..bc7769f415 100644
--- a/core/fpdfapi/parser/BUILD.gn
+++ b/core/fpdfapi/parser/BUILD.gn
@@ -73,6 +73,7 @@ jumbo_source_set("parser") {
]
configs += [ "../../../:pdfium_core_config" ]
deps = [
+ "../../../constants",
"../../fdrm",
"../../fxcodec",
"../../fxcrt",
@@ -107,6 +108,7 @@ pdfium_unittest_source_set("unittests") {
deps = [
":parser",
"../",
+ "../../../constants",
]
pdfium_root_dir = "../../../"
diff --git a/core/fpdfapi/render/BUILD.gn b/core/fpdfapi/render/BUILD.gn
index 1166907755..da00905ad9 100644
--- a/core/fpdfapi/render/BUILD.gn
+++ b/core/fpdfapi/render/BUILD.gn
@@ -49,6 +49,7 @@ jumbo_source_set("render") {
]
configs += [ "../../../:pdfium_core_config" ]
deps = [
+ "../../../constants",
"../../fxcodec",
"../../fxcrt",
"../../fxge",
diff --git a/core/fpdfdoc/BUILD.gn b/core/fpdfdoc/BUILD.gn
index e243823ac4..b977d3502e 100644
--- a/core/fpdfdoc/BUILD.gn
+++ b/core/fpdfdoc/BUILD.gn
@@ -85,6 +85,7 @@ jumbo_source_set("fpdfdoc") {
]
configs += [ "../../:pdfium_core_config" ]
deps = [
+ "../../constants",
"../fpdfapi/font",
"../fpdfapi/page",
"../fpdfapi/parser",
diff --git a/fpdfsdk/BUILD.gn b/fpdfsdk/BUILD.gn
index 1759ccf767..ea44f0d410 100644
--- a/fpdfsdk/BUILD.gn
+++ b/fpdfsdk/BUILD.gn
@@ -53,6 +53,7 @@ jumbo_source_set("fpdfsdk") {
configs += [ "../:pdfium_core_config" ]
deps = [
"../:pdfium_public_headers",
+ "../constants",
"../core/fpdfapi",
"../core/fpdfapi/page",
"../core/fpdfapi/parser",