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

Side by Side Diff: gpu/command_buffer/common/BUILD.gn

Issue 2744363002: Clear shader disk cache after glProgramBinary failure. (Closed)
Patch Set: Remove singleton and clean up init Created 3 years, 9 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 | « gpu/BUILD.gn ('k') | gpu/command_buffer/common/DEPS » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # The files here go into the "gpu" component in a component build (with 5 # The files here go into the "gpu" component in a component build (with
6 # "command_buffer_common" just forwarding) and goes into a static library in 6 # "command_buffer_common" just forwarding) and goes into a static library in
7 # non-component build. This needs to match the GYP build which was likely an 7 # non-component build. This needs to match the GYP build which was likely an
8 # attempt to make larger components to help with loading. 8 # attempt to make larger components to help with loading.
9 9
10 group("common") { 10 group("common") {
11 if (is_component_build) { 11 if (is_component_build) {
12 public_deps = [ 12 public_deps = [
13 "//gpu", 13 "//gpu",
14 ] 14 ]
15 } else { 15 } else {
16 public_deps = [ 16 public_deps = [
17 ":common_sources", 17 ":common_sources",
18 ] 18 ]
19 } 19 }
20 } 20 }
21 21
22 source_set("common_sources") { 22 source_set("common_sources") {
23 visibility = [ "//gpu/*" ] 23 visibility = [ "//gpu/*" ]
24 24
25 sources = [ 25 sources = [
26 "activity_flags.cc",
27 "activity_flags.h",
26 "bitfield_helpers.h", 28 "bitfield_helpers.h",
27 "buffer.cc", 29 "buffer.cc",
28 "buffer.h", 30 "buffer.h",
29 "capabilities.cc", 31 "capabilities.cc",
30 "capabilities.h", 32 "capabilities.h",
31 "cmd_buffer_common.cc", 33 "cmd_buffer_common.cc",
32 "cmd_buffer_common.h", 34 "cmd_buffer_common.h",
33 "command_buffer.h", 35 "command_buffer.h",
34 "command_buffer_id.h", 36 "command_buffer_id.h",
35 "constants.h", 37 "constants.h",
(...skipping 16 matching lines...) Expand all
52 "sync_token.cc", 54 "sync_token.cc",
53 "sync_token.h", 55 "sync_token.h",
54 "texture_in_use_response.h", 56 "texture_in_use_response.h",
55 "thread_local.h", 57 "thread_local.h",
56 "time.h", 58 "time.h",
57 ] 59 ]
58 60
59 configs += [ "//gpu:gpu_implementation" ] 61 configs += [ "//gpu:gpu_implementation" ]
60 62
61 public_deps = [ 63 public_deps = [
64 "//mojo/public/cpp/system",
62 "//ui/gfx:memory_buffer", 65 "//ui/gfx:memory_buffer",
63 "//ui/gfx/geometry", 66 "//ui/gfx/geometry",
64 ] 67 ]
65 68
66 deps = [ 69 deps = [
67 ":gles2_utils", 70 ":gles2_utils",
68 "//base", 71 "//base",
69 ] 72 ]
70 } 73 }
71 74
72 component("gles2_utils") { 75 component("gles2_utils") {
73 sources = [ 76 sources = [
74 "gles2_cmd_utils.cc", 77 "gles2_cmd_utils.cc",
75 "gles2_cmd_utils.h", 78 "gles2_cmd_utils.h",
76 "gles2_utils_export.h", 79 "gles2_utils_export.h",
77 ] 80 ]
78 81
79 defines = [ "GLES2_UTILS_IMPLEMENTATION" ] 82 defines = [ "GLES2_UTILS_IMPLEMENTATION" ]
80 83
81 deps = [ 84 deps = [
82 "//base", 85 "//base",
83 "//ui/gfx/geometry", 86 "//ui/gfx/geometry",
84 ] 87 ]
85 88
86 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] 89 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
87 } 90 }
OLDNEW
« no previous file with comments | « gpu/BUILD.gn ('k') | gpu/command_buffer/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698