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

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

Issue 485523004: GN: Mojo wget, sample_app, surfaces app and component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « mojo/examples/wget/BUILD.gn ('k') | mojo/mojo_examples.gypi » ('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 import("//mojo/system.gni") 6 import("//mojo/system.gni")
7 7
8 config("mojo_use_gles2") { 8 config("mojo_use_gles2") {
9 defines = [ "MOJO_USE_GLES2_IMPL" ] 9 defines = [ "MOJO_USE_GLES2_IMPL" ]
10 } 10 }
11 11
12 config("gles2_use_mojo") { 12 config("gles2_use_mojo") {
13 defines = [ "USE_MOJO_GLES2" ] 13 defines = [ "GLES2_USE_MOJO" ]
14 } 14 }
15 15
16 # GYP version: mojo/mojo_base.gyp:mojo_gles2_impl 16 # GYP version: mojo/mojo_base.gyp:mojo_gles2_impl
17 component("gles2") { 17 component("gles2") {
18 output_name = "mojo_gles2_impl" 18 output_name = "mojo_gles2_impl"
19 19
20 deps = [ 20 deps = [
21 "//base", 21 "//base",
22 "//base/third_party/dynamic_annotations", 22 "//base/third_party/dynamic_annotations",
23 "//gpu/command_buffer/client", 23 "//gpu/command_buffer/client",
24 "//gpu/command_buffer/common", 24 "//gpu/command_buffer/common",
25 "//gpu/command_buffer/client:gles2_implementation", 25 "//gpu/command_buffer/client:gles2_implementation",
26 "//mojo/public/gles2",
27 "//mojo/services/gles2:bindings", 26 "//mojo/services/gles2:bindings",
28 "//mojo/services/gles2:interfaces", 27 "//mojo/services/gles2:interfaces",
29 "//mojo/environment:chromium", 28 "//mojo/environment:chromium",
30 ] 29 ]
31 deps += mojo_system_for_component 30 deps += mojo_system_for_component
32 31
33 defines = [ 32 defines = [
33 "GL_GLEXT_PROTOTYPES",
34 "MOJO_GLES2_IMPL_IMPLEMENTATION", 34 "MOJO_GLES2_IMPL_IMPLEMENTATION",
35 "MOJO_GLES2_IMPLEMENTATION", 35 "MOJO_GLES2_IMPLEMENTATION",
36 ] 36 ]
37 37
38 configs += [ 38 configs += [
39 ":gles2_use_mojo", 39 ":gles2_use_mojo",
40 ":mojo_use_gles2", 40 ":mojo_use_gles2",
41 ] 41 ]
42 direct_dependent_configs = [ ":gles2_use_mojo" ] 42 direct_dependent_configs = [ ":gles2_use_mojo" ]
43 all_dependent_configs = [ ":mojo_use_gles2" ] 43 all_dependent_configs = [ ":mojo_use_gles2" ]
44 44
45 sources = [ 45 sources = [
46 "command_buffer_client_impl.cc", 46 "command_buffer_client_impl.cc",
47 "command_buffer_client_impl.h", 47 "command_buffer_client_impl.h",
48 "gles2_impl_export.h", 48 "gles2_impl_export.h",
49 "gles2_impl.cc", 49 "gles2_impl.cc",
50 "gles2_context.cc", 50 "gles2_context.cc",
51 "gles2_context.h", 51 "gles2_context.h",
52 ] 52 ]
53 } 53 }
OLDNEW
« no previous file with comments | « mojo/examples/wget/BUILD.gn ('k') | mojo/mojo_examples.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698