Upstream version 7.36.151.0
[platform/framework/web/crosswalk.git] / src / BUILD.gn
index d7c5cd5..beadcbc 100644 (file)
 
 # In GN, a "group" is a dummy target that just lists other targets.
 group("root") {
-  # Declares that this target should be treated as "external" in the GN-GYP
-  # hybrid build, and GN will not generate a GYP file for it. This flag is
-  # ignored in the pure GN build.
-  external = true
-
+  # Note that some dependencies are commented out. These are things that are
+  # currently written but not hooked up to the build yet. They may need to be
+  # completed or possibly just tested and then re-enabled.
   deps = [
-    "//base(//build/toolchain/nacl:x86_newlib)",
-    "//chrome",
+    # This is a temporary test of the not-yet-complete NaCl cross-compilation.
+    #"//base(//build/toolchain/nacl:x86_newlib)",
+
+    "//apps/common/api:apps_api",
+    #"//chrome",
     "//components/language_usage_metrics",
+    "//components/metrics",
     "//components/navigation_metrics",
-    "//components/onc:onc_component",
+    "//components/onc",
+    "//components/os_crypt",
     "//components/startup_metric_utils",
+    "//components/resources:components_resources",
     "//components/translate:translate_core_browser",
     "//components/translate:translate_core_common",
+    "//components/url_matcher",
     "//crypto",
-    "//device/usb:device_usb",
+    "//device/usb",
+    #"//extensions/common/api:extensions_api",
     "//ipc",
+    "//mojo",
     "//net",
-    "//net/third_party/nss:ssl",
-    "//sdch",
-    "//third_party/WebKit/Source/platform",
-    "//third_party/icu:icudata",
+    #"//sdch",
+    "//skia",
+    #"//third_party/WebKit/Source/platform",
+    "//third_party/icu",
     "//third_party/leveldatabase",
     "//third_party/libpng",
+    "//third_party/libusb",
+    "//third_party/libwebp",
+    "//third_party/re2",
+    "//third_party/smhasher:cityhash",
+    "//third_party/smhasher:murmurhash3",
+    "//third_party/smhasher:pmurhash",
+    "//third_party/WebKit/Source/wtf",
     "//third_party/zlib",
-    "//skia",
+    "//third_party:jpeg",
     "//tools/gn",
+    "//ui/base:ui_base",
+    "//ui/base/strings",
+    "//ui/events",
+    "//ui/gfx",
+    "//ui/resources",
     "//url",
   ]
+
+  if (is_linux) {
+    deps += [
+      "//third_party/freetype2",
+    ]
+  }
+
+  if (is_android) {
+    deps -= [
+      "//components/os_crypt",
+      "//crypto",
+      "//net",
+      "//skia",
+      "//third_party/libusb",
+      "//third_party/WebKit/Source/wtf",  # TODO(brettw) re-enable for Android.
+      "//tools/gn",
+      "//ui/base:ui_base",
+      "//ui/events",
+      "//ui/gfx",
+    ]
+  }
 }