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

Side by Side Diff: media/cdm/ppapi/ppapi_cdm_adapter.gni

Issue 2912513002: Revert of Add missing dependencies on exe_and_shlib_deps (Chromium repo) (Closed)
Patch Set: Created 3 years, 7 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/cast/BUILD.gn ('k') | net/BUILD.gn » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # This template defines a CDM adapter target. Just use this as you would a 5 # This template defines a CDM adapter target. Just use this as you would a
6 # normal target and everything should work correctly. 6 # normal target and everything should work correctly.
7 template("ppapi_cdm_adapter") { 7 template("ppapi_cdm_adapter") {
8 if (is_mac || is_linux) { 8 if (is_mac || is_linux) {
9 _target_type = "loadable_module" 9 _target_type = "loadable_module"
10 } else { 10 } else {
11 _target_type = "shared_library" 11 _target_type = "shared_library"
12 } 12 }
13 13
14 target(_target_type, target_name) { 14 target(_target_type, target_name) {
15 # Don't filter sources list again. 15 # Don't filter sources list again.
16 set_sources_assignment_filter([]) 16 set_sources_assignment_filter([])
17 cflags = [] 17 cflags = []
18 sources = [] 18 sources = []
19 ldflags = [] 19 ldflags = []
20 libs = [] 20 libs = []
21 forward_variables_from(invoker, "*") 21 forward_variables_from(invoker, "*")
22 22
23 defines += [ "USE_PPAPI_CDM_ADAPTER" ] 23 defines += [ "USE_PPAPI_CDM_ADAPTER" ]
24 deps += [ 24 deps += [
25 "//build/config:exe_and_shlib_deps",
26 "//media:cdm_api", 25 "//media:cdm_api",
27 "//ppapi/cpp", 26 "//ppapi/cpp",
28 ] 27 ]
29 sources += [ 28 sources += [
30 "//media/cdm/cdm_helpers.cc", 29 "//media/cdm/cdm_helpers.cc",
31 "//media/cdm/cdm_helpers.h", 30 "//media/cdm/cdm_helpers.h",
32 "//media/cdm/cdm_wrapper.h", 31 "//media/cdm/cdm_wrapper.h",
33 "//media/cdm/ppapi/cdm_file_io_impl.cc", 32 "//media/cdm/ppapi/cdm_file_io_impl.cc",
34 "//media/cdm/ppapi/cdm_file_io_impl.h", 33 "//media/cdm/ppapi/cdm_file_io_impl.h",
35 "//media/cdm/ppapi/cdm_logging.cc", 34 "//media/cdm/ppapi/cdm_logging.cc",
(...skipping 24 matching lines...) Expand all
60 59
61 if (is_linux) { 60 if (is_linux) {
62 # CDM adapter depends on a CDM in component and non-component builds. 61 # CDM adapter depends on a CDM in component and non-component builds.
63 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] 62 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
64 } 63 }
65 64
66 # TODO(jschuh) crbug.com/167187 65 # TODO(jschuh) crbug.com/167187
67 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 66 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
68 } 67 }
69 } 68 }
OLDNEW
« no previous file with comments | « media/cast/BUILD.gn ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698