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

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

Issue 2403463002: Allow custom metrics implementations on Android. (Closed)
Patch Set: 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/12 01:03:48 Please update the dependencies here as well, as GY
sakal 2016/10/17 07:28:32 Done.
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', 38 'android/jni/androidmediacodeccommon.h',
39 'android/jni/androidmediadecoder_jni.cc', 39 'android/jni/androidmediadecoder_jni.cc',
40 'android/jni/androidmediadecoder_jni.h', 40 'android/jni/androidmediadecoder_jni.h',
41 'android/jni/androidmediaencoder_jni.cc', 41 'android/jni/androidmediaencoder_jni.cc',
42 'android/jni/androidmediaencoder_jni.h', 42 'android/jni/androidmediaencoder_jni.h',
43 'android/jni/androidmetrics_jni.cc', 43 'android/jni/androidhistogram_jni.cc',
44 'android/jni/androidnetworkmonitor_jni.cc', 44 'android/jni/androidnetworkmonitor_jni.cc',
45 'android/jni/androidnetworkmonitor_jni.h', 45 'android/jni/androidnetworkmonitor_jni.h',
46 'android/jni/androidvideotracksource_jni.cc', 46 'android/jni/androidvideotracksource_jni.cc',
47 'android/jni/classreferenceholder.cc', 47 'android/jni/classreferenceholder.cc',
48 'android/jni/classreferenceholder.h', 48 'android/jni/classreferenceholder.h',
49 'android/jni/jni_helpers.cc', 49 'android/jni/jni_helpers.cc',
50 'android/jni/jni_helpers.h', 50 'android/jni/jni_helpers.h',
51 'android/jni/native_handle_impl.cc', 51 'android/jni/native_handle_impl.cc',
52 'android/jni/native_handle_impl.h', 52 'android/jni/native_handle_impl.h',
53 'android/jni/peerconnection_jni.cc', 53 'android/jni/peerconnection_jni.cc',
(...skipping 21 matching lines...) Expand all
75 ], 75 ],
76 }, 76 },
77 { 77 {
78 'target_name': 'libjingle_peerconnection_so', 78 'target_name': 'libjingle_peerconnection_so',
79 'type': 'shared_library', 79 'type': 'shared_library',
80 'dependencies': [ 80 'dependencies': [
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