OLD | NEW |
1 #Copyright 2016 The Chromium Authors.All rights reserved. | 1 #Copyright 2016 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 import("//build/module_args/mojo.gni") | 5 import("//build/module_args/mojo.gni") |
6 import("$mojo_sdk_root/mojo/public/mojo_sdk.gni") | 6 import("$mojo_sdk_root/mojo/public/mojo_sdk.gni") |
7 | 7 |
8 config("default_include_dirs") { | 8 config("default_include_dirs") { |
9 include_dirs = [ | 9 include_dirs = [ |
10 "//", | 10 "//", |
(...skipping 30 matching lines...) Expand all Loading... |
41 "ffmpeg_init.cc", | 41 "ffmpeg_init.cc", |
42 "ffmpeg_init.h", | 42 "ffmpeg_init.h", |
43 "ffmpeg_video_decoder.cc", | 43 "ffmpeg_video_decoder.cc", |
44 "ffmpeg_video_decoder.h", | 44 "ffmpeg_video_decoder.h", |
45 ] | 45 ] |
46 | 46 |
47 deps = [ | 47 deps = [ |
48 "//base", | 48 "//base", |
49 "//mojo/common", | 49 "//mojo/common", |
50 "//services/media/framework", | 50 "//services/media/framework", |
| 51 "//services/util/cpp", |
51 "//third_party/ffmpeg", | 52 "//third_party/ffmpeg", |
52 ] | 53 ] |
53 | 54 |
54 defines = [ | 55 defines = [ |
55 "FF_API_PIX_FMT_DESC=0", | 56 "FF_API_PIX_FMT_DESC=0", |
56 "FF_API_OLD_DECODE_AUDIO=0", | 57 "FF_API_OLD_DECODE_AUDIO=0", |
57 "FF_API_DESTRUCT_PACKET=0", | 58 "FF_API_DESTRUCT_PACKET=0", |
58 "FF_API_GET_BUFFER=0", | 59 "FF_API_GET_BUFFER=0", |
59 ] | 60 ] |
60 | 61 |
61 configs -= [ "//build/config/compiler:default_include_dirs" ] | 62 configs -= [ "//build/config/compiler:default_include_dirs" ] |
62 configs += [ ":default_include_dirs" ] | 63 configs += [ ":default_include_dirs" ] |
63 } | 64 } |
OLD | NEW |