Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / build / toolchain / win / BUILD.gn
index 3e8cd35..a9fab7c 100644 (file)
@@ -71,7 +71,9 @@ template("msvc_toolchain") {
     }
 
     tool("asm") {
-      command = "$python_path gyp-win-tool asm-wrapper $env ml.exe {{defines}} {{include_dirs}} /c /Fo {{output}} {{source}}"
+      # TODO(brettw): "/safeseh" assembler argument is hardcoded here. Extract
+      # assembler flags to a variable like cflags. crbug.com/418613
+      command = "$python_path gyp-win-tool asm-wrapper $env ml.exe {{defines}} {{include_dirs}} /safeseh /c /Fo {{output}} {{source}}"
       description = "ASM {{output}}"
       outputs = [
         "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.obj",