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

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

Issue 1669923002: media: Enable rpath for ppapi_cdm_adapter target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « 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 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. If GYP, you would instead 6 # normal target and everything should work correctly. If GYP, you would instead
7 # depend on media/media_cdm_adapter.gyp:cdmadapter which would in turn modify 7 # depend on media/media_cdm_adapter.gyp:cdmadapter which would in turn modify
8 # your target with direct_dependent_settings. 8 # your target with direct_dependent_settings.
9 template("ppapi_cdm_adapter") { 9 template("ppapi_cdm_adapter") {
10 # TODO(GYP) On Mac/Linux this should be a loadable_module. 10 # TODO(GYP) On Mac/Linux this should be a loadable_module.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 "-Wl,-exported_symbol,_PPP_ShutdownModule", 43 "-Wl,-exported_symbol,_PPP_ShutdownModule",
44 ] 44 ]
45 #TODO(GYP) Mac: 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 45 #TODO(GYP) Mac: 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
46 } else if (is_posix) { 46 } else if (is_posix) {
47 cflags += [ "-fvisibility=hidden" ] 47 cflags += [ "-fvisibility=hidden" ]
48 48
49 # Required for clock_gettime() 49 # Required for clock_gettime()
50 libs += [ "rt" ] 50 libs += [ "rt" ]
51 } 51 }
52 52
53 if (is_linux && !is_component_build) {
54 # CDM adapter depends on a CDM even in non-component builds.
55 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
56 }
57
53 # TODO(jschuh) crbug.com/167187 58 # TODO(jschuh) crbug.com/167187
54 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 59 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
55 } 60 }
56 } 61 }
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