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 import("../../mojo_sdk.gni") | 5 import("../../mojo_sdk.gni") |
6 | 6 |
7 config("gpu_configs") { | 7 config("gpu_configs") { |
8 include_dirs = [ "." ] | 8 include_dirs = [ "." ] |
9 defines = [ "GLES2_USE_MOJO" ] | 9 defines = [ "GLES2_USE_MOJO" ] |
10 } | 10 } |
11 | 11 |
12 group("gpu") { | 12 group("gpu") { |
13 public_configs = [ ":gpu_configs" ] | 13 public_configs = [ ":gpu_configs" ] |
14 | 14 |
15 deps = [ | 15 deps = [ |
| 16 ":GLES2", |
16 ":MGL", | 17 ":MGL", |
17 ":MGL_signal_sync_point", | 18 ":MGL_signal_sync_point", |
18 ":GLES2", | |
19 "../../platform/native:gles2", | 19 "../../platform/native:gles2", |
20 ] | 20 ] |
21 if (!is_nacl) { | 21 if (!is_nacl) { |
22 deps += [ "../../platform/native:mgl_thunks" ] | 22 deps += [ "../../platform/native:mgl_thunks" ] |
23 } | 23 } |
24 } | 24 } |
25 | 25 |
26 group("gpu_onscreen") { | 26 group("gpu_onscreen") { |
27 public_deps = [ | 27 public_deps = [ |
28 ":MGL_onscreen", | 28 ":MGL_onscreen", |
(...skipping 19 matching lines...) Expand all Loading... |
48 mojo_sdk_source_set("MGL_onscreen") { | 48 mojo_sdk_source_set("MGL_onscreen") { |
49 sources = [ | 49 sources = [ |
50 "MGL/mgl_onscreen.h", | 50 "MGL/mgl_onscreen.h", |
51 ] | 51 ] |
52 | 52 |
53 public_deps = [ | 53 public_deps = [ |
54 ":MGL", | 54 ":MGL", |
55 ] | 55 ] |
56 } | 56 } |
57 | 57 |
| 58 mojo_sdk_source_set("MGL_echo") { |
| 59 sources = [ |
| 60 "MGL/mgl_echo.h", |
| 61 ] |
| 62 |
| 63 public_deps = [ |
| 64 ":MGL", |
| 65 ] |
| 66 } |
| 67 |
58 mojo_sdk_source_set("MGL_signal_sync_point") { | 68 mojo_sdk_source_set("MGL_signal_sync_point") { |
59 sources = [ | 69 sources = [ |
60 "MGL/mgl_signal_sync_point.h", | 70 "MGL/mgl_signal_sync_point.h", |
61 ] | 71 ] |
62 | 72 |
63 public_deps = [ | 73 public_deps = [ |
64 ":MGL", | 74 ":MGL", |
65 ] | 75 ] |
66 } | 76 } |
67 | 77 |
(...skipping 10 matching lines...) Expand all Loading... |
78 public_deps = [ | 88 public_deps = [ |
79 ":KHR", | 89 ":KHR", |
80 ] | 90 ] |
81 } | 91 } |
82 | 92 |
83 mojo_sdk_source_set("KHR") { | 93 mojo_sdk_source_set("KHR") { |
84 sources = [ | 94 sources = [ |
85 "KHR/khrplatform.h", | 95 "KHR/khrplatform.h", |
86 ] | 96 ] |
87 } | 97 } |
OLD | NEW |