mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Fix documentation errors
This commit is contained in:
		| @@ -62,8 +62,6 @@ if platform == 'windows': | |||||||
|   # o Used by tools/msvs_env.bat to configure the MSVS tools environment. |   # o Used by tools/msvs_env.bat to configure the MSVS tools environment. | ||||||
|   #   Should be set to "none" because VC variables for CEF will be set via |   #   Should be set to "none" because VC variables for CEF will be set via | ||||||
|   #   INCLUDE/LIB/PATH. |   #   INCLUDE/LIB/PATH. | ||||||
|   #   TODO(cef): Make INCLUDE/LIB/PATH values optional when |  | ||||||
|   #   "%VS_ROOT%\VC\vcvarsall.bat" exists (use those values instead). |  | ||||||
|   # |   # | ||||||
|   #   set CEF_VCVARS=none |   #   set CEF_VCVARS=none | ||||||
|   # |   # | ||||||
| @@ -76,9 +74,9 @@ if platform == 'windows': | |||||||
|   #   writing environment.* files that specify INCLUDE/LIB/PATH values. If |   #   writing environment.* files that specify INCLUDE/LIB/PATH values. If | ||||||
|   #   "%GYP_MSVS_OVERRIDE_PATH%\VC\vcvarsall.bat" exists then environment |   #   "%GYP_MSVS_OVERRIDE_PATH%\VC\vcvarsall.bat" exists then environment | ||||||
|   #   variables will be derived from there and the specified INCLUDE/LIB/PATH |   #   variables will be derived from there and the specified INCLUDE/LIB/PATH | ||||||
|   #   values, if any, will be ignored by Chromium. If this file does not exist |   #   values will be ignored by Chromium. If this file does not exist then the | ||||||
|   #   then the INCLUDE/LIB/PATH values are also required by Chromium. |   #   INCLUDE/LIB/PATH values are also required by Chromium. | ||||||
|   #   TODO(cef): Rename to VS_PATH and VS_VERSION after Chromium cleans up GYP |   #   TODO(cef): Rename to VS_ROOT and VS_VERSION after Chromium cleans up GYP | ||||||
|   #   dependencies. |   #   dependencies. | ||||||
|   # |   # | ||||||
|   #   set GYP_MSVS_OVERRIDE_PATH=<VS root directory> |   #   set GYP_MSVS_OVERRIDE_PATH=<VS root directory> | ||||||
| @@ -90,6 +88,9 @@ if platform == 'windows': | |||||||
|   #   set SDK_ROOT=<Platform SDK root directory> |   #   set SDK_ROOT=<Platform SDK root directory> | ||||||
|   # |   # | ||||||
|   # o Used by various scripts as described above. |   # o Used by various scripts as described above. | ||||||
|  |   #   TODO(cef): Make these values optional when | ||||||
|  |   #   "%GYP_MSVS_OVERRIDE_PATH%\VC\vcvarsall.bat" exists (use values from that | ||||||
|  |   #   script instead). | ||||||
|   # |   # | ||||||
|   #   set INCLUDE=<VS include paths> |   #   set INCLUDE=<VS include paths> | ||||||
|   #   set LIB=<VS library paths> |   #   set LIB=<VS library paths> | ||||||
|   | |||||||
| @@ -261,9 +261,9 @@ def ValidateArgs(args): | |||||||
|         and 'PATH' in os.environ, \ |         and 'PATH' in os.environ, \ | ||||||
|         "visual_studio_path requires INCLUDE, LIB and PATH env variables" |         "visual_studio_path requires INCLUDE, LIB and PATH env variables" | ||||||
|  |  | ||||||
|       # If "%VS_ROOT%\VC\vcvarsall.bat" exists then environment variables will |       # If "%GYP_MSVS_OVERRIDE_PATH%\VC\vcvarsall.bat" exists then environment | ||||||
|       # be derived from there and the specified INCLUDE/LIB/PATH values, if any, |       # variables will be derived from there and the specified INCLUDE/LIB/PATH | ||||||
|       # will be ignored by Chromium. If this file does not exist then the |       # values will be ignored by Chromium. If this file does not exist then the | ||||||
|       # INCLUDE/LIB/PATH values are also required by Chromium. |       # INCLUDE/LIB/PATH values are also required by Chromium. | ||||||
|       vcvars_path = os.path.join(msvs_path, 'VC', 'vcvarsall.bat') |       vcvars_path = os.path.join(msvs_path, 'VC', 'vcvarsall.bat') | ||||||
|       if (os.path.exists(vcvars_path)): |       if (os.path.exists(vcvars_path)): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user