OLD | NEW |
---|---|
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'modp_b64', | 8 'target_name': 'modp_b64', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'toolsets': ['host', 'target'], | 10 'toolsets': ['host', 'target'], |
11 'sources': [ | 11 'sources': [ |
12 'modp_b64.cc', | 12 'modp_b64.cc', |
13 'modp_b64.h', | 13 'modp_b64.h', |
14 'modp_b64_data.h', | 14 'modp_b64_data.h', |
15 ], | 15 ], |
16 'include_dirs': [ | 16 'include_dirs': [ |
17 '../..', | 17 '../..', |
18 ], | 18 ], |
19 }, | 19 }, |
20 ], | 20 ], |
21 'conditions': [ | |
22 ['OS == "win" and target_arch=="ia32"', { | |
23 # Even if we are building the browser for Win32, we need a few modules | |
24 # to be built for Win64, and this is a prerequsite. | |
25 'targets': [ | |
26 { | |
27 'target_name': 'modp_b64_win64', | |
28 'type': 'static_library', | |
29 # We can't use dynamic_annotations target for win64 build since it is | |
30 # a 32-bit library. | |
31 'include_dirs': [ | |
32 '../..', | |
brettw
2013/12/19 21:06:05
Indenting
Pete Williamson
2013/12/20 01:52:09
Done.
| |
33 ], | |
34 'sources': [ | |
35 'modp_b64.cc', | |
36 'modp_b64.h', | |
37 'modp_b64_data.h', | |
38 ], | |
39 'configurations': { | |
40 'Common_Base': { | |
41 'msvs_target_platform': 'x64', | |
42 }, | |
43 }, | |
44 }, | |
45 ], | |
46 }], | |
47 ], | |
21 } | 48 } |
OLD | NEW |