Chromium Code Reviews| 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 '../../../v8/include', |
| 11 ], | 11 ], |
| 12 'includes': [], | 12 'includes': [], |
| 13 'sources': [ | 13 'sources': [ |
| 14 '../experimental/SkV8Example/SkV8Example.h', | 14 '../experimental/SkV8Example/SkV8Example.h', |
| 15 '../experimental/SkV8Example/SkV8Example.cpp', | 15 '../experimental/SkV8Example/SkV8Example.cpp', |
| 16 ], | 16 ], |
| 17 'dependencies': [ | 17 'dependencies': [ |
| 18 'skia_lib.gyp:skia_lib', | 18 'skia_lib.gyp:skia_lib', |
| 19 'views.gyp:views', | 19 'views.gyp:views', |
| 20 'xml.gyp:xml', | 20 'xml.gyp:xml', |
| 21 ], | 21 ], |
| 22 | 22 |
| 23 'link_settings': { | 23 'link_settings': { |
| 24 'libraries': [ | 24 'libraries': [ |
| 25 | 25 |
| 26 # 'd:/src/v8/build/Debug/lib/v8_base.ia32.lib', | |
| 27 # 'd:/src/v8/build/Debug/lib/v8_snapshot.lib', | |
| 28 | |
| 29 # 'd:/src/v8/build/Debug/lib/icuuc.lib', | |
| 30 # 'd:/src/v8/build/Debug/lib/icui18n.lib', | |
|
jcgregorio
2013/12/05 15:47:06
I think you can just add a 'link_settings': { 'li
| |
| 31 | |
| 32 # 'Ws2_32.lib', | |
| 33 # 'Winmm.lib', | |
| 34 | |
| 26 '-lpthread', | 35 '-lpthread', |
| 27 '-lrt', | 36 '-lrt', |
| 28 '../../../v8/out/native/obj.target/tools/gyp/libv8_base.x64.a', | 37 '../../../v8/out/native/obj.target/tools/gyp/libv8_base.x64.a', |
| 29 '../../../v8/out/native/obj.target/tools/gyp/libv8_snapshot.a', | 38 '../../../v8/out/native/obj.target/tools/gyp/libv8_snapshot.a', |
| 30 | 39 |
| 31 '../../../v8/out/native/obj.target/third_party/icu/libicudata.a', | 40 '../../../v8/out/native/obj.target/third_party/icu/libicudata.a', |
| 32 '../../../v8/out/native/obj.target/third_party/icu/libicui18n.a', | 41 '../../../v8/out/native/obj.target/third_party/icu/libicui18n.a', |
| 33 '../../../v8/out/native/obj.target/third_party/icu/libicuuc.a', | 42 '../../../v8/out/native/obj.target/third_party/icu/libicuuc.a', |
| 34 | 43 |
| 35 '../../../v8/out/native/obj.target/icudata/third_party/icu/linux/icudt 46l_dat.o', | 44 '../../../v8/out/native/obj.target/icudata/third_party/icu/linux/icudt 46l_dat.o', |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 72 }, | 81 }, |
| 73 'mac_bundle_resources' : [ | 82 'mac_bundle_resources' : [ |
| 74 '../experimental/SkiaExamples/SkiaExamples.xib' | 83 '../experimental/SkiaExamples/SkiaExamples.xib' |
| 75 ], | 84 ], |
| 76 } | 85 } |
| 77 ], | 86 ], |
| 78 ], | 87 ], |
| 79 } | 88 } |
| 80 ], | 89 ], |
| 81 } | 90 } |
| OLD | NEW |