| OLD | NEW |
| (Empty) |
| 1 # -*- gyp -*- | |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | |
| 3 # Use of this source code is governed by a BSD-style license that can be | |
| 4 # found in the LICENSE file. | |
| 5 | |
| 6 { | |
| 7 'includes': [ | |
| 8 '../../../../../build/common.gypi', | |
| 9 ], | |
| 10 'target_defaults': { | |
| 11 'variables': { | |
| 12 'target_base': 'none', | |
| 13 }, | |
| 14 'target_conditions': [ | |
| 15 ['target_base=="ncdis_decode_tables"', { | |
| 16 'sources': ['ncdis_decode_tables.c'], | |
| 17 'cflags!': [ | |
| 18 '-Wextra', | |
| 19 '-Wswitch-enum', | |
| 20 '-Wsign-compare' | |
| 21 ], | |
| 22 'xcode_settings': { | |
| 23 'WARNING_CFLAGS!': [ | |
| 24 '-Wextra', | |
| 25 '-Wswitch-enum', | |
| 26 '-Wsign-compare' | |
| 27 ], | |
| 28 }, | |
| 29 }], | |
| 30 ], | |
| 31 }, | |
| 32 'conditions': [ | |
| 33 ['target_arch=="ia32"', { | |
| 34 'targets': [ | |
| 35 { | |
| 36 'target_name': 'ncdis_decode_tables_x86_32', | |
| 37 'type': 'static_library', | |
| 38 'hard_dependency': 1, | |
| 39 'variables': { | |
| 40 'target_base': 'ncdis_decode_tables', | |
| 41 }, | |
| 42 }], | |
| 43 }], | |
| 44 ['OS=="win" and target_arch=="ia32"', { | |
| 45 'targets': [ | |
| 46 { | |
| 47 'target_name': 'ncdis_decode_tables_x86_64', | |
| 48 'type': 'static_library', | |
| 49 'hard_dependency': 1, | |
| 50 'variables': { | |
| 51 'target_base': 'ncdis_decode_tables', | |
| 52 'win_target': 'x64', | |
| 53 }, | |
| 54 }], | |
| 55 }], | |
| 56 ['target_arch=="x64"', { | |
| 57 'targets': [ | |
| 58 { | |
| 59 'target_name': 'ncdis_decode_tables_x86_64', | |
| 60 'type': 'static_library', | |
| 61 'hard_dependency': 1, | |
| 62 'variables': { | |
| 63 'target_base': 'ncdis_decode_tables', | |
| 64 }, | |
| 65 }], | |
| 66 }], | |
| 67 ], | |
| 68 } | |
| OLD | NEW |