SGXSDKCommandLauncher.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. ///////////////////////////////////////////////////////////////////////////
  2. // Copyright (c) 2018 Intel Corporation. //
  3. // //
  4. // All rights reserved. This program and the accompanying materials //
  5. // are made available under the terms of the Eclipse Public License v1.0 //
  6. // which accompanies this distribution, and is available at //
  7. // http://www.eclipse.org/legal/epl-v10.html //
  8. // //
  9. // Contributors: //
  10. // Intel Corporation - initial implementation and documentation //
  11. ///////////////////////////////////////////////////////////////////////////
  12. /**
  13. * This class follows the same solution provided in the NDK_PLUGIN for NDKCommandLauncher.
  14. */
  15. package com.intel.sgx.build;
  16. import org.eclipse.cdt.core.CommandLauncher;
  17. import org.eclipse.core.runtime.CoreException;
  18. import org.eclipse.core.runtime.IPath;
  19. import org.eclipse.core.runtime.IProgressMonitor;
  20. import org.eclipse.core.runtime.Path;
  21. import com.intel.sgx.SdkPathVariableProvider;
  22. /**
  23. * This launches the sgx-ndk-build.
  24. */
  25. public class SGXSDKCommandLauncher extends CommandLauncher {
  26. @Override
  27. public Process execute(IPath commandPath, String[] args, String[] env, IPath changeToDirectory,
  28. IProgressMonitor monitor)
  29. throws CoreException {
  30. return super.execute(commandPath, args, env, changeToDirectory, monitor);
  31. }
  32. }