diff options
author | ckocagil@chromium.org <ckocagil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-28 19:11:33 +0000 |
---|---|---|
committer | ckocagil@chromium.org <ckocagil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-28 19:11:33 +0000 |
commit | 7df6fff86a4dec75a1bdee787d53d0a17944a02c (patch) | |
tree | a8488295082ff587b7609378147321dc6beb42c9 | |
parent | e10af6c375360fbb3de4af5722801df96ce95a76 (diff) | |
download | chromium_src-7df6fff86a4dec75a1bdee787d53d0a17944a02c.zip chromium_src-7df6fff86a4dec75a1bdee787d53d0a17944a02c.tar.gz chromium_src-7df6fff86a4dec75a1bdee787d53d0a17944a02c.tar.bz2 |
Revert 225857 "gfx: Create a separate gfx component out of ui."
> gfx: Create a separate gfx component out of ui.
>
> BUG=103304
> R=ben@chromium.org
>
> Review URL: https://codereview.chromium.org/25015003
TBR=sadrul@chromium.org
Review URL: https://codereview.chromium.org/25161002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225859 0039d316-1c4b-4281-b951-d872f2087c98
59 files changed, 317 insertions, 532 deletions
diff --git a/android_webview/native/webview_native.gyp b/android_webview/native/webview_native.gyp index af3b21d..f326320 100644 --- a/android_webview/native/webview_native.gyp +++ b/android_webview/native/webview_native.gyp @@ -17,7 +17,6 @@ '../../cc/cc.gyp:cc', '../../net/net.gyp:net', '../../skia/skia.gyp:skia', - '../../ui/gfx/gfx.gyp:gfx', '../../ui/ui.gyp:ui', '../../webkit/common/user_agent/webkit_user_agent.gyp:user_agent', '../../webkit/common/webkit_common.gyp:webkit_common', diff --git a/ash/ash.gyp b/ash/ash.gyp index c31014a..fd0a5a5 100644 --- a/ash/ash.gyp +++ b/ash/ash.gyp @@ -30,7 +30,6 @@ '../ui/aura/aura.gyp:aura', '../ui/base/strings/ui_strings.gyp:ui_strings', '../ui/compositor/compositor.gyp:compositor', - '../ui/gfx/gfx.gyp:gfx', '../ui/keyboard/keyboard.gyp:keyboard', '../ui/message_center/message_center.gyp:message_center', '../ui/oak/oak.gyp:oak', @@ -666,7 +665,6 @@ '../ui/aura/aura.gyp:aura', '../ui/aura/aura.gyp:aura_test_support', '../ui/compositor/compositor.gyp:compositor', - '../ui/gfx/gfx.gyp:gfx', '../ui/keyboard/keyboard.gyp:keyboard', '../ui/message_center/message_center.gyp:message_center', '../ui/message_center/message_center.gyp:message_center_test_support', @@ -852,7 +850,6 @@ '../ui/app_list/app_list.gyp:app_list', '../ui/aura/aura.gyp:aura', '../ui/compositor/compositor.gyp:compositor', - '../ui/gfx/gfx.gyp:gfx', '../ui/keyboard/keyboard.gyp:keyboard', '../ui/message_center/message_center.gyp:message_center', '../ui/ui.gyp:ui', @@ -18,7 +18,6 @@ '<(DEPTH)/skia/skia.gyp:skia', '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal', '<(DEPTH)/ui/gl/gl.gyp:gl', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/ui.gyp:ui', ], 'defines': [ diff --git a/cc/cc_tests.gyp b/cc/cc_tests.gyp index 2f462c6..4ecb8e7 100644 --- a/cc/cc_tests.gyp +++ b/cc/cc_tests.gyp @@ -292,7 +292,6 @@ '../third_party/WebKit/public/blink.gyp:blink_minimal', '../third_party/mesa/mesa.gyp:osmesa', '../ui/gl/gl.gyp:gl', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'sources': [ @@ -315,7 +314,7 @@ ], 'dependencies': [ '../skia/skia.gyp:skia', - '../ui/gfx/gfx.gyp:gfx', + '../ui/ui.gyp:ui', # for png_codec ], }, ], diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index 65b14ea..7179824 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -687,7 +687,6 @@ 'dependencies': [ 'chrome_resources.gyp:chrome_strings', '../base/base.gyp:base', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'include_dirs': [ diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index 37cb7cb..c9dcfd0 100644 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -58,7 +58,6 @@ '../third_party/zlib/zlib.gyp:minizip', '../third_party/zlib/zlib.gyp:zlib', '../ui/base/strings/ui_strings.gyp:ui_strings', - '../ui/gfx/gfx.gyp:gfx', '../ui/message_center/message_center.gyp:message_center', '../ui/ui.gyp:shell_dialogs', '../ui/ui.gyp:ui', diff --git a/chrome/chrome_browser_extensions.gypi b/chrome/chrome_browser_extensions.gypi index 595c6f64..5919357 100644 --- a/chrome/chrome_browser_extensions.gypi +++ b/chrome/chrome_browser_extensions.gypi @@ -40,7 +40,6 @@ '../third_party/re2/re2.gyp:re2', '../third_party/webrtc/modules/modules.gyp:desktop_capture', '../ui/base/strings/ui_strings.gyp:ui_strings', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', '../ui/ui.gyp:ui_resources', '../url/url.gyp:url_lib', diff --git a/chrome/chrome_browser_ui.gypi b/chrome/chrome_browser_ui.gypi index c580185..368fe3f 100644 --- a/chrome/chrome_browser_ui.gypi +++ b/chrome/chrome_browser_ui.gypi @@ -43,7 +43,6 @@ '../third_party/libxml/libxml.gyp:libxml', '../third_party/zlib/zlib.gyp:zlib', '../ui/base/strings/ui_strings.gyp:ui_strings', - '../ui/gfx/gfx.gyp:gfx', '../ui/message_center/message_center.gyp:message_center', '../ui/native_theme/native_theme.gyp:native_theme', '../ui/snapshot/snapshot.gyp:snapshot', diff --git a/chrome/chrome_browser_ui_views.gyp b/chrome/chrome_browser_ui_views.gyp index d135fba..d10536b 100644 --- a/chrome/chrome_browser_ui_views.gyp +++ b/chrome/chrome_browser_ui_views.gyp @@ -10,7 +10,6 @@ 'dependencies': [ '../base/base.gyp:base', '../skia/skia.gyp:skia', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', '../url/url.gyp:url_lib', ], diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi index acb72c4e..a2142b6 100644 --- a/chrome/chrome_tests.gypi +++ b/chrome/chrome_tests.gypi @@ -489,7 +489,6 @@ '../net/net.gyp:net', '../third_party/zlib/zlib.gyp:minizip', '../third_party/zlib/zlib.gyp:zlib', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', '../url/url.gyp:url_lib', ], @@ -676,7 +675,6 @@ '../crypto/crypto.gyp:crypto', '../net/net.gyp:http_server', '../net/net.gyp:net', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'include_dirs': [ @@ -777,7 +775,6 @@ '../net/net.gyp:http_server', '../net/net.gyp:net', '../testing/gtest.gyp:gtest', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'include_dirs': [ @@ -800,7 +797,6 @@ '../net/net.gyp:http_server', '../net/net.gyp:net', '../testing/gtest.gyp:gtest', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'include_dirs': [ diff --git a/components/autofill.gypi b/components/autofill.gypi index 996dcd0..92df65a 100644 --- a/components/autofill.gypi +++ b/components/autofill.gypi @@ -34,7 +34,6 @@ '../content/content.gyp:content_common', '../ipc/ipc.gyp:ipc', '../third_party/WebKit/public/blink.gyp:blink_minimal', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', '../url/url.gyp:url_lib', ], @@ -111,7 +110,6 @@ '../third_party/icu/icu.gyp:icuuc', '../third_party/libjingle/libjingle.gyp:libjingle', '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', '../url/url.gyp:url_lib', '../webkit/webkit_resources.gyp:webkit_resources', @@ -299,7 +297,6 @@ '../third_party/icu/icu.gyp:icuuc', '../third_party/libjingle/libjingle.gyp:libjingle', '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', '../url/url.gyp:url_lib', '../webkit/webkit_resources.gyp:webkit_resources', diff --git a/components/json_schema.gypi b/components/json_schema.gypi index 7218f97..510f97d 100644 --- a/components/json_schema.gypi +++ b/components/json_schema.gypi @@ -9,7 +9,6 @@ 'type': 'static_library', 'dependencies': [ '../base/base.gyp:base', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'include_dirs': [ diff --git a/components/user_prefs.gypi b/components/user_prefs.gypi index 5bb04c9..a556e70 100644 --- a/components/user_prefs.gypi +++ b/components/user_prefs.gypi @@ -12,7 +12,6 @@ '../base/base.gyp:base_prefs', '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../content/content.gyp:content_browser', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'include_dirs': [ diff --git a/components/web_contents_delegate_android.gypi b/components/web_contents_delegate_android.gypi index ae24826..56d39c5 100644 --- a/components/web_contents_delegate_android.gypi +++ b/components/web_contents_delegate_android.gypi @@ -16,7 +16,6 @@ '../content/content.gyp:content_common', '../net/net.gyp:net', '../skia/skia.gyp:skia', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', '../webkit/glue/webkit_glue.gyp:glue', 'web_contents_delegate_android_jni_headers', diff --git a/content/content_app.gypi b/content/content_app.gypi index 127b593..2055f21 100644 --- a/content/content_app.gypi +++ b/content/content_app.gypi @@ -10,7 +10,6 @@ '../base/base.gyp:base', '../base/base.gyp:base_i18n', '../crypto/crypto.gyp:crypto', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'sources': [ diff --git a/content/content_browser.gypi b/content/content_browser.gypi index 138b10a..4563cdb 100644 --- a/content/content_browser.gypi +++ b/content/content_browser.gypi @@ -14,7 +14,6 @@ '../third_party/re2/re2.gyp:re2', '../third_party/zlib/google/zip.gyp:zip', '../third_party/zlib/zlib.gyp:zlib', - '../ui/gfx/gfx.gyp:gfx', '../ui/snapshot/snapshot.gyp:snapshot', '../ui/ui.gyp:ui', '../ui/ui.gyp:ui_resources', diff --git a/content/content_child.gypi b/content/content_child.gypi index 3fb005c..14c1a31 100644 --- a/content/content_child.gypi +++ b/content/content_child.gypi @@ -7,7 +7,6 @@ '../base/base.gyp:base', '../components/tracing.gyp:tracing', '../skia/skia.gyp:skia', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', '../url/url.gyp:url_lib', ], diff --git a/content/content_common.gypi b/content/content_common.gypi index b6c94e7..7b36e6f 100644 --- a/content/content_common.gypi +++ b/content/content_common.gypi @@ -9,7 +9,6 @@ '../net/net.gyp:net', '../skia/skia.gyp:skia', '../third_party/icu/icu.gyp:icuuc', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:shell_dialogs', '../ui/ui.gyp:ui', '../url/url.gyp:url_lib', diff --git a/content/content_ppapi_plugin.gypi b/content/content_ppapi_plugin.gypi index 782c1f0..4b8025d 100644 --- a/content/content_ppapi_plugin.gypi +++ b/content/content_ppapi_plugin.gypi @@ -8,7 +8,6 @@ 'dependencies': [ '../base/base.gyp:base', '../ppapi/ppapi_internal.gyp:ppapi_ipc', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'sources': [ diff --git a/content/content_shell.gypi b/content/content_shell.gypi index e156484..939e42eb 100644 --- a/content/content_shell.gypi +++ b/content/content_shell.gypi @@ -47,7 +47,6 @@ '../net/net.gyp:net_resources', '../skia/skia.gyp:skia', '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_runner', - '../ui/gfx/gfx.gyp:gfx', '../ui/gl/gl.gyp:gl', '../ui/ui.gyp:ui', '../url/url.gyp:url_lib', diff --git a/content/content_tests.gypi b/content/content_tests.gypi index 67cf2db..52efad3 100644 --- a/content/content_tests.gypi +++ b/content/content_tests.gypi @@ -13,7 +13,6 @@ '../skia/skia.gyp:skia', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:keycode_converter', '../ui/ui.gyp:ui', '../ui/ui.gyp:ui_resources', @@ -309,7 +308,6 @@ '../sql/sql.gyp:test_support_sql', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent', ], @@ -833,7 +831,6 @@ '../testing/gtest.gyp:gtest', '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', '../third_party/mesa/mesa.gyp:osmesa', - '../ui/gfx/gfx.gyp:gfx', '../ui/gl/gl.gyp:gl', '../ui/snapshot/snapshot.gyp:snapshot', '../ui/ui.gyp:shell_dialogs', @@ -1067,9 +1064,8 @@ '../base/base.gyp:test_support_base', '../gpu/gpu.gyp:command_buffer_common', '../testing/gtest.gyp:gtest', - '../ui/gfx/gfx.gyp:gfx', - '../ui/gl/gl.gyp:gl', '../ui/ui.gyp:ui', + '../ui/gl/gl.gyp:gl', '../third_party/WebKit/public/blink.gyp:blink', # The following two dependencies provide the missing # symbol HeapProfilerStart in Linux component builds. @@ -1100,9 +1096,8 @@ 'test_support_content', '../base/base.gyp:test_support_base', '../testing/gtest.gyp:gtest', - '../ui/gfx/gfx.gyp:gfx', - '../ui/gl/gl.gyp:gl', '../ui/ui.gyp:ui', + '../ui/gl/gl.gyp:gl', '../third_party/WebKit/public/blink.gyp:blink', # The following two dependencies provide the missing # symbol HeapProfilerStart in Linux component builds. @@ -1143,7 +1138,6 @@ '../testing/gtest.gyp:gtest', '../media/media.gyp:media', '../ui/gl/gl.gyp:gl', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'include_dirs': [ @@ -1209,7 +1203,6 @@ '../testing/gtest.gyp:gtest', '../media/media.gyp:media', '../ui/gl/gl.gyp:gl', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'sources': [ diff --git a/device/bluetooth/bluetooth.gyp b/device/bluetooth/bluetooth.gyp index c5d8cad..9da5cda 100644 --- a/device/bluetooth/bluetooth.gyp +++ b/device/bluetooth/bluetooth.gyp @@ -15,7 +15,6 @@ '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../../net/net.gyp:net', '../../third_party/libxml/libxml.gyp:libxml', - '../../ui/gfx/gfx.gyp:gfx', '../../ui/ui.gyp:ui', 'bluetooth_strings.gyp:device_bluetooth_strings', ], diff --git a/gpu/command_buffer_service.gypi b/gpu/command_buffer_service.gypi index 5a7f6fb..729baf0 100644 --- a/gpu/command_buffer_service.gypi +++ b/gpu/command_buffer_service.gypi @@ -15,7 +15,6 @@ '../base/base.gyp:base', '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../crypto/crypto.gyp:crypto', - '../ui/gfx/gfx.gyp:gfx', '../ui/gl/gl.gyp:gl', '../ui/ui.gyp:ui', '../third_party/angle_dx11/src/build_angle.gyp:translator_glsl', diff --git a/gpu/gles2_conform_support/gles2_conform_support.gyp b/gpu/gles2_conform_support/gles2_conform_support.gyp index 784030b..6564ea1 100644 --- a/gpu/gles2_conform_support/gles2_conform_support.gyp +++ b/gpu/gles2_conform_support/gles2_conform_support.gyp @@ -39,7 +39,6 @@ '../../gpu/gpu.gyp:gles2_implementation_client_side_arrays_no_check', '../../gpu/gpu.gyp:command_buffer_service', '../../third_party/khronos/khronos.gyp:khronos_headers', - '../../ui/gfx/gfx.gyp:gfx', '../../ui/gl/gl.gyp:gl', '../../ui/ui.gyp:ui', ], diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp index d992aa1..316aa91 100644 --- a/gpu/gpu.gyp +++ b/gpu/gpu.gyp @@ -19,7 +19,7 @@ '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../third_party/khronos/khronos.gyp:khronos_headers', '../ui/gl/gl.gyp:gl', - '../ui/gfx/gfx.gyp:gfx', + '../ui/ui.gyp:ui', 'command_buffer/command_buffer.gyp:gles2_utils', 'gles2_cmd_helper', ], @@ -127,7 +127,7 @@ '../testing/gtest.gyp:gtest', '../third_party/angle_dx11/src/build_angle.gyp:translator_glsl', '../ui/gl/gl.gyp:gl', - '../ui/gfx/gfx.gyp:gfx', + '../ui/ui.gyp:ui', 'command_buffer/command_buffer.gyp:gles2_utils', 'command_buffer_client', 'command_buffer_common', @@ -253,7 +253,7 @@ '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', '../third_party/angle_dx11/src/build_angle.gyp:translator_glsl', - '../ui/gfx/gfx.gyp:gfx', + '../ui/ui.gyp:ui', 'command_buffer/command_buffer.gyp:gles2_utils', 'command_buffer_client', 'command_buffer_common', diff --git a/media/media.gyp b/media/media.gyp index 5815f80..09deb82 100644 --- a/media/media.gyp +++ b/media/media.gyp @@ -49,7 +49,6 @@ '../gpu/gpu.gyp:command_buffer_common', '../skia/skia.gyp:skia', '../third_party/opus/opus.gyp:opus', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', '../url/url.gyp:url_lib', 'shared_memory_support', @@ -859,7 +858,6 @@ '../skia/skia.gyp:skia', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'sources': [ @@ -1327,7 +1325,6 @@ 'media', '../base/base.gyp:base', '../ui/gl/gl.gyp:gl', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'link_settings': { diff --git a/printing/printing.gyp b/printing/printing.gyp index 455786e..8834611 100644 --- a/printing/printing.gyp +++ b/printing/printing.gyp @@ -17,7 +17,6 @@ '../skia/skia.gyp:skia', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', '../url/url.gyp:url_lib', ], @@ -245,7 +244,6 @@ '../testing/gtest.gyp:gtest', '../base/base.gyp:run_all_unittests', '../base/base.gyp:test_support_base', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', ], 'sources': [ diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp index 37dfe05..092fbb6 100644 --- a/remoting/remoting.gyp +++ b/remoting/remoting.gyp @@ -2433,7 +2433,6 @@ 'dependencies': [ '../base/base.gyp:base', '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', '../net/net.gyp:net', '../skia/skia.gyp:skia', @@ -2737,7 +2736,6 @@ '../ppapi/ppapi.gyp:ppapi_cpp', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', - '../ui/gfx/gfx.gyp:gfx', '../ui/ui.gyp:ui', 'remoting_base', 'remoting_breakpad', diff --git a/tools/memory_watcher/memory_watcher.gyp b/tools/memory_watcher/memory_watcher.gyp index 170f4b4..eb19705 100644 --- a/tools/memory_watcher/memory_watcher.gyp +++ b/tools/memory_watcher/memory_watcher.gyp @@ -9,7 +9,6 @@ 'type': 'shared_library', 'dependencies': [ '../../base/base.gyp:base', - '../../ui/gfx/gfx.gyp:gfx', '../../ui/ui.gyp:ui', ], 'defines': [ diff --git a/tools/set_default_handler/set_default_handler.gyp b/tools/set_default_handler/set_default_handler.gyp index 64e5d3e..1093aa3 100644 --- a/tools/set_default_handler/set_default_handler.gyp +++ b/tools/set_default_handler/set_default_handler.gyp @@ -12,7 +12,6 @@ 'dependencies': [ '../../base/base.gyp:base', '../../win8/win8.gyp:test_support_win8', - '../../ui/gfx/gfx.gyp:gfx', '../../ui/ui.gyp:ui', ], 'include_dirs': [ diff --git a/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java b/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java index 341eba0..97511a1 100644 --- a/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java +++ b/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java @@ -10,7 +10,7 @@ import android.graphics.BitmapFactory; import org.chromium.base.CalledByNative; import org.chromium.base.JNINamespace; -@JNINamespace("gfx") +@JNINamespace("ui") public class BitmapHelper { @CalledByNative public static Bitmap createBitmap(int width, int height) { diff --git a/ui/android/ui_jni_registrar.cc b/ui/android/ui_jni_registrar.cc index 33aeeaf..8216e01 100644 --- a/ui/android/ui_jni_registrar.cc +++ b/ui/android/ui_jni_registrar.cc @@ -18,6 +18,8 @@ namespace android { static base::android::RegistrationMethod kUiRegisteredMethods[] = { { "Clipboard", ui::RegisterClipboardAndroid }, + { "DeviceDisplayInfo", gfx::DeviceDisplayInfo::RegisterDeviceDisplayInfo }, + { "JavaBitmap", gfx::JavaBitmap::RegisterJavaBitmap }, { "LocalizationUtils", l10n_util::RegisterLocalizationUtil }, { "ViewAndroid", ui::ViewAndroid::RegisterViewAndroid }, { "WindowAndroid", ui::WindowAndroid::RegisterWindowAndroid }, diff --git a/ui/app_list/app_list.gyp b/ui/app_list/app_list.gyp index ce7ce2a..1d96871 100644 --- a/ui/app_list/app_list.gyp +++ b/ui/app_list/app_list.gyp @@ -17,7 +17,6 @@ '../../skia/skia.gyp:skia', '../base/strings/ui_strings.gyp:ui_strings', '../compositor/compositor.gyp:compositor', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', '../ui.gyp:ui_resources', ], diff --git a/ui/aura/aura.gyp b/ui/aura/aura.gyp index d4d89e4..c2983e9 100644 --- a/ui/aura/aura.gyp +++ b/ui/aura/aura.gyp @@ -18,7 +18,6 @@ '../../gpu/gpu.gyp:gpu', '../../skia/skia.gyp:skia', '../compositor/compositor.gyp:compositor', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', '../ui.gyp:ui_resources', ], @@ -125,7 +124,6 @@ 'dependencies': [ '../../skia/skia.gyp:skia', '../../testing/gtest.gyp:gtest', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', '../ui.gyp:ui_test_support', 'aura', @@ -209,7 +207,6 @@ '../../third_party/icu/icu.gyp:icuuc', '../compositor/compositor.gyp:compositor', '../compositor/compositor.gyp:compositor_test_support', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', '../ui.gyp:ui_resources', '../../ipc/ipc.gyp:ipc', @@ -234,7 +231,6 @@ '../../third_party/icu/icu.gyp:icuuc', '../compositor/compositor.gyp:compositor', '../compositor/compositor.gyp:compositor_test_support', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', '../ui.gyp:ui_resources', 'aura', @@ -257,7 +253,6 @@ '../../testing/gtest.gyp:gtest', '../compositor/compositor.gyp:compositor_test_support', '../compositor/compositor.gyp:compositor', - '../gfx/gfx.gyp:gfx', '../gl/gl.gyp:gl', '../ui.gyp:ui', '../ui.gyp:ui_resources', diff --git a/ui/compositor/compositor.gyp b/ui/compositor/compositor.gyp index 62d03e3..de62e6d 100644 --- a/ui/compositor/compositor.gyp +++ b/ui/compositor/compositor.gyp @@ -16,7 +16,6 @@ '<(DEPTH)/cc/cc.gyp:cc', '<(DEPTH)/skia/skia.gyp:skia', '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/gl/gl.gyp:gl', '<(DEPTH)/ui/ui.gyp:ui', '<(DEPTH)/webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', @@ -78,7 +77,6 @@ 'dependencies': [ '<(DEPTH)/base/base.gyp:base', '<(DEPTH)/skia/skia.gyp:skia', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/gl/gl.gyp:gl', '<(DEPTH)/ui/ui.gyp:ui', 'compositor', @@ -100,7 +98,6 @@ '<(DEPTH)/cc/cc_tests.gyp:cc_test_utils', '<(DEPTH)/skia/skia.gyp:skia', '<(DEPTH)/testing/gtest.gyp:gtest', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/gl/gl.gyp:gl', '<(DEPTH)/ui/ui.gyp:ui', '<(DEPTH)/ui/ui.gyp:ui_resources', diff --git a/ui/gfx/android/gfx_jni_registrar.cc b/ui/gfx/android/gfx_jni_registrar.cc deleted file mode 100644 index 8aa8551..0000000 --- a/ui/gfx/android/gfx_jni_registrar.cc +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "ui/gfx/android/gfx_jni_registrar.h" - -#include "base/android/jni_android.h" -#include "base/android/jni_registrar.h" -#include "ui/gfx/android/device_display_info.h" -#include "ui/gfx/android/java_bitmap.h" - -namespace gfx { -namespace android { - -static base::android::RegistrationMethod kGfxRegisteredMethods[] = { - { "DeviceDisplayInfo", gfx::DeviceDisplayInfo::RegisterDeviceDisplayInfo }, - { "JavaBitmap", gfx::JavaBitmap::RegisterJavaBitmap }, -}; - -bool RegisterJni(JNIEnv* env) { - return RegisterNativeMethods(env, kGfxRegisteredMethods, - arraysize(kGfxRegisteredMethods)); -} - -} // namespace android -} // namespace gfx diff --git a/ui/gfx/android/gfx_jni_registrar.h b/ui/gfx/android/gfx_jni_registrar.h deleted file mode 100644 index 3d4947c..0000000 --- a/ui/gfx/android/gfx_jni_registrar.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef UI_GFX_ANDROID_GFX_JNI_REGISTRAR_H_ -#define UI_GFX_ANDROID_GFX_JNI_REGISTRAR_H_ - -#include <jni.h> - -#include "ui/gfx/gfx_export.h" - -namespace gfx { -namespace android { - -// Register all JNI bindings necessary for chrome. -GFX_EXPORT bool RegisterJni(JNIEnv* env); - -} // namespace android -} // namespace gfx - -#endif // UI_GFX_ANDROID_GFX_JNI_REGISTRAR_H_ diff --git a/ui/gfx/android/java_bitmap.cc b/ui/gfx/android/java_bitmap.cc index 2a1be65..6c2eaa8 100644 --- a/ui/gfx/android/java_bitmap.cc +++ b/ui/gfx/android/java_bitmap.cc @@ -39,11 +39,11 @@ JavaBitmap::~JavaBitmap() { // static bool JavaBitmap::RegisterJavaBitmap(JNIEnv* env) { - return RegisterNativesImpl(env); + return ui::RegisterNativesImpl(env); } static ScopedJavaLocalRef<jobject> CreateJavaBitmap(const gfx::Size& size) { - return Java_BitmapHelper_createBitmap(AttachCurrentThread(), + return ui::Java_BitmapHelper_createBitmap(AttachCurrentThread(), size.width(), size.height()); } @@ -87,7 +87,7 @@ SkBitmap CreateSkBitmapFromResource(const char* name, gfx::Size size) { DCHECK(!size.IsEmpty()); JNIEnv* env = AttachCurrentThread(); ScopedJavaLocalRef<jstring> jname(env, env->NewStringUTF(name)); - ScopedJavaLocalRef<jobject> jobj(Java_BitmapHelper_decodeDrawableResource( + ScopedJavaLocalRef<jobject> jobj(ui::Java_BitmapHelper_decodeDrawableResource( env, jname.obj(), size.width(), size.height())); if (jobj.is_null()) return SkBitmap(); diff --git a/ui/gfx/gfx.gyp b/ui/gfx/gfx.gyp deleted file mode 100644 index 946700e..0000000 --- a/ui/gfx/gfx.gyp +++ /dev/null @@ -1,385 +0,0 @@ -# Copyright (c) 2013 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -{ - 'variables': { - 'chromium_code': 1, - }, - 'targets': [ - { - 'target_name': 'gfx', - 'type': '<(component)', - 'dependencies': [ - '<(DEPTH)/base/base.gyp:base', - '<(DEPTH)/base/base.gyp:base_i18n', - '<(DEPTH)/base/base.gyp:base_static', - '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '<(DEPTH)/net/net.gyp:net', - '<(DEPTH)/skia/skia.gyp:skia', - '<(DEPTH)/third_party/icu/icu.gyp:icui18n', - '<(DEPTH)/third_party/icu/icu.gyp:icuuc', - '<(DEPTH)/third_party/libpng/libpng.gyp:libpng', - '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', - '<(DEPTH)/url/url.gyp:url_lib', - ], - 'defines': [ - 'GFX_IMPLEMENTATION', - ], - 'sources': [ - 'android/device_display_info.cc', - 'android/device_display_info.h', - 'android/gfx_jni_registrar.cc', - 'android/gfx_jni_registrar.h', - 'android/java_bitmap.cc', - 'android/java_bitmap.h', - 'animation/animation.cc', - 'animation/animation.h', - 'animation/animation_container.cc', - 'animation/animation_container.h', - 'animation/animation_container_element.h', - 'animation/animation_container_observer.h', - 'animation/animation_delegate.h', - 'animation/linear_animation.cc', - 'animation/linear_animation.h', - 'animation/multi_animation.cc', - 'animation/multi_animation.h', - 'animation/slide_animation.cc', - 'animation/slide_animation.h', - 'animation/throb_animation.cc', - 'animation/throb_animation.h', - 'animation/tween.cc', - 'animation/tween.h', - 'blit.cc', - 'blit.h', - 'box_f.cc', - 'box_f.h', - 'break_list.h', - 'canvas.cc', - 'canvas.h', - 'canvas_android.cc', - 'canvas_paint_gtk.cc', - 'canvas_paint_gtk.h', - 'canvas_paint_mac.h', - 'canvas_paint_mac.mm', - 'canvas_paint_win.cc', - 'canvas_paint_win.h', - 'canvas_skia.cc', - 'canvas_skia_paint.h', - 'codec/jpeg_codec.cc', - 'codec/jpeg_codec.h', - 'codec/png_codec.cc', - 'codec/png_codec.h', - 'color_analysis.cc', - 'color_analysis.h', - 'color_profile.cc', - 'color_profile.h', - 'color_profile_mac.cc', - 'color_profile_win.cc', - 'color_utils.cc', - 'color_utils.h', - 'display.cc', - 'display.h', - 'display_observer.cc', - 'display_observer.h', - 'favicon_size.cc', - 'favicon_size.h', - 'font.cc', - 'font.h', - 'font_fallback_win.cc', - 'font_fallback_win.h', - 'font_list.cc', - 'font_list.h', - 'font_render_params_android.cc', - 'font_render_params_linux.cc', - 'font_render_params_linux.h', - 'font_smoothing_win.cc', - 'font_smoothing_win.h', - 'gfx_export.h', - 'gfx_paths.cc', - 'gfx_paths.h', - 'gpu_memory_buffer.cc', - 'gpu_memory_buffer.h', - 'image/canvas_image_source.cc', - 'image/canvas_image_source.h', - 'image/image.cc', - 'image/image.h', - 'image/image_family.cc', - 'image/image_family.h', - 'image/image_ios.mm', - 'image/image_mac.mm', - 'image/image_png_rep.cc', - 'image/image_png_rep.h', - 'image/image_skia.cc', - 'image/image_skia.h', - 'image/image_skia_operations.cc', - 'image/image_skia_operations.h', - 'image/image_skia_rep.cc', - 'image/image_skia_rep.h', - 'image/image_skia_source.h', - 'image/image_skia_util_ios.h', - 'image/image_skia_util_ios.mm', - 'image/image_skia_util_mac.h', - 'image/image_skia_util_mac.mm', - 'image/image_util.cc', - 'image/image_util.h', - 'image/image_util_ios.mm', - 'insets.cc', - 'insets.h', - 'insets_base.h', - 'insets_f.cc', - 'insets_f.h', - 'interpolated_transform.cc', - 'interpolated_transform.h', - 'mac/scoped_ns_disable_screen_updates.h', - 'matrix3_f.cc', - 'matrix3_f.h', - 'native_widget_types.h', - 'ozone/surface_factory_ozone.cc', - 'ozone/surface_factory_ozone.h', - 'pango_util.cc', - 'pango_util.h', - 'path.cc', - 'path.h', - 'path_aura.cc', - 'path_gtk.cc', - 'path_win.cc', - 'path_win.h', - 'path_x11.cc', - 'path_x11.h', - 'platform_font.h', - 'platform_font_android.cc', - 'platform_font_ios.h', - 'platform_font_ios.mm', - 'platform_font_mac.h', - 'platform_font_mac.mm', - 'platform_font_pango.cc', - 'platform_font_pango.h', - 'platform_font_win.cc', - 'platform_font_win.h', - 'point.cc', - 'point.h', - 'point3_f.cc', - 'point3_f.h', - 'point_base.h', - 'point_conversions.cc', - 'point_conversions.h', - 'point_f.cc', - 'point_f.h', - 'quad_f.cc', - 'quad_f.h', - 'range/range.cc', - 'range/range.h', - 'range/range_mac.mm', - 'range/range_win.cc', - 'rect.cc', - 'rect.h', - 'rect_base.h', - 'rect_base_impl.h', - 'rect_conversions.cc', - 'rect_conversions.h', - 'rect_f.cc', - 'rect_f.h', - 'render_text.cc', - 'render_text.h', - 'render_text_linux.cc', - 'render_text_linux.h', - 'render_text_mac.cc', - 'render_text_mac.h', - 'render_text_win.cc', - 'render_text_win.h', - 'safe_integer_conversions.h', - 'scoped_cg_context_save_gstate_mac.h', - 'scoped_ns_graphics_context_save_gstate_mac.h', - 'scoped_ns_graphics_context_save_gstate_mac.mm', - 'scoped_ui_graphics_push_context_ios.h', - 'scoped_ui_graphics_push_context_ios.mm', - 'screen.cc', - 'screen.h', - 'screen_android.cc', - 'screen_aura.cc', - 'screen_gtk.cc', - 'screen_ios.mm', - 'screen_mac.mm', - 'screen_win.cc', - 'screen_win.h', - 'scrollbar_size.cc', - 'scrollbar_size.h', - 'selection_model.cc', - 'selection_model.h', - 'sequential_id_generator.cc', - 'sequential_id_generator.h', - 'shadow_value.cc', - 'shadow_value.h', - 'size.cc', - 'size.h', - 'size_base.h', - 'size_conversions.cc', - 'size_conversions.h', - 'size_f.cc', - 'size_f.h', - 'skbitmap_operations.cc', - 'skbitmap_operations.h', - 'skia_util.cc', - 'skia_util.h', - 'skia_utils_gtk.cc', - 'skia_utils_gtk.h', - 'switches.cc', - 'switches.h', - 'sys_color_change_listener.cc', - 'sys_color_change_listener.h', - 'text_constants.h', - 'text_elider.cc', - 'text_elider.h', - 'text_utils.cc', - 'text_utils.h', - 'text_utils_android.cc', - 'text_utils_ios.mm', - 'text_utils_skia.cc', - 'transform.cc', - 'transform.h', - 'transform_util.cc', - 'transform_util.h', - 'utf16_indexing.cc', - 'utf16_indexing.h', - 'vector2d.cc', - 'vector2d.h', - 'vector2d_conversions.cc', - 'vector2d_conversions.h', - 'vector2d_f.cc', - 'vector2d_f.h', - 'vector3d_f.cc', - 'vector3d_f.h', - 'win/dpi.cc', - 'win/dpi.h', - 'win/hwnd_util.cc', - 'win/hwnd_util.h', - 'win/scoped_set_map_mode.h', - 'win/singleton_hwnd.cc', - 'win/singleton_hwnd.h', - 'win/window_impl.cc', - 'win/window_impl.h', - 'x/x11_atom_cache.cc', - 'x/x11_atom_cache.h', - 'x/x11_types.cc', - 'x/x11_types.h', - ], - 'conditions': [ - ['OS=="ios"', { - # iOS only uses a subset of UI. - 'sources/': [ - ['exclude', '^codec/jpeg_codec\\.cc$'], - ], - }, { - 'dependencies': [ - '<(libjpeg_gyp_path):libjpeg', - ], - }], - # TODO(asvitkine): Switch all platforms to use canvas_skia.cc. - # http://crbug.com/105550 - ['use_canvas_skia==1', { - 'sources!': [ - 'canvas_android.cc', - ], - }, { # use_canvas_skia!=1 - 'sources!': [ - 'canvas_skia.cc', - ], - }], - ['use_pango==0', { - 'sources/': [ - ['exclude', '^pango_util\\.'], - ['exclude', '^platform_font_pango\\.'], - ], - }], - ['toolkit_uses_gtk == 1', { - 'dependencies': [ - '<(DEPTH)/build/linux/system.gyp:gtk', - ], - 'sources': [ - 'gtk_native_view_id_manager.cc', - 'gtk_native_view_id_manager.h', - 'gtk_preserve_window.cc', - 'gtk_preserve_window.h', - 'gdk_compat.h', - 'gtk_compat.h', - 'gtk_util.cc', - 'gtk_util.h', - 'image/cairo_cached_surface.cc', - 'image/cairo_cached_surface.h', - 'scoped_gobject.h', - ], - }], - ['OS=="win"', { - 'sources': [ - 'gdi_util.cc', - 'gdi_util.h', - 'icon_util.cc', - 'icon_util.h', - ], - # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int - # C4324 is structure was padded due to __declspec(align()), which is - # uninteresting. - 'msvs_disabled_warnings': [ 4267, 4324 ], - }], - ['OS=="android"', { - 'sources!': [ - 'animation/throb_animation.cc', - 'display_observer.cc', - 'path.cc', - 'selection_model.cc', - ], - 'dependencies': [ - 'gfx_jni_headers', - ], - 'link_settings': { - 'libraries': [ - '-landroid', - '-ljnigraphics', - ], - }, - }], - ['OS=="android" and android_webview_build==0', { - 'dependencies': [ - '<(DEPTH)/base/base.gyp:base_java', - ], - }], - ['OS=="android" or OS=="ios"', { - 'sources!': [ - 'render_text.cc', - 'render_text.h', - 'text_utils_skia.cc', - ], - }], - ['use_pango==1', { - 'dependencies': [ - '<(DEPTH)/build/linux/system.gyp:pangocairo', - ], - }], - ], - } - ], - 'conditions': [ - ['OS=="android"' , { - 'targets': [ - { - 'target_name': 'gfx_jni_headers', - 'type': 'none', - 'direct_dependent_settings': { - 'include_dirs': [ - '<(SHARED_INTERMEDIATE_DIR)/ui/gfx', - ], - }, - 'sources': [ - '../android/java/src/org/chromium/ui/gfx/BitmapHelper.java', - '../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java', - ], - 'variables': { - 'jni_gen_package': 'ui/gfx', - }, - 'includes': [ '../../build/jni_generator.gypi' ], - }, - ], - }], - ], -} diff --git a/ui/gfx/gfx_export.h b/ui/gfx/gfx_export.h index 20c8bb1..a6aaf02 100644 --- a/ui/gfx/gfx_export.h +++ b/ui/gfx/gfx_export.h @@ -8,14 +8,14 @@ #if defined(COMPONENT_BUILD) #if defined(WIN32) -#if defined(GFX_IMPLEMENTATION) +#if defined(UI_IMPLEMENTATION) #define GFX_EXPORT __declspec(dllexport) #else #define GFX_EXPORT __declspec(dllimport) -#endif // defined(GFX_IMPLEMENTATION) +#endif // defined(UI_IMPLEMENTATION) #else // defined(WIN32) -#if defined(GFX_IMPLEMENTATION) +#if defined(UI_IMPLEMENTATION) #define GFX_EXPORT __attribute__((visibility("default"))) #else #define GFX_EXPORT diff --git a/ui/gfx/rect_base_impl.h b/ui/gfx/rect_base_impl.h index c6de71d..a068d15 100644 --- a/ui/gfx/rect_base_impl.h +++ b/ui/gfx/rect_base_impl.h @@ -9,7 +9,7 @@ // This file provides the implementation for RectBaese template and // used to instantiate the base class for Rect and RectF classes. -#if !defined(GFX_IMPLEMENTATION) +#if !defined(UI_IMPLEMENTATION) #error "This file is intended for UI implementation only" #endif diff --git a/ui/gl/gl.gyp b/ui/gl/gl.gyp index 95db809..274065b 100644 --- a/ui/gl/gl.gyp +++ b/ui/gl/gl.gyp @@ -18,7 +18,6 @@ '<(DEPTH)/gpu/command_buffer/command_buffer.gyp:gles2_utils', '<(DEPTH)/skia/skia.gyp:skia', '<(DEPTH)/third_party/mesa/mesa.gyp:mesa_headers', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/ui.gyp:ui', ], 'variables': { diff --git a/ui/keyboard/keyboard.gyp b/ui/keyboard/keyboard.gyp index 41605ba..7ec43f3 100644 --- a/ui/keyboard/keyboard.gyp +++ b/ui/keyboard/keyboard.gyp @@ -44,7 +44,6 @@ '../../url/url.gyp:url_lib', '../aura/aura.gyp:aura', '../compositor/compositor.gyp:compositor', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', 'keyboard_resources', ], @@ -84,7 +83,6 @@ '../aura/aura.gyp:aura', '../aura/aura.gyp:aura_test_support', '../compositor/compositor.gyp:compositor', - '../gfx/gfx.gyp:gfx', '../ui.gyp:run_ui_unittests', '../ui.gyp:ui', 'keyboard', diff --git a/ui/message_center/message_center.gyp b/ui/message_center/message_center.gyp index e91e7e5..46f4d5b 100644 --- a/ui/message_center/message_center.gyp +++ b/ui/message_center/message_center.gyp @@ -17,7 +17,6 @@ '../../skia/skia.gyp:skia', '../../url/url.gyp:url_lib', '../base/strings/ui_strings.gyp:ui_strings', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', '../ui.gyp:ui_resources', ], @@ -143,7 +142,6 @@ '../../base/base.gyp:base', '../../base/base.gyp:test_support_base', '../../skia/skia.gyp:skia', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', 'message_center', ], @@ -162,7 +160,6 @@ '../../base/base.gyp:test_support_base', '../../skia/skia.gyp:skia', '../../testing/gtest.gyp:gtest', - '../gfx/gfx.gyp:gfx', '../ui.gyp:run_ui_unittests', '../ui.gyp:ui', '../../url/url.gyp:url_lib', diff --git a/ui/native_theme/native_theme.gyp b/ui/native_theme/native_theme.gyp index 2edba03..671f286 100644 --- a/ui/native_theme/native_theme.gyp +++ b/ui/native_theme/native_theme.gyp @@ -14,7 +14,6 @@ '../../base/base.gyp:base', '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../../skia/skia.gyp:skia', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', '../ui.gyp:ui_resources', ], diff --git a/ui/oak/oak.gyp b/ui/oak/oak.gyp index 6bfcac6..ac07c63 100644 --- a/ui/oak/oak.gyp +++ b/ui/oak/oak.gyp @@ -18,7 +18,6 @@ '../../url/url.gyp:url_lib', '../aura/aura.gyp:aura', '../compositor/compositor.gyp:compositor', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', '../ui.gyp:ui_resources', '../views/views.gyp:views', diff --git a/ui/snapshot/snapshot.gyp b/ui/snapshot/snapshot.gyp index b96567a..2346483 100644 --- a/ui/snapshot/snapshot.gyp +++ b/ui/snapshot/snapshot.gyp @@ -13,7 +13,6 @@ 'dependencies': [ '../../skia/skia.gyp:skia', '../../base/base.gyp:base', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', ], 'defines': [ @@ -50,7 +49,6 @@ '../../base/base.gyp:base', '../../base/base.gyp:test_support_base', '../../testing/gtest.gyp:gtest', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', 'snapshot' ], diff --git a/ui/surface/surface.gyp b/ui/surface/surface.gyp index 1f310dc..5887e06 100644 --- a/ui/surface/surface.gyp +++ b/ui/surface/surface.gyp @@ -61,7 +61,6 @@ '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '<(DEPTH)/media/media.gyp:media', '<(DEPTH)/skia/skia.gyp:skia', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/gl/gl.gyp:gl', '<(DEPTH)/ui/ui.gyp:ui', ], @@ -101,7 +100,6 @@ '<(DEPTH)/media/media.gyp:media', '<(DEPTH)/skia/skia.gyp:skia', '<(DEPTH)/testing/gtest.gyp:gtest', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/ui.gyp:ui', 'surface', ], @@ -28,10 +28,11 @@ '../third_party/zlib/zlib.gyp:zlib', '../url/url.gyp:url_lib', 'base/strings/ui_strings.gyp:ui_strings', - 'gfx/gfx.gyp:gfx', 'ui_resources', ], 'defines': [ + # TODO(sky): remove once gfx dependencies are corrected. + 'GFX_IMPLEMENTATION', 'UI_IMPLEMENTATION', ], # Export these dependencies since text_elider.h includes ICU headers. @@ -39,7 +40,6 @@ '../net/net.gyp:net', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', - 'gfx/gfx.gyp:gfx', ], 'sources' : [ 'android/ui_jni_registrar.cc', @@ -380,6 +380,240 @@ 'events/x/events_x_utils.h', 'events/x/touch_factory_x11.cc', 'events/x/touch_factory_x11.h', + 'gfx/android/device_display_info.cc', + 'gfx/android/device_display_info.h', + 'gfx/android/java_bitmap.cc', + 'gfx/android/java_bitmap.h', + 'gfx/animation/animation.cc', + 'gfx/animation/animation.h', + 'gfx/animation/animation_container.cc', + 'gfx/animation/animation_container.h', + 'gfx/animation/animation_container_element.h', + 'gfx/animation/animation_container_observer.h', + 'gfx/animation/animation_delegate.h', + 'gfx/animation/linear_animation.cc', + 'gfx/animation/linear_animation.h', + 'gfx/animation/multi_animation.cc', + 'gfx/animation/multi_animation.h', + 'gfx/animation/slide_animation.cc', + 'gfx/animation/slide_animation.h', + 'gfx/animation/throb_animation.cc', + 'gfx/animation/throb_animation.h', + 'gfx/animation/tween.cc', + 'gfx/animation/tween.h', + 'gfx/blit.cc', + 'gfx/blit.h', + 'gfx/box_f.cc', + 'gfx/box_f.h', + 'gfx/break_list.h', + 'gfx/canvas.cc', + 'gfx/canvas.h', + 'gfx/canvas_android.cc', + 'gfx/canvas_paint_gtk.cc', + 'gfx/canvas_paint_gtk.h', + 'gfx/canvas_paint_mac.h', + 'gfx/canvas_paint_mac.mm', + 'gfx/canvas_paint_win.cc', + 'gfx/canvas_paint_win.h', + 'gfx/canvas_skia.cc', + 'gfx/canvas_skia_paint.h', + 'gfx/codec/jpeg_codec.cc', + 'gfx/codec/jpeg_codec.h', + 'gfx/codec/png_codec.cc', + 'gfx/codec/png_codec.h', + 'gfx/color_analysis.cc', + 'gfx/color_analysis.h', + 'gfx/color_profile.cc', + 'gfx/color_profile.h', + 'gfx/color_profile_mac.cc', + 'gfx/color_profile_win.cc', + 'gfx/color_utils.cc', + 'gfx/color_utils.h', + 'gfx/display.cc', + 'gfx/display.h', + 'gfx/display_observer.cc', + 'gfx/display_observer.h', + 'gfx/favicon_size.cc', + 'gfx/favicon_size.h', + 'gfx/font.cc', + 'gfx/font.h', + 'gfx/font_fallback_win.cc', + 'gfx/font_fallback_win.h', + 'gfx/font_list.cc', + 'gfx/font_list.h', + 'gfx/font_render_params_android.cc', + 'gfx/font_render_params_linux.cc', + 'gfx/font_render_params_linux.h', + 'gfx/font_smoothing_win.cc', + 'gfx/font_smoothing_win.h', + 'gfx/gfx_export.h', + 'gfx/gfx_paths.cc', + 'gfx/gfx_paths.h', + 'gfx/gpu_memory_buffer.cc', + 'gfx/gpu_memory_buffer.h', + 'gfx/image/canvas_image_source.cc', + 'gfx/image/canvas_image_source.h', + 'gfx/image/image.cc', + 'gfx/image/image.h', + 'gfx/image/image_family.cc', + 'gfx/image/image_family.h', + 'gfx/image/image_ios.mm', + 'gfx/image/image_mac.mm', + 'gfx/image/image_png_rep.cc', + 'gfx/image/image_png_rep.h', + 'gfx/image/image_skia.cc', + 'gfx/image/image_skia.h', + 'gfx/image/image_skia_operations.cc', + 'gfx/image/image_skia_operations.h', + 'gfx/image/image_skia_rep.cc', + 'gfx/image/image_skia_rep.h', + 'gfx/image/image_skia_source.h', + 'gfx/image/image_skia_util_ios.h', + 'gfx/image/image_skia_util_ios.mm', + 'gfx/image/image_skia_util_mac.h', + 'gfx/image/image_skia_util_mac.mm', + 'gfx/image/image_util.cc', + 'gfx/image/image_util.h', + 'gfx/image/image_util_ios.mm', + 'gfx/insets.cc', + 'gfx/insets.h', + 'gfx/insets_base.h', + 'gfx/insets_f.cc', + 'gfx/insets_f.h', + 'gfx/interpolated_transform.cc', + 'gfx/interpolated_transform.h', + 'gfx/mac/scoped_ns_disable_screen_updates.h', + 'gfx/matrix3_f.cc', + 'gfx/matrix3_f.h', + 'gfx/native_widget_types.h', + 'gfx/ozone/surface_factory_ozone.cc', + 'gfx/ozone/surface_factory_ozone.h', + 'gfx/pango_util.cc', + 'gfx/pango_util.h', + 'gfx/path.cc', + 'gfx/path.h', + 'gfx/path_aura.cc', + 'gfx/path_gtk.cc', + 'gfx/path_win.cc', + 'gfx/path_win.h', + 'gfx/path_x11.cc', + 'gfx/path_x11.h', + 'gfx/platform_font.h', + 'gfx/platform_font_android.cc', + 'gfx/platform_font_ios.h', + 'gfx/platform_font_ios.mm', + 'gfx/platform_font_mac.h', + 'gfx/platform_font_mac.mm', + 'gfx/platform_font_pango.cc', + 'gfx/platform_font_pango.h', + 'gfx/platform_font_win.cc', + 'gfx/platform_font_win.h', + 'gfx/point.cc', + 'gfx/point.h', + 'gfx/point3_f.cc', + 'gfx/point3_f.h', + 'gfx/point_base.h', + 'gfx/point_conversions.cc', + 'gfx/point_conversions.h', + 'gfx/point_f.cc', + 'gfx/point_f.h', + 'gfx/quad_f.cc', + 'gfx/quad_f.h', + 'gfx/range/range.cc', + 'gfx/range/range.h', + 'gfx/range/range_mac.mm', + 'gfx/range/range_win.cc', + 'gfx/rect.cc', + 'gfx/rect.h', + 'gfx/rect_base.h', + 'gfx/rect_base_impl.h', + 'gfx/rect_conversions.cc', + 'gfx/rect_conversions.h', + 'gfx/rect_f.cc', + 'gfx/rect_f.h', + 'gfx/render_text.cc', + 'gfx/render_text.h', + 'gfx/render_text_linux.cc', + 'gfx/render_text_linux.h', + 'gfx/render_text_mac.cc', + 'gfx/render_text_mac.h', + 'gfx/render_text_win.cc', + 'gfx/render_text_win.h', + 'gfx/safe_integer_conversions.h', + 'gfx/scoped_cg_context_save_gstate_mac.h', + 'gfx/scoped_ns_graphics_context_save_gstate_mac.h', + 'gfx/scoped_ns_graphics_context_save_gstate_mac.mm', + 'gfx/scoped_ui_graphics_push_context_ios.h', + 'gfx/scoped_ui_graphics_push_context_ios.mm', + 'gfx/screen.cc', + 'gfx/screen.h', + 'gfx/screen_android.cc', + 'gfx/screen_aura.cc', + 'gfx/screen_gtk.cc', + 'gfx/screen_ios.mm', + 'gfx/screen_mac.mm', + 'gfx/screen_win.cc', + 'gfx/screen_win.h', + 'gfx/scrollbar_size.cc', + 'gfx/scrollbar_size.h', + 'gfx/selection_model.cc', + 'gfx/selection_model.h', + 'gfx/sequential_id_generator.cc', + 'gfx/sequential_id_generator.h', + 'gfx/shadow_value.cc', + 'gfx/shadow_value.h', + 'gfx/size.cc', + 'gfx/size.h', + 'gfx/size_base.h', + 'gfx/size_conversions.cc', + 'gfx/size_conversions.h', + 'gfx/size_f.cc', + 'gfx/size_f.h', + 'gfx/skbitmap_operations.cc', + 'gfx/skbitmap_operations.h', + 'gfx/skia_util.cc', + 'gfx/skia_util.h', + 'gfx/skia_utils_gtk.cc', + 'gfx/skia_utils_gtk.h', + 'gfx/switches.cc', + 'gfx/switches.h', + 'gfx/sys_color_change_listener.cc', + 'gfx/sys_color_change_listener.h', + 'gfx/text_constants.h', + 'gfx/text_elider.cc', + 'gfx/text_elider.h', + 'gfx/text_utils.cc', + 'gfx/text_utils.h', + 'gfx/text_utils_android.cc', + 'gfx/text_utils_ios.mm', + 'gfx/text_utils_skia.cc', + 'gfx/transform.cc', + 'gfx/transform.h', + 'gfx/transform_util.cc', + 'gfx/transform_util.h', + 'gfx/utf16_indexing.cc', + 'gfx/utf16_indexing.h', + 'gfx/vector2d.cc', + 'gfx/vector2d.h', + 'gfx/vector2d_conversions.cc', + 'gfx/vector2d_conversions.h', + 'gfx/vector2d_f.cc', + 'gfx/vector2d_f.h', + 'gfx/vector3d_f.cc', + 'gfx/vector3d_f.h', + 'gfx/win/dpi.cc', + 'gfx/win/dpi.h', + 'gfx/win/hwnd_util.cc', + 'gfx/win/hwnd_util.h', + 'gfx/win/scoped_set_map_mode.h', + 'gfx/win/singleton_hwnd.cc', + 'gfx/win/singleton_hwnd.h', + 'gfx/win/window_impl.cc', + 'gfx/win/window_impl.h', + 'gfx/x/x11_atom_cache.cc', + 'gfx/x/x11_atom_cache.h', + 'gfx/x/x11_types.cc', + 'gfx/x/x11_types.h', 'webui/jstemplate_builder.cc', 'webui/jstemplate_builder.h', 'webui/web_ui_util.cc', @@ -397,12 +631,19 @@ 'includes': [ 'base/ime/ime.gypi', ], + 'dependencies': [ + '<(libjpeg_gyp_path):libjpeg', + ], }, { # OS=="ios" # iOS only uses a subset of UI. 'sources/': [ ['exclude', '\\.(cc|mm)$'], ['include', '_ios\\.(cc|mm)$'], ['include', '(^|/)ios/'], + ['include', '^gfx/'], + ['include', '^gfx/animation/'], + ['exclude', '^gfx/codec/jpeg_codec\\.cc$'], + ['include', '^gfx/range/'], ['include', '^base/l10n/'], ['include', '^base/layout'], ['include', '^base/resource/'], @@ -414,8 +655,23 @@ ], }, }], + # TODO(asvitkine): Switch all platforms to use canvas_skia.cc. + # http://crbug.com/105550 + ['use_canvas_skia==1', { + 'sources!': [ + 'gfx/canvas_android.cc', + ], + }, { # use_canvas_skia!=1 + 'sources!': [ + 'gfx/canvas_skia.cc', + ], + }], ['use_aura==1', { 'sources/': [ + ['exclude', 'gfx/gtk_'], + ['exclude', 'gfx/gtk_util.cc'], + ['exclude', 'gfx/gtk_util.h'], + ['exclude', 'gfx/screen_gtk.cc'], ['exclude', 'base/work_area_watcher_observer.h'], ['exclude', 'base/x/active_window_watcher_x.cc'], ['exclude', 'base/x/active_window_watcher_x.h'], @@ -441,6 +697,12 @@ 'base/x/selection_utils.h', ] }], + ['use_pango==0', { + 'sources/': [ + ['exclude', '^gfx/pango_util\\.'], + ['exclude', '^gfx/platform_font_pango\\.'], + ], + }], ['use_aura==0 or OS!="linux"', { 'sources!': [ 'base/resource/resource_bundle_auralinux.cc', @@ -486,6 +748,24 @@ }], ], }], + ['toolkit_uses_gtk == 1', { + 'dependencies': [ + '../build/linux/system.gyp:gtk', + ], + 'sources': [ + 'gfx/gtk_native_view_id_manager.cc', + 'gfx/gtk_native_view_id_manager.h', + 'gfx/gtk_preserve_window.cc', + 'gfx/gtk_preserve_window.h', + 'gfx/gdk_compat.h', + 'gfx/gtk_compat.h', + 'gfx/gtk_util.cc', + 'gfx/gtk_util.h', + 'gfx/image/cairo_cached_surface.cc', + 'gfx/image/cairo_cached_surface.h', + 'gfx/scoped_gobject.h', + ], + }], ['chromeos==1 or (use_aura==1 and OS=="linux" and use_x11==0)', { 'sources!': [ 'base/clipboard/clipboard_aurax11.cc', @@ -501,6 +781,12 @@ ], }], ['OS=="win"', { + 'sources': [ + 'gfx/gdi_util.cc', + 'gfx/gdi_util.h', + 'gfx/icon_util.cc', + 'gfx/icon_util.h', + ], 'sources!': [ 'base/touch/touch_device.cc', ], @@ -634,6 +920,10 @@ 'base/touch/touch_device.cc', 'base/touch/touch_editing_controller.cc', 'base/ui_base_types.cc', + 'gfx/animation/throb_animation.cc', + 'gfx/display_observer.cc', + 'gfx/path.cc', + 'gfx/selection_model.cc', ], 'dependencies': [ 'ui_jni_headers', @@ -652,6 +942,13 @@ 'ui_java', ], }], + ['OS=="android" or OS=="ios"', { + 'sources!': [ + 'gfx/render_text.cc', + 'gfx/render_text.h', + 'gfx/text_utils_skia.cc', + ], + }], ['OS=="linux"', { 'libraries': [ '-ldl', @@ -700,6 +997,8 @@ }, 'sources': [ 'android/java/src/org/chromium/ui/Clipboard.java', + 'android/java/src/org/chromium/ui/gfx/BitmapHelper.java', + 'android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java', 'android/java/src/org/chromium/ui/LocalizationUtils.java', 'android/java/src/org/chromium/ui/SelectFileDialog.java', 'android/java/src/org/chromium/ui/ViewAndroid.java', diff --git a/ui/ui_unittests.gypi b/ui/ui_unittests.gypi index b096962..a419ea8 100644 --- a/ui/ui_unittests.gypi +++ b/ui/ui_unittests.gypi @@ -10,7 +10,6 @@ '../base/base.gyp:base', '../skia/skia.gyp:skia', '../testing/gtest.gyp:gtest', - 'gfx/gfx.gyp:gfx', ], 'sources': [ 'base/test/cocoa_test_event_utils.h', diff --git a/ui/v2/v2.gyp b/ui/v2/v2.gyp index b9183f7..78dd01c 100644 --- a/ui/v2/v2.gyp +++ b/ui/v2/v2.gyp @@ -18,7 +18,6 @@ '../../gpu/gpu.gyp:gpu', '../../skia/skia.gyp:skia', '../compositor/compositor.gyp:compositor', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', '../ui.gyp:ui_resources', ], diff --git a/ui/views/controls/webview/webview.gyp b/ui/views/controls/webview/webview.gyp index 1977f48..1814d2f 100644 --- a/ui/views/controls/webview/webview.gyp +++ b/ui/views/controls/webview/webview.gyp @@ -17,7 +17,6 @@ '../../../../content/content.gyp:content_browser', '../../../../skia/skia.gyp:skia', '../../../../url/url.gyp:url_lib', - '../../../gfx/gfx.gyp:gfx', '../../../ui.gyp:ui', '../../../web_dialogs/web_dialogs.gyp:web_dialogs', '../../views.gyp:views', diff --git a/ui/views/views.gyp b/ui/views/views.gyp index e927f86..30dd637 100644 --- a/ui/views/views.gyp +++ b/ui/views/views.gyp @@ -30,7 +30,6 @@ '../../url/url.gyp:url_lib', '../base/strings/ui_strings.gyp:ui_strings', '../compositor/compositor.gyp:compositor', - '../gfx/gfx.gyp:gfx', '../native_theme/native_theme.gyp:native_theme', '../ui.gyp:ui', '../ui.gyp:ui_resources', @@ -602,7 +601,6 @@ '../../ipc/ipc.gyp:test_support_ipc', '../../skia/skia.gyp:skia', '../../testing/gtest.gyp:gtest', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', 'views', ], @@ -656,7 +654,6 @@ '../../ipc/ipc.gyp:test_support_ipc', '../../skia/skia.gyp:skia', '../../testing/gtest.gyp:gtest', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', 'controls/webview/webview.gyp:webview', 'views_test_support', @@ -690,7 +687,6 @@ '../base/strings/ui_strings.gyp:ui_strings', '../compositor/compositor.gyp:compositor', '../compositor/compositor.gyp:compositor_test_support', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', '../ui.gyp:ui_resources', '../ui.gyp:ui_test_support', @@ -834,7 +830,6 @@ '../../skia/skia.gyp:skia', '../../third_party/icu/icu.gyp:icui18n', '../../third_party/icu/icu.gyp:icuuc', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', '../ui.gyp:ui_resources', 'views', @@ -927,7 +922,6 @@ '../../third_party/icu/icu.gyp:icui18n', '../../third_party/icu/icu.gyp:icuuc', '../../url/url.gyp:url_lib', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', '../ui.gyp:ui_resources', 'controls/webview/webview.gyp:webview', @@ -1017,7 +1011,6 @@ '../../skia/skia.gyp:skia', '../../third_party/icu/icu.gyp:icui18n', '../../third_party/icu/icu.gyp:icuuc', - '../gfx/gfx.gyp:gfx', '../ui.gyp:ui', '../ui.gyp:ui_resources', 'views', diff --git a/webkit/common/gpu/webkit_gpu.gyp b/webkit/common/gpu/webkit_gpu.gyp index 460d486..2831446 100644 --- a/webkit/common/gpu/webkit_gpu.gyp +++ b/webkit/common/gpu/webkit_gpu.gyp @@ -25,7 +25,6 @@ '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal', '<(DEPTH)/third_party/angle_dx11/src/build_angle.gyp:translator_glsl', '<(DEPTH)/ui/gl/gl.gyp:gl', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/ui.gyp:ui', ], 'sources': [ diff --git a/webkit/common/webkit_common.gyp b/webkit/common/webkit_common.gyp index 508c1e4..2957aab 100644 --- a/webkit/common/webkit_common.gyp +++ b/webkit/common/webkit_common.gyp @@ -20,7 +20,6 @@ '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '<(DEPTH)/net/net.gyp:net', '<(DEPTH)/skia/skia.gyp:skia', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/ui.gyp:ui', '<(DEPTH)/ui/ui.gyp:ui_resources', '<(DEPTH)/url/url.gyp:url_lib', diff --git a/webkit/glue/webkit_glue.gypi b/webkit/glue/webkit_glue.gypi index bfff4bd..c2c3fed 100644 --- a/webkit/glue/webkit_glue.gypi +++ b/webkit/glue/webkit_glue.gypi @@ -28,7 +28,6 @@ '<(DEPTH)/net/net.gyp:net', '<(DEPTH)/skia/skia.gyp:skia', '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/native_theme/native_theme.gyp:native_theme', '<(DEPTH)/ui/ui.gyp:ui', '<(DEPTH)/url/url.gyp:url_lib', @@ -138,7 +137,6 @@ '<(DEPTH)/third_party/icu/icu.gyp:icui18n', '<(DEPTH)/third_party/icu/icu.gyp:icuuc', '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/gl/gl.gyp:gl', '<(DEPTH)/ui/ui.gyp:ui', '<(DEPTH)/ui/ui.gyp:ui_resources', diff --git a/webkit/renderer/compositor_bindings/compositor_bindings.gyp b/webkit/renderer/compositor_bindings/compositor_bindings.gyp index b8c1d41..abd2db1 100644 --- a/webkit/renderer/compositor_bindings/compositor_bindings.gyp +++ b/webkit/renderer/compositor_bindings/compositor_bindings.gyp @@ -34,7 +34,6 @@ '<(DEPTH)/media/media.gyp:media', '<(DEPTH)/skia/skia.gyp:skia', '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/ui.gyp:ui', '<(DEPTH)/webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', ], diff --git a/webkit/renderer/webkit_renderer.gyp b/webkit/renderer/webkit_renderer.gyp index 64e42d2..2e85bf9 100644 --- a/webkit/renderer/webkit_renderer.gyp +++ b/webkit/renderer/webkit_renderer.gyp @@ -18,7 +18,6 @@ '<(DEPTH)/skia/skia.gyp:skia', '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', '<(DEPTH)/third_party/icu/icu.gyp:icuuc', - '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/ui.gyp:ui', '<(DEPTH)/url/url.gyp:url_lib', '<(DEPTH)/webkit/common/webkit_common.gyp:webkit_common', diff --git a/win8/delegate_execute/delegate_execute.gyp b/win8/delegate_execute/delegate_execute.gyp index 3d1a495..7461484 100644 --- a/win8/delegate_execute/delegate_execute.gyp +++ b/win8/delegate_execute/delegate_execute.gyp @@ -43,7 +43,6 @@ '../../breakpad/breakpad.gyp:breakpad_handler', '../../chrome/chrome.gyp:installer_util', '../../google_update/google_update.gyp:google_update', - '../../ui/gfx/gfx.gyp:gfx', '../../ui/ui.gyp:ui', '../../win8/win8.gyp:check_sdk_patch', 'delegate_execute_version_resources', |