[M69 Dev][EFL] Fix generating gn errors for desktop build 84/191284/4
authorYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 15 Oct 2018 05:30:36 +0000 (22:30 -0700)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 29 Oct 2018 01:53:10 +0000 (18:53 -0700)
This fixes the erros that come from generating gn files.

Change-Id: Ifa7c97cc5518571affd7e62a13859ce6f5876c78
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
tizen_src/.gn
tizen_src/ewk/ubrowser/BUILD.gn

index 6016fb2..2bcaabc 100644 (file)
@@ -3,6 +3,7 @@
 # file, run "gn help dotfile" at the command line.
 
 import("//build/dotfile_settings.gni")
+import("//third_party/angle/dotfile_settings.gni")
 
 # The location of the build configuration file.
 buildconfig = "//build/config/BUILDCONFIG.gn"
@@ -45,6 +46,7 @@ default_args = {
     "//third_party/blink/renderer/core/streams/CountQueuingStrategy.js",
     "//third_party/blink/renderer/core/streams/ReadableStream.js",
     "//third_party/blink/renderer/core/streams/WritableStream.js",
+    "//third_party/blink/renderer/core/streams/TransformStream.js",
   ]
   v8_experimental_extra_library_files = []
   v8_enable_gdbjit = false
@@ -53,6 +55,18 @@ default_args = {
   # TODO(jochen): Remove this. http://crbug.com/v8/5830,
   # http://crbug.com/728583.
   v8_check_microtasks_scopes_consistency = false
+
+  # Don't include webrtc's builtin task queue implementation.
+  rtc_link_task_queue_impl = false
+
+  # Don't include the iLBC audio codec.
+  # TODO(bugs.webrtc.org/8396): Once WebRTC gets rid of its internal
+  # deps on codecs, we can remove this.
+  rtc_include_ilbc = false
+
+  # Changes some setup for the Crashpad build to set them to build against
+  # Chromium's zlib, base, etc.
+  crashpad_dependencies = "chromium"
 }
 
 # These are the targets to check headers for by default. The files in targets
@@ -95,11 +109,11 @@ check_targets = [
   "//extensions:extensions_unittests",
   "//extensions/browser:browser_tests",
   "//extensions/browser:unit_tests",
+  "//extensions/browser/install:*",
+  "//extensions/common:common",
   "//extensions/common:unit_tests",
   "//extensions/renderer:unit_tests",
-  "//extensions/shell:browser_tests",
-  "//extensions/shell:unit_tests",
-  "//extensions/utility:unit_tests",
+  "//extensions/shell/*",
   "//gin/*",
   "//google_apis/*",
   "//google_update/*",
@@ -121,6 +135,7 @@ check_targets = [
   #"//pdf/*",  # Medium-hard.
   #"//ppapi/*",  # Lots of errors.
   "//ppapi/examples/*",
+  "//ppapi/tests/*",
   "//printing/*",
 
   #"//remoting/*",  # Medium-hard.
@@ -134,21 +149,27 @@ check_targets = [
   "//testing/*",
 
   #"//third_party/*",  # May not ever want this.
-  "//third_party/breakpad/*",
+  #"//third_party/breakpad/*",  # Small errors.
   "//third_party/brotli/*",
   "//third_party/hunspell/*",
   "//third_party/leveldatabase/*",
-  "//third_party/libaddressinput/*",
+
+  #"//third_party/libaddressinput/*",  # Small errors.
   "//third_party/libphonenumber/*",
-  "//third_party/libwebp/*",
+
+  #"//third_party/libwebp/*",  # Errors: https://crbug.com/800762
   "//third_party/snappy/*",
-  "//third_party/WebKit/*",
+
+  #"//third_party/WebKit/*",  # Errors: https://crbug.com/800764
+  #"//third_party/webrtc/*",  # Errors: https://crbug.com/824831
+  "//third_party/webrtc_overrides/*",
   "//tools/*",
 
   "//ui/*",
   "//url/*",
-  "//v8/*",
-  "//win8/*",
+
+  #"//v8/*",  # Errors: https://bugs.chromium.org/p/v8/issues/detail?id=7330
+  "//webrunner/*",
 ]
 
 # These are the list of GN files that run exec_script. This whitelist exists
@@ -214,7 +235,9 @@ check_targets = [
 #      files and passes them to a script, it will always be correct.
 
 exec_script_whitelist =
-    build_dotfile_settings.exec_script_whitelist + [
+    build_dotfile_settings.exec_script_whitelist +
+    angle_dotfile_settings.exec_script_whitelist +
+    [
       # Whitelist entries for //build should go into
       # //build/dotfile_settings.gni instead, so that they can be shared
       # with other repos. The entries in this list should be only for files
@@ -226,32 +249,17 @@ exec_script_whitelist =
       "//clank/java/BUILD.gn",
       "//clank/native/BUILD.gn",
 
-      "//cowboy/BUILD.gn",
-      "//cowboy/make_sbrowser_apk.gni",
       "//remoting/host/installer/linux/BUILD.gn",
       "//remoting/remoting_version.gni",
       "//remoting/host/installer/win/generate_clsids.gni",
 
-      "//terrace/BUILD.gn",
-      "//terrace/make_terrace_target.gni",
-
       # TODO(dpranke): Get these from the appropriate repos instead.
-      "//third_party/angle/BUILD.gn",
-      "//third_party/angle/src/tests/BUILD.gn",
-      "//third_party/angle/src/vulkan_support/BUILD.gn",
       "//third_party/catapult/tracing/BUILD.gn",
       "//third_party/google_input_tools/inputview.gni",
-      "//third_party/skia/gn/shared_sources.gni",
 
-      "//tizen_src/ewk/efl_integration/BUILD.gn",
-
-      # CLD2 should be removed soon, delete this when we do.
-      "//third_party/cld_2/BUILD.gn",
       "//tools/grit/grit_rule.gni",
 
       # Not gypi-to-gn.
       "//google_apis/BUILD.gn",
       "//printing/BUILD.gn",
-
-      "//v8/BUILD.gn",
     ]
index 76e80e0..488e1b4 100644 (file)
@@ -28,7 +28,6 @@ executable("ubrowser") {
   configs += [ "//tizen_src/build:libelementary" ]
   public_configs += [ "//tizen_src/build:elementary-public" ]
   deps = [
-    "//build/config:exe_and_shlib_deps",
     "//tizen_src/chromium_impl/tizen:system-info",
     "//tizen_src/ewk/efl_integration:chromium-ewk",
     "//tizen_src/ewk/efl_integration:launch_exec",