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