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

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

Issue 780733002: Simplify the thunk targets since we don't support apps as components (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « mojo/converters/surfaces/BUILD.gn ('k') | mojo/gles2/gles2_impl.cc » ('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("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 6
7 config("mojo_use_gles2") { 7 config("mojo_use_gles2") {
8 defines = [ "MOJO_USE_GLES2_IMPL" ] 8 defines = [ "MOJO_USE_GLES2_IMPL" ]
9 } 9 }
10 10
11 config("gles2_use_mojo") { 11 config("gles2_use_mojo") {
12 defines = [ "GLES2_USE_MOJO" ] 12 defines = [ "GLES2_USE_MOJO" ]
13 } 13 }
14 14
15 # GYP version: mojo/mojo_base.gyp:mojo_gles2_impl 15 source_set("gles2") {
16 component("gles2") {
17 output_name = "mojo_gles2_impl"
18
19 sources = [ 16 sources = [
20 "command_buffer_client_impl.cc", 17 "command_buffer_client_impl.cc",
21 "command_buffer_client_impl.h", 18 "command_buffer_client_impl.h",
22 "gles2_impl_export.h",
23 "gles2_impl.cc", 19 "gles2_impl.cc",
24 "gles2_context.cc", 20 "gles2_context.cc",
25 "gles2_context.h", 21 "gles2_context.h",
26 ] 22 ]
27 23
28 defines = [ 24 defines = [
29 "GL_GLEXT_PROTOTYPES", 25 "GL_GLEXT_PROTOTYPES",
30 "MOJO_GLES2_IMPL_IMPLEMENTATION",
31 "MOJO_GLES2_IMPLEMENTATION", 26 "MOJO_GLES2_IMPLEMENTATION",
32 ] 27 ]
33 28
34 configs += [ 29 configs += [
35 ":gles2_use_mojo", 30 ":gles2_use_mojo",
36 ":mojo_use_gles2", 31 ":mojo_use_gles2",
37 ] 32 ]
38 public_configs = [ ":gles2_use_mojo" ] 33 public_configs = [ ":gles2_use_mojo" ]
39 all_dependent_configs = [ ":mojo_use_gles2" ] 34 all_dependent_configs = [ ":mojo_use_gles2" ]
40 35
41 deps = [ 36 deps = [
42 "//base", 37 "//base",
43 "//base/third_party/dynamic_annotations", 38 "//base/third_party/dynamic_annotations",
44 "//gpu/command_buffer/client", 39 "//gpu/command_buffer/client",
45 "//gpu/command_buffer/client:gles2_cmd_helper", 40 "//gpu/command_buffer/client:gles2_cmd_helper",
46 "//gpu/command_buffer/client:gles2_implementation", 41 "//gpu/command_buffer/client:gles2_implementation",
47 "//gpu/command_buffer/client:gles2_interface", 42 "//gpu/command_buffer/client:gles2_interface",
48 "//gpu/command_buffer/common", 43 "//gpu/command_buffer/common",
49 "//mojo/environment:chromium", 44 "//mojo/environment:chromium",
50 "//mojo/public/c/gles2", 45 "//mojo/public/c/gles2:headers",
51 "//mojo/public/c/system:for_component", 46 "//mojo/public/c/system",
52 "//mojo/public/cpp/bindings", 47 "//mojo/public/cpp/bindings",
53 "//mojo/public/cpp/system", 48 "//mojo/public/cpp/system",
54 "//mojo/services/public/interfaces/gpu", 49 "//mojo/services/public/interfaces/gpu",
55 "//services/gles2:lib", 50 "//services/gles2:lib",
56 ] 51 ]
57 } 52 }
OLDNEW
« no previous file with comments | « mojo/converters/surfaces/BUILD.gn ('k') | mojo/gles2/gles2_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698