Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / BUILD.gn
index f9c0110..e2fdb39 100644 (file)
@@ -9,6 +9,16 @@
 # file to your new one or GN won't know about it.
 
 import("//build/config/ui.gni")
+if (is_android) {
+  import("//build/config/android/config.gni")
+}
+
+declare_args() {
+  # A list of extra dependencies to add to the root target. This allows a
+  # checkout to add additional targets without explicitly changing any checked-
+  # in files.
+  root_extra_deps = []
+}
 
 # In GN, a "group" is a dummy target that just lists other targets.
 group("root") {
@@ -34,6 +44,7 @@ group("root") {
     "//content/shell:content_shell",
     "//content/test:test_support",
     "//crypto",
+    "//device/battery",
     "//device/bluetooth",
     "//device/nfc",
     "//extensions/browser",
@@ -124,7 +135,7 @@ group("root") {
     "//ui/web_dialogs",
     "//url",
     "//v8:v8",
-  ]
+  ] + root_extra_deps
 
   if (!is_win) {
     deps += [ "//breakpad:symupload" ]
@@ -166,8 +177,12 @@ group("root") {
 
   if (is_android) {
     deps += [
+      "//base/android/linker:chromium_android_linker",
+      "//build/android/rezip",
       "//third_party/openmax_dl/dl",
       "//content/shell/android:content_shell_apk",
+      "//chrome/android:chrome_shell_apk",
+      "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk",
       "//ui/android:ui_java",
       "//third_party/android_tools:android_gcm_java",
       "//third_party/android_tools:uiautomator_java",
@@ -177,6 +192,12 @@ group("root") {
       "//third_party/eyesfree:eyesfree_java",
     ]
 
+    if (has_chrome_android_internal) {
+      deps += [
+        "//clank",
+      ]
+    }
+
     deps -= [
       "//apps",  # Needs testing.
       "//chrome/browser",