summaryrefslogtreecommitdiffstats
path: root/third_party/libwebm/BUILD.gn
blob: e3fd78bbd26b46fac03b3c6e66688e4c17f2efd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("libwebm") {
  sources = [
    "source/mkvmuxer.cpp",
    "source/mkvmuxerutil.cpp",
    "source/mkvwriter.cpp",
  ]

  # mkvmuxerutil.cpp redefines the _CRT_RAND_S macro. This is the only thing
  # that blocks this target from using Chromium compiler settings.
  configs -= [ "//build/config/compiler:chromium_code" ]
  configs += [ "//build/config/compiler:no_chromium_code" ]
}