make skia_launcher be a position independent executable
authorDerek Sollenberger <djsollen@google.com>
Tue, 8 Jul 2014 12:26:21 +0000 (08:26 -0400)
committerDerek Sollenberger <djsollen@google.com>
Tue, 8 Jul 2014 12:26:21 +0000 (08:26 -0400)
R=tomhudson@google.com

Review URL: https://codereview.chromium.org/374833003

platform_tools/android/gyp/skia_launcher.gypi

index f8b5dfd79445c0459edaf62933dfe60f9d380405..f9eec20136147d53a5349729f9e1c860f29df92c 100644 (file)
@@ -2,6 +2,8 @@
     'targets': [{
         'target_name': 'skia_launcher',
         'type': 'executable',
+        'cflags': [ '-fPIE' ],
+        'ldflags': [ '-pie' ],
         'sources': [ '../launcher/skia_launcher.cpp' ],
     }]
 }