OLD | NEW |
1 # GYP file to build a V8 sample. | 1 # GYP file to build a V8 sample. |
2 { | 2 { |
3 'targets': [ | 3 'targets': [ |
4 { | 4 { |
5 'target_name': 'SkV8Example', | 5 'target_name': 'SkV8Example', |
6 'type': 'executable', | 6 'type': 'executable', |
7 'mac_bundle' : 1, | 7 'mac_bundle' : 1, |
8 'include_dirs' : [ | 8 'include_dirs' : [ |
9 '../tools/flags', | 9 '../tools/flags', |
10 '../../../v8/include', | 10 '../third_party/externals/v8/include', |
11 ], | 11 ], |
12 'includes': [], | |
13 'sources': [ | 12 'sources': [ |
| 13 '../experimental/SkV8Example/SkV8Example.cpp', |
14 '../experimental/SkV8Example/SkV8Example.h', | 14 '../experimental/SkV8Example/SkV8Example.h', |
15 '../experimental/SkV8Example/SkV8Example.cpp', | 15 '../experimental/SkV8Example/Global.cpp', |
16 '../experimental/SkV8Example/Global.h', | 16 '../experimental/SkV8Example/Global.h', |
17 '../experimental/SkV8Example/Global.cpp', | 17 '../experimental/SkV8Example/Path.cpp', |
18 '../experimental/SkV8Example/Path.h', | 18 '../experimental/SkV8Example/Path.h', |
19 '../experimental/SkV8Example/Path.cpp', | 19 '../experimental/SkV8Example/JsContext.cpp', |
20 '../experimental/SkV8Example/JsContext.h', | 20 '../experimental/SkV8Example/JsContext.h', |
21 '../experimental/SkV8Example/JsContext.cpp', | |
22 ], | 21 ], |
23 'dependencies': [ | 22 'dependencies': [ |
| 23 'flags.gyp:flags', |
24 'skia_lib.gyp:skia_lib', | 24 'skia_lib.gyp:skia_lib', |
25 'views.gyp:views', | 25 'views.gyp:views', |
26 'xml.gyp:xml', | 26 'xml.gyp:xml', |
27 'flags.gyp:flags', | |
28 ], | 27 ], |
| 28 'link_settings': { |
| 29 'libraries': [ |
29 | 30 |
30 'link_settings': { | 31 # 'd:/src/v8/build/Debug/lib/v8_base.ia32.lib', |
31 'libraries': [ | 32 # 'd:/src/v8/build/Debug/lib/v8_snapshot.lib', |
| 33 # 'd:/src/v8/build/Debug/lib/icuuc.lib', |
| 34 # 'd:/src/v8/build/Debug/lib/icui18n.lib', |
| 35 # 'Ws2_32.lib', |
| 36 # 'Winmm.lib', |
32 | 37 |
33 # 'd:/src/v8/build/Debug/lib/v8_base.ia32.lib', | 38 '-lpthread', |
34 # 'd:/src/v8/build/Debug/lib/v8_snapshot.lib', | 39 '-lrt', |
35 | 40 '../third_party/externals/v8/out/native/obj.target/tools/gyp/libv8_ba
se.x64.a', |
36 # 'd:/src/v8/build/Debug/lib/icuuc.lib', | 41 '../third_party/externals/v8/out/native/obj.target/tools/gyp/libv8_sn
apshot.a', |
37 # 'd:/src/v8/build/Debug/lib/icui18n.lib', | 42 '../third_party/externals/v8/out/native/obj.target/third_party/icu/li
bicudata.a', |
38 | 43 '../third_party/externals/v8/out/native/obj.target/third_party/icu/li
bicui18n.a', |
39 # 'Ws2_32.lib', | 44 '../third_party/externals/v8/out/native/obj.target/third_party/icu/li
bicuuc.a', |
40 # 'Winmm.lib', | 45 '../third_party/externals/v8/out/native/obj.target/icudata/third_part
y/icu/linux/icudt46l_dat.o', |
41 | 46 ], |
42 '-lpthread', | 47 }, |
43 '-lrt', | |
44 '../../../v8/out/native/obj.target/tools/gyp/libv8_base.x64.a', | |
45 '../../../v8/out/native/obj.target/tools/gyp/libv8_snapshot.a', | |
46 | |
47 '../../../v8/out/native/obj.target/third_party/icu/libicudata.a', | |
48 '../../../v8/out/native/obj.target/third_party/icu/libicui18n.a', | |
49 '../../../v8/out/native/obj.target/third_party/icu/libicuuc.a', | |
50 | |
51 '../../../v8/out/native/obj.target/icudata/third_party/icu/linux/icudt
46l_dat.o', | |
52 ], | |
53 }, | |
54 'conditions' : [ | 48 'conditions' : [ |
55 [ 'skia_gpu == 1', { | 49 [ 'skia_gpu == 1', { |
56 'include_dirs' : [ | 50 'include_dirs' : [ |
57 '../src/gpu', #gl/GrGLUtil.h | 51 '../src/gpu', #gl/GrGLUtil.h |
58 ] | 52 ] |
59 }], | 53 }], |
60 [ 'skia_os == "win"', { | 54 [ 'skia_os == "win"', { |
61 'sources' : [ | 55 'sources' : [ |
62 '../src/views/win/SkOSWindow_Win.cpp', | 56 '../src/views/win/SkOSWindow_Win.cpp', |
63 '../src/views/win/skia_win.cpp', | 57 '../src/views/win/skia_win.cpp', |
(...skipping 24 matching lines...) Expand all Loading... |
88 }, | 82 }, |
89 'mac_bundle_resources' : [ | 83 'mac_bundle_resources' : [ |
90 '../experimental/SkiaExamples/SkiaExamples.xib' | 84 '../experimental/SkiaExamples/SkiaExamples.xib' |
91 ], | 85 ], |
92 } | 86 } |
93 ], | 87 ], |
94 ], | 88 ], |
95 } | 89 } |
96 ], | 90 ], |
97 } | 91 } |
OLD | NEW |