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

Unified Diff: runtime/dart-runtime.gyp

Issue 11971026: Build the openglui embedder conditionally (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix comment Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/dart-runtime.gyp
diff --git a/runtime/dart-runtime.gyp b/runtime/dart-runtime.gyp
index d9c1b160701f90f04ea319a3af6f73991894b5c5..45f4967302ef239cde39db1a720877889e3edc36 100644
--- a/runtime/dart-runtime.gyp
+++ b/runtime/dart-runtime.gyp
@@ -14,7 +14,19 @@
'variables': {
'version_in_cc_file': 'vm/version_in.cc',
'version_cc_file': '<(SHARED_INTERMEDIATE_DIR)/version.cc',
+
+ # Disable the OpenGLUI embedder by default on desktop OSes. Note,
+ # to build this on the desktop, you need GLUT installed.
+ 'enable_openglui%': 0,
},
+ 'conditions': [
+ ['OS=="android" or enable_openglui==1', {
+ 'includes': [
+ 'embedders/openglui/openglui_embedder.gypi',
+ ],
+ },
+ ],
+ ],
'targets': [
{
'target_name': 'libdart',
« 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