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

Unified Diff: gpu/demos/demos.gyp

Issue 601085: GPU demos are working on windows and linux. Enabled gpu.gyp and gpu/demos.gyp... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/demos/demos.gyp
===================================================================
--- gpu/demos/demos.gyp (revision 39144)
+++ gpu/demos/demos.gyp (working copy)
@@ -18,9 +18,6 @@
}],
],
},
- 'includes': [
- '../../build/common.gypi',
- ],
'targets': [
{
'target_name': 'gpu_demo_framework',
@@ -45,19 +42,15 @@
'sources': [
'framework/main_exe.cc',
'framework/window.cc',
+ 'framework/window_linux.cc',
+ 'framework/window_mac.mm',
+ 'framework/window_win.cc',
'framework/window.h',
],
'conditions': [
['OS=="linux"', {
- 'sources': ['framework/window_linux.cc'],
'dependencies': ['../../build/linux/system.gyp:gtk'],
}],
- ['OS=="mac"', {
- 'sources': ['framework/window_mac.mm'],
- }],
- ['OS=="win"', {
- 'sources': ['framework/window_win.cc'],
- }],
],
},
{
@@ -75,22 +68,22 @@
'sources': [
'framework/main_pepper.cc',
],
+ 'run_as': {
+ 'action': [
+ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)',
+ '--no-sandbox',
+ '--internal-pepper',
+ '--enable-gpu-plugin',
+ '--load-plugin=$(TargetPath)',
+ 'file://$(ProjectDir)pepper_gpu_demo.html',
+ ],
+ },
'conditions': [
['OS=="win"', {
'sources': [
'framework/plugin.def',
'framework/plugin.rc',
],
- 'run_as': {
- 'action': [
- '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)',
- '--no-sandbox',
- '--internal-pepper',
- '--enable-gpu-plugin',
- '--load-plugin=$(TargetPath)',
- 'file://$(ProjectDir)pepper_gpu_demo.html',
- ],
- },
}],
['OS=="linux"', {
# -gstabs, used in the official builds, causes an ICE. Remove it.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698