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

Unified Diff: gpu/BUILD.gn

Issue 1011823002: Fix some GN component build issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/device_event_log/device_event_log_impl.h ('k') | gpu/command_buffer/client/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/BUILD.gn
diff --git a/gpu/BUILD.gn b/gpu/BUILD.gn
index 75aed69171511ca9eb370ff84b1e7834ea4f2d57..c7f70eb7e5adc30e11db0457ee988a2e5ff0dd1d 100644
--- a/gpu/BUILD.gn
+++ b/gpu/BUILD.gn
@@ -36,6 +36,10 @@
import("//testing/test.gni")
import("//build/config/ui.gni")
+config("gpu_implementation") {
+ defines = [ "GPU_IMPLEMENTATION" ]
+}
+
component("gpu") {
public_deps = [
"//gpu/command_buffer/client",
@@ -56,6 +60,8 @@ source_set("test_support") {
"command_buffer/service/gles2_cmd_decoder_mock.cc",
]
+ configs += [ ":gpu_implementation" ]
+
public_deps = [
":gpu",
"//gpu/command_buffer/client:gles2_interface",
« no previous file with comments | « components/device_event_log/device_event_log_impl.h ('k') | gpu/command_buffer/client/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698