diff options
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/record.gyp | 7 | ||||
-rw-r--r-- | gyp/record.gypi | 12 |
2 files changed, 13 insertions, 6 deletions
diff --git a/gyp/record.gyp b/gyp/record.gyp index e001994286..0bfd83e0f3 100644 --- a/gyp/record.gyp +++ b/gyp/record.gyp @@ -3,6 +3,7 @@ 'targets': [{ 'target_name': 'record', 'type': 'static_library', + 'includes': [ 'record.gypi' ], 'include_dirs': [ '../include/config', '../include/core', @@ -13,11 +14,5 @@ '../include/record', # Public headers. ], }, - 'sources': [ - '../src/record/SkRecordOpts.cpp', - '../src/record/SkRecordDraw.cpp', - '../src/record/SkRecorder.cpp', - '../src/record/SkRecording.cpp', - ], }] } diff --git a/gyp/record.gypi b/gyp/record.gypi new file mode 100644 index 0000000000..adfd4623ae --- /dev/null +++ b/gyp/record.gypi @@ -0,0 +1,12 @@ +# Source list for SkRecord +# The parent gyp/gypi file must define +# 'skia_src_path' e.g. skia/trunk/src +# The Skia build defines this in common_variables.gypi. +{ + 'sources': [ + '<(skia_src_path)/record/SkRecordDraw.cpp', + '<(skia_src_path)/record/SkRecordOpts.cpp', + '<(skia_src_path)/record/SkRecorder.cpp', + '<(skia_src_path)/record/SkRecording.cpp', + ] +} |