1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'conditions': [
['OS == "android"', {
'targets': [
{
# GN: //components/web_restrictions:web_restrictions_java
'target_name': 'web_restrictions_java',
'type': 'none',
'variables': {
'java_in_dir': 'web_restrictions/browser/java',
},
'dependencies': [
'../base/base.gyp:base',
],
'includes': [ '../build/java.gypi' ],
},
{
# GN: //components/web_restrictions:web_restrictions_jni_headers
'target_name': 'web_restrictions_jni_headers',
'type': 'none',
'sources': [
'web_restrictions/browser/java/src/org/chromium/components/webrestrictions/WebRestrictionsClient.java',
],
'variables': {
'jni_gen_package': 'components/web_restrictions',
},
'includes': [ '../build/jni_generator.gypi' ],
},
{
# GN: //components/web_restrictions:browser
'target_name': 'web_restrictions_browser',
'type': 'static_library',
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/content/content.gyp:content_browser',
'web_restrictions_jni_headers',
],
'sources': [
"web_restrictions/browser/web_restrictions_client.cc",
"web_restrictions/browser/web_restrictions_client.h",
"web_restrictions/browser/web_restrictions_resource_throttle.cc",
"web_restrictions/browser/web_restrictions_resource_throttle.h",
],
},
{
# GN: //components/web_restrictions:renderer
'target_name': 'web_restrictions_renderer',
'type': 'static_library',
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/content/content.gyp:content_browser',
'web_restrictions_jni_headers',
],
'sources': [
"web_restrictions/renderer/web_restrictions_gin_wrapper.cc",
"web_restrictions/renderer/web_restrictions_gin_wrapper.h",
],
},
{
'target_name': 'web_restrictions_test_support_jni_headers',
'type': 'none',
'sources': [
'web_restrictions/browser/javatest/src/org/chromium/components/webrestrictions/MockWebRestrictionsClient.java',
],
'variables': {
'jni_gen_package': 'components/web_restrictions',
},
'includes': [ '../build/jni_generator.gypi' ],
},
{
'target_name': 'web_restrictions_test_support_java',
'type': 'none',
'dependencies': [
'components.gyp:web_restrictions_java',
'../base/base.gyp:base_java',
],
'variables': {
'java_in_dir': [
'web_restrictions/browser/javatest/'
],
},
'includes': [ '../build/java.gypi' ],
},
{
'target_name': 'web_restrictions_test_support',
'type': 'static_library',
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'web_restrictions_test_support_jni_headers',
],
'sources': [
'web_restrictions/browser/mock_web_restrictions_client.cc',
'web_restrictions/browser/mock_web_restrictions_client.h',
],
}
],
}]]
}
|