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/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//third_party/WebKit/Source/bindings/bindings.gni") | 6 import("//third_party/WebKit/Source/bindings/bindings.gni") |
7 import("//third_party/WebKit/Source/build/make_file_arrays.gni") | |
8 import("//third_party/WebKit/Source/config.gni") | 7 import("//third_party/WebKit/Source/config.gni") |
9 import("//third_party/WebKit/Source/core/core.gni") | 8 import("//third_party/WebKit/Source/core/core.gni") |
10 import("//third_party/WebKit/Source/modules/modules.gni") | 9 import("//third_party/WebKit/Source/modules/modules.gni") |
11 import("//third_party/WebKit/Source/platform/platform.gni") | 10 import("//third_party/WebKit/Source/platform/platform.gni") |
12 | 11 |
13 visibility = "//third_party/WebKit/*" | 12 visibility = "//third_party/WebKit/*" |
14 web_gypi = exec_script( | 13 web_gypi = exec_script( |
15 "//build/gypi_to_gn.py", | 14 "//build/gypi_to_gn.py", |
16 [ rebase_path("web.gypi") ], | 15 [ rebase_path("web.gypi") ], |
17 "scope", | 16 "scope", |
18 [ "web.gypi" ]) | 17 [ "web.gypi" ]) |
19 | 18 |
20 | 19 |
21 component("web") { | 20 component("web") { |
22 output_name = "blink_web" | 21 output_name = "blink_web" |
23 | 22 |
24 deps = [ | 23 deps = [ |
25 ":calendar_picker", | |
26 ":picker_common", | |
27 ":color_suggestion_picker", | |
28 "//third_party/WebKit/Source/core", | 24 "//third_party/WebKit/Source/core", |
29 "//third_party/WebKit/Source/modules", | 25 "//third_party/WebKit/Source/modules", |
30 "//third_party/WebKit/Source/platform", | 26 "//third_party/WebKit/Source/platform", |
31 "//skia", | 27 "//skia", |
32 "//third_party/icu", | 28 "//third_party/icu", |
33 "//v8", | 29 "//v8", |
34 "//third_party/angle:translator", | 30 "//third_party/angle:translator", |
35 ] | 31 ] |
36 | 32 |
37 include_dirs = [ | 33 include_dirs = [ |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 configs += [ "//third_party/WebKit/Source:inside_blink" ] | 98 configs += [ "//third_party/WebKit/Source:inside_blink" ] |
103 | 99 |
104 sources += web_gypi.web_unittest_files | 100 sources += web_gypi.web_unittest_files |
105 sources += bindings_unittest_files | 101 sources += bindings_unittest_files |
106 sources += core_unittest_files | 102 sources += core_unittest_files |
107 sources += modules_unittest_files | 103 sources += modules_unittest_files |
108 sources += platform_web_unittest_files | 104 sources += platform_web_unittest_files |
109 } | 105 } |
110 } | 106 } |
111 } | 107 } |
112 | |
113 make_file_arrays("picker_common") { | |
114 resources = [ | |
115 "resources/pickerCommon.css", | |
116 "resources/pickerCommon.js", | |
117 ] | |
118 filename = "web/PickerCommon" | |
119 } | |
120 | |
121 make_file_arrays("color_suggestion_picker") { | |
122 resources = [ | |
123 "resources/colorSuggestionPicker.css", | |
124 "resources/colorSuggestionPicker.js", | |
125 ] | |
126 filename = "web/ColorSuggestionPicker" | |
127 } | |
128 | |
129 make_file_arrays("calendar_picker") { | |
130 resources = [ | |
131 "resources/calendarPicker.css", | |
132 "resources/calendarPicker.js", | |
133 "resources/pickerButton.css", | |
134 "resources/suggestionPicker.css", | |
135 "resources/suggestionPicker.js", | |
136 ] | |
137 filename = "web/CalendarPicker" | |
138 } | |
OLD | NEW |