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

Side by Side Diff: content/gpu/BUILD.gn

Issue 1320453003: media: Support MojoMediaApplication in GPU process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing import Created 5 years, 2 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/browser/mojo/mojo_shell_context.cc ('k') | content/gpu/DEPS » ('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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//content/content.gni") 6 import("//content/content.gni")
7 import("//media/media_options.gni")
7 8
8 # See //content/BUILD.gn for how this works. 9 # See //content/BUILD.gn for how this works.
9 group("gpu") { 10 group("gpu") {
10 visibility = [ "//content/*" ] 11 visibility = [ "//content/*" ]
11 12
12 if (is_component_build) { 13 if (is_component_build) {
13 public_deps = [ 14 public_deps = [
14 "//content", 15 "//content",
15 ] 16 ]
16 } else { 17 } else {
(...skipping 24 matching lines...) Expand all
41 42
42 deps = [ 43 deps = [
43 "//base", 44 "//base",
44 "//content:export", 45 "//content:export",
45 "//content/public/child:child_sources", 46 "//content/public/child:child_sources",
46 "//mojo/application/public/interfaces", 47 "//mojo/application/public/interfaces",
47 "//skia", 48 "//skia",
48 "//ui/gl", 49 "//ui/gl",
49 ] 50 ]
50 51
52 if (enable_mojo_media == "gpu") {
53 deps += [ "//media/mojo/services:application" ]
54 }
55
51 if (is_win) { 56 if (is_win) {
52 configs += [ 57 configs += [
53 "//third_party/khronos:khronos_headers", 58 "//third_party/khronos:khronos_headers",
54 "//third_party/wtl:wtl_includes", 59 "//third_party/wtl:wtl_includes",
55 ] 60 ]
56 libs = [ "setupapi.lib" ] 61 libs = [ "setupapi.lib" ]
57 deps += [ 62 deps += [
58 "//third_party/angle:libEGL", 63 "//third_party/angle:libEGL",
59 "//third_party/angle:libGLESv2", 64 "//third_party/angle:libGLESv2",
60 ] 65 ]
61 } 66 }
62 67
63 if (is_chromeos && current_cpu != "arm") { 68 if (is_chromeos && current_cpu != "arm") {
64 configs += [ "//third_party/libva:libva_config" ] 69 configs += [ "//third_party/libva:libva_config" ]
65 } 70 }
66 71
67 if (use_x11) { 72 if (use_x11) {
68 deps += [ "//ui/events/platform/x11" ] 73 deps += [ "//ui/events/platform/x11" ]
69 } 74 }
70 } 75 }
OLDNEW
« no previous file with comments | « content/browser/mojo/mojo_shell_context.cc ('k') | content/gpu/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698