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

Side by Side Diff: gyp/visualbench.gyp

Issue 1184143011: nibless mac, visual bench working on mac (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix HelloWorld compile on windows Created 5 years, 6 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 | « gyp/views.gyp ('k') | include/views/SkOSWindow_Mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # GYP file to build visual bench tool 5 # GYP file to build visual bench tool
6 { 6 {
7 'includes': [ 7 'includes': [
8 'apptype_console.gypi', 8 'apptype_console.gypi',
9 ], 9 ],
10 'targets': [ 10 'targets': [
11 { 11 {
12 'target_name': 'visualbench', 12 'target_name': 'visualbench',
13 'type': 'executable', 13 'type': 'executable',
14 'mac_bundle' : 1,
15 'include_dirs' : [ 14 'include_dirs' : [
16 '../include/gpu', 15 '../include/gpu',
17 '../src/core', 16 '../src/core',
18 '../src/images', 17 '../src/images',
19 ], 18 ],
20 'sources': [ 19 'sources': [
21 '../tools/VisualBench.h', 20 '../tools/VisualBench.h',
22 '../tools/VisualBench.cpp', 21 '../tools/VisualBench.cpp',
23 ], 22 ],
24 'dependencies': [ 23 'dependencies': [
25 'flags.gyp:flags_common', 24 'flags.gyp:flags_common',
26 'skia_lib.gyp:skia_lib', 25 'skia_lib.gyp:skia_lib',
27 'tools.gyp:proc_stats', 26 'tools.gyp:proc_stats',
28 'tools.gyp:timer', 27 'tools.gyp:timer',
29 'views.gyp:views', 28 'views.gyp:views',
30 ], 29 ],
31 'conditions' : [ 30 'conditions' : [
32 [ 'skia_os == "win"', {
33 'sources' : [
34 '../src/views/win/SkOSWindow_Win.cpp',
35 '../src/views/win/skia_win.cpp',
36 ],
37 }],
38 [ 'skia_os == "mac"', {
39 'sources': [
40 '../example/mac/HelloWorldNSView.mm',
41 '../example/mac/HelloWorldDelegate.mm',
42
43 '../src/views/mac/SkEventNotifier.mm',
44 '../src/views/mac/skia_mac.mm',
45 '../src/views/mac/SkNSView.mm',
46 '../src/views/mac/SkOptionsTableView.mm',
47 '../src/views/mac/SkOSWindow_Mac.mm',
48 '../src/views/mac/SkTextFieldCell.m',
49 ],
50 'include_dirs' : [
51 '../src/views/mac/'
52 ],
53 'xcode_settings' : {
54 'INFOPLIST_FILE' : '../example/mac/HelloWorld-Info.plist',
55 },
56 'mac_bundle_resources' : [
57 '../example/mac/HelloWorld.xib'
58 ],
59 }],
60 [ 'skia_os == "android"', { 31 [ 'skia_os == "android"', {
61 'dependencies': [ 32 'dependencies': [
62 'android_deps.gyp:Android_VisualBench', 33 'android_deps.gyp:Android_VisualBench',
63 'android_deps.gyp:native_app_glue', 34 'android_deps.gyp:native_app_glue',
64 ], 35 ],
65 'link_settings': { 36 'link_settings': {
66 'libraries': [ 37 'libraries': [
67 '-landroid', 38 '-landroid',
68 '-lGLESv2', 39 '-lGLESv2',
69 '-lEGL', 40 '-lEGL',
70 ], 41 ],
71 }, 42 },
72 }], 43 }],
73 ], 44 ],
74 }, 45 },
75 ], 46 ],
76 } 47 }
OLDNEW
« no previous file with comments | « gyp/views.gyp ('k') | include/views/SkOSWindow_Mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698