summaryrefslogtreecommitdiff
path: root/chromium/content/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/BUILD.gn')
-rw-r--r--chromium/content/BUILD.gn29
1 files changed, 23 insertions, 6 deletions
diff --git a/chromium/content/BUILD.gn b/chromium/content/BUILD.gn
index 7f246689419..2a7878c74fc 100644
--- a/chromium/content/BUILD.gn
+++ b/chromium/content/BUILD.gn
@@ -38,7 +38,7 @@ config("content_implementation") {
# when doing a component build).
content_shared_components = [
- "//content/gpu",
+ "//content/gpu:gpu_sources",
"//content/public/browser:browser_sources",
"//content/public/child:child_sources",
"//content/public/common:common_sources",
@@ -48,14 +48,13 @@ content_shared_components = [
]
if (enable_plugins) {
- content_shared_components += [ "//content/ppapi_plugin" ]
+ content_shared_components += [ "//content/ppapi_plugin:ppapi_plugin_sources" ]
}
if (is_component_build) {
shared_library("content") {
- public_deps = content_shared_components + [
- "//content/public/app:both_sources",
- ]
+ public_deps =
+ content_shared_components + [ "//content/public/app:both_sources" ]
}
} else {
group("content") {
@@ -78,6 +77,24 @@ grit("resources") {
source_set("export") {
visibility = [ "//content/*" ]
sources = [
- "content/common/content_export.h"
+ "content/common/content_export.h",
]
}
+
+# In the GYP build, this file is listed in several targets. In GN just have
+# those targets depend on this one. This can be depended on for any
+# platform for simplicity, and is a no-op on non-Windows.
+source_set("startup_helper_win") {
+ if (is_win) {
+ sources = [
+ "app/startup_helper_win.cc",
+ "public/app/startup_helper_win.h",
+ ]
+
+ deps = [
+ "//base",
+ "//base:i18n",
+ "//sandbox",
+ ]
+ }
+}