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 config("libwebm_config") { |
| 6 include_dirs = [ "./source" ] |
| 7 } |
| 8 |
5 source_set("libwebm") { | 9 source_set("libwebm") { |
| 10 configs += [ ":libwebm_config" ] |
| 11 public_configs = [ ":libwebm_config" ] |
| 12 |
| 13 if (!is_win) { |
| 14 cflags = [ "-Wno-deprecated-declarations" ] # libwebm uses std::auto_ptr |
| 15 } |
| 16 |
6 sources = [ | 17 sources = [ |
7 "source/mkvmuxer.cpp", | 18 "source/mkvmuxer/mkvmuxer.cc", |
8 "source/mkvmuxerutil.cpp", | 19 "source/mkvmuxer/mkvmuxerutil.cc", |
9 "source/mkvwriter.cpp", | 20 "source/mkvmuxer/mkvwriter.cc", |
10 ] | 21 ] |
11 } | 22 } |
OLD | NEW |