comparison mupdf-source/thirdparty/gumbo-parser/gumbo_parser.gyp @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 # Copyright 2013 Google Inc. All Rights Reserved.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 {
16 'targets': [
17 {
18 'target_name': 'gumbo_parser',
19 'type': 'static_library',
20 'cflags': ['-std=c99', '-Wall'],
21 'sources': [
22 'src/attribute.c',
23 'src/attribute.h',
24 'src/char_ref.c',
25 'src/char_ref.h',
26 'src/error.c',
27 'src/error.h',
28 'src/gumbo.h',
29 'src/insertion_mode.h',
30 'src/parser.c',
31 'src/parser.h',
32 'src/string_buffer.c',
33 'src/string_buffer.h',
34 'src/string_piece.c',
35 'src/string_piece.h',
36 'src/tag.c',
37 'src/token_type.h',
38 'src/tokenizer.c',
39 'src/tokenizer.h',
40 'src/tokenizer_states.h',
41 'src/utf8.c',
42 'src/utf8.h',
43 'src/util.c',
44 'src/util.h',
45 'src/vector.c',
46 'src/vector.h',
47 ],
48 },
49 {
50 'target_name': 'gumbo_parser_unittests',
51 'type': 'executable',
52 'dependencies': [
53 'gtest.gyp:gtest',
54 'gtest.gyp:gtest_main',
55 'gumbo_parser',
56 ],
57 'include_dirs': [
58 '.',
59 '..',
60 'src',
61 ],
62 'sources': [
63 'tests/attribute.cc',
64 'tests/char_ref.cc',
65 'tests/parser.cc',
66 'tests/string_buffer.cc',
67 'tests/string_piece.cc',
68 'tests/test_utils.cc',
69 'tests/test_utils.h',
70 'tests/tokenizer.cc',
71 'tests/utf8.cc',
72 'tests/vector.cc',
73 ],
74 },
75 ],
76 }