| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'includes': [ | 6 'includes': [ |
| 7 '../../../build/common.gypi', | 7 '../../../build/common.gypi', |
| 8 ], | 8 ], |
| 9 'variables': { | 9 'variables': { |
| 10 'common_sources': [ | 10 'common_sources': [ |
| 11 'gio.c', | 11 'gio.c', |
| 12 'gio_mem.c', | 12 'gio_mem.c', |
| 13 'gprintf.c', | 13 'gprintf.c', |
| 14 'gio_mem_snapshot.c', | 14 'gio_mem_snapshot.c', |
| 15 ], | 15 ], |
| 16 'trusted_sources': [ | 16 'trusted_sources': [ |
| 17 '<@(common_sources)', | 17 '<@(common_sources)', |
| 18 'gio_pio.c', | 18 'gio_pio.c', |
| 19 ], | 19 ], |
| 20 }, | 20 }, |
| 21 'targets': [ | 21 'targets': [ |
| 22 { | 22 { |
| 23 'target_name': 'gio', | 23 'target_name': 'gio', |
| 24 'type': 'static_library', | 24 'type': 'static_library', |
| 25 # tls_edit relies on gio which is always built for the host platform. |
| 26 'toolsets': ['host', 'target'], |
| 25 'sources': [ | 27 'sources': [ |
| 26 '<@(trusted_sources)', | 28 '<@(trusted_sources)', |
| 27 ], | 29 ], |
| 28 }, | 30 }, |
| 29 { | 31 { |
| 30 'target_name': 'gio_lib', | 32 'target_name': 'gio_lib', |
| 31 'type': 'none', | 33 'type': 'none', |
| 32 'variables': { | 34 'variables': { |
| 33 'nlib_target': 'libgio.a', | 35 'nlib_target': 'libgio.a', |
| 34 'nso_target': 'libgio.so', | 36 'nso_target': 'libgio.so', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 53 '<@(trusted_sources)', | 55 '<@(trusted_sources)', |
| 54 ], | 56 ], |
| 55 'variables': { | 57 'variables': { |
| 56 'win_target': 'x64', | 58 'win_target': 'x64', |
| 57 }, | 59 }, |
| 58 } | 60 } |
| 59 ], | 61 ], |
| 60 }], | 62 }], |
| 61 ], | 63 ], |
| 62 } | 64 } |
| OLD | NEW |