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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
505 }], | 505 }], |
506 | 506 |
507 # Enable Skia UI text drawing incrementally on different platforms. | 507 # Enable Skia UI text drawing incrementally on different platforms. |
508 # http://crbug.com/105550 | 508 # http://crbug.com/105550 |
509 # | 509 # |
510 # On Aura, this allows per-tile painting to be used in the browser | 510 # On Aura, this allows per-tile painting to be used in the browser |
511 # compositor. | 511 # compositor. |
512 ['OS!="mac" and OS!="android"', { | 512 ['OS!="mac" and OS!="android"', { |
513 'use_canvas_skia%': 1, | 513 'use_canvas_skia%': 1, |
514 }], | 514 }], |
515 | |
516 ['OS=="android"', { | |
517 # Enable to use system libjpeg. | |
Hironori Bono
2012/07/21 06:07:00
nit: is it possible to add a comment to describe t
Steve Block
2012/07/23 12:41:09
Done.
| |
518 'use_system_libjpeg%': '<(android_build_type)', | |
519 }], | |
515 ], | 520 ], |
516 }, | 521 }, |
517 | 522 |
518 # Copy conditionally-set variables out one scope. | 523 # Copy conditionally-set variables out one scope. |
519 'branding%': '<(branding)', | 524 'branding%': '<(branding)', |
520 'buildtype%': '<(buildtype)', | 525 'buildtype%': '<(buildtype)', |
521 'target_arch%': '<(target_arch)', | 526 'target_arch%': '<(target_arch)', |
522 'host_arch%': '<(host_arch)', | 527 'host_arch%': '<(host_arch)', |
523 'library%': 'static_library', | 528 'library%': 'static_library', |
524 'toolkit_views%': '<(toolkit_views)', | 529 'toolkit_views%': '<(toolkit_views)', |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
585 'test_isolation_mode%': '<(test_isolation_mode)', | 590 'test_isolation_mode%': '<(test_isolation_mode)', |
586 'test_isolation_outdir%': '<(test_isolation_outdir)', | 591 'test_isolation_outdir%': '<(test_isolation_outdir)', |
587 'enable_automation%': '<(enable_automation)', | 592 'enable_automation%': '<(enable_automation)', |
588 'enable_printing%': '<(enable_printing)', | 593 'enable_printing%': '<(enable_printing)', |
589 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 594 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
590 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', | 595 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', |
591 'enable_task_manager%': '<(enable_task_manager)', | 596 'enable_task_manager%': '<(enable_task_manager)', |
592 'sas_dll_path%': '<(sas_dll_path)', | 597 'sas_dll_path%': '<(sas_dll_path)', |
593 'wix_path%': '<(wix_path)', | 598 'wix_path%': '<(wix_path)', |
594 'android_upstream_bringup%': '<(android_upstream_bringup)', | 599 'android_upstream_bringup%': '<(android_upstream_bringup)', |
600 'use_system_libjpeg%': '<(use_system_libjpeg)', | |
595 | 601 |
596 # Use system yasm instead of bundled one. | 602 # Use system yasm instead of bundled one. |
597 'use_system_yasm%': 0, | 603 'use_system_yasm%': 0, |
598 | 604 |
599 # Default to enabled PIE; this is important for ASLR but we may need to be | 605 # Default to enabled PIE; this is important for ASLR but we may need to be |
600 # able to turn it off for various reasons. | 606 # able to turn it off for various reasons. |
601 'linux_disable_pie%': 0, | 607 'linux_disable_pie%': 0, |
602 | 608 |
603 # The release channel that this build targets. This is used to restrict | 609 # The release channel that this build targets. This is used to restrict |
604 # channel-specific build options, like which installer packages to create. | 610 # channel-specific build options, like which installer packages to create. |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
968 # code. Java code stacktraces will be collected by GoogleFeedback when | 974 # code. Java code stacktraces will be collected by GoogleFeedback when |
969 # chrome is installed by either market or bazaar where the installer | 975 # chrome is installed by either market or bazaar where the installer |
970 # package is automatically set to AndroidFeedback. | 976 # package is automatically set to AndroidFeedback. |
971 ['buildtype=="Official"', { | 977 ['buildtype=="Official"', { |
972 'linux_breakpad%': 1, | 978 'linux_breakpad%': 1, |
973 }, { | 979 }, { |
974 'linux_breakpad%': 0, | 980 'linux_breakpad%': 0, |
975 }], | 981 }], |
976 ], | 982 ], |
977 | 983 |
978 # TODO(steveblock): Investigate using the system versions of sqlite and | 984 # TODO(steveblock): Investigate using the system version of sqlite. |
979 # libjpeg. | |
980 # Enable to use system sqlite. | 985 # Enable to use system sqlite. |
981 'use_system_sqlite%': 0, # '<(android_build_type)', | 986 'use_system_sqlite%': 0, # '<(android_build_type)', |
982 # Enable to use system libjpeg. | |
983 'use_system_libjpeg%': 0, # '<(android_build_type)', | |
984 # Enable to use the system expat. | 987 # Enable to use the system expat. |
985 'use_system_expat%': '<(android_build_type)', | 988 'use_system_expat%': '<(android_build_type)', |
986 # Enable to use the system ICU. | 989 # Enable to use the system ICU. |
987 'use_system_icu%': '<(android_build_type)', | 990 'use_system_icu%': '<(android_build_type)', |
988 # Enable to use the system stlport, otherwise statically | 991 # Enable to use the system stlport, otherwise statically |
989 # link the NDK one? | 992 # link the NDK one? |
990 'use_system_stlport%': '<(android_build_type)', | 993 'use_system_stlport%': '<(android_build_type)', |
991 # Copy it out one scope. | 994 # Copy it out one scope. |
992 'android_build_type%': '<(android_build_type)', | 995 'android_build_type%': '<(android_build_type)', |
993 }], # OS=="android" | 996 }], # OS=="android" |
(...skipping 2315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3309 # settings in target dicts. SYMROOT is a special case, because many other | 3312 # settings in target dicts. SYMROOT is a special case, because many other |
3310 # Xcode variables depend on it, including variables such as | 3313 # Xcode variables depend on it, including variables such as |
3311 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3314 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3312 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3315 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3313 # files to appear (when present) in the UI as actual files and not red | 3316 # files to appear (when present) in the UI as actual files and not red |
3314 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3317 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3315 # and therefore SYMROOT, needs to be set at the project level. | 3318 # and therefore SYMROOT, needs to be set at the project level. |
3316 'SYMROOT': '<(DEPTH)/xcodebuild', | 3319 'SYMROOT': '<(DEPTH)/xcodebuild', |
3317 }, | 3320 }, |
3318 } | 3321 } |
OLD | NEW |