OLD | NEW |
---|---|
(Empty) | |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
jamesr
2013/11/05 01:11:12
2013
| |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'conditions': [ | |
10 ['OS=="android"', | |
11 { | |
12 'targets': [ | |
13 { | |
14 'target_name': 'overscroller_jni_headers', | |
15 'type': 'none', | |
16 'variables': { | |
17 'jni_gen_package': 'webkit', | |
18 'input_java_class': 'android/widget/OverScroller.class', | |
19 }, | |
20 'includes': [ '../../build/jar_file_jni_generator.gypi' ], | |
21 }, | |
22 ], | |
23 } | |
24 ], | |
25 ], | |
26 'targets': [ | |
27 { | |
28 'target_name': 'webkit_child', | |
29 'type': '<(component)', | |
30 'variables': { 'enable_wexit_time_destructors': 1, }, | |
31 'defines': [ | |
32 'WEBKIT_CHILD_IMPLEMENTATION', | |
33 ], | |
34 'dependencies': [ | |
35 '<(DEPTH)/base/base.gyp:base', | |
36 '<(DEPTH)/base/base.gyp:base_i18n', | |
37 '<(DEPTH)/base/base.gyp:base_static', | |
38 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', | |
39 '<(DEPTH)/net/net.gyp:net', | |
40 '<(DEPTH)/skia/skia.gyp:skia', | |
41 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink', | |
42 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | |
43 '<(DEPTH)/ui/native_theme/native_theme.gyp:native_theme', | |
44 '<(DEPTH)/ui/ui.gyp:ui', | |
45 '<(DEPTH)/url/url.gyp:url_lib', | |
46 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | |
47 '<(DEPTH)/webkit/common/user_agent/webkit_user_agent.gyp:user_agent', | |
48 '<(DEPTH)/webkit/common/webkit_common.gyp:webkit_common', | |
49 ], | |
50 'include_dirs': [ | |
51 # For JNI generated header. | |
52 '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
53 ], | |
54 'hard_dependency': 1, | |
jamesr
2013/11/05 01:11:12
was there a comment in the original source about w
tfarina
2013/11/05 01:23:31
Scott, you added it in https://codereview.chromium
scottmg
2013/11/05 01:27:57
Sorry, I don't.
I would guess either:
1) the jni
tfarina
2013/11/05 01:31:24
ah, ok. this matches with what is said about the h
| |
55 'sources': [ | |
56 'fling_animator_impl_android.cc', | |
57 'fling_animator_impl_android.h', | |
58 'fling_curve_configuration.cc', | |
59 'fling_curve_configuration.h', | |
60 'ftp_directory_listing_response_delegate.cc', | |
61 'ftp_directory_listing_response_delegate.h', | |
62 'multipart_response_delegate.cc', | |
63 'multipart_response_delegate.h', | |
64 'resource_loader_bridge.cc', | |
65 'resource_loader_bridge.h', | |
66 'touch_fling_gesture_curve.cc', | |
67 'touch_fling_gesture_curve.h', | |
68 'web_discardable_memory_impl.cc', | |
69 'web_discardable_memory_impl.h', | |
70 'webfallbackthemeengine_impl.cc', | |
71 'webfallbackthemeengine_impl.h', | |
72 'webkit_child_export.h', | |
73 'webkit_child_helpers.cc', | |
74 'webkit_child_helpers.h', | |
75 'webkitplatformsupport_child_impl.cc', | |
76 'webkitplatformsupport_child_impl.h', | |
77 'webkitplatformsupport_impl.cc', | |
78 'webkitplatformsupport_impl.h', | |
79 'websocketstreamhandle_bridge.h', | |
80 'websocketstreamhandle_delegate.h', | |
81 'websocketstreamhandle_impl.cc', | |
82 'websocketstreamhandle_impl.h', | |
83 'webthemeengine_impl_android.cc', | |
84 'webthemeengine_impl_android.h', | |
85 'webthemeengine_impl_default.cc', | |
86 'webthemeengine_impl_default.h', | |
87 'webthemeengine_impl_mac.cc', | |
88 'webthemeengine_impl_mac.h', | |
89 'webthemeengine_impl_win.cc', | |
90 'webthemeengine_impl_win.h', | |
91 'webthread_impl.cc', | |
92 'webthread_impl.h', | |
93 'weburlloader_impl.cc', | |
94 'weburlloader_impl.h', | |
95 'weburlrequest_extradata_impl.cc', | |
96 'weburlrequest_extradata_impl.h', | |
97 'weburlresponse_extradata_impl.cc', | |
98 'weburlresponse_extradata_impl.h', | |
99 'worker_task_runner.cc', | |
100 'worker_task_runner.h', | |
101 ], | |
102 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
103 'msvs_disabled_warnings': [ 4267 ], | |
104 'conditions': [ | |
105 ['use_default_render_theme==0', | |
106 { | |
107 'sources/': [ | |
108 ['exclude', 'webthemeengine_impl_default.cc'], | |
109 ['exclude', 'webthemeengine_impl_default.h'], | |
110 ], | |
111 } | |
112 ], | |
113 ['OS=="mac"', | |
114 { | |
115 'link_settings': { | |
116 'libraries': [ | |
117 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | |
118 ], | |
119 }, | |
120 } | |
121 ], | |
122 ['OS=="android"', | |
123 { | |
124 'dependencies': [ | |
125 'overscroller_jni_headers', | |
126 ], | |
127 } | |
128 ], | |
129 ], | |
130 }, | |
131 ], | |
132 } | |
OLD | NEW |