| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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': 'libc++abi', | 8 'target_name': 'libc++abi', |
| 9 'type': 'shared_library', | 9 'type': 'shared_library', |
| 10 'variables': { | 10 'variables': { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 'trunk/src/cxa_unexpected.cpp', | 25 'trunk/src/cxa_unexpected.cpp', |
| 26 'trunk/src/cxa_vector.cpp', | 26 'trunk/src/cxa_vector.cpp', |
| 27 'trunk/src/cxa_virtual.cpp', | 27 'trunk/src/cxa_virtual.cpp', |
| 28 'trunk/src/exception.cpp', | 28 'trunk/src/exception.cpp', |
| 29 'trunk/src/private_typeinfo.cpp', | 29 'trunk/src/private_typeinfo.cpp', |
| 30 'trunk/src/stdexcept.cpp', | 30 'trunk/src/stdexcept.cpp', |
| 31 'trunk/src/typeinfo.cpp', | 31 'trunk/src/typeinfo.cpp', |
| 32 ], | 32 ], |
| 33 'include_dirs': [ | 33 'include_dirs': [ |
| 34 'trunk/include', | 34 'trunk/include', |
| 35 '../libc++/trunk/include' | 35 '../libc++/trunk/include', |
| 36 # TODO(earthdok): remove when http://crbug.com/337426 is fixed |
| 37 '../llvm-build/Release+Asserts/lib/clang/3.5/include/' |
| 36 ], | 38 ], |
| 37 'cflags': [ | 39 'cflags': [ |
| 38 '-g', '-O3', '-fPIC', | 40 '-g', '-O3', '-fPIC', |
| 39 '-std=c++11', | 41 '-std=c++11', |
| 40 '-fstrict-aliasing', | 42 '-fstrict-aliasing', |
| 41 '-Wsign-conversion', | 43 '-Wsign-conversion', |
| 42 '-Wshadow', | 44 '-Wshadow', |
| 43 '-Wconversion', | 45 '-Wconversion', |
| 44 '-Wunused-variable', | 46 '-Wunused-variable', |
| 45 '-Wmissing-field-initializers', | 47 '-Wmissing-field-initializers', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 59 ['_type!="none"', { | 61 ['_type!="none"', { |
| 60 'include_dirs': [ | 62 'include_dirs': [ |
| 61 'trunk/include', | 63 'trunk/include', |
| 62 ], | 64 ], |
| 63 'cflags_cc': [ | 65 'cflags_cc': [ |
| 64 '-nostdinc++', | 66 '-nostdinc++', |
| 65 ], | 67 ], |
| 66 'ldflags': [ | 68 'ldflags': [ |
| 67 '-L<(PRODUCT_DIR)/lib/', | 69 '-L<(PRODUCT_DIR)/lib/', |
| 68 ], | 70 ], |
| 71 'include_dirs': [ |
| 72 # TODO(earthdok): remove when http://crbug.com/337426 is fixed |
| 73 '../llvm-build/Release+Asserts/lib/clang/3.5/include/' |
| 74 ], |
| 69 }], | 75 }], |
| 70 ], | 76 ], |
| 71 }, | 77 }, |
| 72 'cflags_cc!': [ | 78 'cflags_cc!': [ |
| 73 '-fno-rtti', | 79 '-fno-rtti', |
| 74 ], | 80 ], |
| 75 'cflags!': [ | 81 'cflags!': [ |
| 76 '-fno-exceptions', | 82 '-fno-exceptions', |
| 77 '-fvisibility=hidden', | 83 '-fvisibility=hidden', |
| 78 ], | 84 ], |
| 79 'ldflags': [ | 85 'ldflags': [ |
| 80 '-nodefaultlibs', | 86 '-nodefaultlibs', |
| 81 ], | 87 ], |
| 82 'ldflags!': [ | 88 'ldflags!': [ |
| 83 '-pthread', | 89 '-pthread', |
| 84 ], | 90 ], |
| 85 'libraries': [ | 91 'libraries': [ |
| 86 '-lrt', | 92 '-lrt', |
| 87 '-lc', | 93 '-lc', |
| 88 ] | 94 ] |
| 89 }, | 95 }, |
| 90 ] | 96 ] |
| 91 } | 97 } |
| OLD | NEW |