| Index: Source/web/BUILD.gn
|
| diff --git a/Source/web/BUILD.gn b/Source/web/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..50ea0f6ba101ad4b868977030f96a2183e1133ad
|
| --- /dev/null
|
| +++ b/Source/web/BUILD.gn
|
| @@ -0,0 +1,71 @@
|
| +# 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")
|
| +
|
| +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/platform",
|
| +#"//third_party/WebKit/Source/modules",
|
| + "//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"
|
| +}
|
|
|