diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-16 17:12:18 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-16 17:12:18 +0000 |
commit | 1b6fcaad0722fb586620efc974726dee3fb0f80f (patch) | |
tree | 7fff250bd833e5fdb2e01b2cd74794cef712b756 | |
parent | c3da3697304847bf4fe106bb397bf2d09b6db29a (diff) | |
download | pdfium-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-- | .gn | 1 | ||||
-rw-r--r-- | constants/BUILD.gn | 8 | ||||
-rw-r--r-- | core/fpdfapi/edit/BUILD.gn | 1 | ||||
-rw-r--r-- | core/fpdfapi/page/BUILD.gn | 1 | ||||
-rw-r--r-- | core/fpdfapi/parser/BUILD.gn | 2 | ||||
-rw-r--r-- | core/fpdfapi/render/BUILD.gn | 1 | ||||
-rw-r--r-- | core/fpdfdoc/BUILD.gn | 1 | ||||
-rw-r--r-- | fpdfsdk/BUILD.gn | 1 |
8 files changed, 12 insertions, 4 deletions
@@ -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", |