Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(701)

Side by Side Diff: webrtc/api/api.gyp

Issue 2403463002: Allow custom metrics implementations on Android. (Closed)
Patch Set: Changes according to kjellander's comments. #1 Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/android/jni/androidmetrics_jni.cc ('k') | webrtc/examples/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 12 matching lines...) Expand all
23 ], 23 ],
24 }], 24 }],
25 # Excluded from the Chromium build since they cannot be built due to 25 # Excluded from the Chromium build since they cannot be built due to
26 # incompability with Chromium's logging implementation. 26 # incompability with Chromium's logging implementation.
27 ['OS=="android" and build_with_chromium==0', { 27 ['OS=="android" and build_with_chromium==0', {
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',
kjellander_webrtc 2016/10/17 07:34:00 This should be removed too.
sakal 2016/10/17 07:39:43 Done.
34 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default' ,
35 'libjingle_peerconnection', 34 'libjingle_peerconnection',
36 ], 35 ],
37 'sources': [ 36 'sources': [
38 'android/jni/androidmediacodeccommon.h', 37 'android/jni/androidmediacodeccommon.h',
39 'android/jni/androidmediadecoder_jni.cc', 38 'android/jni/androidmediadecoder_jni.cc',
40 'android/jni/androidmediadecoder_jni.h', 39 'android/jni/androidmediadecoder_jni.h',
41 'android/jni/androidmediaencoder_jni.cc', 40 'android/jni/androidmediaencoder_jni.cc',
42 'android/jni/androidmediaencoder_jni.h', 41 'android/jni/androidmediaencoder_jni.h',
43 'android/jni/androidmetrics_jni.cc', 42 'android/jni/androidhistogram_jni.cc',
44 'android/jni/androidnetworkmonitor_jni.cc', 43 'android/jni/androidnetworkmonitor_jni.cc',
45 'android/jni/androidnetworkmonitor_jni.h', 44 'android/jni/androidnetworkmonitor_jni.h',
46 'android/jni/androidvideotracksource_jni.cc', 45 'android/jni/androidvideotracksource_jni.cc',
47 'android/jni/classreferenceholder.cc', 46 'android/jni/classreferenceholder.cc',
48 'android/jni/classreferenceholder.h', 47 'android/jni/classreferenceholder.h',
49 'android/jni/jni_helpers.cc', 48 'android/jni/jni_helpers.cc',
50 'android/jni/jni_helpers.h', 49 'android/jni/jni_helpers.h',
51 'android/jni/native_handle_impl.cc', 50 'android/jni/native_handle_impl.cc',
52 'android/jni/native_handle_impl.h', 51 'android/jni/native_handle_impl.h',
53 'android/jni/peerconnection_jni.cc', 52 'android/jni/peerconnection_jni.cc',
(...skipping 17 matching lines...) Expand all
71 'msvs_disabled_warnings': [ 70 'msvs_disabled_warnings': [
72 4245, # conversion from 'int' to 'size_t', signed/unsigned mismatch . 71 4245, # conversion from 'int' to 'size_t', signed/unsigned mismatch .
73 4267, # conversion from 'size_t' to 'int', possible loss of data. 72 4267, # conversion from 'size_t' to 'int', possible loss of data.
74 4389, # signed/unsigned mismatch. 73 4389, # signed/unsigned mismatch.
75 ], 74 ],
76 }, 75 },
77 { 76 {
78 'target_name': 'libjingle_peerconnection_so', 77 'target_name': 'libjingle_peerconnection_so',
79 'type': 'shared_library', 78 'type': 'shared_library',
80 'dependencies': [ 79 'dependencies': [
80 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default' ,
kjellander_webrtc 2016/10/17 07:34:00 Add field_trial_default too.
sakal 2016/10/17 07:39:43 Done.
81 'libjingle_peerconnection', 81 'libjingle_peerconnection',
82 'libjingle_peerconnection_jni', 82 'libjingle_peerconnection_jni',
83 ], 83 ],
84 'sources': [ 84 'sources': [
85 'android/jni/androidmetrics_jni.cc',
85 'android/jni/jni_onload.cc', 86 'android/jni/jni_onload.cc',
86 ], 87 ],
87 'variables': { 88 'variables': {
88 # This library uses native JNI exports; tell GYP so that the 89 # This library uses native JNI exports; tell GYP so that the
89 # required symbols will be kept. 90 # required symbols will be kept.
90 'use_native_jni_exports': 1, 91 'use_native_jni_exports': 1,
91 }, 92 },
92 }, 93 },
93 ] 94 ]
94 }], 95 }],
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 '<(webrtc_root)/base/base.gyp:rtc_base_approved', 227 '<(webrtc_root)/base/base.gyp:rtc_base_approved',
227 ], 228 ],
228 'sources': [ 229 'sources': [
229 'stats/rtcstats.h', 230 'stats/rtcstats.h',
230 'stats/rtcstats_objects.h', 231 'stats/rtcstats_objects.h',
231 'stats/rtcstatsreport.h', 232 'stats/rtcstatsreport.h',
232 ], 233 ],
233 }, # target rtc_stats_api 234 }, # target rtc_stats_api
234 ], # targets 235 ], # targets
235 } 236 }
OLDNEW
« no previous file with comments | « webrtc/api/android/jni/androidmetrics_jni.cc ('k') | webrtc/examples/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698