mcasas | 09903b3 | 2015-07-14 16:20:47 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
tomfinegan | 795f1a6 | 2016-04-29 03:36:54 | [diff] [blame] | 5 | config("libwebm_config") { |
| 6 | include_dirs = [ "./source" ] |
| 7 | } |
| 8 | |
brettw | 23302cf | 2016-07-15 00:54:12 | [diff] [blame] | 9 | static_library("libwebm") { |
tomfinegan | 795f1a6 | 2016-04-29 03:36:54 | [diff] [blame] | 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 | |
mcasas | 09903b3 | 2015-07-14 16:20:47 | [diff] [blame] | 17 | sources = [ |
tomfinegan | 795f1a6 | 2016-04-29 03:36:54 | [diff] [blame] | 18 | "source/mkvmuxer/mkvmuxer.cc", |
| 19 | "source/mkvmuxer/mkvmuxerutil.cc", |
| 20 | "source/mkvmuxer/mkvwriter.cc", |
mcasas | 09903b3 | 2015-07-14 16:20:47 | [diff] [blame] | 21 | ] |
| 22 | } |