| 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 16 matching lines...) Expand all Loading... |
| 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 # Disable these to not build components which can be externally provided. | 36 # Disable these to not build components which can be externally provided. |
| 37 'build_expat%': 1, | |
| 38 'build_json%': 1, | 37 'build_json%': 1, |
| 39 'build_libsrtp%': 1, | |
| 40 # Make it possible to provide custom locations for some libraries. | |
| 41 'libyuv_dir%': '<(DEPTH)/third_party/libyuv', | |
| 42 | |
| 43 # Disable this to skip building source requiring GTK. | |
| 44 'use_gtk%': 1, | |
| 45 }, | 38 }, |
| 46 'target_defaults': { | 39 'target_defaults': { |
| 47 'include_dirs': [ | 40 'include_dirs': [ |
| 48 '<(DEPTH)', | 41 '<(DEPTH)', |
| 49 '../..', | 42 '../..', |
| 50 '../../third_party', | 43 '../../third_party', |
| 51 '../../third_party/webrtc', | 44 '../../third_party/webrtc', |
| 52 '../../webrtc', | 45 '../../webrtc', |
| 53 ], | 46 ], |
| 54 'defines': [ | |
| 55 'SRTP_RELATIVE_PATH', | |
| 56 | |
| 57 # Feature selection | |
| 58 'HAVE_SCTP', | |
| 59 'HAVE_SRTP', | |
| 60 ], | |
| 61 'conditions': [ | 47 'conditions': [ |
| 62 ['OS=="linux"', { | 48 ['OS=="linux"', { |
| 63 'defines': [ | 49 'defines': [ |
| 64 'WEBRTC_LINUX', | 50 'WEBRTC_LINUX', |
| 65 ], | 51 ], |
| 66 # Remove Chromium's disabling of the -Wformat warning. | 52 # Remove Chromium's disabling of the -Wformat warning. |
| 67 'cflags!': [ | 53 'cflags!': [ |
| 68 '-Wno-format', | 54 '-Wno-format', |
| 69 ], | 55 ], |
| 70 'conditions': [ | 56 'conditions': [ |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 'HASH_NAMESPACE=__gnu_cxx', | 118 'HASH_NAMESPACE=__gnu_cxx', |
| 133 'WEBRTC_POSIX', | 119 'WEBRTC_POSIX', |
| 134 'DISABLE_DYNAMIC_CAST', | 120 'DISABLE_DYNAMIC_CAST', |
| 135 # The POSIX standard says we have to define this. | 121 # The POSIX standard says we have to define this. |
| 136 '_REENTRANT', | 122 '_REENTRANT', |
| 137 ], | 123 ], |
| 138 }], | 124 }], |
| 139 ], | 125 ], |
| 140 }, # target_defaults | 126 }, # target_defaults |
| 141 } | 127 } |
| OLD | NEW |