Граф коммитов

29 Коммитов

Автор SHA1 Сообщение Дата
Raul Tambre e625c0fa04 Improve Python 3 support in build scripts
The changes are to allow build files to be generated using Python 3 on Windows.

The scripts still work with Python 2.
There are no intended behaviour changes.

Bug: 941669
Change-Id: I52c912c624660c7a46c05f8f36871744abd7b8d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1521487
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Raul Tambre <raul@tambre.ee>
Cr-Original-Commit-Position: refs/heads/master@{#641870}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4197d3af6e42aa72076d6051153a644f3df62dd5
2019-03-19 15:04:20 +00:00
Nico Weber 01d83ecc66 Let download_nacl_toolchains.py no longer check GYP_DEFINES.
We no longer use gyp, and this confuses people, see thread
"[chromium-dev] how to resolve this problems", the reply from Nov 24 2018.

Setting checkout_nacl to false in .gclient still stops running this hook.
OS=android in GYP_DEFINES used to skip this step too; this is no longer the
case.

Bug: none
Change-Id: Ic59c21150dff04580cf76c141a43713df58eb555
Reviewed-on: https://chromium-review.googlesource.com/c/1350200
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#610939}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 208bb982f7b3994b8b3cea026d8e2ec693b50e0a
2018-11-26 20:55:42 +00:00
John Budorick 82868f06ec Propagate exit code in download_nacl_toolchains.
Bug: 787002
Change-Id: I4b7bd26638bb5dffccb52e6d2a06b8cc92ac6f41
Reviewed-on: https://chromium-review.googlesource.com/779626
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: John Budorick <jbudorick@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#517902}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b664d9d711b241b4f595189db1f464d2ea8bb59e
2017-11-20 20:18:55 +00:00
jam 611b46ab92 Early exit in download_nacl_toolchains on Android.
BUG=527217
R=dyen@chromium.org

Review URL: https://codereview.chromium.org/1323873004

Cr-Original-Commit-Position: refs/heads/master@{#347154}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bb439110e486f0fed45e148c92b555938d48a92b
2015-09-03 14:58:42 +00:00
ncbray 6c020a4baf Increase flexibility for NaCl toolchain download script.
Passing arguments in from the DEPS file makes it easier to configure the
download. The main intent of this change is to make it easier to extract
the NaCl toolchain immedately after downloading it in the Mojo repo.
Currently Chromium does not need to extract the toolchain immedately, and
this would require ~920MB of disk space, so this refactoring makes
extraction possible but optional. Eventually Chromium will extract the
toolchain immedately, but this will require a deeper rework of the GYP
build.

BUG=https://code.google.com/p/chromium/issues/detail?id=401761

Review URL: https://codereview.chromium.org/811593005

Cr-Original-Commit-Position: refs/heads/master@{#309963}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 474ab324d17d2cd198d3fb067cabc10a775a8df7
2015-01-05 22:05:10 +00:00
dyen 814a415af9 Use the new nacl_core_sdk mode for package_version within Chromium.
A new "nacl_core_sdk" mode has been introduced for NaCl toolchain
packages which allows the NaCl tree to specify what external facing
users of the toolchain should download. Currently it only filters out
the arm_trusted package which is not useful for Chromium. Eventually we
will also use this to filter out a set of "raw" toolchains which do not
contain the core_sdk.

R=bradnelson@chromium.org, dschuff@chromium.org
BUG=None
TEST=trybots

Review URL: https://codereview.chromium.org/735163002

Cr-Original-Commit-Position: refs/heads/master@{#305102}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 24988063e1b1233b450eb3756dd40b09780872b5
2014-11-20 23:03:33 +00:00
dyen@chromium.org d069dc88eb Chromium no longer needs to extract toolchains during runhooks.
R=bradnelson@chromium.org
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3839

Review URL: https://codereview.chromium.org/266353011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270142 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-13 17:50:06 +00:00
dyen@chromium.org 0405715063 Chromium NaCl scripts now uses package_version to extract.
Updates NaCl revision from 13106 -> 13115

This CL reverts revision 266284.

Now that we have split up the toolchain into multiple tars, we should
use the package versioning script to manage which tars to extract.
Unfortunately, currently the SDK uses different directory names compared
to what the NaCl toolchain directories normally use, so we also must map
and move the toolchain directories to the SDK ones.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3839

Review URL: https://codereview.chromium.org/261773002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@267711 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-02 01:04:00 +00:00
tonyg@chromium.org ab20c0c000 Revert of NaCl: Update revision in DEPS, r13018 -> r13078. (https://codereview.chromium.org/249153003/)
Reason for revert:
Breaks official build on chromium.perf waterfall.

FAILED: cd ../../native_client/src/shared/gio; export BUILT_PRODUCTS_DIR=/Volumes/data/b/build/slave/chromium-rel-mac-builder/build/src/out/Release; export CONFIGURATION=Release; export PRODUCT_NAME=gio_lib; export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk; export SRCROOT=/Volumes/data/b/build/slave/chromium-rel-mac-builder/build/src/out/Release/../../native_client/src/shared/gio; export SOURCE_ROOT="${SRCROOT}"; export TARGET_BUILD_DIR=/Volumes/data/b/build/slave/chromium-rel-mac-builder/build/src/out/Release; export TEMP_DIR="${TMPDIR}";python ../../../../native_client/build/build_nexe.py -t ../../../../out/Release/gen/sdk/ --arch x86-32 --build glibc_nso --root ../../../.. --name ../../../../out/Release/gen/tc_glibc/lib32/libgio.so --objdir ../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-32-so/gio_lib "--include-dirs=../../../../out/Release/gen/tc_glibc/include ../../../.. ../../../src/third_party ../../../.." "--compile_flags=-m32 -fPIC -fomit-frame-pointer -fasynchronous-unwind-tables  -O2 -g -Wall -fdiagnostics-show-option -Werror " --gomadir "" "--defines=__linux__ \"__STDC_LIMIT_MACROS=1\" \"__STDC_FORMAT_MACROS=1\" \"_GNU_SOURCE=1\" \"_BSD_SOURCE=1\" \"_POSIX_C_SOURCE=199506\" \"_XOPEN_SOURCE=600\" \"DYNAMIC_ANNOTATIONS_ENABLED=1\" \"DYNAMIC_ANNOTATIONS_PREFIX=NACL_\" \"NACL_BUILD_ARCH=x86\" V8_DEPRECATION_WARNINGS BLINK_SCALE_FILTERS_AT_RECORD_TIME \"NACL_LINUX=0\" \"NACL_ANDROID=0\" \"NACL_OSX=1\" \"NACL_WINDOWS=0\" GOOGLE_CHROME_BUILD ENABLE_RLZ \"USE_LIBJPEG_TURBO=1\" ENABLE_ONE_CLICK_SIGNIN \"ENABLE_REMOTING=1\" \"ENABLE_WEBRTC=1\" USE_PROPRIETARY_CODECS ENABLE_PEPPER_CDMS ENABLE_CONFIGURATION_POLICY ENABLE_INPUT_SPEECH ENABLE_NOTIFICATIONS \"ENABLE_HIDPI=1\" DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE \"ENABLE_EGLIMAGE=1\" \"ENABLE_TASK_MANAGER=1\" \"ENABLE_EXTENSIONS=1\" \"ENABLE_PLUGIN_INSTALLATION=1\" \"ENABLE_PLUGINS=1\" \"ENABLE_SESSION_SERVICE=1\" \"ENABLE_THEMES=1\" \"ENABLE_AUTOFILL_DIALOG=1\" \"ENABLE_BACKGROUND=1\" \"ENABLE_GOOGLE_NOW=1\" \"CLD_VERSION=2\" \"ENABLE_FULL_PRINTING=1\" \"ENABLE_PRINTING=1\" \"ENABLE_SPELLCHECK=1\" \"ENABLE_CAPTIVE_PORTAL_DETECTION=1\" \"ENABLE_APP_LIST=1\" \"ENABLE_SETTINGS_APP=1\" \"ENABLE_MANAGED_USERS=1\" \"ENABLE_SERVICE_DISCOVERY=1\" \"NACL_TARGET_SUBARCH=32\" \"NACL_TARGET_ARCH=x86\" \"NACL_BUILD_SUBARCH=32\" \"NACL_BUILD_ARCH=x86\"" "--link_flags=-m32 -B../../../../out/Release/gen/tc_glibc/lib32  " "--source-list=../../../../out/gypfiles/native_client/src/shared/gio/glibc-x86-32-so.gio_lib.source_list.gypcmd"
/Volumes/data/b/build/slave/chromium-rel-mac-builder/build/src/out/Release/gen/sdk/mac_x86/nacl_x86_glibc/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/bin/ld: cannot find crti.o: No such file or directory
/Volumes/data/b/build/slave/chromium-rel-mac-builder/build/src/out/Release/gen/sdk/mac_x86/nacl_x86_glibc/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/bin/ld: cannot find crtbeginS.o: No such file or directory
collect2: ld returned 1 exit status
../../../../out/Release/gen/sdk/mac_x86/nacl_x86_glibc/bin/x86_64-nacl-g++ -o ../../../../out/Release/gen/tc_glibc/lib32/libgio.so -Wl,--as-needed ../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-32-so/gio_lib/gio_mem.o ../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-32-so/gio_lib/gio.o ../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-32-so/gio_lib/gprintf.o ../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-32-so/gio_lib/gio_mem_snapshot.o -m32 -B../../../../out/Release/gen/tc_glibc/lib32 -shared -Wl,-soname,libgio.so
FAILED: Command '['../../../../out/Release/gen/sdk/mac_x86/nacl_x86_glibc/bin/x86_64-nacl-g++', '-o', '../../../../out/Release/gen/tc_glibc/lib32/libgio.so', '-Wl,--as-needed', '../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-32-so/gio_lib/gio_mem.o', '../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-32-so/gio_lib/gio.o', '../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-32-so/gio_lib/gprintf.o', '../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-32-so/gio_lib/gio_mem_snapshot.o', '-m32', '-B../../../../out/Release/gen/tc_glibc/lib32', '-shared', '-Wl,-soname,libgio.so']' returned non-zero exit status 1
FAILED: cd ../../native_client/src/shared/gio; export BUILT_PRODUCTS_DIR=/Volumes/data/b/build/slave/chromium-rel-mac-builder/build/src/out/Release; export CONFIGURATION=Release; export PRODUCT_NAME=gio_lib; export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk; export SRCROOT=/Volumes/data/b/build/slave/chromium-rel-mac-builder/build/src/out/Release/../../native_client/src/shared/gio; export SOURCE_ROOT="${SRCROOT}"; export TARGET_BUILD_DIR=/Volumes/data/b/build/slave/chromium-rel-mac-builder/build/src/out/Release; export TEMP_DIR="${TMPDIR}";python ../../../../native_client/build/build_nexe.py -t ../../../../out/Release/gen/sdk/ --arch x86-64 --build glibc_nso --root ../../../.. --name ../../../../out/Release/gen/tc_glibc/lib64/libgio.so --objdir ../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-64-so/gio_lib "--include-dirs=../../../../out/Release/gen/tc_glibc/include ../../../.. ../../../src/third_party ../../../.." "--compile_flags=-m64 -fPIC -fomit-frame-pointer -fasynchronous-unwind-tables  -O2 -g -Wall -fdiagnostics-show-option -Werror " --gomadir "" "--defines=__linux__ \"__STDC_LIMIT_MACROS=1\" \"__STDC_FORMAT_MACROS=1\" \"_GNU_SOURCE=1\" \"_BSD_SOURCE=1\" \"_POSIX_C_SOURCE=199506\" \"_XOPEN_SOURCE=600\" \"DYNAMIC_ANNOTATIONS_ENABLED=1\" \"DYNAMIC_ANNOTATIONS_PREFIX=NACL_\" \"NACL_BUILD_ARCH=x86\" V8_DEPRECATION_WARNINGS BLINK_SCALE_FILTERS_AT_RECORD_TIME \"NACL_LINUX=0\" \"NACL_ANDROID=0\" \"NACL_OSX=1\" \"NACL_WINDOWS=0\" GOOGLE_CHROME_BUILD ENABLE_RLZ \"USE_LIBJPEG_TURBO=1\" ENABLE_ONE_CLICK_SIGNIN \"ENABLE_REMOTING=1\" \"ENABLE_WEBRTC=1\" USE_PROPRIETARY_CODECS ENABLE_PEPPER_CDMS ENABLE_CONFIGURATION_POLICY ENABLE_INPUT_SPEECH ENABLE_NOTIFICATIONS \"ENABLE_HIDPI=1\" DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE \"ENABLE_EGLIMAGE=1\" \"ENABLE_TASK_MANAGER=1\" \"ENABLE_EXTENSIONS=1\" \"ENABLE_PLUGIN_INSTALLATION=1\" \"ENABLE_PLUGINS=1\" \"ENABLE_SESSION_SERVICE=1\" \"ENABLE_THEMES=1\" \"ENABLE_AUTOFILL_DIALOG=1\" \"ENABLE_BACKGROUND=1\" \"ENABLE_GOOGLE_NOW=1\" \"CLD_VERSION=2\" \"ENABLE_FULL_PRINTING=1\" \"ENABLE_PRINTING=1\" \"ENABLE_SPELLCHECK=1\" \"ENABLE_CAPTIVE_PORTAL_DETECTION=1\" \"ENABLE_APP_LIST=1\" \"ENABLE_SETTINGS_APP=1\" \"ENABLE_MANAGED_USERS=1\" \"ENABLE_SERVICE_DISCOVERY=1\" \"NACL_TARGET_SUBARCH=32\" \"NACL_TARGET_ARCH=x86\" \"NACL_BUILD_SUBARCH=32\" \"NACL_BUILD_ARCH=x86\"" "--link_flags=-B../../../../out/Release/gen/tc_glibc/lib64  " "--source-list=../../../../out/gypfiles/native_client/src/shared/gio/glibc-x86-64-so.gio_lib.source_list.gypcmd"
/Volumes/data/b/build/slave/chromium-rel-mac-builder/build/src/out/Release/gen/sdk/mac_x86/nacl_x86_glibc/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/bin/ld: cannot find crti.o: No such file or directory
/Volumes/data/b/build/slave/chromium-rel-mac-builder/build/src/out/Release/gen/sdk/mac_x86/nacl_x86_glibc/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/bin/ld: cannot find crtbeginS.o: No such file or directory
collect2: ld returned 1 exit status
../../../../out/Release/gen/sdk/mac_x86/nacl_x86_glibc/bin/x86_64-nacl-g++ -o ../../../../out/Release/gen/tc_glibc/lib64/libgio.so -Wl,--as-needed ../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-64-so/gio_lib/gio_mem.o ../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-64-so/gio_lib/gio.o ../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-64-so/gio_lib/gprintf.o ../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-64-so/gio_lib/gio_mem_snapshot.o -B../../../../out/Release/gen/tc_glibc/lib64 -shared -Wl,-soname,libgio.so
FAILED: Command '['../../../../out/Release/gen/sdk/mac_x86/nacl_x86_glibc/bin/x86_64-nacl-g++', '-o', '../../../../out/Release/gen/tc_glibc/lib64/libgio.so', '-Wl,--as-needed', '../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-64-so/gio_lib/gio_mem.o', '../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-64-so/gio_lib/gio.o', '../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-64-so/gio_lib/gprintf.o', '../../../../out/Release/obj/native_client/src/shared/gio/gio_lib.gen/glibc-x86-64-so/gio_lib/gio_mem_snapshot.o', '-B../../../../out/Release/gen/tc_glibc/lib64', '-shared', '-Wl,-soname,libgio.so']' returned non-zero exit status 1
ninja: build stopped: subcommand failed.

http://build.chromium.org/p/chromium.perf/builders/Mac%20Builder/builds/60425/steps/compile/logs/stdio

Original issue's description:
> NaCl: Update revision in DEPS, r13018 -> r13078.
> 
> Chromium NaCl scripts now uses package_version to extract.
> 
> Now that we have split up the toolchain into multiple tars, we should
> use the package versioning script to manage which tars to extract.
> Unfortunately, currently the SDK uses different directory names compared
> to what the NaCl toolchain directories normally use, so we also must map
> and move the toolchain directories to the SDK ones.
> 
> BUG=365817
> TEST= trybots
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266284

TBR=mseaborn@chromium.org,jvoung@chromium.org,bradnelson@chromium.org,noelallen@chromium.org,dyen@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=365817

Review URL: https://codereview.chromium.org/250933006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@266326 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-26 02:30:18 +00:00
dyen@chromium.org bfab4c693c NaCl: Update revision in DEPS, r13018 -> r13078.
Chromium NaCl scripts now uses package_version to extract.

Now that we have split up the toolchain into multiple tars, we should
use the package versioning script to manage which tars to extract.
Unfortunately, currently the SDK uses different directory names compared
to what the NaCl toolchain directories normally use, so we also must map
and move the toolchain directories to the SDK ones.

BUG=365817
TEST= trybots

Review URL: https://codereview.chromium.org/249153003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@266284 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-25 23:30:23 +00:00
hidehiko@chromium.org ae4d0e5171 Revert of SDK building script now uses package_version to extract. (https://codereview.chromium.org/235603004/)
Reason for revert:
This update breaks PPAPI*NonSfi tests on linux-32bits bot. See also crbug.com/365817

Original issue's description:
> NaCl: Update revision in DEPS, r13018 -> r13062.
> 
> Chromium NaCl scripts now uses package_version to extract.
> 
> Now that we have split up the toolchain into multiple tars, we should
> use the package versioning script to manage which tars to extract.
> Unfortunately, currently the SDK uses different directory names compared
> to what the NaCl toolchain directories normally use, so we also must map
> and move the toolchain directories to the SDK ones.
> 
> TEST= trybots
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265303

TBR=noelallen@chromium.org,bradnelson@chromium.org,jvoung@chromium.org,mseaborn@chromium.org,dyen@chromium.org
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/247143007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265559 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-23 07:05:22 +00:00
dyen@chromium.org 7fc9f82754 NaCl: Update revision in DEPS, r13018 -> r13062.
Chromium NaCl scripts now uses package_version to extract.

Now that we have split up the toolchain into multiple tars, we should
use the package versioning script to manage which tars to extract.
Unfortunately, currently the SDK uses different directory names compared
to what the NaCl toolchain directories normally use, so we also must map
and move the toolchain directories to the SDK ones.

TEST= trybots

Review URL: https://codereview.chromium.org/235603004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265303 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-22 18:28:04 +00:00
thakis@chromium.org e3c959661d Revert 242405 "Skip downloading of nacl toolchain for android. "
Author hasn't signed the CLA.

> Skip downloading of nacl toolchain for android. 
> Nacl is not enabled in android and it takes too long to download the toolchain.
> 
> BUG=329646
> 
> Review URL: https://codereview.chromium.org/116833006

TBR=mahesh.kk@samsung.com

Review URL: https://codereview.chromium.org/119103003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@242470 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-24 23:58:42 +00:00
mahesh.kk@samsung.com 88ef28ca1e Skip downloading of nacl toolchain for android.
Nacl is not enabled in android and it takes too long to download the toolchain.

BUG=329646

Review URL: https://codereview.chromium.org/116833006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@242405 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-23 21:07:21 +00:00
sbc@chromium.org 583f1e0121 Update NaCl ARM build flags now that gcc used as default compiler.
Second attempt at this change.  The required a native_client change:
https://codereview.chromium.org/12499011/

Thus this change also brings in NaCl changes from
11084:11126 inclusive.

BUG=196627
TEST=run nacl brower tests one ARM linux


Review URL: https://chromiumcodereview.appspot.com/13652003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@192521 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-05 07:19:47 +00:00
noelallen@chromium.org 1366bc0afe Bump DEPS and use new download_toolchains.py in NaCl Repo.
Remove hashes from DEPS file and instead use the ones specified in the NaCl
repo for the version of NativeClient specified in the DEPS file.

BUG=http://code.google.com/p/chromium/issues/detail?id=138285
TBR= bradnelson@google.com

Review URL: https://chromiumcodereview.appspot.com/10821118

git-svn-id: http://src.chromium.org/svn/trunk/src/build@149360 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-01 02:35:49 +00:00
olonho@google.com 724ef965b0 Support for ARM NaCl untrusted runtime build.
This one depends on https://chromiumcodereview.appspot.com/9816003/
on NaCl side and indeed produces working untrusted runtime.

BUG= http://code.google.com/p/nativeclient/issues/detail?id=2687
TEST=Compile for ARM with "GYP_DEFINES="target_arch=arm sysroot=~/rootfs/" and run DOSBox with produced untrusted runtime.

Review URL: https://chromiumcodereview.appspot.com/9838005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@130386 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-03 16:14:52 +00:00
noelallen@chromium.org 03a768b7ab Fix PNaCl SDK Builder
Change download script to make sure 'pnacl' sdk builder gets toolchain.
Change tarball name for pnacl build to avoid collision.
For now have pnacl toolchain only build pnacl pieces.

TBR= sehr@google.com
BUG=11292

Review URL: http://codereview.chromium.org/9408003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@122149 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-15 21:14:00 +00:00
sky@chromium.org e6ec9ff5e6 Revert 122113 - Fix pnacl SDK builder
Change download script to make sure 'pnacl' sdk builder gets toolchain.
Change tarball name for pnacl build to avoid collision.
For now have pnacl toolchain only build pnacl pieces.

This change affects SDK builders not Chrome directly.

TBR= sehr@google.com
BUG= 11292
Review URL: https://chromiumcodereview.appspot.com/9407014

TBR=noelallen@google.com
Review URL: https://chromiumcodereview.appspot.com/9407015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@122115 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-15 18:29:38 +00:00
noelallen@google.com f327b6b85c Fix pnacl SDK builder
Change download script to make sure 'pnacl' sdk builder gets toolchain.
Change tarball name for pnacl build to avoid collision.
For now have pnacl toolchain only build pnacl pieces.

This change affects SDK builders not Chrome directly.

TBR= sehr@google.com
BUG= 11292
Review URL: https://chromiumcodereview.appspot.com/9407014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@122113 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-15 18:20:12 +00:00
noelallen@chromium.org 6d5a59dd87 Support optional PNaCl download by bots.
Adds and optional download for bots triggered by environment variable.
This download will only happen on SDK bots until we switch to PNaCl.

BUG= 112929

Review URL: http://codereview.chromium.org/9323023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120918 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-08 02:28:51 +00:00
bradnelson@google.com 034c02e85d Disabling use of custom build of nacl toolchains for chromeos as
the canned nacl toolchain should now function in the chromeos chroot.

BUG=None
TEST=trybots
R=mcgrathr@chromium.org
Review URL: http://codereview.chromium.org/9168036

git-svn-id: http://src.chromium.org/svn/trunk/src/build@117275 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-11 20:17:04 +00:00
jochen@chromium.org 1247235522 Don't download the NaCl toolchain if GYP_DEFINES contains disable_nacl=1
BUG=none
TEST=manual


Review URL: http://codereview.chromium.org/8820022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@113279 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-06 23:28:32 +00:00
bradnelson@google.com bf6d0c52fc Pulling in new nacl toolchain for chromeos.
BUG=http://code.google.com/p/chromium/issues/detail?id=105658
TEST=None
R=aa@chromium.org

TBR
Review URL: http://codereview.chromium.org/8728022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111857 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-29 03:21:41 +00:00
maruel@chromium.org 628d2696f1 Fix python scripts in src/build/
Make sure that:
- shebang is only present for executable files
- shebang is #!/usr/bin/env python
- __main__ is only present for executable files
- file's executable bit is coherent

Also fix EOF LF to be only one.

TBR=michaelbai@chromium.org
BUG=105108
TEST=

Review URL: http://codereview.chromium.org/8667008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111385 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-23 19:13:44 +00:00
bradnelson@google.com d0210c616d Make chromeos toolchain download more noisy, so its clear which version
we're using.

BUG=None
TEST=None
R=noelallen@google.com
Review URL: http://codereview.chromium.org/7771001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98500 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-26 22:24:38 +00:00
bradnelson@google.com 58a52b0fa1 Adding a special toolchain that will work with chromeos.
BUG=http://code.google.com/p/chromium-os/issues/detail?id=19719
TEST=None
R=noelallen@google.com,zelidrag@google.com
Review URL: http://codereview.chromium.org/7761004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98492 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-26 21:49:58 +00:00
bradnelson@google.com 2e8d790f0d Adding native client toolchain download to all chrome checkouts with nacl.
This will eventually allow ppapi_proxy + irt to be built along with chrome,
allow repository migration.

Step2 of ppapi repo migration.

BUG=None
TEST=None
R=noelallen@google.com,brettw@chromium.org

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97242
Review URL: http://codereview.chromium.org/7670019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97260 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-18 01:27:41 +00:00
bradnelson@google.com 75bf109be6 Adding native client toolchain download to all chrome checkouts with nacl.
This will eventually allow ppapi_proxy + irt to be built along with chrome,
allow repository migration.

Step2 of ppapi repo migration.

BUG=None
TEST=None
R=noelallen@google.com,brettw@chromium.org

Review URL: http://codereview.chromium.org/7670019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97242 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-18 00:03:17 +00:00