Disable more AppBannerDataFetcherBrowserTests
[chromium-blink-merge.git] / mojo / gles2 / BUILD.gn
blob5ec32899b4a73911547bd5ca56645d8402b90934
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.
5 config("mojo_use_gles2") {
6   defines = [ "MOJO_USE_GLES2_IMPL" ]
9 config("gles2_use_mojo") {
10   defines = [ "GLES2_USE_MOJO" ]
13 source_set("gles2") {
14   sources = [
15     "command_buffer_client_impl.cc",
16     "command_buffer_client_impl.h",
17     "gles2_context.cc",
18     "gles2_context.h",
19     "gles2_impl.cc",
20   ]
22   defines = [
23     "GL_GLEXT_PROTOTYPES",
24     "MOJO_GLES2_IMPLEMENTATION",
25   ]
27   configs += [
28     ":gles2_use_mojo",
29     ":mojo_use_gles2",
30   ]
31   public_configs = [ ":gles2_use_mojo" ]
32   all_dependent_configs = [ ":mojo_use_gles2" ]
34   deps = [
35     "//base",
36     "//base/third_party/dynamic_annotations",
37     "//components/view_manager/gles2:lib",
38     "//components/view_manager/public/interfaces",
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/service:service_sources",
44     "//gpu/command_buffer/common",
45     "//mojo/environment:chromium",
46     "//mojo/platform_handle:defs",
47     "//third_party/mojo/src/mojo/public/c/gles2:headers",
48     "//third_party/mojo/src/mojo/public/c/system",
49     "//third_party/mojo/src/mojo/public/cpp/bindings",
50     "//third_party/mojo/src/mojo/public/cpp/system",
51   ]
53   include_dirs = [ ".." ]