Roll src/third_party/skia cd8b630:ad8aa1d
[chromium-blink-merge.git] / components / devtools_bridge.gyp
bloba8d7de1500c7e483a1c02c77cea45e3b26682d80
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
3 # found in the LICENSE file.
6   'targets': [
7     {
8       'target_name': 'devtools_bridge_jni_headers',
9       'type': 'none',
10       'sources': [
11         'devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/SessionDependencyFactoryNative.java',
12       ],
13       'variables': {
14         'jni_gen_package': 'devtools_bridge',
15       },
16       'includes': [ '../build/jni_generator.gypi' ],
17     },
18     {
19       'target_name': 'devtools_bridge',
20       'type': 'static_library',
21       'sources': [
22         'devtools_bridge/android/session_dependency_factory_native.h',
23         'devtools_bridge/android/session_dependency_factory_native.cc',
24       ],
25       'dependencies': [
26         '../base/base.gyp:base',
27         '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
28         '../third_party/libjingle/libjingle.gyp:libpeerconnection',
29         '../third_party/webrtc/base/base.gyp:webrtc_base',
30         'devtools_bridge_jni_headers',
31       ],
32     },
33     {
34       'target_name': 'devtools_bridge_javalib',
35       'type': 'none',
36       'variables': {
37         'java_in_dir': 'devtools_bridge/android/java',
38       },
39       'includes': [ '../build/java.gypi' ],
40       'dependencies': [
41         '../third_party/android_tools/android_tools.gyp:android_gcm',
42         '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection_javalib',
43         '../base/base.gyp:base_java',
44       ],
45     },
46     {
47       'target_name': 'libdevtools_bridge_natives_so',
48       'type': 'shared_library',
49       'sources': [
50         'devtools_bridge/test/android/javatests/jni/jni_onload.cc',
51       ],
52       'dependencies': [
53         '../base/base.gyp:base',
54         'devtools_bridge',
55       ],
56     },
57     {
58       'target_name': 'devtools_bridge_testutils',
59       'type': 'none',
60       'variables': {
61         'java_in_dir': 'devtools_bridge/test/android/javatests',
62       },
63       'includes': [ '../build/java.gypi' ],
64       'dependencies': [
65         '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection_javalib',
66         'devtools_bridge_javalib',
67       ],
68     },
69     {
70       'target_name': 'devtools_bridge_tests_apk',
71       'type': 'none',
72       'dependencies': [
73         'devtools_bridge_javalib',
74         'devtools_bridge_testutils',
75       ],
76       'variables': {
77         'apk_name': 'DevToolsBridgeTest',
78         'test_suite_name': 'devtools_bridge_tests',
79         'java_in_dir': 'devtools_bridge/android/javatests',
80         'native_lib_target': 'libjingle_peerconnection_so',
81         'is_test_apk': 1,
82       },
83       'includes': [ '../build/java_apk.gypi' ],
84     },
85     {
86       'target_name': 'devtools_bridge_tests2_apk',
87       'type': 'none',
88       'dependencies': [
89         'devtools_bridge_javalib',
90         'libdevtools_bridge_natives_so',
91       ],
92       'variables': {
93         'apk_name': 'DevToolsBridgeTest2',
94         'test_suite_name': 'devtools_bridge_tests',
95         'java_in_dir': 'devtools_bridge/android/javatests2',
96         'native_lib_target': 'libdevtools_bridge_natives_so',
97         'is_test_apk': 1,
98       },
99       'includes': [ '../build/java_apk.gypi' ],
100     },
101   ],