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

Unified Diff: gyp/example.gyp

Issue 886413004: move HelloWorld to be a peer of SampleApp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: exclude android as well Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « example/mac/HelloWorldNSView.mm ('k') | gyp/most.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/example.gyp
diff --git a/gyp/example.gyp b/gyp/example.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..34a79828061074fa649b9734794a06d4cd1cd2c6
--- /dev/null
+++ b/gyp/example.gyp
@@ -0,0 +1,51 @@
+# GYP file to build hello world example.
+{
+ 'targets': [
+ {
+ 'target_name': 'HelloWorld',
+ 'type': 'executable',
+ 'mac_bundle' : 1,
+ 'include_dirs' : [
+ '../include/gpu',
+ ],
+ 'sources': [
+ '../example/HelloWorld.h',
+ '../example/HelloWorld.cpp',
+ ],
+ 'dependencies': [
+ 'skia_lib.gyp:skia_lib',
+ 'views.gyp:views',
+ ],
+ 'conditions' : [
+ [ 'skia_os == "win"', {
+ 'sources' : [
+ '../src/views/win/SkOSWindow_Win.cpp',
+ '../src/views/win/skia_win.cpp',
+ ],
+ }],
+ [ 'skia_os == "mac"', {
+ 'sources': [
+ '../example/mac/HelloWorldNSView.mm',
+ '../example/mac/HelloWorldDelegate.mm',
+
+ '../src/views/mac/SkEventNotifier.mm',
+ '../src/views/mac/skia_mac.mm',
+ '../src/views/mac/SkNSView.mm',
+ '../src/views/mac/SkOptionsTableView.mm',
+ '../src/views/mac/SkOSWindow_Mac.mm',
+ '../src/views/mac/SkTextFieldCell.m',
+ ],
+ 'include_dirs' : [
+ '../src/views/mac/'
+ ],
+ 'xcode_settings' : {
+ 'INFOPLIST_FILE' : '../example/mac/HelloWorld-Info.plist',
+ },
+ 'mac_bundle_resources' : [
+ '../example/mac/HelloWorld.xib'
+ ],
+ }],
+ ],
+ },
+ ],
+}
« no previous file with comments | « example/mac/HelloWorldNSView.mm ('k') | gyp/most.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698