X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcontent%2FBUILD.gn;h=94c944da9cc2b192c5e3f551113f6caba541b904;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=20a553e70a81811a5acd56f97b9627a75f282742;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/content/BUILD.gn b/src/content/BUILD.gn index 20a553e..94c944d 100644 --- a/src/content/BUILD.gn +++ b/src/content/BUILD.gn @@ -9,35 +9,40 @@ config("content_implementation") { defines = [ "CONTENT_IMPLEMENTATION" ] } -content_components = [ - "//content/app", - "//content/browser", - "//content/child", +content_shared_components = [ "//content/gpu", "//content/plugin", "//content/ppapi_plugin", "//content/public/app", - "//content/public/browser", + "//content/public/browser:sources", "//content/public/child", + "//content/public/common", "//content/public/plugin", "//content/public/renderer", "//content/renderer", "//content/utility", - "//content/worker", ] if (is_component_build) { shared_library("content") { - deps = content_components + deps = content_shared_components + [ + "//content/app", + ] + forward_dependent_configs_from = deps } } else { group("content") { - deps = content_components + deps = content_shared_components } } grit("resources") { source = "content_resources.grd" + outputs = [ + "grit/content_resources.h", + "content_resources.pak", + "content_resources.rc", + ] } # This target exists to "hold" the content_export header so we can do proper @@ -77,17 +82,18 @@ config("libjingle_stub_config") { ] if (is_mac) { - defines += [ "OSX" ] + defines += [ "OSX", "WEBRTC_MAC" ] } else if (is_linux) { - defines += [ "LINUX" ] + defines += [ "LINUX", "WEBRTC_LINUX" ] } else if (is_android) { - defines += [ "ANDROID" ] + defines += [ "ANDROID", "WEBRTC_LINUX", "WEBRTC_ANDROID" ] } else if (is_win) { libs = [ "secur32.lib", "crypt32.lib", "iphlpapi.lib" ] + defines += [ "WEBRTC_WIN" ] } if (is_posix) { - defines += [ "POSIX" ] + defines += [ "POSIX", "WEBRTC_POSIX" ] } if (is_chromeos) { defines += [ "CHROMEOS" ]