Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(953)

Side by Side Diff: media/base/BUILD.gn

Issue 1849413003: Define crash keys in the directory hierarchy where they are used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with head Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/DEPS ('k') | media/base/crash_keys.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/config/linux/pkg_config.gni") 9 import("//build/config/linux/pkg_config.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
11 import("//testing/libfuzzer/fuzzer_test.gni") 11 import("//testing/libfuzzer/fuzzer_test.gni")
12 12
13 config("base_config") { 13 config("base_config") {
14 configs = [ 14 configs = [
15 # This target uses the ALLOCATOR_SHIM define. 15 # This target uses the ALLOCATOR_SHIM define.
16 "//base/allocator:allocator_shim_define", 16 "//base/allocator:allocator_shim_define",
17 "//build/config:precompiled_headers", 17 "//build/config:precompiled_headers",
18 "//build/config/compiler:no_size_t_to_int_warning", 18 "//build/config/compiler:no_size_t_to_int_warning",
19 "//media:media_config", 19 "//media:media_config",
20 "//media:media_dependent_config", 20 "//media:media_dependent_config",
21 "//media:media_implementation", 21 "//media:media_implementation",
22 ] 22 ]
23 } 23 }
24 24
25 # Target that provides the media component's crash keys publicly without
26 # needing to depend on the rest of base.
27 source_set("crash_keys") {
28 sources = [
29 "crash_keys.cc",
30 "crash_keys.h",
31 ]
32 deps = [
33 "//base",
34 "//components/crash/core/common",
35 ]
36
37 configs += [ "//media:media_implementation" ]
38 }
39
25 source_set("base") { 40 source_set("base") {
26 # This is part of the media component. 41 # This is part of the media component.
27 visibility = [ "//media/*" ] 42 visibility = [ "//media/*" ]
28 sources = [ 43 sources = [
29 "audio_block_fifo.cc", 44 "audio_block_fifo.cc",
30 "audio_block_fifo.h", 45 "audio_block_fifo.h",
31 "audio_buffer.cc", 46 "audio_buffer.cc",
32 "audio_buffer.h", 47 "audio_buffer.h",
33 "audio_buffer_converter.cc", 48 "audio_buffer_converter.cc",
34 "audio_buffer_converter.h", 49 "audio_buffer_converter.h",
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 "cdm_promise.cc", 110 "cdm_promise.cc",
96 "cdm_promise.h", 111 "cdm_promise.h",
97 "cdm_promise_adapter.cc", 112 "cdm_promise_adapter.cc",
98 "cdm_promise_adapter.h", 113 "cdm_promise_adapter.h",
99 "channel_mixer.cc", 114 "channel_mixer.cc",
100 "channel_mixer.h", 115 "channel_mixer.h",
101 "channel_mixing_matrix.cc", 116 "channel_mixing_matrix.cc",
102 "channel_mixing_matrix.h", 117 "channel_mixing_matrix.h",
103 "container_names.cc", 118 "container_names.cc",
104 "container_names.h", 119 "container_names.h",
120 "crash_keys.cc",
121 "crash_keys.h",
105 "data_buffer.cc", 122 "data_buffer.cc",
106 "data_buffer.h", 123 "data_buffer.h",
107 "data_source.cc", 124 "data_source.cc",
108 "data_source.h", 125 "data_source.h",
109 "decode_status.cc", 126 "decode_status.cc",
110 "decode_status.h", 127 "decode_status.h",
111 "decoder_buffer.cc", 128 "decoder_buffer.cc",
112 "decoder_buffer.h", 129 "decoder_buffer.h",
113 "decoder_buffer_queue.cc", 130 "decoder_buffer_queue.cc",
114 "decoder_buffer_queue.h", 131 "decoder_buffer_queue.h",
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 "wall_clock_time_source.h", 262 "wall_clock_time_source.h",
246 "yuv_convert.cc", 263 "yuv_convert.cc",
247 "yuv_convert.h", 264 "yuv_convert.h",
248 ] 265 ]
249 266
250 allow_circular_includes_from = [] 267 allow_circular_includes_from = []
251 defines = [] 268 defines = []
252 public_deps = [] 269 public_deps = []
253 deps = [ 270 deps = [
254 "//base/third_party/dynamic_annotations:dynamic_annotations", 271 "//base/third_party/dynamic_annotations:dynamic_annotations",
272 "//components/crash/core/common",
255 "//gpu", 273 "//gpu",
256 "//media:media_features", 274 "//media:media_features",
257 "//media:shared_memory_support", 275 "//media:shared_memory_support",
258 "//skia", 276 "//skia",
259 "//third_party/libyuv", 277 "//third_party/libyuv",
260 "//ui/events:events_base", 278 "//ui/events:events_base",
261 "//url:url", 279 "//url:url",
262 ] 280 ]
263 libs = [] 281 libs = []
264 configs += [ ":base_config" ] 282 configs += [ ":base_config" ]
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 628
611 fuzzer_test("media_container_names_fuzzer") { 629 fuzzer_test("media_container_names_fuzzer") {
612 sources = [ 630 sources = [
613 "container_names_fuzzertest.cc", 631 "container_names_fuzzertest.cc",
614 ] 632 ]
615 deps = [ 633 deps = [
616 "//base", 634 "//base",
617 "//media", 635 "//media",
618 ] 636 ]
619 } 637 }
OLDNEW
« no previous file with comments | « media/DEPS ('k') | media/base/crash_keys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698