diff options
author | Mike Klein <mtklein@chromium.org> | 2016-10-26 13:32:07 -0400 |
---|---|---|
committer | Mike Klein <mtklein@chromium.org> | 2016-10-26 17:47:00 +0000 |
commit | 552cd1335fb4f4cd87aa418cc99f484d186ba046 (patch) | |
tree | 979464faefc2f842fd494ef4a4d30cc2a585b778 /gn/shared_sources.gni | |
parent | 62e7b5fd79d3d61e9821ecd6123a3588d94893cc (diff) |
Start inverting GN reading .gypis to GYP reading .gnis.
This canaries the idea by converting gyp/pdf.gypi to gn/pdf.gni.
If this lands and rolls quietly, I'll flesh out the rest.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3972
Change-Id: Iecaf1ccce7891679904c585946272bfb25eea299
Reviewed-on: https://skia-review.googlesource.com/3972
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/shared_sources.gni')
-rw-r--r-- | gn/shared_sources.gni | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gn/shared_sources.gni b/gn/shared_sources.gni index 2da3d2cb79..1f1184e6df 100644 --- a/gn/shared_sources.gni +++ b/gn/shared_sources.gni @@ -60,15 +60,7 @@ skia_opts = exec_script("gypi_to_gn.py", [ "../gyp/opts.gypi" ]) # PDF. -_pdf_gypi = exec_script("gypi_to_gn.py", - [ - rebase_path("../gyp/pdf.gypi"), - "--replace=<(skia_include_path)=$_path_to_include", - "--replace=<(skia_src_path)=$_path_to_src", - ], - "scope", - [ "../gyp/pdf.gypi" ]) -skia_pdf_sources = _pdf_gypi.sources +import("pdf.gni") _sources_gypi = exec_script("gypi_to_gn.py", [ rebase_path("../gyp/skia_sources.gypi") ], |