From 552cd1335fb4f4cd87aa418cc99f484d186ba046 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Wed, 26 Oct 2016 13:32:07 -0400 Subject: 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 Commit-Queue: Mike Klein --- gn/shared_sources.gni | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'gn/shared_sources.gni') 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") ], -- cgit v1.2.3