message: Update build.py to disable qtbase/qtwebkit unwanted features
  Closes
diff: @@ -259,10 +259,23 @@ class PhantomJSBuilder(object):
  "-nomake", "examples",
  "-nomake", "tools",
  "-nomake", "tests",
  - "-no-qml-debug",
  + "-no-audio-backend",
  "-no-dbus",
  + "-no-gstreamer",
  + "-no-journald",
  "-no-opengl",
  - "-no-audio-backend",
  + "-no-qml-debug",
  + "-no-sql-db2",
  + "-no-sql-ibase",
  + "-no-sql-mysql",
  + "-no-sql-oci",
  + "-no-sql-odbc",
  + "-no-sql-psql",
  + "-no-sql-sqlite",
  + "-no-sql-sqlite2",
  + "-no-sql-tds",
  + "-no-tslib",
  + "-no-xcb-xlib",
  "-D", "QT_NO_GRAPHICSVIEW",
  "-D", "QT_NO_GRAPHICSEFFECT",
  "-D", "QT_NO_STYLESHEET",
  @@ -317,13 +330,27 @@ class PhantomJSBuilder(object):
  print("configuring Qt WebKit, please wait...")
  configureOptions = [
  # disable some webkit features we do not need
  + "WEBKIT_CONFIG-=build_tests",
  "WEBKIT_CONFIG-=build_webkit2",
  + "WEBKIT_CONFIG-=have_glx",
  + "WEBKIT_CONFIG-=have_qtquick",
  + "WEBKIT_CONFIG-=have_qtsensors",
  + "WEBKIT_CONFIG-=have_qttestlib",
  + "WEBKIT_CONFIG-=have_qttestsupport",
  + "WEBKIT_CONFIG-=have_xcomposite",
  + "WEBKIT_CONFIG-=have_xrender",
  "WEBKIT_CONFIG-=netscape_plugin_api",
  "WEBKIT_CONFIG-=use_gstreamer",
  "WEBKIT_CONFIG-=use_gstreamer010",
  "WEBKIT_CONFIG-=use_native_fullscreen_video",
  + "WEBKIT_CONFIG-=use_webp",
  "WEBKIT_CONFIG-=video",
  "WEBKIT_CONFIG-=web_audio",
  + "WEBKIT_TOOLS_CONFIG-=build_imagediff",
  + "WEBKIT_TOOLS_CONFIG-=build_minibrowser",
  + "WEBKIT_TOOLS_CONFIG-=build_qttestsupport",
  + "WEBKIT_TOOLS_CONFIG-=build_test_npapi",
  + "WEBKIT_TOOLS_CONFIG-=build_wtr",
  ]
  if self.options.webkit_qmake_args:
  configureOptions.extend(self.options.webkit_qmake_args)
  