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

Side by Side Diff: meson.build

Issue 29587914: Issue 5142 - Convert Element Hiding to C++ (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Add proper delete for filters in tests. Created Nov. 8, 2017, 12:02 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/elemHide.js ('k') | test/elemHideEmulation.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 project('adblockpluscore', license: ['GPL3'], meson_version: '>0.40.0') 1 project('adblockpluscore', license: ['GPL3'], meson_version: '>0.40.0')
2 2
3 # locate emscripten-config 3 # locate emscripten-config
4 python = import('python3').find_python() 4 python = import('python3').find_python()
5 emscripten_config = get_option('emscripten-config') 5 emscripten_config = get_option('emscripten-config')
6 command = run_command(python, '-c', 'import os.path, sys;print(os.path.expanduse r(sys.argv[1]))', emscripten_config) 6 command = run_command(python, '-c', 'import os.path, sys;print(os.path.expanduse r(sys.argv[1]))', emscripten_config)
7 if command.returncode() != 0 7 if command.returncode() != 0
8 error(command.stderr().strip()) 8 error(command.stderr().strip())
9 endif 9 endif
10 emscripten_config = command.stdout().strip() 10 emscripten_config = command.stdout().strip()
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 'compiled/filter/ElemHideException.cpp', 65 'compiled/filter/ElemHideException.cpp',
66 'compiled/filter/ElemHideFilter.cpp', 66 'compiled/filter/ElemHideFilter.cpp',
67 'compiled/filter/Filter.cpp', 67 'compiled/filter/Filter.cpp',
68 'compiled/filter/InvalidFilter.cpp', 68 'compiled/filter/InvalidFilter.cpp',
69 'compiled/filter/RegExpFilter.cpp', 69 'compiled/filter/RegExpFilter.cpp',
70 'compiled/filter/WhitelistFilter.cpp', 70 'compiled/filter/WhitelistFilter.cpp',
71 'compiled/storage/FilterStorage.cpp', 71 'compiled/storage/FilterStorage.cpp',
72 'compiled/subscription/DownloadableSubscription.cpp', 72 'compiled/subscription/DownloadableSubscription.cpp',
73 'compiled/subscription/Subscription.cpp', 73 'compiled/subscription/Subscription.cpp',
74 'compiled/subscription/UserDefinedSubscription.cpp', 74 'compiled/subscription/UserDefinedSubscription.cpp',
75 'compiled/ElemHide.cpp',
75 ] 76 ]
76 # sources specific to core 77 # sources specific to core
77 core_sources = [ 78 core_sources = [
78 'compiled/traceInit.cpp', 79 'compiled/traceInit.cpp',
79 ] 80 ]
80 # sources for the bindings generator 81 # sources for the bindings generator
81 bindings_sources = [ 82 bindings_sources = [
82 'compiled/bindings/generator.cpp', 83 'compiled/bindings/generator.cpp',
83 'compiled/bindings/main.cpp', 84 'compiled/bindings/main.cpp',
84 ] 85 ]
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 build_by_default: true, 158 build_by_default: true,
158 input: core_objects + shared_objects, 159 input: core_objects + shared_objects,
159 output: COMPILER_OUTPUT, 160 output: COMPILER_OUTPUT,
160 depend_files: [ JS_LIBRARY ], 161 depend_files: [ JS_LIBRARY ],
161 command: [ 162 command: [
162 emcc, '-o', output_file, 163 emcc, '-o', output_file,
163 '--post-js', bindings_output, 164 '--post-js', bindings_output,
164 '--js-library', JS_LIBRARY, 165 '--js-library', JS_LIBRARY,
165 '@INPUT@' 166 '@INPUT@'
166 ] + compiler_args + optional_args) 167 ] + compiler_args + optional_args)
OLDNEW
« no previous file with comments | « lib/elemHide.js ('k') | test/elemHideEmulation.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld