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

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

Issue 1354353002: Add GetProcAddress to OpenGL control interface (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Unit test added Created 5 years, 2 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/BUILD.gn ('k') | mojo/gles2/control_thunks_impl.h » ('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("//testing/test.gni")
5 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
6 7
7 config("mojo_use_gles2") { 8 config("mojo_use_gles2") {
8 defines = [ "MOJO_USE_GLES2_IMPL" ] 9 defines = [ "MOJO_USE_GLES2_IMPL" ]
9 } 10 }
10 11
11 config("gles2_use_mojo") { 12 config("gles2_use_mojo") {
12 defines = [ "GLES2_USE_MOJO" ] 13 defines = [ "GLES2_USE_MOJO" ]
13 } 14 }
14 15
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 configs += [ ":gles2_use_mojo" ] 73 configs += [ ":gles2_use_mojo" ]
73 74
74 deps = [ 75 deps = [
75 ":control_thunks", 76 ":control_thunks",
76 ":gles2", 77 ":gles2",
77 "//mojo/public/c/gpu:MGL", 78 "//mojo/public/c/gpu:MGL",
78 "//mojo/public/c/gpu:MGL_onscreen", 79 "//mojo/public/c/gpu:MGL_onscreen",
79 "//mojo/public/cpp/system", 80 "//mojo/public/cpp/system",
80 ] 81 ]
81 } 82 }
83
84 test("mgl_unittests") {
85 deps = [
86 ":mgl",
87 "//base",
88 "//base/test:test_support",
89 "//mojo/edk/system",
90 "//mojo/edk/test:test_support_impl",
91 "//mojo/public/c/gpu:MGL",
92 "//mojo/public/c/test_support:test_support",
93 "//mojo/public/cpp/environment:standalone",
94 "//testing/gtest:gtest",
95 ]
96
97 sources = [
98 "../edk/test/run_all_unittests.cc",
jamesr 2015/09/22 23:38:50 sourcing in ../xxx files is dodgy. if this file is
Petr Hosek 2015/09/23 00:04:31 Turned out there is a target for that file, so thi
99 "mgl_unittest.cc",
100 ]
101 }
OLDNEW
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/gles2/control_thunks_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698