| 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 import("//build/split_static_library.gni") | 5 import("//build/split_static_library.gni") |
| 6 import("//build/config/chromecast_build.gni") |
| 6 import("//third_party/WebKit/Source/bindings/bindings.gni") | 7 import("//third_party/WebKit/Source/bindings/bindings.gni") |
| 7 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") | 8 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") |
| 8 import("//third_party/WebKit/Source/bindings/modules/v8/v8.gni") | 9 import("//third_party/WebKit/Source/bindings/modules/v8/v8.gni") |
| 9 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 10 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
| 10 import("//third_party/WebKit/Source/modules/modules.gni") | 11 import("//third_party/WebKit/Source/modules/modules.gni") |
| 11 | 12 |
| 12 visibility = [ "//third_party/WebKit/Source/*" ] | 13 visibility = [ "//third_party/WebKit/Source/*" ] |
| 13 | 14 |
| 14 if (!is_component_build && is_win && is_official_build) { | 15 if (!is_component_build && is_win && is_official_build) { |
| 15 # This target as a static library (for non-component builds) is >2GB for | 16 # This target as a static library (for non-component builds) is >2GB for |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 configs += [ | 52 configs += [ |
| 52 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 53 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 53 "//build/config/compiler:no_size_t_to_int_warning", | 54 "//build/config/compiler:no_size_t_to_int_warning", |
| 54 "//third_party/WebKit/Source:config", | 55 "//third_party/WebKit/Source:config", |
| 55 "//third_party/WebKit/Source:non_test_config", | 56 "//third_party/WebKit/Source:non_test_config", |
| 56 "//third_party/WebKit/Source:inside_blink", | 57 "//third_party/WebKit/Source:inside_blink", |
| 57 ] | 58 ] |
| 58 | 59 |
| 59 defines = [ "BLINK_MODULES_IMPLEMENTATION=1" ] | 60 defines = [ "BLINK_MODULES_IMPLEMENTATION=1" ] |
| 60 | 61 |
| 62 if (is_chromecast) { |
| 63 defines += [ |
| 64 "BLINK_MSLOG=VLOG(2)", |
| 65 "BLINK_SBLOG=VLOG(2)", |
| 66 ] |
| 67 } |
| 68 |
| 61 deps = [ | 69 deps = [ |
| 62 ":make_modules_generated", | 70 ":make_modules_generated", |
| 63 "//components/webmessaging/public/interfaces:interfaces_blink", | 71 "//components/webmessaging/public/interfaces:interfaces_blink", |
| 64 "//device/battery:mojo_bindings_blink", | 72 "//device/battery:mojo_bindings_blink", |
| 65 "//device/nfc:mojo_bindings_blink", | 73 "//device/nfc:mojo_bindings_blink", |
| 66 "//device/usb/public/interfaces:interfaces_blink", | 74 "//device/usb/public/interfaces:interfaces_blink", |
| 67 "//device/vibration:mojo_bindings_blink", | 75 "//device/vibration:mojo_bindings_blink", |
| 68 "//device/vr:mojo_bindings_blink", | 76 "//device/vr:mojo_bindings_blink", |
| 69 "//media/mojo/interfaces:image_capture_blink", | 77 "//media/mojo/interfaces:image_capture_blink", |
| 70 "//third_party/WebKit/Source/core", | 78 "//third_party/WebKit/Source/core", |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 } | 130 } |
| 123 | 131 |
| 124 # GYP version: WebKit/Source/modules/modules_generated.gyp:make_modules_generate
d | 132 # GYP version: WebKit/Source/modules/modules_generated.gyp:make_modules_generate
d |
| 125 group("make_modules_generated") { | 133 group("make_modules_generated") { |
| 126 public_deps = [ | 134 public_deps = [ |
| 127 ":module_names", | 135 ":module_names", |
| 128 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", | 136 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", |
| 129 "//third_party/WebKit/Source/core:core_event_interfaces", | 137 "//third_party/WebKit/Source/core:core_event_interfaces", |
| 130 ] | 138 ] |
| 131 } | 139 } |
| OLD | NEW |