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', |
+ ] |
+ }, |
+ ], |
+} |