blob: 658ef52455c54debce2279f6173910cf36ec7959 [file] [log] [blame]
scroggo3e562272015-03-25 10:22:41 -07001# Copyright 2015 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
commit-bot@chromium.org44a38772013-12-05 13:45:19 +00005# GYP file to build a V8 sample.
6{
7 'targets': [
8 {
9 'target_name': 'SkV8Example',
10 'type': 'executable',
11 'mac_bundle' : 1,
12 'include_dirs' : [
commit-bot@chromium.orgb1639842014-01-08 15:14:09 +000013 '../third_party/externals/v8/include',
jcgregorioe22f45f2014-10-24 12:49:17 -070014 '../third_party/externals/v8',
tfarina1c4d5782014-06-22 16:13:00 -070015 ],
16 'sources': [
jcgregorio5e44b002014-10-27 10:27:01 -070017 '../experimental/SkV8Example/DrawingMethods.cpp',
18 '../experimental/SkV8Example/DrawingMethods.h',
tfarina1c4d5782014-06-22 16:13:00 -070019 '../experimental/SkV8Example/Global.cpp',
20 '../experimental/SkV8Example/Global.h',
21 '../experimental/SkV8Example/JsContext.cpp',
22 '../experimental/SkV8Example/JsContext.h',
jcgregorioe001da22014-10-29 05:33:27 -070023 '../experimental/SkV8Example/Path2DBuilder.cpp',
24 '../experimental/SkV8Example/Path2DBuilder.h',
tfarina1c4d5782014-06-22 16:13:00 -070025 '../experimental/SkV8Example/Path2D.cpp',
26 '../experimental/SkV8Example/Path2D.h',
27 '../experimental/SkV8Example/SkV8Example.cpp',
28 '../experimental/SkV8Example/SkV8Example.h',
29 ],
30 'dependencies': [
31 'flags.gyp:flags',
32 'skia_lib.gyp:skia_lib',
33 'views.gyp:views',
34 'xml.gyp:xml',
35 ],
36 'link_settings': {
37 'libraries': [
38
39# 'd:/src/v8/build/Debug/lib/v8_base.ia32.lib',
40# 'd:/src/v8/build/Debug/lib/v8_snapshot.lib',
41# 'd:/src/v8/build/Debug/lib/icuuc.lib',
42# 'd:/src/v8/build/Debug/lib/icui18n.lib',
43# 'Ws2_32.lib',
44# 'Winmm.lib',
45
46 '-lpthread',
47 '-lrt',
jcgregorioe22f45f2014-10-24 12:49:17 -070048 '../../third_party/externals/v8/out/native/obj.target/tools/gyp/libv8_base.a',
49 '../../third_party/externals/v8/out/native/obj.target/tools/gyp/libv8_libbase.a',
tfarina1c4d5782014-06-22 16:13:00 -070050 '../../third_party/externals/v8/out/native/obj.target/tools/gyp/libv8_snapshot.a',
jcgregorioe22f45f2014-10-24 12:49:17 -070051 '../../third_party/externals/v8/out/native/obj.target/tools/gyp/libv8_libplatform.a',
tfarina1c4d5782014-06-22 16:13:00 -070052 '../../third_party/externals/v8/out/native/obj.target/third_party/icu/libicudata.a',
53 '../../third_party/externals/v8/out/native/obj.target/third_party/icu/libicui18n.a',
54 '../../third_party/externals/v8/out/native/obj.target/third_party/icu/libicuuc.a',
jcgregorioe22f45f2014-10-24 12:49:17 -070055 '../../third_party/externals/v8/out/native/obj.target/icudata/third_party/icu/linux/icudtl_dat.o',
commit-bot@chromium.org44a38772013-12-05 13:45:19 +000056 ],
tfarina1c4d5782014-06-22 16:13:00 -070057 },
58 'conditions' : [
59 [ 'skia_gpu == 1', {
60 'include_dirs' : [
61 '../src/gpu',
62 ]
63 }],
commit-bot@chromium.org44a38772013-12-05 13:45:19 +000064 ],
commit-bot@chromium.org44a38772013-12-05 13:45:19 +000065 }
66 ],
67}