| OLD | NEW |
| 1 { | 1 { |
| 2 'variables': { | 2 'variables': { |
| 3 'have_curl': '<!(python check_curl.py)' | 3 'have_curl': '<!(python check_curl.py)' |
| 4 }, | 4 }, |
| 5 'includes': ['third_party/v8/build/common.gypi', | 5 'includes': ['third_party/v8/build/common.gypi', |
| 6 'shell/shell.gyp'], | 6 'shell/shell.gyp'], |
| 7 'targets': [{ | 7 'targets': [{ |
| 8 'target_name': 'libadblockplus', | 8 'target_name': 'libadblockplus', |
| 9 'type': '<(library)', | 9 'type': '<(library)', |
| 10 'include_dirs': [ | 10 'include_dirs': [ |
| 11 'include', | 11 'include', |
| 12 'third_party/v8/include' | 12 'third_party/v8/include' |
| 13 ], | 13 ], |
| 14 'defines': ['FILTER_ENGINE_STUBS=1'], | 14 'defines': ['FILTER_ENGINE_STUBS=1'], |
| 15 'all_dependent_settings': { | 15 'all_dependent_settings': { |
| 16 'defines': ['FILTER_ENGINE_STUBS=1'] | 16 'defines': ['FILTER_ENGINE_STUBS=1'] |
| 17 }, | 17 }, |
| 18 'dependencies': ['third_party/v8/tools/gyp/v8.gyp:v8'], | 18 'dependencies': ['third_party/v8/tools/gyp/v8.gyp:v8'], |
| 19 'sources': [ | 19 'sources': [ |
| 20 'src/ConsoleJsObject.cpp', | 20 'src/ConsoleJsObject.cpp', |
| 21 'src/DefaultFileSystem.cpp', |
| 21 'src/ErrorCallback.cpp', | 22 'src/ErrorCallback.cpp', |
| 22 'src/FileReader.cpp', | 23 'src/FileSystemJsObject.cpp', |
| 23 'src/FilterEngine.cpp', | 24 'src/FilterEngine.cpp', |
| 24 'src/GlobalJsObject.cpp', | 25 'src/GlobalJsObject.cpp', |
| 25 'src/JsEngine.cpp', | 26 'src/JsEngine.cpp', |
| 26 'src/Thread.cpp', | 27 'src/Thread.cpp', |
| 28 'src/Utils.cpp', |
| 27 'src/WebRequestJsObject.cpp', | 29 'src/WebRequestJsObject.cpp', |
| 28 '<(INTERMEDIATE_DIR)/adblockplus.js.cc' | 30 '<(INTERMEDIATE_DIR)/adblockplus.js.cc' |
| 29 ], | 31 ], |
| 30 'direct_dependent_settings': { | 32 'direct_dependent_settings': { |
| 31 'include_dirs': ['include'] | 33 'include_dirs': ['include'] |
| 32 }, | 34 }, |
| 33 'export_dependent_settings': ['third_party/v8/tools/gyp/v8.gyp:v8'], | 35 'export_dependent_settings': ['third_party/v8/tools/gyp/v8.gyp:v8'], |
| 34 'conditions': [ | 36 'conditions': [ |
| 35 ['have_curl==1', | 37 ['have_curl==1', |
| 36 { | 38 { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 }, | 95 }, |
| 94 { | 96 { |
| 95 'target_name': 'tests', | 97 'target_name': 'tests', |
| 96 'type': 'executable', | 98 'type': 'executable', |
| 97 'dependencies': [ | 99 'dependencies': [ |
| 98 'third_party/googletest.gyp:googletest_main', | 100 'third_party/googletest.gyp:googletest_main', |
| 99 'libadblockplus' | 101 'libadblockplus' |
| 100 ], | 102 ], |
| 101 'sources': [ | 103 'sources': [ |
| 102 'test/ConsoleJsObject.cpp', | 104 'test/ConsoleJsObject.cpp', |
| 105 'test/DefaultFileSystem.cpp', |
| 106 'test/FileSystemJsObject.cpp', |
| 103 'test/FilterEngineStubs.cpp', | 107 'test/FilterEngineStubs.cpp', |
| 104 'test/GlobalJsObject.cpp', | 108 'test/GlobalJsObject.cpp', |
| 105 'test/JsEngine.cpp', | 109 'test/JsEngine.cpp', |
| 106 'test/Thread.cpp', | 110 'test/Thread.cpp', |
| 107 'test/WebRequest.cpp' | 111 'test/WebRequest.cpp' |
| 108 ] | 112 ] |
| 109 }] | 113 }] |
| 110 } | 114 } |
| OLD | NEW |