Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Side by Side Diff: components/web_restriction.gypi

Issue 1423713015: [WIP] WebRestrictions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: continue review in split cl Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 # GN: //components/web_restriction:web_restriction_jni_headers
23 'target_name': 'web_restriction_jni_headers',
24 'type': 'none',
25 'sources': [
26 'web_restriction/java/src/org/chromium/components/webrestriction/Con tentResolverWebRestrictionProvider.java',
27 ],
28 'variables': {
29 'jni_gen_package': 'components/web_restriction',
30 },
31 'includes': [ '../build/jni_generator.gypi' ],
32 },
33 {
34 #GN: //components/web_restriction:web_restriction
35 'target_name': 'web_restriction',
36 'type': 'static_library',
37 'dependencies': [
38 '<(DEPTH)/base/base.gyp:base',
39 '<(DEPTH)/content/content.gyp:content_browser',
40 'web_restriction_jni_headers',
41 ],
42 'sources': [
43 "web_restriction/content_resolver_web_restriction_provider.cc",
44 "web_restriction/content_resolver_web_restriction_provider.h",
45 "web_restriction/web_restriction_gin_wrapper.cc",
46 "web_restriction/web_restriction_gin_wrapper.h",
47 "web_restriction/web_restriction_provider.h",
48 "web_restriction/web_restriction_resource_throttle.cc",
49 "web_restriction/web_restriction_resource_throttle.h",
50 ],
51 },
21 ], 52 ],
22 }]] 53 }]]
23 } 54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698