OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'libjingle_source': "source", | |
8 'webrtc_base': "../webrtc/base", | 7 'webrtc_base': "../webrtc/base", |
9 'webrtc_xmllite': "../webrtc/libjingle/xmllite", | 8 'webrtc_xmllite': "../webrtc/libjingle/xmllite", |
10 'webrtc_p2p': "../webrtc/p2p", | 9 'webrtc_p2p': "../webrtc/p2p", |
11 'webrtc_system_wrappers': "../webrtc/system_wrappers", | 10 'webrtc_system_wrappers': "../webrtc/system_wrappers", |
12 }, | 11 }, |
13 'includes': [ | 12 'includes': [ |
14 '../../native_client/build/untrusted.gypi', | 13 '../../native_client/build/untrusted.gypi', |
15 ], | 14 ], |
16 'targets': [ | 15 'targets': [ |
17 { | 16 { |
(...skipping 19 matching lines...) Expand all Loading... |
37 'HAVE_OPENSSL_SSL_H', | 36 'HAVE_OPENSSL_SSL_H', |
38 'NO_MAIN_THREAD_WRAPPING', | 37 'NO_MAIN_THREAD_WRAPPING', |
39 'NO_SOUND_SYSTEM', | 38 'NO_SOUND_SYSTEM', |
40 'WEBRTC_POSIX', | 39 'WEBRTC_POSIX', |
41 'SRTP_RELATIVE_PATH', | 40 'SRTP_RELATIVE_PATH', |
42 'SSL_USE_OPENSSL', | 41 'SSL_USE_OPENSSL', |
43 'USE_WEBRTC_DEV_BRANCH', | 42 'USE_WEBRTC_DEV_BRANCH', |
44 'timezone=_timezone', | 43 'timezone=_timezone', |
45 ], | 44 ], |
46 'include_dirs': [ | 45 'include_dirs': [ |
47 './<(libjingle_source)', | |
48 '../', | 46 '../', |
49 ], | 47 ], |
50 'includes': ['libjingle_common.gypi', ], | 48 'includes': ['libjingle_common.gypi', ], |
51 # TODO(sergeyu): Depend on webrtc/base.gyp:rtc_base_approved? | 49 # TODO(sergeyu): Depend on webrtc/base.gyp:rtc_base_approved? |
52 'sources': [ | 50 'sources': [ |
53 '<(webrtc_base)/asyncfile.cc', | 51 '<(webrtc_base)/asyncfile.cc', |
54 '<(webrtc_base)/asyncfile.h', | 52 '<(webrtc_base)/asyncfile.h', |
55 '<(webrtc_base)/asyncinvoker.cc', | 53 '<(webrtc_base)/asyncinvoker.cc', |
56 '<(webrtc_base)/asyncinvoker.h', | 54 '<(webrtc_base)/asyncinvoker.h', |
57 '<(webrtc_base)/asyncinvoker-inl.h', | 55 '<(webrtc_base)/asyncinvoker-inl.h', |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 '<(webrtc_xmllite)/xmlparser.h', | 245 '<(webrtc_xmllite)/xmlparser.h', |
248 '<(webrtc_xmllite)/xmlprinter.cc', | 246 '<(webrtc_xmllite)/xmlprinter.cc', |
249 '<(webrtc_xmllite)/xmlprinter.h', | 247 '<(webrtc_xmllite)/xmlprinter.h', |
250 '<(webrtc_system_wrappers)/include/field_trial_default.h', | 248 '<(webrtc_system_wrappers)/include/field_trial_default.h', |
251 '<(webrtc_system_wrappers)/include/field_trial.h', | 249 '<(webrtc_system_wrappers)/include/field_trial.h', |
252 '<(webrtc_system_wrappers)/source/field_trial_default.cc', | 250 '<(webrtc_system_wrappers)/source/field_trial_default.cc', |
253 ], | 251 ], |
254 'sources!': [ | 252 'sources!': [ |
255 # For NACL, we have the field_trial_default and don't need the | 253 # For NACL, we have the field_trial_default and don't need the |
256 # field_trail.cc. | 254 # field_trail.cc. |
257 'overrides/field_trial.cc', | 255 '../webrtc_overrides/field_trial.cc', |
258 ], | 256 ], |
259 'sources/': [ | 257 'sources/': [ |
260 ['exclude', '/mac[a-z]+\\.(h|cc)$'], | 258 ['exclude', '/mac[a-z]+\\.(h|cc)$'], |
261 ['exclude', '/scoped_autorelease_pool\\.(h|mm)$'], | 259 ['exclude', '/scoped_autorelease_pool\\.(h|mm)$'], |
262 ], | 260 ], |
263 'conditions': [ | 261 'conditions': [ |
264 ['OS!="win"', { | 262 ['OS!="win"', { |
265 'sources/': [ | 263 'sources/': [ |
266 ['exclude', '/win[a-z0-9]+\\.(h|cc)$'], | 264 ['exclude', '/win[a-z0-9]+\\.(h|cc)$'], |
267 ], | 265 ], |
268 }], | 266 }], |
269 ], | 267 ], |
270 'direct_dependent_settings': { | 268 'direct_dependent_settings': { |
271 'include_dirs': [ | 269 'include_dirs': [ |
272 './overrides', | |
273 './<(libjingle_source)', | |
274 '../../third_party/webrtc_overrides', | 270 '../../third_party/webrtc_overrides', |
275 '../../third_party', | 271 '../../third_party', |
276 '../../third_party/webrtc', | 272 '../../third_party/webrtc', |
277 ], | 273 ], |
278 'defines': [ | 274 'defines': [ |
279 'EXPAT_RELATIVE_PATH', | 275 'EXPAT_RELATIVE_PATH', |
280 'FEATURE_ENABLE_SSL', | 276 'FEATURE_ENABLE_SSL', |
281 'GTEST_RELATIVE_PATH', | 277 'GTEST_RELATIVE_PATH', |
282 'NO_MAIN_THREAD_WRAPPING', | 278 'NO_MAIN_THREAD_WRAPPING', |
283 'NO_SOUND_SYSTEM', | 279 'NO_SOUND_SYSTEM', |
284 'WEBRTC_POSIX', | 280 'WEBRTC_POSIX', |
285 'SRTP_RELATIVE_PATH', | 281 'SRTP_RELATIVE_PATH', |
286 'SSL_USE_OPENSSL', | 282 'SSL_USE_OPENSSL', |
287 'USE_WEBRTC_DEV_BRANCH', | 283 'USE_WEBRTC_DEV_BRANCH', |
288 ], | 284 ], |
289 }, | 285 }, |
290 'export_dependent_settings': [ | 286 'export_dependent_settings': [ |
291 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untr
usted', | 287 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untr
usted', |
292 ], | 288 ], |
293 }, # end of target 'libjingle_nacl' | 289 }, # end of target 'libjingle_nacl' |
294 ], | 290 ], |
295 } | 291 } |
OLD | NEW |