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

Side by Side Diff: ui/snapshot/snapshot.gyp

Issue 2306743002: Nukes the gyp/gypi files in ui (Closed)
Patch Set: keep webui Created 4 years, 3 months 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 unified diff | Download patch
« no previous file with comments | « ui/shell_dialogs/shell_dialogs.gyp ('k') | ui/strings/ui_strings.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
11 'target_name': 'snapshot',
12 'type': '<(component)',
13 'dependencies': [
14 '../../base/base.gyp:base',
15 '../../skia/skia.gyp:skia',
16 '../base/ui_base.gyp:ui_base',
17 '../display/display.gyp:display',
18 '../gfx/gfx.gyp:gfx',
19 '../gfx/gfx.gyp:gfx_geometry',
20 ],
21 'defines': [
22 'SNAPSHOT_IMPLEMENTATION',
23 ],
24 'sources': [
25 'screenshot_grabber.cc',
26 'screenshot_grabber.h',
27 'screenshot_grabber_observer.h',
28 'snapshot.h',
29 'snapshot_android.cc',
30 'snapshot_async.cc',
31 'snapshot_async.h',
32 'snapshot_aura.cc',
33 'snapshot_export.h',
34 'snapshot_ios.mm',
35 'snapshot_mac.mm',
36 ],
37 'include_dirs': [
38 '..',
39 ],
40 'conditions': [
41 ['OS=="android"', {
42 'dependencies': [
43 '../android/ui_android.gyp:ui_android',
44 ],
45 }],
46 ['use_aura==1 or OS=="android"', {
47 'dependencies': [
48 '../../cc/cc.gyp:cc',
49 '../../gpu/gpu.gyp:command_buffer_common',
50 ],
51 }],
52 ['use_aura!=1 and OS!="android"', {
53 'sources!': [
54 'snapshot_async.cc',
55 'snapshot_async.h',
56 ],
57 }],
58 ['use_aura==1', {
59 'dependencies': [
60 '../aura/aura.gyp:aura',
61 '../compositor/compositor.gyp:compositor',
62 ],
63 }],
64 ],
65 },
66 {
67 'target_name': 'snapshot_unittests',
68 'type': '<(gtest_target_type)',
69 'dependencies': [
70 '../../skia/skia.gyp:skia',
71 '../../base/base.gyp:base',
72 '../../base/base.gyp:test_support_base',
73 '../../testing/gtest.gyp:gtest',
74 '../base/ui_base.gyp:ui_base',
75 '../gfx/gfx.gyp:gfx',
76 '../gfx/gfx.gyp:gfx_geometry',
77 'snapshot'
78 ],
79 'sources': [
80 'snapshot_aura_unittest.cc',
81 'snapshot_mac_unittest.mm',
82 'test/run_all_unittests.cc',
83 ],
84 'conditions': [
85 ['use_aura==1', {
86 'dependencies': [
87 '../../base/base.gyp:test_support_base',
88 '../aura/aura.gyp:aura_test_support',
89 '../compositor/compositor.gyp:compositor',
90 '../compositor/compositor.gyp:compositor_test_support',
91 '../wm/wm.gyp:wm',
92 ],
93 }],
94 ],
95 },
96 ],
97 }
OLDNEW
« no previous file with comments | « ui/shell_dialogs/shell_dialogs.gyp ('k') | ui/strings/ui_strings.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698