Arman Uguray | 420545e | 2015-07-09 16:58:43 -0700 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'modp_b64', |
| 9 | 'type': 'static_library', |
| 10 | 'toolsets': ['host', 'target'], |
| 11 | 'sources': [ |
| 12 | 'modp_b64.cc', |
| 13 | 'modp_b64.h', |
| 14 | 'modp_b64_data.h', |
| 15 | ], |
| 16 | 'include_dirs': [ |
| 17 | '../..', |
| 18 | ], |
| 19 | }, |
| 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 | '../..', |
| 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 | ], |
| 48 | } |