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_restrictions:web_restrictions_java | 10 # GN: //components/web_restrictions:web_restrictions_java |
11 'target_name': 'web_restrictions_java', | 11 'target_name': 'web_restrictions_java', |
12 'type': 'none', | 12 'type': 'none', |
13 'variables': { | 13 'variables': { |
14 'java_in_dir': 'web_restrictions/java', | 14 'java_in_dir': 'web_restrictions/browser/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 # GN: //components/web_restrictions:web_restrictions_jni_headers |
| 23 'target_name': 'web_restrictions_jni_headers', |
| 24 'type': 'none', |
| 25 'sources': [ |
| 26 'web_restrictions/browser/java/src/org/chromium/components/webrestri
ctions/WebRestrictionsClient.java', |
| 27 ], |
| 28 'variables': { |
| 29 'jni_gen_package': 'components/web_restrictions', |
| 30 }, |
| 31 'includes': [ '../build/jni_generator.gypi' ], |
| 32 }, |
| 33 { |
| 34 # GN: //components/web_restrictions:browser |
| 35 'target_name': 'web_restrictions_browser', |
| 36 'type': 'static_library', |
| 37 'dependencies': [ |
| 38 '<(DEPTH)/base/base.gyp:base', |
| 39 '<(DEPTH)/content/content.gyp:content_browser', |
| 40 'web_restrictions_jni_headers', |
| 41 ], |
| 42 'sources': [ |
| 43 "web_restrictions/browser/web_restrictions_client.cc", |
| 44 "web_restrictions/browser/web_restrictions_client.h", |
| 45 "web_restrictions/browser/web_restrictions_resource_throttle.cc", |
| 46 "web_restrictions/browser/web_restrictions_resource_throttle.h", |
| 47 ], |
| 48 }, |
| 49 { |
| 50 # GN: //components/web_restrictions:renderer |
| 51 'target_name': 'web_restrictions_renderer', |
| 52 'type': 'static_library', |
| 53 'dependencies': [ |
| 54 '<(DEPTH)/base/base.gyp:base', |
| 55 '<(DEPTH)/content/content.gyp:content_browser', |
| 56 'web_restrictions_jni_headers', |
| 57 ], |
| 58 'sources': [ |
| 59 "web_restrictions/renderer/web_restrictions_gin_wrapper.cc", |
| 60 "web_restrictions/renderer/web_restrictions_gin_wrapper.h", |
| 61 ], |
| 62 }, |
| 63 { |
| 64 'target_name': 'web_restrictions_test_support_jni_headers', |
| 65 'type': 'none', |
| 66 'sources': [ |
| 67 'web_restrictions/browser/javatest/src/org/chromium/components/webre
strictions/MockWebRestrictionsClient.java', |
| 68 ], |
| 69 'variables': { |
| 70 'jni_gen_package': 'components/web_restrictions', |
| 71 }, |
| 72 'includes': [ '../build/jni_generator.gypi' ], |
| 73 }, |
| 74 { |
| 75 'target_name': 'web_restrictions_test_support_java', |
| 76 'type': 'none', |
| 77 'dependencies': [ |
| 78 'components.gyp:web_restrictions_java', |
| 79 '../base/base.gyp:base_java', |
| 80 ], |
| 81 'variables': { |
| 82 'java_in_dir': [ |
| 83 'web_restrictions/browser/javatest/' |
| 84 ], |
| 85 }, |
| 86 'includes': [ '../build/java.gypi' ], |
| 87 }, |
| 88 { |
| 89 'target_name': 'web_restrictions_test_support', |
| 90 'type': 'static_library', |
| 91 'dependencies': [ |
| 92 '<(DEPTH)/base/base.gyp:base', |
| 93 'web_restrictions_test_support_jni_headers', |
| 94 ], |
| 95 'sources': [ |
| 96 'web_restrictions/browser/mock_web_restrictions_client.cc', |
| 97 'web_restrictions/browser/mock_web_restrictions_client.h', |
| 98 ], |
| 99 } |
| 100 |
21 ], | 101 ], |
22 }]] | 102 }]] |
23 } | 103 } |
OLD | NEW |