Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: Source/web/web.gyp

Issue 364323002: Embed CSS/JS under Source/web/resources/ as GRD resources (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-treatnullas-emptystring
Patch Set: add missing include Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/DateTimeChooserImpl.cpp ('k') | public/blink_resources.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Copyright (C) 2011 Google Inc. All rights reserved. 2 # Copyright (C) 2011 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 '../../', 197 '../../',
198 ], 198 ],
199 }, 199 },
200 'target_conditions': [ 200 'target_conditions': [
201 ['OS=="android"', { 201 ['OS=="android"', {
202 'sources/': [ 202 'sources/': [
203 ['include', '^linux/WebFontRendering\\.cpp$'], 203 ['include', '^linux/WebFontRendering\\.cpp$'],
204 ], 204 ],
205 }], 205 }],
206 ], 206 ],
207 'actions': [
208 {
209 'action_name': 'PickerCommon',
210 'process_outputs_as_sources': 1,
211 'variables': {
212 'resources': [
213 'resources/pickerCommon.css',
214 'resources/pickerCommon.js',
215 ],
216 },
217 'inputs': [
218 '../build/scripts/make-file-arrays.py',
219 '<@(resources)',
220 ],
221 'outputs': [
222 '<(blink_web_output_dir)/PickerCommon.h',
223 '<(blink_web_output_dir)/PickerCommon.cpp',
224 ],
225 'action': [
226 'python',
227 '../build/scripts/make-file-arrays.py',
228 '--out-h=<(blink_web_output_dir)/PickerCommon.h',
229 '--out-cpp=<(blink_web_output_dir)/PickerCommon.cpp',
230 '<@(resources)',
231 ],
232 },
233 {
234 'action_name': 'CalendarPicker',
235 'process_outputs_as_sources': 1,
236 'variables': {
237 'resources': [
238 'resources/calendarPicker.css',
239 'resources/calendarPicker.js',
240 'resources/pickerButton.css',
241 'resources/suggestionPicker.css',
242 'resources/suggestionPicker.js',
243 ],
244 },
245 'inputs': [
246 '../build/scripts/make-file-arrays.py',
247 '<@(resources)'
248 ],
249 'outputs': [
250 '<(blink_web_output_dir)/CalendarPicker.h',
251 '<(blink_web_output_dir)/CalendarPicker.cpp',
252 ],
253 'action': [
254 'python',
255 '../build/scripts/make-file-arrays.py',
256 '--out-h=<(blink_web_output_dir)/CalendarPicker.h',
257 '--out-cpp=<(blink_web_output_dir)/CalendarPicker.cpp',
258 '<@(resources)',
259 ],
260 },
261 {
262 'action_name': 'ColorSuggestionPicker',
263 'process_outputs_as_sources': 1,
264 'variables': {
265 'resources': [
266 'resources/colorSuggestionPicker.css',
267 'resources/colorSuggestionPicker.js',
268 ],
269 },
270 'inputs': [
271 '../build/scripts/make-file-arrays.py',
272 '<@(resources)',
273 ],
274 'outputs': [
275 '<(blink_web_output_dir)/ColorSuggestionPicker.h',
276 '<(blink_web_output_dir)/ColorSuggestionPicker.cpp',
277 ],
278 'action': [
279 'python',
280 '../build/scripts/make-file-arrays.py',
281 '--out-h=<(blink_web_output_dir)/ColorSuggestionPicker.h ',
282 '--out-cpp=<(blink_web_output_dir)/ColorSuggestionPicker .cpp',
283 '<@(resources)',
284 ],
285 },
286 ],
287 }, 207 },
288 { 208 {
289 'target_name': 'blink_web_test_support', 209 'target_name': 'blink_web_test_support',
290 'conditions': [ 210 'conditions': [
291 ['component=="shared_library"', { 211 ['component=="shared_library"', {
292 'type': 'none', 212 'type': 'none',
293 }, { 213 }, {
294 'type': 'static_library', 214 'type': 'static_library',
295 'dependencies': [ 215 'dependencies': [
296 '../config.gyp:config', 216 '../config.gyp:config',
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 ['clang==1', { 253 ['clang==1', {
334 'target_defaults': { 254 'target_defaults': {
335 'cflags': ['-Wglobal-constructors'], 255 'cflags': ['-Wglobal-constructors'],
336 'xcode_settings': { 256 'xcode_settings': {
337 'WARNING_CFLAGS': ['-Wglobal-constructors'], 257 'WARNING_CFLAGS': ['-Wglobal-constructors'],
338 }, 258 },
339 }, 259 },
340 }], 260 }],
341 ], # conditions 261 ], # conditions
342 } 262 }
OLDNEW
« no previous file with comments | « Source/web/DateTimeChooserImpl.cpp ('k') | public/blink_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698