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

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: 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
« no previous file with comments | « build/config/features.gni ('k') | content/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/BUILD.gn
diff --git a/content/BUILD.gn b/content/BUILD.gn
index 5768bafeb4bd6383a4cd1959d08c86754717f016..acdd32dd8b3c59fd77bbcb71959cbb03d53265da 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.
@@ -18,10 +31,13 @@ config("libjingle_stub_config") {
include_dirs = [
"//third_party/libjingle/overrides",
"//third_party/libjingle/source",
- "//third_party",
"//third_party/libyuv/include",
"//third_party/usrsctp",
+
+
+ "//third_party/webrtc/overrides", # Must be before webrtc abd third_party.
"//third_party/webrtc",
+ "//third_party",
]
defines = [
@@ -51,3 +67,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" ]
+}
« no previous file with comments | « build/config/features.gni ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698