-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.gn
79 lines (76 loc) · 1.95 KB
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import("//build/config/features.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("//media/media_options.gni")
static_library("chromium_media") {
output_name = "media_lib"
sources = [
"file_data_source.cc",
"file_data_source.h",
"mediaplayer_impl.cc",
"mediaplayer_impl.h",
"mediaplayer_params.cc",
"mediaplayer_params.h",
"audiosourceprovider_impl.cc",
"audiosourceprovider_impl.h",
"media_context.cc",
"media_context.h",
"media_internals.cc",
"media_internals.h",
"audio_renderer_sink_cache.h",
"audio_renderer_sink_cache_impl.cc",
"audio_renderer_sink_cache_impl.h",
"audio_renderer_mixer_manager.cc",
"audio_renderer_mixer_manager.h",
"audio_device_factory.cc",
"audio_device_factory.h",
"audio_message_filter.cc",
"audio_message_filter.h",
"audio_renderer_host.cc",
"audio_renderer_host.h",
"audio_output_delegate_impl.cc",
"audio_output_delegate_impl.h",
"audio_sync_reader.cc",
"audio_sync_reader.h",
"read_operation.cc",
"read_operation.h",
"resource_data_source.cc",
"resource_data_source.h",
"resource_multibuffer.cc",
"resource_multibuffer.h",
"video_renderer_sink_impl.cc",
"video_renderer_sink_impl.h",
]
configs += [
"//build/config:precompiled_headers",
"//build/config/compiler:no_size_t_to_int_warning",
]
deps = [
"//base",
"//cc",
"//gpu",
"//media",
"//media:shared_memory_support",
"//net",
"//ppapi/features",
"//skia",
"//ui/gfx",
"//ui/gfx/geometry",
"//url",
]
}
executable("media_example") {
deps = [
"//build/config:exe_and_shlib_deps",
"//base",
"//skia",
"//media",
":chromium_media",
]
sources = [
"example/main.cc",
]
if (is_linux && !is_component_build) {
# Set rpath to find our own libfreetype even in a non-component build.
configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
}
}