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

Unified Diff: content/BUILD.gn

Issue 299113002: Add content renderer to the GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: widevine fix Created 6 years, 7 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
Index: content/BUILD.gn
diff --git a/content/BUILD.gn b/content/BUILD.gn
index 5768bafeb4bd6383a4cd1959d08c86754717f016..92a9252dd1f020e83ce8d43fde36242cf58a282c 100644
--- a/content/BUILD.gn
+++ b/content/BUILD.gn
@@ -2,6 +2,19 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//tools/grit/grit_rule.gni")
+
+# Applied by targets internal to content.
+config("content_implementation") {
+ defines = [ "CONTENT_IMPLEMENTATION" ]
+}
+
+grit("resources") {
+ source = "content_resources.grd"
+}
+
+# Stubs ------------------------------------------------------------------------
+
# TODO(brettw) remove this and add a proper dependency on blink once that
# target has been converted to GN. This config sets up the include directories
# so content can compile in the meantime.
@@ -51,3 +64,13 @@ config("libjingle_stub_config") {
}
}
+# This config is a placeholder to set up the V8 include path while the V8 GN
+# build is being worked on.
+config("v8_stub_config") {
+ include_dirs = [ "//v8/include" ]
+}
+
+config("widevine_stub_config") {
+ # The real implementation does a copy rule to copy the header to the gen dir.
+ include_dirs = [ "//third_party/widevine/cdm" ]
+}

Powered by Google App Engine
This is Rietveld 408576698