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

Unified Diff: gyp/common_variables.gypi

Issue 406613003: Introduce skia_pic gyp variable. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Set fPIE and pie for executables except on Android. Created 6 years, 5 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 | « gyp/common_conditions.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/common_variables.gypi
diff --git a/gyp/common_variables.gypi b/gyp/common_variables.gypi
index c3714dc6c038757d152daaa085d700464c281397..2fb55915560dd373fdff8e2d1b78de760e978edd 100644
--- a/gyp/common_variables.gypi
+++ b/gyp/common_variables.gypi
@@ -180,6 +180,12 @@
'skia_clang_build%': 0,
'skia_keep_frame_pointer%': 0,
}],
+ [ 'skia_shared_lib or skia_sanitizer or skia_os == "android"', {
+ 'skia_pic%' : 1,
+ }, {
+ 'skia_pic%' : 0,
+ }
+ ],
],
# Re-define all variables defined within the level-2 'variables' dict,
« no previous file with comments | « gyp/common_conditions.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698