Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: ports/OpenCV/build.sh

Issue 76153002: OpenCV 2.4.7 porting to PNaCl (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ports/OpenCV/build.sh
diff --git a/ports/box2d/build.sh b/ports/OpenCV/build.sh
similarity index 58%
copy from ports/box2d/build.sh
copy to ports/OpenCV/build.sh
index dba2a32c3b85f214cbab990efc186c8ad36c8f06..8f1bee4ba3347fe2bfb190bfc36cd39c1a75c1fa 100755
--- a/ports/box2d/build.sh
+++ b/ports/OpenCV/build.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright (c) 2011 The Native Client Authors. All rights reserved.
+# Copyright 2013 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -22,12 +22,24 @@ ConfigureStep() {
cd ${NACL_BUILD_SUBDIR}
echo "Directory: $(pwd)"
- CC="${NACLCC}" CXX="${NACLCXX}" cmake .. -DBOX2D_BUILD_EXAMPLES=OFF \
+ CC="${NACLCC}" CXX="${NACLCXX}" cmake ..\
-DCMAKE_TOOLCHAIN_FILE=../XCompile-nacl.txt \
-DNACLAR=${NACLAR} \
+ -DNACLLD=${NACLLD} \
-DNACL_CROSS_PREFIX=${NACL_CROSS_PREFIX} \
-DNACL_SDK_ROOT=${NACL_SDK_ROOT} \
- -DCMAKE_INSTALL_PREFIX=${NACLPORTS_PREFIX}
+ -DCMAKE_INSTALL_PREFIX=${NACLPORTS_PREFIX} \
+ -DCMAKE_BUILD_TYPE=RELEASE \
+ -DBUILD_SHARED_LIBS=OFF \
+ -DWITH_FFMPEG=OFF \
+ -DWITH_OPENEXR=OFF \
+ -DWITH_CUDA=OFF \
+ -DWITH_JASPER=OFF \
+ -DWITH_JPEG=OFF \
+ -DWITH_OPENCL=OFF \
+ -DBUILD_opencv_apps=OFF \
+ -DBUILD_TESTS=OFF \
+ -DBUILD_PERF_TESTS=OFF
}
PackageInstall

Powered by Google App Engine
This is Rietveld 408576698