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

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

Issue 2491603003: media: Set stricter visibility for //media/base (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | 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")
(...skipping 10 matching lines...) Expand all
21 "//media:media_implementation", 21 "//media:media_implementation",
22 ] 22 ]
23 } 23 }
24 24
25 if (is_component_build) { 25 if (is_component_build) {
26 link_target_type = "source_set" 26 link_target_type = "source_set"
27 } else { 27 } else {
28 link_target_type = "static_library" 28 link_target_type = "static_library"
29 } 29 }
30 target(link_target_type, "base") { 30 target(link_target_type, "base") {
31 # This is part of the media component. 31 # This should only be depended on by "media" target. Other targets should
32 visibility = [ "//media/*" ] 32 # depend on "media" target directly.
33 visibility = [
34 "//media",
35
36 # TODO(xhwang): Clean up the dependency graph within "media" target.
37 "//media/audio",
38 "//media/ffmpeg",
39
40 # TODO(xhwang): Remove this dependency.
41 "//media/capture",
42 ]
33 sources = [ 43 sources = [
34 "audio_block_fifo.cc", 44 "audio_block_fifo.cc",
35 "audio_block_fifo.h", 45 "audio_block_fifo.h",
36 "audio_buffer.cc", 46 "audio_buffer.cc",
37 "audio_buffer.h", 47 "audio_buffer.h",
38 "audio_buffer_converter.cc", 48 "audio_buffer_converter.cc",
39 "audio_buffer_converter.h", 49 "audio_buffer_converter.h",
40 "audio_buffer_queue.cc", 50 "audio_buffer_queue.cc",
41 "audio_buffer_queue.h", 51 "audio_buffer_queue.h",
42 "audio_capturer_source.h", 52 "audio_capturer_source.h",
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 616
607 fuzzer_test("media_container_names_fuzzer") { 617 fuzzer_test("media_container_names_fuzzer") {
608 sources = [ 618 sources = [
609 "container_names_fuzzertest.cc", 619 "container_names_fuzzertest.cc",
610 ] 620 ]
611 deps = [ 621 deps = [
612 "//base", 622 "//base",
613 "//media", 623 "//media",
614 ] 624 ]
615 } 625 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698