OLD | NEW |
(Empty) | |
| 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 import("//build/config/ui.gni") |
| 6 import("//third_party/WebKit/Source/config.gni") |
| 7 import("//third_party/WebKit/Source/build/make_file_arrays.gni") |
| 8 |
| 9 web_gypi = exec_script( |
| 10 "//build/gypi_to_gn.py", |
| 11 [ rebase_path("web.gypi") ], |
| 12 "scope", |
| 13 [ "web.gypi" ]) |
| 14 |
| 15 component("web") { |
| 16 output_name = "blink_web" |
| 17 |
| 18 deps = [ |
| 19 ":calendar_picker", |
| 20 ":picker_common", |
| 21 ":color_suggestion_picker", |
| 22 "//third_party/WebKit/Source/core", |
| 23 "//third_party/WebKit/Source/platform", |
| 24 #"//third_party/WebKit/Source/modules", |
| 25 "//skia", |
| 26 "//third_party/icu", |
| 27 "//v8", |
| 28 "//third_party/angle:translator", |
| 29 ] |
| 30 |
| 31 include_dirs = [ |
| 32 "//third_party/skia/include/utils", |
| 33 ] |
| 34 |
| 35 configs -= [ "//build/config/compiler:chromium_code" ] |
| 36 configs += [ |
| 37 "//build/config/compiler:no_chromium_code", |
| 38 "//third_party/WebKit/Source:config", |
| 39 "//third_party/WebKit/Source:inside_blink", |
| 40 "//third_party/WebKit/Source:non_test_config", |
| 41 ] |
| 42 |
| 43 sources = web_gypi.web_files |
| 44 } |
| 45 |
| 46 make_file_arrays("picker_common") { |
| 47 resources = [ |
| 48 "resources/pickerCommon.css", |
| 49 "resources/pickerCommon.js", |
| 50 ] |
| 51 filename = "PickerCommon" |
| 52 } |
| 53 |
| 54 make_file_arrays("color_suggestion_picker") { |
| 55 resources = [ |
| 56 "resources/colorSuggestionPicker.css", |
| 57 "resources/colorSuggestionPicker.js", |
| 58 ] |
| 59 filename = "ColorSuggestionPicker" |
| 60 } |
| 61 |
| 62 make_file_arrays("calendar_picker") { |
| 63 resources = [ |
| 64 "resources/calendarPicker.css", |
| 65 "resources/calendarPicker.js", |
| 66 "resources/pickerButton.css", |
| 67 "resources/suggestionPicker.css", |
| 68 "resources/suggestionPicker.js", |
| 69 ] |
| 70 filename = "CalendarPicker" |
| 71 } |
OLD | NEW |