| OLD | NEW |
| 1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 EXECUTABLES=python${NACL_EXEEXT} | 5 EXECUTABLES=python${NACL_EXEEXT} |
| 6 | 6 |
| 7 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" | |
| 8 | |
| 9 # Currently this package only builds on linux. | 7 # Currently this package only builds on linux. |
| 10 # The build relies on certain host binaries and python's configure | 8 # The build relies on certain host binaries and python's configure |
| 11 # requires us to set --build= as well as --host=. | 9 # requires us to set --build= as well as --host=. |
| 12 | 10 |
| 13 HOST_BUILD_DIR=${WORK_DIR}/build_host | 11 HOST_BUILD_DIR=${WORK_DIR}/build_host |
| 14 export PATH=${HOST_BUILD_DIR}/inst/usr/local/bin:${PATH} | 12 export PATH=${HOST_BUILD_DIR}/inst/usr/local/bin:${PATH} |
| 15 | 13 |
| 16 SetOptFlags() { | 14 SetOptFlags() { |
| 17 # Python build system sets its own opt flags | 15 # Python build system sets its own opt flags |
| 18 return | 16 return |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 InstallNaClTerm ${assembly_dir} | 113 InstallNaClTerm ${assembly_dir} |
| 116 LogExecute cp ${START_DIR}/background.js ${assembly_dir} | 114 LogExecute cp ${START_DIR}/background.js ${assembly_dir} |
| 117 LogExecute cp ${START_DIR}/python.js ${assembly_dir} | 115 LogExecute cp ${START_DIR}/python.js ${assembly_dir} |
| 118 LogExecute cp ${START_DIR}/index.html ${assembly_dir} | 116 LogExecute cp ${START_DIR}/index.html ${assembly_dir} |
| 119 LogExecute cp ${START_DIR}/icon_16.png ${assembly_dir} | 117 LogExecute cp ${START_DIR}/icon_16.png ${assembly_dir} |
| 120 LogExecute cp ${START_DIR}/icon_48.png ${assembly_dir} | 118 LogExecute cp ${START_DIR}/icon_48.png ${assembly_dir} |
| 121 LogExecute cp ${START_DIR}/icon_128.png ${assembly_dir} | 119 LogExecute cp ${START_DIR}/icon_128.png ${assembly_dir} |
| 122 ChangeDir ${PUBLISH_DIR} | 120 ChangeDir ${PUBLISH_DIR} |
| 123 CreateWebStoreZip python3-${VERSION}.zip python3 | 121 CreateWebStoreZip python3-${VERSION}.zip python3 |
| 124 } | 122 } |
| OLD | NEW |