# Copyright 2014 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("//third_party/WebKit/Source/config.gni") import("//third_party/WebKit/Source/build/make_file_arrays.gni") visibility = "//third_party/WebKit/*" web_gypi = exec_script( "//build/gypi_to_gn.py", [ rebase_path("web.gypi") ], "scope", [ "web.gypi" ]) component("web") { output_name = "blink_web" deps = [ ":calendar_picker", ":picker_common", ":color_suggestion_picker", "//third_party/WebKit/Source/core", "//third_party/WebKit/Source/modules", "//third_party/WebKit/Source/platform", "//skia", "//third_party/icu", "//v8", "//third_party/angle:translator", ] include_dirs = [ "//third_party/skia/include/utils", ] configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code", "//third_party/WebKit/Source:config", "//third_party/WebKit/Source:inside_blink", "//third_party/WebKit/Source:non_test_config", ] sources = web_gypi.web_files } make_file_arrays("picker_common") { resources = [ "resources/pickerCommon.css", "resources/pickerCommon.js", ] filename = "PickerCommon" } make_file_arrays("color_suggestion_picker") { resources = [ "resources/colorSuggestionPicker.css", "resources/colorSuggestionPicker.js", ] filename = "ColorSuggestionPicker" } make_file_arrays("calendar_picker") { resources = [ "resources/calendarPicker.css", "resources/calendarPicker.js", "resources/pickerButton.css", "resources/suggestionPicker.css", "resources/suggestionPicker.js", ] filename = "CalendarPicker" }