Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / web / BUILD.gn
index aba9ce8..08d2ddf 100644 (file)
@@ -9,7 +9,7 @@ import("//third_party/WebKit/Source/core/core.gni")
 import("//third_party/WebKit/Source/modules/modules.gni")
 import("//third_party/WebKit/Source/platform/platform.gni")
 
-visibility = "//third_party/WebKit/*"
+visibility = [ "//third_party/WebKit/*" ]
 web_gypi = exec_script(
     "//build/gypi_to_gn.py",
     [ rebase_path("web.gypi") ],
@@ -55,6 +55,7 @@ component("web") {
       "//testing/gtest",
       "//third_party/WebKit/Source/core:testing",
       "//third_party/WebKit/Source/modules:modules_testing",
+      "//third_party/WebKit/Source/wtf:test_support",
     ]
 
     configs -= [
@@ -69,6 +70,12 @@ component("web") {
 
     sources += [ "WebTestingSupport.cpp" ]
   }
+
+  if (is_android) {
+    set_sources_assignment_filter([])
+    sources += [ "linux/WebFontRendering.cpp" ]
+    set_sources_assignment_filter(sources_assignment_filter)
+  }
 }
 
 # GYP version: WebKit/Source/web/web.gyp:blink_web_test_support