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