Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 # This file is part of Adblock Plus <http://adblockplus.org/>, | |
Oleksandr
2015/02/04 10:00:41
https://
Eric
2015/02/27 13:55:10
Done.
| |
2 # Copyright (C) 2006-2015 Eyeo GmbH | |
3 # | |
4 # Adblock Plus is free software: you can redistribute it and/or modify | |
5 # it under the terms of the GNU General Public License version 3 as | |
6 # published by the Free Software Foundation. | |
7 # | |
8 # Adblock Plus is distributed in the hope that it will be useful, | |
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
11 # GNU General Public License for more details. | |
12 # | |
13 # You should have received a copy of the GNU General Public License | |
14 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | |
15 | |
16 { | |
17 'targets': [ | |
18 { | |
19 'target_name': 'common', | |
20 'type': 'static_library', | |
21 'include_dirs': [ | |
22 'include', | |
23 ], | |
24 'sources': [ | |
25 'include/Registry.h', | |
26 'src/Registry.cpp', | |
27 'include/IE_Version.h', | |
28 'src/IE_Version.cpp', | |
29 ], | |
30 'all_dependent_settings': { | |
31 'include_dirs': [ | |
32 'include', | |
33 ], | |
34 }, | |
35 }, | |
36 { | |
37 'target_name': 'common_tests', | |
38 'type': 'executable', | |
39 'dependencies': [ | |
40 'common', | |
41 'libadblockplus/third_party/googletest.gyp:googletest_main', | |
42 ], | |
43 'sources': [ | |
44 'test/RegistryTest.cpp', | |
45 'test/IE_VersionTest.cpp', | |
46 ], | |
47 'defines': ['WINVER=0x0501'], | |
48 'link_settings': { | |
49 'libraries': ['-ladvapi32', '-lshell32', '-lole32'], | |
50 }, | |
51 'msvs_settings': { | |
52 'VCLinkerTool': { | |
53 'SubSystem': '1', # Console | |
54 'EntryPointSymbol': 'mainCRTStartup', | |
55 }, | |
56 }, | |
57 }, | |
58 ] | |
59 } | |
OLD | NEW |