| 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 "multipart_response_delegate.cc", | 8 "multipart_response_delegate.cc", |
| 9 "multipart_response_delegate.h", | 9 "multipart_response_delegate.h", |
| 10 "resource_loader_bridge.cc", | 10 "resource_loader_bridge.cc", |
| 11 "resource_loader_bridge.h", | 11 "resource_loader_bridge.h", |
| 12 "webkit_child_export.h", | 12 "webkit_child_export.h", |
| 13 "weburlresponse_extradata_impl.cc", | 13 "weburlresponse_extradata_impl.cc", |
| 14 "weburlresponse_extradata_impl.h", | 14 "weburlresponse_extradata_impl.h", |
| 15 ] | 15 ] |
| 16 | 16 |
| 17 defines = [ "WEBKIT_CHILD_IMPLEMENTATION" ] | 17 defines = [ "WEBKIT_CHILD_IMPLEMENTATION" ] |
| 18 include_dirs = [ | 18 include_dirs = [ |
| 19 # For JNI generated header. | 19 # For JNI generated header. |
| 20 "$root_gen_dir/webkit", | 20 "$root_gen_dir/webkit", |
| 21 ] | 21 ] |
| 22 | 22 |
| 23 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 23 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 24 if (is_win) { | 24 if (is_win) { |
| 25 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 25 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 26 cflags += [ "/wd4267" ] | 26 cflags = [ "/wd4267" ] |
| 27 } | 27 } |
| 28 | 28 |
| 29 if (is_mac) { | 29 if (is_mac) { |
| 30 libs = [ "QuartzCore.framework" ] | 30 libs = [ "QuartzCore.framework" ] |
| 31 } | 31 } |
| 32 if (is_android) { | 32 if (is_android) { |
| 33 #deps += [ ":overscroller_jni_headers" ] TODO(GYP) | 33 #deps += [ ":overscroller_jni_headers" ] TODO(GYP) |
| 34 } | 34 } |
| 35 | 35 |
| 36 deps = [ | 36 deps = [ |
| (...skipping 14 matching lines...) Expand all Loading... |
| 51 | 51 |
| 52 #TODO(GYP) | 52 #TODO(GYP) |
| 53 #'target_name': 'overscroller_jni_headers', | 53 #'target_name': 'overscroller_jni_headers', |
| 54 #'type': 'none', | 54 #'type': 'none', |
| 55 #'variables': { | 55 #'variables': { |
| 56 # 'jni_gen_package': 'webkit', | 56 # 'jni_gen_package': 'webkit', |
| 57 # 'input_java_class': 'android/widget/OverScroller.class', | 57 # 'input_java_class': 'android/widget/OverScroller.class', |
| 58 #}, | 58 #}, |
| 59 #'includes': [ '../../build/jar_file_jni_generator.gypi' ], | 59 #'includes': [ '../../build/jar_file_jni_generator.gypi' ], |
| 60 | 60 |
| OLD | NEW |