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

Side by Side Diff: src/v8.gyp

Issue 1988023003: [gn] Port icu_use_data_file_flag in gn (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review Created 4 years, 7 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 | « build_overrides/v8.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 1585 matching lines...) Expand 10 before | Expand all | Expand 10 after
1596 }], 1596 }],
1597 ['v8_postmortem_support=="true"', { 1597 ['v8_postmortem_support=="true"', {
1598 'sources': [ 1598 'sources': [
1599 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', 1599 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
1600 ] 1600 ]
1601 }], 1601 }],
1602 ['v8_enable_i18n_support==1', { 1602 ['v8_enable_i18n_support==1', {
1603 'dependencies': [ 1603 'dependencies': [
1604 '<(icu_gyp_path):icui18n', 1604 '<(icu_gyp_path):icui18n',
1605 '<(icu_gyp_path):icuuc', 1605 '<(icu_gyp_path):icuuc',
1606 ] 1606 ],
1607 'conditions': [
1608 ['icu_use_data_file_flag==1', {
1609 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'],
1610 }, { # else icu_use_data_file_flag !=1
1611 'conditions': [
1612 ['OS=="win"', {
1613 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'],
1614 }, {
1615 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'],
1616 }],
1617 ],
1618 }],
1619 ],
1607 }, { # v8_enable_i18n_support==0 1620 }, { # v8_enable_i18n_support==0
1608 'sources!': [ 1621 'sources!': [
1609 'i18n.cc', 1622 'i18n.cc',
1610 'i18n.h', 1623 'i18n.h',
1611 ], 1624 ],
1612 }], 1625 }],
1613 ['OS=="win" and v8_enable_i18n_support==1', { 1626 ['OS=="win" and v8_enable_i18n_support==1', {
1614 'dependencies': [ 1627 'dependencies': [
1615 '<(icu_gyp_path):icudata', 1628 '<(icu_gyp_path):icudata',
1616 ], 1629 ],
1617 }], 1630 }],
1618 ['icu_use_data_file_flag==1', {
1619 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'],
1620 }, { # else icu_use_data_file_flag !=1
1621 'conditions': [
1622 ['OS=="win"', {
1623 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'],
1624 }, {
1625 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'],
1626 }],
1627 ],
1628 }],
1629 ], 1631 ],
1630 }, 1632 },
1631 { 1633 {
1632 'target_name': 'v8_libbase', 1634 'target_name': 'v8_libbase',
1633 'type': 'static_library', 1635 'type': 'static_library',
1634 'variables': { 1636 'variables': {
1635 'optimize': 'max', 1637 'optimize': 'max',
1636 }, 1638 },
1637 'include_dirs+': [ 1639 'include_dirs+': [
1638 '..', 1640 '..',
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
2240 }], 2242 }],
2241 ['want_separate_host_toolset==1', { 2243 ['want_separate_host_toolset==1', {
2242 'toolsets': ['host'], 2244 'toolsets': ['host'],
2243 }, { 2245 }, {
2244 'toolsets': ['target'], 2246 'toolsets': ['target'],
2245 }], 2247 }],
2246 ], 2248 ],
2247 }, 2249 },
2248 ], 2250 ],
2249 } 2251 }
OLDNEW
« no previous file with comments | « build_overrides/v8.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698