OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'skia', | 8 'target_name': 'skia', |
9 'type': '<(component)', | 9 'type': '<(component)', |
10 'variables': { | 10 'variables': { |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 'ext/bitmap_platform_device_win.cc', | 163 'ext/bitmap_platform_device_win.cc', |
164 'ext/bitmap_platform_device_win.h', | 164 'ext/bitmap_platform_device_win.h', |
165 'ext/convolver.cc', | 165 'ext/convolver.cc', |
166 'ext/convolver.h', | 166 'ext/convolver.h', |
167 'ext/google_logging.cc', | 167 'ext/google_logging.cc', |
168 'ext/image_operations.cc', | 168 'ext/image_operations.cc', |
169 'ext/image_operations.h', | 169 'ext/image_operations.h', |
170 'ext/SkThread_chrome.cc', | 170 'ext/SkThread_chrome.cc', |
171 'ext/platform_canvas.cc', | 171 'ext/platform_canvas.cc', |
172 'ext/platform_canvas.h', | 172 'ext/platform_canvas.h', |
173 'ext/platform_canvas_linux.cc', | |
174 'ext/platform_canvas_mac.cc', | |
175 'ext/platform_canvas_skia.cc', | |
176 'ext/platform_canvas_win.cc', | |
177 'ext/platform_device.cc', | 173 'ext/platform_device.cc', |
178 'ext/platform_device.h', | 174 'ext/platform_device.h', |
179 'ext/platform_device_linux.cc', | 175 'ext/platform_device_linux.cc', |
180 'ext/platform_device_mac.cc', | 176 'ext/platform_device_mac.cc', |
181 'ext/platform_device_win.cc', | 177 'ext/platform_device_win.cc', |
182 'ext/SkMemory_new_handler.cpp', | 178 'ext/SkMemory_new_handler.cpp', |
183 'ext/skia_sandbox_support_win.h', | 179 'ext/skia_sandbox_support_win.h', |
184 'ext/skia_sandbox_support_win.cc', | 180 'ext/skia_sandbox_support_win.cc', |
185 'ext/skia_trace_shim.h', | 181 'ext/skia_trace_shim.h', |
186 'ext/skia_utils_ios.mm', | 182 'ext/skia_utils_ios.mm', |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 # 'SK_USE_COLOR_LUMINANCE', | 367 # 'SK_USE_COLOR_LUMINANCE', |
372 ], | 368 ], |
373 }], | 369 }], |
374 [ 'use_glib == 0 and OS != "android"', { | 370 [ 'use_glib == 0 and OS != "android"', { |
375 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], | 371 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], |
376 'sources!': [ | 372 'sources!': [ |
377 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | 373 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', |
378 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', | 374 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', |
379 ], | 375 ], |
380 }], | 376 }], |
381 [ 'use_aura == 1 and use_canvas_skia == 1', { | |
382 'sources/': [ | |
383 ['exclude', 'ext/platform_canvas_mac\\.cc$'], | |
384 ['exclude', 'ext/platform_canvas_linux\\.cc$'], | |
385 ['exclude', 'ext/platform_canvas_win\\.cc$'], | |
386 ], | |
387 }, { # use_aura == 0 and use_canvas_skia == 1 | |
388 'sources/': [ ['exclude', 'ext/platform_canvas_skia\\.cc$'] ], | |
389 }], | |
390 [ 'toolkit_uses_gtk == 1', { | 377 [ 'toolkit_uses_gtk == 1', { |
391 'dependencies': [ | 378 'dependencies': [ |
392 '../build/linux/system.gyp:gdk', | 379 '../build/linux/system.gyp:gdk', |
393 ], | 380 ], |
394 }, { # toolkit_uses_gtk == 0 | 381 }, { # toolkit_uses_gtk == 0 |
395 'sources/': [ ['exclude', '_gtk\\.(cc|cpp)$'] ], | 382 'sources/': [ ['exclude', '_gtk\\.(cc|cpp)$'] ], |
396 }], | 383 }], |
397 [ 'OS == "android"', { | 384 [ 'OS == "android"', { |
398 'sources/': [ | 385 'sources/': [ |
399 ['exclude', '_linux\\.(cc|cpp)$'], | 386 ['exclude', '_linux\\.(cc|cpp)$'], |
(...skipping 21 matching lines...) Expand all Loading... |
421 '../third_party/sfntly/sfntly.gyp:sfntly', | 408 '../third_party/sfntly/sfntly.gyp:sfntly', |
422 ], | 409 ], |
423 # This exports a hard dependency because it needs to run its | 410 # This exports a hard dependency because it needs to run its |
424 # symlink action in order to expose the skia header files. | 411 # symlink action in order to expose the skia header files. |
425 'hard_dependency': 1, | 412 'hard_dependency': 1, |
426 'include_dirs': [ | 413 'include_dirs': [ |
427 '../third_party/expat/files/lib', | 414 '../third_party/expat/files/lib', |
428 ], | 415 ], |
429 'sources/': [ | 416 'sources/': [ |
430 ['include', 'ext/platform_device_linux\\.cc$'], | 417 ['include', 'ext/platform_device_linux\\.cc$'], |
431 ['include', 'ext/platform_canvas_linux\\.cc$'], | |
432 ['exclude', '../third_party/skia/src/pdf/'], | 418 ['exclude', '../third_party/skia/src/pdf/'], |
433 ], | 419 ], |
434 'sources!': [ | 420 'sources!': [ |
435 'ext/vector_platform_device_skia.cc', | 421 'ext/vector_platform_device_skia.cc', |
436 ], | 422 ], |
437 'export_dependent_settings': [ | 423 'export_dependent_settings': [ |
438 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', | 424 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', |
439 ], | 425 ], |
440 }], | 426 }], |
441 [ '_toolset == "target" and android_build_type == 0', { | 427 [ '_toolset == "target" and android_build_type == 0', { |
442 'defines': [ | 428 'defines': [ |
443 'HAVE_ENDIAN_H', | 429 'HAVE_ENDIAN_H', |
444 ], | 430 ], |
445 }], | 431 }], |
446 [ '_toolset=="host" and host_os=="linux"', { | 432 [ '_toolset=="host" and host_os=="linux"', { |
447 'sources': [ | 433 'sources': [ |
448 'ext/platform_device_linux.cc', | 434 'ext/platform_device_linux.cc', |
449 'ext/platform_canvas_linux.cc', | |
450 ], | 435 ], |
451 }], | 436 }], |
452 ], | 437 ], |
453 }], | 438 }], |
454 [ 'OS == "ios"', { | 439 [ 'OS == "ios"', { |
455 'defines': [ | 440 'defines': [ |
456 'SK_BUILD_FOR_IOS', | 441 'SK_BUILD_FOR_IOS', |
457 'SK_USE_MAC_CORE_TEXT', | 442 'SK_USE_MAC_CORE_TEXT', |
458 ], | 443 ], |
459 'include_dirs': [ | 444 'include_dirs': [ |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 'sources': [ | 829 'sources': [ |
845 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', | 830 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', |
846 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 831 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
847 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', | 832 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
848 ], | 833 ], |
849 }, | 834 }, |
850 ], | 835 ], |
851 }], | 836 }], |
852 ], | 837 ], |
853 } | 838 } |
OLD | NEW |