OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 config("gpu_configs") { | 5 config("gpu_configs") { |
6 include_dirs = [ "." ] | 6 include_dirs = [ "." ] |
7 defines = [ "GLES2_USE_MOJO" ] | 7 defines = [ "GLES2_USE_MOJO" ] |
8 } | 8 } |
9 | 9 |
10 group("gpu") { | 10 group("gpu") { |
11 public_configs = [ ":gpu_configs" ] | 11 public_configs = [ ":gpu_configs" ] |
12 | 12 |
13 deps = [ | 13 deps = [ |
14 ":MGL", | 14 ":MGL", |
| 15 "../../platform/native:gles2", |
15 "../../platform/native:mgl_thunks", | 16 "../../platform/native:mgl_thunks", |
16 "../../platform/native:gles2", | |
17 ] | 17 ] |
18 } | 18 } |
19 | 19 |
20 group("gpu_onscreen") { | 20 group("gpu_onscreen") { |
21 public_deps = [ | 21 public_deps = [ |
22 ":MGL_onscreen", | 22 ":MGL_onscreen", |
23 ] | 23 ] |
24 | 24 |
25 deps = [ | 25 deps = [ |
26 ":gpu", | 26 ":gpu", |
(...skipping 14 matching lines...) Expand all Loading... |
41 | 41 |
42 source_set("MGL_onscreen") { | 42 source_set("MGL_onscreen") { |
43 sources = [ | 43 sources = [ |
44 "MGL/mgl_onscreen.h", | 44 "MGL/mgl_onscreen.h", |
45 ] | 45 ] |
46 | 46 |
47 public_deps = [ | 47 public_deps = [ |
48 ":MGL", | 48 ":MGL", |
49 ] | 49 ] |
50 } | 50 } |
OLD | NEW |