Chromium Code Reviews| Index: ui/snapshot/snapshot.gyp |
| diff --git a/ui/snapshot/snapshot.gyp b/ui/snapshot/snapshot.gyp |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..93ee3f2bbc7ee2578a05b761e13704b2159ed6d0 |
| --- /dev/null |
| +++ b/ui/snapshot/snapshot.gyp |
| @@ -0,0 +1,64 @@ |
| +# 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. |
|
Ben Goodger (Google)
2012/12/13 21:41:35
put DEPS in this directory.
|
| + |
| +{ |
| + '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_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', |
| + ] |
| + }, |
| + ], |
| +} |