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

Side by Side Diff: services/gles2/BUILD.gn

Issue 1348283004: Use MailboxManagerSync on android. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: use factory to create appropriate mailbox manager Created 5 years, 3 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
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("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 6
7 source_set("gles2") { 7 source_set("gles2") {
8 visibility = [ 8 visibility = [
9 "//shell:parent_lib", # For android 9 "//shell:parent_lib", # For android
10 "//services/native_viewport:*", 10 "//services/native_viewport:*",
11 ] 11 ]
12 12
13 sources = [ 13 sources = [
14 "command_buffer_driver.cc", 14 "command_buffer_driver.cc",
15 "command_buffer_driver.h", 15 "command_buffer_driver.h",
16 "command_buffer_impl.cc", 16 "command_buffer_impl.cc",
17 "command_buffer_impl.h", 17 "command_buffer_impl.h",
18 "gpu_impl.cc", 18 "gpu_impl.cc",
19 "gpu_impl.h", 19 "gpu_impl.h",
20 "gpu_state.cc", 20 "gpu_state.cc",
21 "gpu_state.h", 21 "gpu_state.h",
22 "mailbox_manager_factory.h",
22 ] 23 ]
23 24
25 if (is_android) {
jamesr 2015/09/18 02:31:35 this probably deserves a comment explaining why th
cdotstout 2015/09/18 15:51:40 Done.
26 sources += [ "mailbox_manager_factory_sync.cc" ]
27 } else {
28 sources += [ "mailbox_manager_factory_nosync.cc" ]
29 }
30
24 public_deps = [ 31 public_deps = [
25 ":lib", 32 ":lib",
26 ] 33 ]
27 deps = [ 34 deps = [
28 "//base", 35 "//base",
29 "//gpu/command_buffer/service", 36 "//gpu/command_buffer/service",
30 "//mojo/converters/geometry", 37 "//mojo/converters/geometry",
31 "//mojo/public/cpp/bindings", 38 "//mojo/public/cpp/bindings",
32 "//mojo/services/geometry/public/interfaces", 39 "//mojo/services/geometry/public/interfaces",
33 "//mojo/services/gpu/public/interfaces", 40 "//mojo/services/gpu/public/interfaces",
(...skipping 12 matching lines...) Expand all
46 ] 53 ]
47 54
48 deps = [ 55 deps = [
49 "//base", 56 "//base",
50 "//gpu/command_buffer/common", 57 "//gpu/command_buffer/common",
51 "//mojo/public/cpp/bindings", 58 "//mojo/public/cpp/bindings",
52 "//mojo/public/cpp/system", 59 "//mojo/public/cpp/system",
53 "//mojo/services/gpu/public/interfaces", 60 "//mojo/services/gpu/public/interfaces",
54 ] 61 ]
55 } 62 }
OLDNEW
« no previous file with comments | « no previous file | services/gles2/command_buffer_driver.h » ('j') | services/gles2/mailbox_manager_factory_sync.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698