OLD | NEW |
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'includes': [ '../build/common.gypi', ], | 10 'includes': [ '../build/common.gypi', ], |
(...skipping 17 matching lines...) Expand all Loading... |
28 'targets': [ | 28 'targets': [ |
29 { | 29 { |
30 'target_name': 'libjingle_peerconnection_jni', | 30 'target_name': 'libjingle_peerconnection_jni', |
31 'type': 'static_library', | 31 'type': 'static_library', |
32 'dependencies': [ | 32 'dependencies': [ |
33 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa
ult', | 33 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa
ult', |
34 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default'
, | 34 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default'
, |
35 'libjingle_peerconnection', | 35 'libjingle_peerconnection', |
36 ], | 36 ], |
37 'sources': [ | 37 'sources': [ |
| 38 'android/jni/androidmediacodeccommon.h', |
| 39 'android/jni/androidmediadecoder_jni.cc', |
| 40 'android/jni/androidmediadecoder_jni.h', |
| 41 'android/jni/androidmediaencoder_jni.cc', |
| 42 'android/jni/androidmediaencoder_jni.h', |
| 43 'android/jni/androidmetrics_jni.cc', |
| 44 'android/jni/androidnetworkmonitor_jni.cc', |
| 45 'android/jni/androidnetworkmonitor_jni.h', |
| 46 'android/jni/androidvideocapturer_jni.cc', |
| 47 'android/jni/androidvideocapturer_jni.h', |
| 48 'android/jni/classreferenceholder.cc', |
| 49 'android/jni/classreferenceholder.h', |
| 50 'android/jni/jni_helpers.cc', |
| 51 'android/jni/jni_helpers.h', |
| 52 'android/jni/native_handle_impl.cc', |
| 53 'android/jni/native_handle_impl.h', |
| 54 'android/jni/peerconnection_jni.cc', |
| 55 'android/jni/surfacetexturehelper_jni.cc', |
| 56 'android/jni/surfacetexturehelper_jni.h', |
38 'androidvideocapturer.cc', | 57 'androidvideocapturer.cc', |
39 'androidvideocapturer.h', | 58 'androidvideocapturer.h', |
40 'java/jni/androidmediacodeccommon.h', | |
41 'java/jni/androidmediadecoder_jni.cc', | |
42 'java/jni/androidmediadecoder_jni.h', | |
43 'java/jni/androidmediaencoder_jni.cc', | |
44 'java/jni/androidmediaencoder_jni.h', | |
45 'java/jni/androidmetrics_jni.cc', | |
46 'java/jni/androidnetworkmonitor_jni.cc', | |
47 'java/jni/androidnetworkmonitor_jni.h', | |
48 'java/jni/androidvideocapturer_jni.cc', | |
49 'java/jni/androidvideocapturer_jni.h', | |
50 'java/jni/surfacetexturehelper_jni.cc', | |
51 'java/jni/surfacetexturehelper_jni.h', | |
52 'java/jni/classreferenceholder.cc', | |
53 'java/jni/classreferenceholder.h', | |
54 'java/jni/jni_helpers.cc', | |
55 'java/jni/jni_helpers.h', | |
56 'java/jni/native_handle_impl.cc', | |
57 'java/jni/native_handle_impl.h', | |
58 'java/jni/peerconnection_jni.cc', | |
59 ], | 59 ], |
60 'include_dirs': [ | 60 'include_dirs': [ |
61 '<(libyuv_dir)/include', | 61 '<(libyuv_dir)/include', |
62 ], | 62 ], |
63 # TODO(kjellander): Make the code compile without disabling these flag
s. | 63 # TODO(kjellander): Make the code compile without disabling these flag
s. |
64 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=3307 | 64 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=3307 |
65 'cflags': [ | 65 'cflags': [ |
66 '-Wno-sign-compare', | 66 '-Wno-sign-compare', |
67 '-Wno-unused-variable', | 67 '-Wno-unused-variable', |
68 ], | 68 ], |
69 'cflags!': [ | 69 'cflags!': [ |
70 '-Wextra', | 70 '-Wextra', |
71 ], | 71 ], |
72 'msvs_disabled_warnings': [ | 72 'msvs_disabled_warnings': [ |
73 4245, # conversion from 'int' to 'size_t', signed/unsigned mismatch
. | 73 4245, # conversion from 'int' to 'size_t', signed/unsigned mismatch
. |
74 4267, # conversion from 'size_t' to 'int', possible loss of data. | 74 4267, # conversion from 'size_t' to 'int', possible loss of data. |
75 4389, # signed/unsigned mismatch. | 75 4389, # signed/unsigned mismatch. |
76 ], | 76 ], |
77 }, | 77 }, |
78 { | 78 { |
79 'target_name': 'libjingle_peerconnection_so', | 79 'target_name': 'libjingle_peerconnection_so', |
80 'type': 'shared_library', | 80 'type': 'shared_library', |
81 'dependencies': [ | 81 'dependencies': [ |
82 'libjingle_peerconnection', | 82 'libjingle_peerconnection', |
83 'libjingle_peerconnection_jni', | 83 'libjingle_peerconnection_jni', |
84 ], | 84 ], |
85 'sources': [ | 85 'sources': [ |
86 'java/jni/jni_onload.cc', | 86 'android/jni/jni_onload.cc', |
87 ], | 87 ], |
88 'variables': { | 88 'variables': { |
89 # This library uses native JNI exports; tell GYP so that the | 89 # This library uses native JNI exports; tell GYP so that the |
90 # required symbols will be kept. | 90 # required symbols will be kept. |
91 'use_native_jni_exports': 1, | 91 'use_native_jni_exports': 1, |
92 }, | 92 }, |
93 }, | 93 }, |
94 ] | 94 ] |
95 }], | 95 }], |
96 ], # conditions | 96 ], # conditions |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 'quicdatatransport.h', | 194 'quicdatatransport.h', |
195 ], | 195 ], |
196 'export_dependent_settings': [ | 196 'export_dependent_settings': [ |
197 '<(DEPTH)/third_party/libquic/libquic.gyp:libquic', | 197 '<(DEPTH)/third_party/libquic/libquic.gyp:libquic', |
198 ], | 198 ], |
199 }], | 199 }], |
200 ], | 200 ], |
201 }, # target libjingle_peerconnection | 201 }, # target libjingle_peerconnection |
202 ], # targets | 202 ], # targets |
203 } | 203 } |
OLD | NEW |