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

Unified Diff: skia/skia.gyp

Issue 10695047: Enable debugging code for non-official Android builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « gpu/command_buffer/common/unittest_main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/skia.gyp
diff --git a/skia/skia.gyp b/skia/skia.gyp
index aedee811032a23a4b7875e4dcdc75d2c95cdf2fb..41537f2fc4319970359c7adcd0436abf92ea85cd 100644
--- a/skia/skia.gyp
+++ b/skia/skia.gyp
@@ -1072,18 +1072,26 @@
],
'conditions': [
['OS=="android"', {
- 'defines': [
- 'SK_BUILD_FOR_ANDROID_NDK',
+ 'dependencies!': [
+ 'skia_opts',
+ '../third_party/zlib/zlib.gyp:zlib',
],
'conditions': [
- [ '_toolset == "target"', {
+ ['use_system_skia==1', {
'defines': [
'SK_RELEASE', # Assume platform has a release build.
],
- 'dependencies!': [
- 'skia_opts',
- '../third_party/zlib/zlib.gyp:zlib',
+ 'include_dirs!': [
+ 'config', # Avoid including Chromium skia config.
+ ],
+ 'libraries': [
+ '-lskia',
],
+ }, { # !use_system_skia
+ 'defines': [
+ # Don't use non-NDK available stuff.
+ 'SK_BUILD_FOR_ANDROID_NDK',
+ ],
}],
[ '_toolset == "target" and android_build_type == 0', {
'defines': [
« no previous file with comments | « gpu/command_buffer/common/unittest_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698