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

Unified Diff: content/gpu/BUILD.gn

Issue 1104973002: Fix //content/test:test_support under component builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « content/browser/devtools/BUILD.gn ('k') | content/ppapi_plugin/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/BUILD.gn
diff --git a/content/gpu/BUILD.gn b/content/gpu/BUILD.gn
index d43bb8205447c06abdd970572b7bc81b3f649321..5ef0014e587f38b45e77c925536912e5bb094aa1 100644
--- a/content/gpu/BUILD.gn
+++ b/content/gpu/BUILD.gn
@@ -5,7 +5,22 @@
import("//build/config/ui.gni")
import("//content/content.gni")
-source_set("gpu") {
+# See //content/BUILD.gn for how this works.
+group("gpu") {
+ visibility = [ "//content/*" ]
+
+ if (is_component_build) {
+ public_deps = [
+ "//content",
+ ]
+ } else {
+ public_deps = [
+ ":gpu_sources",
+ ]
+ }
+}
+
+source_set("gpu_sources") {
visibility = [ "//content/*" ]
sources = [
« no previous file with comments | « content/browser/devtools/BUILD.gn ('k') | content/ppapi_plugin/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698