Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: ui/snapshot/snapshot.gyp

Issue 11399002: Implemented GetWindowSnapshot on RenderViewImpl (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added stub methods for iOS Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/snapshot/snapshot.h ('k') | ui/snapshot/snapshot_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/snapshot/snapshot.gyp
diff --git a/ui/snapshot/snapshot.gyp b/ui/snapshot/snapshot.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..40744bfc768359129ecd467b2a9810dace3d3aeb
--- /dev/null
+++ b/ui/snapshot/snapshot.gyp
@@ -0,0 +1,65 @@
+# Copyright (c) 2012 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': 'snapshot',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../../skia/skia.gyp:skia',
+ '../../base/base.gyp:base',
+ '../ui.gyp:ui',
+ ],
+ 'defines': [
+ 'SNAPSHOT_IMPLEMENTATION',
+ ],
+ 'sources': [
+ 'snapshot.h',
+ 'snapshot_android.cc',
+ 'snapshot_aura.cc',
+ 'snapshot_export.h',
+ 'snapshot_gtk.cc',
+ 'snapshot_ios.mm',
+ 'snapshot_mac.mm',
+ 'snapshot_win.cc',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'conditions': [
+ ['use_aura==1', {
+ 'dependencies': [
+ '../aura/aura.gyp:aura',
+ '../compositor/compositor.gyp:compositor',
+ ],
+ }],
+ ['use_aura==1 and OS=="win"', {
+ 'sources/': [
+ ['exclude', 'snapshot_win.cc'],
+ ],
+ }],
+ ],
+ },
+ {
+ 'target_name': 'snapshot_unittests',
+ 'type': '<(gtest_target_type)',
+ 'dependencies': [
+ '../../skia/skia.gyp:skia',
+ '../../base/base.gyp:base',
+ '../../testing/gtest.gyp:gtest',
+ '../../testing/gmock.gyp:gmock',
+ '../../testing/gtest.gyp:gtest',
+ '../ui.gyp:ui',
+ 'snapshot'
+ ],
+ 'sources': [
+ 'snapshot_mac_unittest.mm',
+ ]
+ },
+ ],
+}
« no previous file with comments | « ui/snapshot/snapshot.h ('k') | ui/snapshot/snapshot_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698