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

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

Issue 687433002: Remove mojo/shell and (most) service implementations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove mojo/gles2, disable mojo apps in component build Created 6 years, 1 month 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/examples/pepper_container_app/BUILD.gn ('k') | mojo/gles2/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//mojo/public/tools/bindings/mojom.gni")
6
7 config("mojo_use_gles2") {
8 defines = [ "MOJO_USE_GLES2_IMPL" ]
9 }
10
11 config("gles2_use_mojo") {
12 defines = [ "GLES2_USE_MOJO" ]
13 }
14
15 # GYP version: mojo/mojo_base.gyp:mojo_gles2_impl
16 component("gles2") {
17 output_name = "mojo_gles2_impl"
18
19 deps = [
20 "//base",
21 "//base/third_party/dynamic_annotations",
22 "//gpu/command_buffer/client",
23 "//gpu/command_buffer/client:gles2_cmd_helper",
24 "//gpu/command_buffer/client:gles2_implementation",
25 "//gpu/command_buffer/client:gles2_interface",
26 "//gpu/command_buffer/common",
27 "//mojo/environment:chromium",
28 "//mojo/public/c/system:for_component",
29 "//mojo/services/gles2:lib",
30 "//mojo/services/public/interfaces/gpu",
31 ]
32
33 defines = [
34 "GL_GLEXT_PROTOTYPES",
35 "MOJO_GLES2_IMPL_IMPLEMENTATION",
36 "MOJO_GLES2_IMPLEMENTATION",
37 ]
38
39 configs += [
40 ":gles2_use_mojo",
41 ":mojo_use_gles2",
42 ]
43 public_configs = [ ":gles2_use_mojo" ]
44 all_dependent_configs = [ ":mojo_use_gles2" ]
45
46 sources = [
47 "command_buffer_client_impl.cc",
48 "command_buffer_client_impl.h",
49 "gles2_impl_export.h",
50 "gles2_impl.cc",
51 "gles2_context.cc",
52 "gles2_context.h",
53 ]
54 }
OLDNEW
« no previous file with comments | « mojo/examples/pepper_container_app/BUILD.gn ('k') | mojo/gles2/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698