blob: f2d66bface2bb8f70895761767eb18c5d9c7ccad [file] [log] [blame]
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/ui.gni")
import("//testing/test.gni")
import("//third_party/WebKit/Source/bindings/bindings.gni")
import("//third_party/WebKit/Source/config.gni")
import("//third_party/WebKit/Source/core/core.gni")
import("//third_party/WebKit/Source/modules/modules.gni")
visibility = [ "//third_party/WebKit/*" ]
component("controller") {
output_name = "blink_controller"
deps = [
"//skia",
"//third_party/WebKit/Source/core",
"//third_party/WebKit/Source/modules",
"//third_party/WebKit/Source/platform",
"//third_party/WebKit/Source/web",
"//v8",
]
configs += [
"//build/config/compiler:wexit_time_destructors",
"//third_party/WebKit/Source:config",
"//third_party/WebKit/Source:inside_blink",
"//third_party/WebKit/Source:non_test_config",
"//third_party/WebKit/Source/core:blink_core_pch",
]
defines = [ "BLINK_CONTROLLER_IMPLEMENTATION=1" ]
sources = [
"BlinkInitializer.cpp",
"ControllerExport.h",
]
if (is_mac) {
libs = [
"AppKit.framework",
"Foundation.framework",
]
}
if (remove_webcore_debug_symbols) {
configs -= [ "//build/config/compiler:default_symbols" ]
configs += remove_webcore_symbols_config
}
}