OLD | NEW |
1 { | 1 { |
2 'includes': ['third_party/v8/build/common.gypi', | 2 'includes': ['third_party/v8/build/common.gypi', |
3 'shell/shell.gyp'], | 3 'shell/shell.gyp'], |
4 'targets': [{ | 4 'targets': [{ |
5 'target_name': 'libadblockplus', | 5 'target_name': 'libadblockplus', |
6 'type': '<(library)', | 6 'type': '<(library)', |
7 'include_dirs': [ | 7 'include_dirs': [ |
8 'include', | 8 'include', |
9 'third_party/v8/include' | 9 'third_party/v8/include' |
10 ], | 10 ], |
11 'dependencies': ['third_party/v8/tools/gyp/v8.gyp:v8'], | 11 'dependencies': ['third_party/v8/tools/gyp/v8.gyp:v8'], |
12 'sources': [ | 12 'sources': [ |
13 'src/ConsoleJsObject.cpp', | 13 'src/ConsoleJsObject.cpp', |
14 'src/ErrorCallback.cpp', | 14 'src/ErrorCallback.cpp', |
15 'src/FileReader.cpp', | 15 'src/FileReader.cpp', |
16 'src/FilterEngine.cpp', | 16 'src/FilterEngine.cpp', |
17 'src/JsEngine.cpp' | 17 'src/JsEngine.cpp', |
| 18 'src/Thread.cpp' |
18 ], | 19 ], |
19 'direct_dependent_settings': { | 20 'direct_dependent_settings': { |
20 'include_dirs': ['include'] | 21 'include_dirs': ['include'] |
21 }, | 22 }, |
22 'export_dependent_settings': ['third_party/v8/tools/gyp/v8.gyp:v8'] | 23 'export_dependent_settings': ['third_party/v8/tools/gyp/v8.gyp:v8'] |
23 }, | 24 }, |
24 { | 25 { |
25 'target_name': 'tests', | 26 'target_name': 'tests', |
26 'type': 'executable', | 27 'type': 'executable', |
27 'dependencies': [ | 28 'dependencies': [ |
28 'third_party/googletest.gyp:googletest_main', | 29 'third_party/googletest.gyp:googletest_main', |
29 'libadblockplus' | 30 'libadblockplus' |
30 ], | 31 ], |
31 'sources': [ | 32 'sources': [ |
32 'test/ConsoleJsObject.cpp', | 33 'test/ConsoleJsObject.cpp', |
33 'test/FilterEngineStubs.cpp', | 34 'test/FilterEngineStubs.cpp', |
34 'test/JsEngine.cpp' | 35 'test/JsEngine.cpp', |
| 36 'test/Thread.cpp' |
35 ] | 37 ] |
36 }] | 38 }] |
37 } | 39 } |
OLD | NEW |