diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-03-30 22:04:53 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-03-30 22:04:53 +0000 |
commit | 30ca0a69e673047fcad1f9f275001fb017f68a31 (patch) | |
tree | a4abf6f505c6eab6410aa21adf0496c182516eea /gyp | |
parent | 2022c94ec45d29a3dba0867112ef813669057d1d (diff) |
Add pdf to skia.gyp and checkin a snap of GYP.
Review URL: http://codereview.appspot.com/4307050/
git-svn-id: http://skia.googlecode.com/svn/trunk@1029 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-rwxr-xr-x | gyp/gyp_skia | 4 | ||||
-rw-r--r-- | gyp/skia.gyp | 43 |
2 files changed, 42 insertions, 5 deletions
diff --git a/gyp/gyp_skia b/gyp/gyp_skia index 45d037de98..909c266513 100755 --- a/gyp/gyp_skia +++ b/gyp/gyp_skia @@ -25,9 +25,7 @@ import sys script_dir = os.path.dirname(__file__) -# This assumes that your gyp checkout is placed in the same root directory -# as your skia checkout. -gyp_dir = os.path.normpath(os.path.join(script_dir, os.pardir, os.pardir)) +gyp_dir = os.path.normpath(os.path.join(script_dir, os.pardir, 'third_party')) sys.path.append(os.path.join(gyp_dir, 'gyp', 'pylib')) import gyp diff --git a/gyp/skia.gyp b/gyp/skia.gyp index a9c46000b2..52d3977819 100644 --- a/gyp/skia.gyp +++ b/gyp/skia.gyp @@ -591,6 +591,47 @@ }, }, { + 'target_name': 'pdf', + 'type': 'static_library', + 'include_dirs': [ + '../include/config', + '../include/core', + '../include/pdf', + ], + 'sources': [ + '../include/pdf/SkPDFCatalog.h', + '../include/pdf/SkPDFDevice.h', + '../include/pdf/SkPDFDocument.h', + '../include/pdf/SkPDFFont.h', + '../include/pdf/SkPDFFormXObject.h', + '../include/pdf/SkPDFGraphicState.h', + '../include/pdf/SkPDFImage.h', + '../include/pdf/SkPDFPage.h', + '../include/pdf/SkPDFShader.h', + '../include/pdf/SkPDFStream.h', + '../include/pdf/SkPDFTypes.h', + '../include/pdf/SkPDFUtils.h', + + '../src/pdf/SkPDFCatalog.cpp', + '../src/pdf/SkPDFDevice.cpp', + '../src/pdf/SkPDFDocument.cpp', + '../src/pdf/SkPDFFont.cpp', + '../src/pdf/SkPDFFormXObject.cpp', + '../src/pdf/SkPDFGraphicState.cpp', + '../src/pdf/SkPDFImage.cpp', + '../src/pdf/SkPDFPage.cpp', + '../src/pdf/SkPDFShader.cpp', + '../src/pdf/SkPDFStream.cpp', + '../src/pdf/SkPDFTypes.cpp', + '../src/pdf/SkPDFUtils.cpp', + ], + 'direct_dependent_settings': { + 'include_dirs': [ + '../include/pdf', + ], + }, + }, + { 'target_name': 'utils', 'type': 'static_library', 'include_dirs': [ @@ -678,7 +719,6 @@ '../include/views/SkEventSink.h', '../include/views/SkImageView.h', '../include/views/SkKey.h', - '../include/views/SkMetaData.h', '../include/views/SkOSMenu.h', '../include/views/SkOSWindow_Mac.h', '../include/views/SkOSWindow_SDL.h', @@ -703,7 +743,6 @@ '../src/views/SkImageView.cpp', '../src/views/SkListView.cpp', '../src/views/SkListWidget.cpp', - '../src/views/SkMetaData.cpp', '../src/views/SkOSMenu.cpp', '../src/views/SkParsePaint.cpp', '../src/views/SkProgressBarView.cpp', |