| OLD | NEW |
| 1 # | 1 # |
| 2 # libjingle | 2 # libjingle |
| 3 # Copyright 2012 Google Inc. | 3 # Copyright 2012 Google Inc. |
| 4 # | 4 # |
| 5 # Redistribution and use in source and binary forms, with or without | 5 # Redistribution and use in source and binary forms, with or without |
| 6 # modification, are permitted provided that the following conditions are met: | 6 # modification, are permitted provided that the following conditions are met: |
| 7 # | 7 # |
| 8 # 1. Redistributions of source code must retain the above copyright notice, | 8 # 1. Redistributions of source code must retain the above copyright notice, |
| 9 # this list of conditions and the following disclaimer. | 9 # this list of conditions and the following disclaimer. |
| 10 # 2. Redistributions in binary form must reproduce the above copyright notice, | 10 # 2. Redistributions in binary form must reproduce the above copyright notice, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 # | 26 # |
| 27 | 27 |
| 28 # This file contains common settings for building libjingle components. | 28 # This file contains common settings for building libjingle components. |
| 29 | 29 |
| 30 { | 30 { |
| 31 'variables': { | 31 'variables': { |
| 32 'webrtc_root%': '<(DEPTH)/webrtc', | 32 'webrtc_root%': '<(DEPTH)/webrtc', |
| 33 # TODO(ronghuawu): For now, disable the Chrome plugins, which causes a | 33 # TODO(ronghuawu): For now, disable the Chrome plugins, which causes a |
| 34 # flood of chromium-style warnings. | 34 # flood of chromium-style warnings. |
| 35 'clang_use_chrome_plugins%': 0, | 35 'clang_use_chrome_plugins%': 0, |
| 36 'conditions': [ | |
| 37 ['OS=="android" or OS=="linux"', { | |
| 38 'java_home%': '<!(python -c "import os; dir=os.getenv(\'JAVA_HOME\', \'/
usr/lib/jvm/java-7-openjdk-amd64\'); assert os.path.exists(os.path.join(dir, \'i
nclude/jni.h\')), \'Point \\$JAVA_HOME or the java_home gyp variable to a direct
ory containing include/jni.h!\'; print dir")', | |
| 39 }], | |
| 40 ], | |
| 41 # Disable these to not build components which can be externally provided. | 36 # Disable these to not build components which can be externally provided. |
| 42 'build_expat%': 1, | 37 'build_expat%': 1, |
| 43 'build_json%': 1, | 38 'build_json%': 1, |
| 44 'build_libsrtp%': 1, | 39 'build_libsrtp%': 1, |
| 45 # Make it possible to provide custom locations for some libraries. | 40 # Make it possible to provide custom locations for some libraries. |
| 46 'libyuv_dir%': '<(DEPTH)/third_party/libyuv', | 41 'libyuv_dir%': '<(DEPTH)/third_party/libyuv', |
| 47 | 42 |
| 48 # Disable this to skip building source requiring GTK. | 43 # Disable this to skip building source requiring GTK. |
| 49 'use_gtk%': 1, | 44 'use_gtk%': 1, |
| 50 }, | 45 }, |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 'HASH_NAMESPACE=__gnu_cxx', | 132 'HASH_NAMESPACE=__gnu_cxx', |
| 138 'WEBRTC_POSIX', | 133 'WEBRTC_POSIX', |
| 139 'DISABLE_DYNAMIC_CAST', | 134 'DISABLE_DYNAMIC_CAST', |
| 140 # The POSIX standard says we have to define this. | 135 # The POSIX standard says we have to define this. |
| 141 '_REENTRANT', | 136 '_REENTRANT', |
| 142 ], | 137 ], |
| 143 }], | 138 }], |
| 144 ], | 139 ], |
| 145 }, # target_defaults | 140 }, # target_defaults |
| 146 } | 141 } |
| OLD | NEW |