OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 component("child") { | 5 component("child") { |
6 output_name = "webkit_child" | 6 output_name = "webkit_child" |
7 sources = [ | 7 sources = [ |
8 "resource_loader_bridge.cc", | 8 "resource_loader_bridge.cc", |
9 "resource_loader_bridge.h", | 9 "resource_loader_bridge.h", |
10 "webkit_child_export.h", | 10 "webkit_child_export.h", |
11 ] | 11 ] |
12 | 12 |
13 defines = [ "WEBKIT_CHILD_IMPLEMENTATION" ] | 13 defines = [ "WEBKIT_CHILD_IMPLEMENTATION" ] |
14 include_dirs = [ | |
15 # For JNI generated header. | |
16 "$root_gen_dir/webkit", | |
17 ] | |
18 | |
19 configs += [ "//build/config/compiler:wexit_time_destructors" ] | |
20 if (is_win) { | |
21 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
22 cflags = [ "/wd4267" ] | |
23 } | |
24 | |
25 if (is_mac) { | |
26 libs = [ "QuartzCore.framework" ] | |
27 } | |
28 if (is_android) { | |
29 #deps += [ ":overscroller_jni_headers" ] TODO(GYP) | |
30 } | |
31 | 14 |
32 deps = [ | 15 deps = [ |
33 "//base", | 16 "//base", |
34 "//base:i18n", | |
35 "//base/third_party/dynamic_annotations", | |
36 "//net", | 17 "//net", |
37 "//skia", | |
38 "//third_party/WebKit/public:blink", | |
39 "//ui/gfx", | |
40 "//ui/gfx/geometry", | |
41 "//ui/native_theme", | |
42 "//url", | |
43 "//v8", | |
44 "//webkit/common", | |
45 ] | 18 ] |
46 } | 19 } |
47 | |
48 #TODO(GYP) | |
49 #'target_name': 'overscroller_jni_headers', | |
50 #'type': 'none', | |
51 #'variables': { | |
52 # 'jni_gen_package': 'webkit', | |
53 # 'input_java_class': 'android/widget/OverScroller.class', | |
54 #}, | |
55 #'includes': [ '../../build/jar_file_jni_generator.gypi' ], | |
56 | |
OLD | NEW |