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

Unified Diff: gyp/libjpeg-turbo-selector.gyp

Issue 1406153015: Remove dependencies on Android's forked decoder libraries (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: It is 2015 Created 5 years, 1 month 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/libjpeg.gyp ('k') | gyp/libpng.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/libjpeg-turbo-selector.gyp
diff --git a/gyp/libjpeg-turbo-selector.gyp b/gyp/libjpeg-turbo-selector.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..7b75109a9991b03a00a60d0d8473e6e2e69da6e2
--- /dev/null
+++ b/gyp/libjpeg-turbo-selector.gyp
@@ -0,0 +1,27 @@
+# Copyright 2015 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This arguably should go in libjpeg-turbo.gyp. But if we put it there, gyp
+# gets overeager and starts trying to parse all of the targets in that file.
+# And it will fail to parse a target it doesn't need anyway when we are
+# building for the android framework. So we will add this file as another
+# layer of indirection.
+{
+ 'targets': [
+ {
+ 'target_name': 'libjpeg-turbo-selector',
+ 'type': 'none',
+ 'conditions': [
+ [ 'skia_android_framework', {
+ 'dependencies': [ 'android_deps.gyp:libjpeg-turbo' ],
+ 'export_dependent_settings': [ 'android_deps.gyp:libjpeg-turbo' ],
+ },{
+ 'dependencies': [ 'libjpeg-turbo.gyp:libjpeg-turbo' ],
+ 'export_dependent_settings': [ 'libjpeg-turbo.gyp:libjpeg-turbo' ],
+ }]
+ ]
+ },
+ ]
+}
« no previous file with comments | « gyp/libjpeg.gyp ('k') | gyp/libpng.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698