OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 # GN version: //ui/gfx/ipc | 11 # GN version: //ui/gfx/ipc |
12 'target_name': 'gfx_ipc_geometry', | 12 'target_name': 'gfx_ipc_geometry', |
13 'type': '<(component)', | 13 'type': '<(component)', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '../../../../base/base.gyp:base', | 15 '../../../../base/base.gyp:base', |
16 '../../../../ipc/ipc.gyp:ipc', | 16 '../../../../ipc/ipc.gyp:ipc', |
17 '../../gfx.gyp:gfx', | 17 '../../gfx.gyp:gfx', |
18 '../../gfx.gyp:gfx_geometry', | 18 '../../gfx.gyp:gfx_geometry', |
19 ], | 19 ], |
20 'defines': [ | 20 'includes': [ |
21 'GFX_IPC_GEOMETRY_IMPLEMENTATION', | 21 'gfx_ipc_geometry.gypi', |
22 ], | |
23 'include_dirs': [ | |
24 '../../..', | |
25 ], | |
26 'sources': [ | |
27 'gfx_param_traits.cc', | |
28 'gfx_param_traits.h', | |
29 'gfx_param_traits_macros.h', | |
30 ], | 22 ], |
31 }, | 23 }, |
32 ], | 24 ], |
| 25 'conditions': [ |
| 26 ['disable_nacl!=1 and OS=="win" and target_arch=="ia32"', { |
| 27 'targets': [ |
| 28 { |
| 29 # GN version: //ui/gfx/ipc |
| 30 'target_name': 'gfx_ipc_geometry_win64', |
| 31 'type': '<(component)', |
| 32 'dependencies': [ |
| 33 '../../../../base/base.gyp:base_win64', |
| 34 '../../../../ipc/ipc.gyp:ipc_win64', |
| 35 '../../gfx.gyp:gfx_geometry_win64', |
| 36 ], |
| 37 'includes': [ |
| 38 'gfx_ipc_geometry.gypi', |
| 39 ], |
| 40 'defines': [ |
| 41 '<@(nacl_win64_defines)', |
| 42 ], |
| 43 'configurations': { |
| 44 'Common_Base': { |
| 45 'msvs_target_platform': 'x64', |
| 46 }, |
| 47 }, |
| 48 }, |
| 49 ], |
| 50 }], |
| 51 ], |
33 } | 52 } |
OLD | NEW |