summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-16 17:12:18 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-16 17:12:18 +0000
commit1b6fcaad0722fb586620efc974726dee3fb0f80f (patch)
tree7fff250bd833e5fdb2e01b2cd74794cef712b756
parentc3da3697304847bf4fe106bb397bf2d09b6db29a (diff)
downloadpdfium-1b6fcaad0722fb586620efc974726dee3fb0f80f.tar.xz
Make constants/ pass gn check.
Change-Id: I1104d5c3c63dbf9f2f286797db842d30c75e2718 Reviewed-on: https://pdfium-review.googlesource.com/c/44077 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
-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",