Index: chromecast/cast_system.gyp |
diff --git a/chromecast/cast_system.gyp b/chromecast/cast_system.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..860333031bddd59c38f3d15d96e02f65561869da |
--- /dev/null |
+++ b/chromecast/cast_system.gyp |
@@ -0,0 +1,38 @@ |
+# Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'variables': { |
+ 'conditions': [ |
+ ['sysroot!=""', { |
+ 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target_arch)"', |
+ }, { |
+ 'pkg-config': 'pkg-config' |
+ }], |
+ ], |
+ }, |
+ 'targets': [ |
+ { |
+ 'target_name': 'directfb', |
+ 'type': 'none', |
+ 'conditions': [ |
+ ['_toolset=="target"', { |
+ 'direct_dependent_settings': { |
+ 'cflags': [ |
+ '<!@(<(pkg-config) --cflags directfb)', |
+ ], |
+ }, |
+ 'link_settings': { |
+ 'ldflags': [ |
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other directfb)', |
+ ], |
+ 'libraries': [ |
+ '<!@(<(pkg-config) --libs-only-l directfb)', |
+ ], |
+ }, |
+ }], |
+ ], |
+ }, |
+ ], |
+} |