1 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 if (is_win) { 6 directxsdk_exists = 7 (exec_script("//build/dir_exists.py", 8 [ rebase_path("//third_party/directxsdk", root_build_dir) ], 9 "trim string") == "True") 10 } else { 11 directxsdk_exists = false 12 } 13