Index: third_party/libwebm/BUILD.gn |
diff --git a/third_party/libwebm/BUILD.gn b/third_party/libwebm/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..68d1db974c331496f4b0434903453676b014bddc |
--- /dev/null |
+++ b/third_party/libwebm/BUILD.gn |
@@ -0,0 +1,16 @@ |
+# Copyright (c) 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" ] |
+} |