Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: libadblockplus.gyp

Issue 10198022: Pass application data into libadblockplus (Closed)
Patch Set: Created April 12, 2013, 1:23 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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/AppInfoJsObject.cpp',
20 'src/ConsoleJsObject.cpp', 21 'src/ConsoleJsObject.cpp',
21 'src/ErrorCallback.cpp', 22 'src/ErrorCallback.cpp',
22 'src/FileReader.cpp', 23 'src/FileReader.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',
27 'src/WebRequest.cpp', 28 'src/WebRequest.cpp',
28 'src/WebRequestJsObject.cpp', 29 'src/WebRequestJsObject.cpp',
29 '<(INTERMEDIATE_DIR)/adblockplus.js.cc' 30 '<(INTERMEDIATE_DIR)/adblockplus.js.cc'
(...skipping 10 matching lines...) Expand all
40 'defines': ['HAVE_CURL'], 41 'defines': ['HAVE_CURL'],
41 'libraries': ['-lcurl'] 42 'libraries': ['-lcurl']
42 } 43 }
43 } 44 }
44 ] 45 ]
45 ], 46 ],
46 'actions': [{ 47 'actions': [{
47 'action_name': 'convert_js', 48 'action_name': 'convert_js',
48 'variables': { 49 'variables': {
49 'core_library_files': [ 50 'core_library_files': [
50 'lib/info.js',
51 'lib/io.js', 51 'lib/io.js',
52 'lib/prefs.js', 52 'lib/prefs.js',
53 'lib/utils.js', 53 'lib/utils.js',
54 'lib/elemHideHitRegistration.js', 54 'lib/elemHideHitRegistration.js',
55 'adblockplus/lib/filterNotifier.js', 55 'adblockplus/lib/filterNotifier.js',
56 'adblockplus/lib/filterClasses.js', 56 'adblockplus/lib/filterClasses.js',
57 'adblockplus/lib/subscriptionClasses.js', 57 'adblockplus/lib/subscriptionClasses.js',
58 'adblockplus/lib/filterStorage.js', 58 'adblockplus/lib/filterStorage.js',
59 'adblockplus/lib/elemHide.js', 59 'adblockplus/lib/elemHide.js',
60 'adblockplus/lib/matcher.js', 60 'adblockplus/lib/matcher.js',
(...skipping 23 matching lines...) Expand all
84 }] 84 }]
85 }, 85 },
86 { 86 {
87 'target_name': 'tests', 87 'target_name': 'tests',
88 'type': 'executable', 88 'type': 'executable',
89 'dependencies': [ 89 'dependencies': [
90 'third_party/googletest.gyp:googletest_main', 90 'third_party/googletest.gyp:googletest_main',
91 'libadblockplus' 91 'libadblockplus'
92 ], 92 ],
93 'sources': [ 93 'sources': [
94 'test/AppInfoJsObject.cpp',
94 'test/ConsoleJsObject.cpp', 95 'test/ConsoleJsObject.cpp',
95 'test/FilterEngineStubs.cpp', 96 'test/FilterEngineStubs.cpp',
96 'test/GlobalJsObject.cpp', 97 'test/GlobalJsObject.cpp',
97 'test/JsEngine.cpp', 98 'test/JsEngine.cpp',
98 'test/Thread.cpp', 99 'test/Thread.cpp',
99 'test/WebRequest.cpp' 100 'test/WebRequest.cpp'
100 ] 101 ]
101 }] 102 }]
102 } 103 }
OLDNEW
« lib/info.js ('K') | « lib/info.js ('k') | shell/src/Main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld