OLD | NEW |
---|---|
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'conditions': [ | 6 'conditions': [ |
7 ['OS == "android"', { | 7 ['OS == "android"', { |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 # GN: //components/web_restriction:web_restriction_java | 10 # GN: //components/web_restriction:web_restriction_java |
11 'target_name': 'web_restriction_java', | 11 'target_name': 'web_restriction_java', |
12 'type': 'none', | 12 'type': 'none', |
13 'variables': { | 13 'variables': { |
14 'java_in_dir': 'web_restriction/java', | 14 'java_in_dir': 'web_restriction/java', |
15 }, | 15 }, |
16 'dependencies': [ | 16 'dependencies': [ |
17 '../base/base.gyp:base', | 17 '../base/base.gyp:base', |
18 ], | 18 ], |
19 'includes': [ '../build/java.gypi' ], | 19 'includes': [ '../build/java.gypi' ], |
20 }, | 20 }, |
21 { | |
22 #TODO GN | |
aberent
2016/01/21 12:00:43
Will be needed. Android bots are now using GN.
knn
2016/01/25 11:54:24
Done.
| |
23 'target_name': 'web_restriction_jni_headers', | |
24 'type': 'none', | |
25 'sources': [ | |
26 'web_restriction/java/src/org/chromium/components/web_restriction/Co ntentResolverWebRestrictionProvider.java', | |
27 ], | |
28 'variables': { | |
29 'jni_gen_package': 'components/web_restriction', | |
30 }, | |
31 'includes': [ '../build/jni_generator.gypi' ], | |
32 }, | |
21 ], | 33 ], |
22 }]] | 34 }]], |
35 'targets': [ | |
36 { | |
37 #TODO GN | |
aberent
2016/01/21 12:00:43
Will be needed. Android bots are now using GN.
knn
2016/01/25 11:54:24
Done.
| |
38 'target_name': 'web_restriction', | |
39 'type': 'static_library', | |
40 'dependencies': [ | |
41 '<(DEPTH)/base/base.gyp:base', | |
42 '<(DEPTH)/content/content.gyp:content_browser', | |
43 'web_restriction_jni_headers', | |
44 ], | |
45 'sources': [ | |
46 "web_restriction/content_resolver_web_restriction_provider.cc", | |
47 "web_restriction/content_resolver_web_restriction_provider.h", | |
48 "web_restriction/web_restriction_gin_wrapper.cc", | |
49 "web_restriction/web_restriction_gin_wrapper.h", | |
50 "web_restriction/web_restriction_provider.h", | |
51 "web_restriction/web_restriction_resource_throttle.cc", | |
52 "web_restriction/web_restriction_resource_throttle.h", | |
53 ], | |
54 }, | |
55 ], | |
23 } | 56 } |
OLD | NEW |