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

Side by Side Diff: media/cdm/ppapi/BUILD.gn

Issue 843583006: GN: Add -Wl,-z defs on linux and fix errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 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') | sandbox/linux/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 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/features.gni") 5 import("//build/config/features.gni")
6 6
7 # Android doesn't use ffmpeg. 7 # Android doesn't use ffmpeg.
8 use_ffmpeg = !is_android 8 use_ffmpeg = !is_android
9 9
10 # The GYP version supports build flags "use_fake_video_decoder" and 10 # The GYP version supports build flags "use_fake_video_decoder" and
11 # "use_vpx". These should be added here if necessary but its not clear if 11 # "use_vpx". These should be added here if necessary but its not clear if
12 # they are required any more. 12 # they are required any more.
13 shared_library("clearkeycdm") { 13 shared_library("clearkeycdm") {
14 sources = [ 14 sources = [
15 "cdm_file_io_test.cc", 15 "cdm_file_io_test.cc",
16 "cdm_file_io_test.h", 16 "cdm_file_io_test.h",
17 "external_clear_key/cdm_video_decoder.cc", 17 "external_clear_key/cdm_video_decoder.cc",
18 "external_clear_key/cdm_video_decoder.h", 18 "external_clear_key/cdm_video_decoder.h",
19 "external_clear_key/clear_key_cdm.cc", 19 "external_clear_key/clear_key_cdm.cc",
20 "external_clear_key/clear_key_cdm.h", 20 "external_clear_key/clear_key_cdm.h",
21 "external_clear_key/clear_key_cdm_common.h", 21 "external_clear_key/clear_key_cdm_common.h",
22 ] 22 ]
23 23
24 defines = [ "CDM_IMPLEMENTATION" ] 24 defines = [ "CDM_IMPLEMENTATION" ]
25 25
26 deps = [ 26 deps = [
27 "//base", 27 "//base",
28 "//media", # For media::AudioTimestampHelper
28 "//media:shared_memory_support", # For media::AudioBus. 29 "//media:shared_memory_support", # For media::AudioBus.
29 "//url", 30 "//url",
30 ] 31 ]
31 32
32 if (use_ffmpeg) { 33 if (use_ffmpeg) {
33 sources += [ 34 sources += [
34 "external_clear_key/ffmpeg_cdm_audio_decoder.cc", 35 "external_clear_key/ffmpeg_cdm_audio_decoder.cc",
35 "external_clear_key/ffmpeg_cdm_audio_decoder.h", 36 "external_clear_key/ffmpeg_cdm_audio_decoder.h",
36 "external_clear_key/ffmpeg_cdm_video_decoder.cc", 37 "external_clear_key/ffmpeg_cdm_video_decoder.cc",
37 "external_clear_key/ffmpeg_cdm_video_decoder.h", 38 "external_clear_key/ffmpeg_cdm_video_decoder.h",
(...skipping 14 matching lines...) Expand all
52 53
53 group("clearkeycdmadapter") { 54 group("clearkeycdmadapter") {
54 deps = [ 55 deps = [
55 #":cdmadapter", TODO(GYP) 56 #":cdmadapter", TODO(GYP)
56 ":clearkeycdm", 57 ":clearkeycdm",
57 58
58 #":clearkeycdmadapter_resources", TODO(GYP) 59 #":clearkeycdmadapter_resources", TODO(GYP)
59 "//ppapi:ppapi_cpp", 60 "//ppapi:ppapi_cpp",
60 ] 61 ]
61 } 62 }
OLDNEW
« no previous file with comments | « media/cast/BUILD.gn ('k') | sandbox/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698