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/JsEngine.cpp' | 17 'src/JsEngine.cpp' |
17 ], | 18 ], |
18 'direct_dependent_settings': { | 19 'direct_dependent_settings': { |
19 'include_dirs': ['include'] | 20 'include_dirs': ['include'] |
20 }, | 21 }, |
21 'export_dependent_settings': ['third_party/v8/tools/gyp/v8.gyp:v8'] | 22 'export_dependent_settings': ['third_party/v8/tools/gyp/v8.gyp:v8'] |
22 }, | 23 }, |
23 { | 24 { |
24 'target_name': 'tests', | 25 'target_name': 'tests', |
25 'type': 'executable', | 26 'type': 'executable', |
26 'dependencies': [ | 27 'dependencies': [ |
27 'third_party/googletest.gyp:googletest_main', | 28 'third_party/googletest.gyp:googletest_main', |
28 'libadblockplus' | 29 'libadblockplus' |
29 ], | 30 ], |
30 'sources': [ | 31 'sources': [ |
31 'test/ConsoleJsObject.cpp', | 32 'test/ConsoleJsObject.cpp', |
32 'test/JsEngine.cpp' | 33 'test/JsEngine.cpp' |
33 ] | 34 ] |
34 }] | 35 }] |
35 } | 36 } |
OLD | NEW |