OLD | NEW |
1 { | 1 { |
2 'variables': { | 2 'variables': { |
3 'chromium_code': 1, | 3 'chromium_code': 1, |
4 'pdf_engine%': 0, # 0 PDFium | 4 'pdf_engine%': 0, # 0 PDFium |
5 }, | 5 }, |
6 'target_defaults': { | 6 'target_defaults': { |
7 'cflags': [ | 7 'cflags': [ |
8 '-fPIC', | 8 '-fPIC', |
9 ], | 9 ], |
10 }, | 10 }, |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 }, | 119 }, |
120 }, | 120 }, |
121 # Use a custom version script to prevent leaking the vendor name in | 121 # Use a custom version script to prevent leaking the vendor name in |
122 # visible symbols. | 122 # visible symbols. |
123 'ldflags': [ | 123 'ldflags': [ |
124 '-Wl,--version-script=<!(cd <(DEPTH) && pwd -P)/pdf/libpdf.map' | 124 '-Wl,--version-script=<!(cd <(DEPTH) && pwd -P)/pdf/libpdf.map' |
125 ], | 125 ], |
126 }], | 126 }], |
127 ], | 127 ], |
128 }, | 128 }, |
129 { | |
130 'target_name': 'pdfium_test', | |
131 'type': 'executable', | |
132 'dependencies': [ | |
133 '../base/base.gyp:base', | |
134 '../base/base.gyp:base_i18n', | |
135 '../third_party/pdfium/pdfium.gyp:fpdfsdk', | |
136 ], | |
137 'sources': [ | |
138 'pdfium/pdfium_test.cc', | |
139 ], | |
140 } | |
141 ], | 129 ], |
142 'conditions': [ | 130 'conditions': [ |
143 # CrOS has a separate step to do this. | 131 # CrOS has a separate step to do this. |
144 ['OS=="linux" and chromeos==0', | 132 ['OS=="linux" and chromeos==0', |
145 { 'targets': [ | 133 { 'targets': [ |
146 { | 134 { |
147 'target_name': 'pdf_linux_symbols', | 135 'target_name': 'pdf_linux_symbols', |
148 'type': 'none', | 136 'type': 'none', |
149 'conditions': [ | 137 'conditions': [ |
150 ['linux_dump_symbols==1', { | 138 ['linux_dump_symbols==1', { |
(...skipping 21 matching lines...) Expand all Loading... |
172 'pdf', | 160 'pdf', |
173 '../breakpad/breakpad.gyp:dump_syms', | 161 '../breakpad/breakpad.gyp:dump_syms', |
174 ], | 162 ], |
175 }], | 163 }], |
176 ], | 164 ], |
177 }, | 165 }, |
178 ], | 166 ], |
179 },], # OS=="linux" and chromeos==0 | 167 },], # OS=="linux" and chromeos==0 |
180 ], | 168 ], |
181 } | 169 } |
OLD | NEW |