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

Unified Diff: experimental/webtry/templates/template.gyp

Issue 553333004: gyp build of skfiddle apps, take 2 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address formatting and error checking comments from Joe Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/webtry/setup/continue_install ('k') | experimental/webtry/webtry.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/webtry/templates/template.gyp
diff --git a/experimental/webtry/templates/template.gyp b/experimental/webtry/templates/template.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..d0e7ecd99074fb5cea203acffcf94f90a98f47e3
--- /dev/null
+++ b/experimental/webtry/templates/template.gyp
@@ -0,0 +1,37 @@
+{
+ 'targets': [
+ {
+ 'configurations': {
+ 'Debug': { },
+ 'Release': { }
+ },
+ 'target_name': '{{.Hash}}',
+ 'type': 'executable',
+ 'dependencies': [
+ '../skia/gyp/skia_lib.gyp:skia_lib',
+ '../skia/gyp/flags.gyp:flags'
+ ],
+ 'include_dirs': [
+ '../skia/include/config',
+ '../skia/include/core',
+ '../skia/tools/flags',
+ '../skia/src/core',
+ ],
+ 'conditions': [
+ ['skia_os == "mac"', {
+ 'defines': ['SK_UNSAFE_BUILD_DESKTOP_ONLY=1']
+ }]
+ ],
+ 'sources': [
+ 'src/{{.Hash}}.cpp',
+ '../skia/experimental/webtry/main.cpp'
+ ],
+ 'ldflags': [
+ '-lskia', '-stdlib=libc++', '-std=c++11'
+ ],
+ 'cflags': [
+ '-Werror', '-W', '-Wall', '-Wextra', '-Wno-unused-parameter', '-g', '-O0'
+ ]
+ }
+ ]
+}
« no previous file with comments | « experimental/webtry/setup/continue_install ('k') | experimental/webtry/webtry.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698