| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 # text_elider.h includes ICU headers. | 87 # text_elider.h includes ICU headers. |
| 88 'export_dependent_settings': [ | 88 'export_dependent_settings': [ |
| 89 '<(DEPTH)/skia/skia.gyp:skia', | 89 '<(DEPTH)/skia/skia.gyp:skia', |
| 90 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | 90 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
| 91 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 91 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| 92 ], | 92 ], |
| 93 'defines': [ | 93 'defines': [ |
| 94 'GFX_IMPLEMENTATION', | 94 'GFX_IMPLEMENTATION', |
| 95 ], | 95 ], |
| 96 'include_dirs': [ | 96 'include_dirs': [ |
| 97 '<(DEPTH)/third_party/icu/source/common', | 97 '<(DEPTH)/third_party/icu/source/common' |
| 98 ], | 98 ], |
| 99 'sources': [ | 99 'sources': [ |
| 100 'android/device_display_info.cc', | 100 'android/device_display_info.cc', |
| 101 'android/device_display_info.h', | 101 'android/device_display_info.h', |
| 102 'android/gfx_jni_registrar.cc', | 102 'android/gfx_jni_registrar.cc', |
| 103 'android/gfx_jni_registrar.h', | 103 'android/gfx_jni_registrar.h', |
| 104 'android/java_bitmap.cc', | 104 'android/java_bitmap.cc', |
| 105 'android/java_bitmap.h', | 105 'android/java_bitmap.h', |
| 106 'android/shared_device_display_info.cc', | 106 'android/shared_device_display_info.cc', |
| 107 'android/shared_device_display_info.h', | 107 'android/shared_device_display_info.h', |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 ['OS=="android" or OS=="ios"', { | 398 ['OS=="android" or OS=="ios"', { |
| 399 'sources!': [ | 399 'sources!': [ |
| 400 'harfbuzz_font_skia.cc', | 400 'harfbuzz_font_skia.cc', |
| 401 'harfbuzz_font_skia.h', | 401 'harfbuzz_font_skia.h', |
| 402 'render_text.cc', | 402 'render_text.cc', |
| 403 'render_text.h', | 403 'render_text.h', |
| 404 'render_text_harfbuzz.cc', | 404 'render_text_harfbuzz.cc', |
| 405 'render_text_harfbuzz.h', | 405 'render_text_harfbuzz.h', |
| 406 'text_utils_skia.cc', | 406 'text_utils_skia.cc', |
| 407 ], | 407 ], |
| 408 }, { # desktop platforms | |
| 409 'variables': { | |
| 410 'vector_icons_cc_file': '<(INTERMEDIATE_DIR)/ui/gfx/vector_icons.cc'
, | |
| 411 'vector_icons_public_h_file': '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/vec
tor_icons_public.h', | |
| 412 }, | |
| 413 'include_dirs': [ | |
| 414 '<(SHARED_INTERMEDIATE_DIR)>', | |
| 415 ], | |
| 416 'sources': [ | |
| 417 '<(vector_icons_cc_file)', | |
| 418 '<(vector_icons_public_h_file)', | |
| 419 | |
| 420 'paint_vector_icon.cc', | |
| 421 'paint_vector_icon.h', | |
| 422 'vector_icons.h', | |
| 423 ], | |
| 424 'actions': [ | |
| 425 { | |
| 426 # GN version: //ui/gfx:aggregate_vector_icons | |
| 427 'action_name': 'aggregate_vector_icons', | |
| 428 'inputs': [ | |
| 429 'vector_icons/', | |
| 430 ], | |
| 431 'outputs': [ | |
| 432 '<(vector_icons_cc_file)', | |
| 433 '<(vector_icons_public_h_file)', | |
| 434 ], | |
| 435 'action': [ 'python', | |
| 436 'vector_icons/aggregate_vector_icons.py', | |
| 437 '--working_directory=vector_icons/', | |
| 438 '--output_cc=<(vector_icons_cc_file)', | |
| 439 '--output_h=<(vector_icons_public_h_file)', | |
| 440 ], | |
| 441 'message': 'Aggregating vector resources.', | |
| 442 }, | |
| 443 ], | |
| 444 }], | 408 }], |
| 445 ['use_x11==1', { | 409 ['use_x11==1', { |
| 446 'dependencies': [ | 410 'dependencies': [ |
| 447 '../../build/linux/system.gyp:x11', | 411 '../../build/linux/system.gyp:x11', |
| 448 'x/gfx_x11.gyp:gfx_x11', | 412 'x/gfx_x11.gyp:gfx_x11', |
| 449 ], | 413 ], |
| 450 }], | 414 }], |
| 451 ['use_cairo==1', { | 415 ['use_cairo==1', { |
| 452 'dependencies': [ | 416 'dependencies': [ |
| 453 '<(DEPTH)/build/linux/system.gyp:pangocairo', | 417 '<(DEPTH)/build/linux/system.gyp:pangocairo', |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 ], | 489 ], |
| 526 'variables': { | 490 'variables': { |
| 527 'jni_gen_package': 'ui/gfx', | 491 'jni_gen_package': 'ui/gfx', |
| 528 }, | 492 }, |
| 529 'includes': [ '../../build/jni_generator.gypi' ], | 493 'includes': [ '../../build/jni_generator.gypi' ], |
| 530 }, | 494 }, |
| 531 ], | 495 ], |
| 532 }], | 496 }], |
| 533 ], | 497 ], |
| 534 } | 498 } |
| OLD | NEW |