Make sure to handle skipForNow when the user does not sign in.
[chromium-blink-merge.git] / components / devtools_bridge.gyp
blobf6ecf4256feb5d8e5972b4baf52b0491b090e8c4
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_android.cc',
23         'devtools_bridge/android/session_dependency_factory_android.h',
24         'devtools_bridge/session_dependency_factory.cc',
25         'devtools_bridge/session_dependency_factory.h',
26       ],
27       'dependencies': [
28         '../base/base.gyp:base',
29         '../third_party/libjingle/libjingle.gyp:libjingle_webrtc',
30         '../third_party/libjingle/libjingle.gyp:libpeerconnection',
31         '../third_party/webrtc/base/base.gyp:webrtc_base',
32         'devtools_bridge_jni_headers',
33       ],
34     },
35     {
36       'target_name': 'devtools_bridge_javalib',
37       'type': 'none',
38       'variables': {
39         'java_in_dir': 'devtools_bridge/android/java',
40       },
41       'includes': [ '../build/java.gypi' ],
42       'dependencies': [
43         '../third_party/android_tools/android_tools.gyp:android_gcm',
44         '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection_javalib',
45         '../base/base.gyp:base_java',
46       ],
47     },
48     {
49       'target_name': 'libdevtools_bridge_natives_so',
50       'type': 'shared_library',
51       'sources': [
52         'devtools_bridge/test/android/javatests/jni/jni_onload.cc',
53       ],
54       'dependencies': [
55         '../base/base.gyp:base',
56         'devtools_bridge',
57       ],
58     },
59     {
60       'target_name': 'devtools_bridge_testutils',
61       'type': 'none',
62       'variables': {
63         'java_in_dir': 'devtools_bridge/test/android/javatests',
64       },
65       'includes': [ '../build/java.gypi' ],
66       'dependencies': [
67         '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection_javalib',
68         'devtools_bridge_javalib',
69       ],
70     },
71     {
72       'target_name': 'devtools_bridge_tests_apk',
73       'type': 'none',
74       'dependencies': [
75         'devtools_bridge_javalib',
76         'devtools_bridge_testutils',
77       ],
78       'variables': {
79         'apk_name': 'DevToolsBridgeTest',
80         'test_suite_name': 'devtools_bridge_tests',
81         'java_in_dir': 'devtools_bridge/android/javatests',
82         'native_lib_target': 'libjingle_peerconnection_so',
83         'is_test_apk': 1,
84       },
85       'includes': [ '../build/java_apk.gypi' ],
86     },
87     {
88       'target_name': 'devtools_bridge_tests2_apk',
89       'type': 'none',
90       'dependencies': [
91         'devtools_bridge_javalib',
92         'libdevtools_bridge_natives_so',
93       ],
94       'variables': {
95         'apk_name': 'DevToolsBridgeTest2',
96         'test_suite_name': 'devtools_bridge_tests',
97         'java_in_dir': 'devtools_bridge/android/javatests2',
98         'native_lib_target': 'libdevtools_bridge_natives_so',
99         'is_test_apk': 1,
100       },
101       'includes': [ '../build/java_apk.gypi' ],
102     },
103   ],