aboutsummaryrefslogtreecommitdiffstats
path: root/ddms
diff options
context:
space:
mode:
authorRaphael <raphael@google.com>2009-11-02 14:54:29 -0800
committerRaphael <raphael@google.com>2009-11-02 16:43:32 -0800
commit39a669ed17cd198f6a8ec9c484741672ec94426c (patch)
treebbeb4cc462ba4741e0df8c4e3399d0879f8767f6 /ddms
parentc91556d95b7bac74a960ecfede8020c66b08c033 (diff)
downloadsdk-39a669ed17cd198f6a8ec9c484741672ec94426c.zip
sdk-39a669ed17cd198f6a8ec9c484741672ec94426c.tar.gz
sdk-39a669ed17cd198f6a8ec9c484741672ec94426c.tar.bz2
SDK: Enforce GDK_NATIVE_WINDOWS=true for linux scripts
SDK BUG 2232091 Change-Id: I2a000054545b7865769054d1fdc733e50f06edd5
Diffstat (limited to 'ddms')
-rwxr-xr-xddms/app/etc/ddms4
1 files changed, 4 insertions, 0 deletions
diff --git a/ddms/app/etc/ddms b/ddms/app/etc/ddms
index 873f19e..1367aeb 100755
--- a/ddms/app/etc/ddms
+++ b/ddms/app/etc/ddms
@@ -71,6 +71,10 @@ else
os_opts=
fi
+if [ `uname` = "Linux" ]; then
+ export GDK_NATIVE_WINDOWS=true
+fi
+
jarpath="$frameworkdir/$jarfile"
# Figure out the path to the swt.jar for the current architecture.