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

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

Issue 2163823002: Reduce chrome.dll size by careful use of static_library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make //content/child static_library conditional 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 | « content/renderer/mus/BUILD.gn ('k') | 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")
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 source_set("base") { 25 if (is_component_build) {
26 link_target_type = "source_set"
27 } else {
28 link_target_type = "static_library"
29 }
30 target(link_target_type, "base") {
26 # This is part of the media component. 31 # This is part of the media component.
27 visibility = [ "//media/*" ] 32 visibility = [ "//media/*" ]
28 sources = [ 33 sources = [
29 "audio_block_fifo.cc", 34 "audio_block_fifo.cc",
30 "audio_block_fifo.h", 35 "audio_block_fifo.h",
31 "audio_buffer.cc", 36 "audio_buffer.cc",
32 "audio_buffer.h", 37 "audio_buffer.h",
33 "audio_buffer_converter.cc", 38 "audio_buffer_converter.cc",
34 "audio_buffer_converter.h", 39 "audio_buffer_converter.h",
35 "audio_buffer_queue.cc", 40 "audio_buffer_queue.cc",
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 607
603 fuzzer_test("media_container_names_fuzzer") { 608 fuzzer_test("media_container_names_fuzzer") {
604 sources = [ 609 sources = [
605 "container_names_fuzzertest.cc", 610 "container_names_fuzzertest.cc",
606 ] 611 ]
607 deps = [ 612 deps = [
608 "//base", 613 "//base",
609 "//media", 614 "//media",
610 ] 615 ]
611 } 616 }
OLDNEW
« no previous file with comments | « content/renderer/mus/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698