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

Unified Diff: components/devtools_bridge.gyp

Issue 704613003: Beginning implementation of SessionDependencyFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed dependency on libjingle Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/all.gyp ('k') | components/devtools_bridge/android/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/devtools_bridge.gyp
diff --git a/components/devtools_bridge.gyp b/components/devtools_bridge.gyp
index 0f8914bead88a76ed0290aae7dd3836041b0375b..a8d7de1500c7e483a1c02c77cea45e3b26682d80 100644
--- a/components/devtools_bridge.gyp
+++ b/components/devtools_bridge.gyp
@@ -5,6 +5,32 @@
{
'targets': [
{
+ 'target_name': 'devtools_bridge_jni_headers',
+ 'type': 'none',
+ 'sources': [
+ 'devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/SessionDependencyFactoryNative.java',
+ ],
+ 'variables': {
+ 'jni_gen_package': 'devtools_bridge',
+ },
+ 'includes': [ '../build/jni_generator.gypi' ],
+ },
+ {
+ 'target_name': 'devtools_bridge',
+ 'type': 'static_library',
+ 'sources': [
+ 'devtools_bridge/android/session_dependency_factory_native.h',
+ 'devtools_bridge/android/session_dependency_factory_native.cc',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
+ '../third_party/libjingle/libjingle.gyp:libpeerconnection',
+ '../third_party/webrtc/base/base.gyp:webrtc_base',
+ 'devtools_bridge_jni_headers',
+ ],
+ },
+ {
'target_name': 'devtools_bridge_javalib',
'type': 'none',
'variables': {
@@ -14,6 +40,18 @@
'dependencies': [
'../third_party/android_tools/android_tools.gyp:android_gcm',
'../third_party/libjingle/libjingle.gyp:libjingle_peerconnection_javalib',
+ '../base/base.gyp:base_java',
+ ],
+ },
+ {
+ 'target_name': 'libdevtools_bridge_natives_so',
+ 'type': 'shared_library',
+ 'sources': [
+ 'devtools_bridge/test/android/javatests/jni/jni_onload.cc',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ 'devtools_bridge',
],
},
{
@@ -44,5 +82,21 @@
},
'includes': [ '../build/java_apk.gypi' ],
},
+ {
+ 'target_name': 'devtools_bridge_tests2_apk',
+ 'type': 'none',
+ 'dependencies': [
+ 'devtools_bridge_javalib',
+ 'libdevtools_bridge_natives_so',
+ ],
+ 'variables': {
+ 'apk_name': 'DevToolsBridgeTest2',
+ 'test_suite_name': 'devtools_bridge_tests',
+ 'java_in_dir': 'devtools_bridge/android/javatests2',
+ 'native_lib_target': 'libdevtools_bridge_natives_so',
+ 'is_test_apk': 1,
+ },
+ 'includes': [ '../build/java_apk.gypi' ],
+ },
],
}
« no previous file with comments | « build/all.gyp ('k') | components/devtools_bridge/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698