| Index: build/gyp_chromium
|
| diff --git a/build/gyp_chromium b/build/gyp_chromium
|
| index 4eafdd541ed71cb9cd1caa434105d81bf3daa6a8..b3db688f695a071927df0ed2e2b3c9cdd9a8d2f7 100755
|
| --- a/build/gyp_chromium
|
| +++ b/build/gyp_chromium
|
| @@ -131,6 +131,7 @@ def GetArgsStringForGN(supplemental_files):
|
| # These tuples of (key, value, gn_arg_string) use the gn_arg_string for
|
| # gn when the key is set to the given value in the GYP arguments.
|
| remap_cases = [
|
| + ('android_webview_build', '1', 'is_android_webview_build=true'),
|
| ('branding', 'Chrome', 'is_chrome_branded=true'),
|
| ('buildtype', 'Official', 'is_official_build=true'),
|
| ('component', 'shared_library', 'is_component_build=true'),
|
| @@ -153,11 +154,17 @@ def GetArgsStringForGN(supplemental_files):
|
| if i[0] in vars_dict and vars_dict[i[0]] == i[1]:
|
| gn_args += ' ' + i[2]
|
|
|
| - # These string arguments get passed directly.
|
| - for v in ['windows_sdk_path']:
|
| + # These string arguments get passed directly as GN strings.
|
| + for v in ['android_src', 'windows_sdk_path']:
|
| if v in vars_dict:
|
| gn_args += ' ' + v + '=' + EscapeStringForGN(vars_dict[v])
|
|
|
| + # These arguments get passed directly as integers (avoiding the quoting and
|
| + # escaping of the string ones above).
|
| + for v in ['arm_version']:
|
| + if v in vars_dict:
|
| + gn_args += ' %s=%s' % (v, vars_dict[v])
|
| +
|
| # Set the GYP flag so BUILD files know they're being invoked in GYP mode.
|
| gn_args += ' is_gyp=true'
|
| return gn_args.strip()
|
|
|