diff options
author | podivilov@chromium.org <podivilov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-23 11:59:35 +0000 |
---|---|---|
committer | podivilov@chromium.org <podivilov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-23 11:59:35 +0000 |
commit | 407dfa63ec09c5110ad778386c7808b7b5d0cb4f (patch) | |
tree | 5bbfe925528be36192f7451b5d0ca1880a0eaf41 /build | |
parent | ec9d7c5ae2162d87bab37871ca0eb25ebe44ae6c (diff) | |
download | chromium_src-407dfa63ec09c5110ad778386c7808b7b5d0cb4f.zip chromium_src-407dfa63ec09c5110ad778386c7808b7b5d0cb4f.tar.gz chromium_src-407dfa63ec09c5110ad778386c7808b7b5d0cb4f.tar.bz2 |
Add --dart-flags and --disable-dart command line switches.
R=darin@chromium.org
Review URL: http://codereview.chromium.org/8905006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115707 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 078a6c1..8a14743 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -628,6 +628,9 @@ # untrusted toolchain. 'disable_nacl_untrusted%': 0, + # Disable Dart by default. + 'enable_dart%': 0, + 'conditions': [ # Used to disable Native Client at compile time, for platforms where it # isn't supported (ARM) @@ -1187,6 +1190,9 @@ 'ENABLE_WEB_INTENTS=1', ], }], + ['enable_dart==1', { + 'defines': ['WEBKIT_USING_DART=1'], + }], ], # conditions for 'target_defaults' 'target_conditions': [ ['enable_wexit_time_destructors==1', { |