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

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

Issue 1049993002: Get mojo_shell building inside chromium checkout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit Created 5 years, 8 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 | « mojo/converters/input_events/input_events_type_converters.cc ('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("//third_party/mojo/src/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 source_set("gles2") {
16 sources = [
17 "command_buffer_client_impl.cc",
18 "command_buffer_client_impl.h",
19 "gles2_impl.cc",
20 "gles2_context.cc",
21 "gles2_context.h",
22 ]
23
24 defines = [
25 "GL_GLEXT_PROTOTYPES",
26 "MOJO_GLES2_IMPLEMENTATION",
27 ]
28
29 configs += [
30 ":gles2_use_mojo",
31 ":mojo_use_gles2",
32 ]
33 public_configs = [ ":gles2_use_mojo" ]
34 all_dependent_configs = [ ":mojo_use_gles2" ]
35
36 deps = [
37 "//base",
38 "//base/third_party/dynamic_annotations",
39 "//gpu/command_buffer/client",
40 "//gpu/command_buffer/client:gles2_cmd_helper",
41 "//gpu/command_buffer/client:gles2_implementation",
42 "//gpu/command_buffer/client:gles2_interface",
43 "//gpu/command_buffer/common",
44 "//mojo/environment:chromium",
45 "//third_party/mojo/src/mojo/public/c/gles2:headers",
46 "//third_party/mojo/src/mojo/public/c/system",
47 "//third_party/mojo/src/mojo/public/cpp/bindings",
48 "//third_party/mojo/src/mojo/public/cpp/system",
49 "//third_party/mojo_services/src/gpu/public/interfaces",
50 "//mojo/services/gles2:lib",
51 ]
52
53 include_dirs = [ ".." ]
54 }
OLDNEW
« no previous file with comments | « mojo/converters/input_events/input_events_type_converters.cc ('k') | mojo/gles2/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698