Chromium Code Reviews| 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..68c43ea1e836497eb7316f93d18ac794de93eb30 |
| --- /dev/null |
| +++ b/third_party/libwebm/BUILD.gn |
| @@ -0,0 +1,19 @@ |
| +# 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" ] |
| + |
| + # TODO: Is the "libwebm_nacl" target used anywhere? If so, implement it in GN |
|
brettw
2014/05/05 17:43:05
I think you can remove this comment. With GN toolc
ckocagil
2014/05/06 04:57:45
I don't really understand. Doesn't nacl have its o
brettw
2014/05/14 16:40:14
In GN you don't need a separate target to compile
|
| + # after GN gets nacl target capability. |
| +} |