OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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': 'libwebm', | 8 'target_name': 'libwebm', |
9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'conditions': [ |
| 11 ['OS!="win"', { |
| 12 'cflags': [ |
| 13 '-Wno-deprecated-declarations', # libwebm uses std::auto_ptr |
| 14 ], |
| 15 }], |
| 16 ], |
| 17 'include_dirs': [ |
| 18 './source', |
| 19 ], |
| 20 'direct_dependent_settings': { |
| 21 'include_dirs': [ |
| 22 './source', |
| 23 ], |
| 24 }, |
10 'sources': [ | 25 'sources': [ |
11 'source/mkvmuxer.cpp', | 26 'source/mkvmuxer/mkvmuxer.cc', |
12 'source/mkvmuxerutil.cpp', | 27 'source/mkvmuxer/mkvmuxerutil.cc', |
13 'source/mkvwriter.cpp', | 28 'source/mkvmuxer/mkvwriter.cc', |
14 ], | 29 ], |
15 }, # target libwebm | 30 }, # target libwebm |
16 ] | 31 ] |
17 } | 32 } |
OLD | NEW |