| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make a 'ppapi_example_video_decode' target to fix the build.
Some chromeos target seems to want to build this. When the
new video decoder CL lands, this will build the rewritten example.
R=andresantoso@chromium.org
TBR=fischman@chromium.org
BUG=281689
Review URL: https://codereview.chromium.org/271733002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268886 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If this change breaks some bots, please try restarting the
bot before reverting it. http://crrev.com/264460 may not be
effective yet until restarting.
See the bug and http://crrev.com/255129 for the details.
BUG=345554
Review URL: https://codereview.chromium.org/258433005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268876 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=281689
R=fischman@chromium.org, teravest@chromium.org
Review URL: https://codereview.chromium.org/269283002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268797 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The PNaCl compiler used to assume SSE2 and no more, this is very
suboptimial when dealing with SIMD, which is newly supported by PNaCl.
This implementation only detects the basic CPU features that Chrome's
base/cpu.h knows about, and passes along that information to the PNaCl
translator so that it may compile using the features. It also doesn't
pass AVX and later as features since those aren't currently supported by
the NaCl sandbox.
The extra flags are also passed to the cache, so that a user can swap in
a different CPU and get the expected retranslation.
This work could also teach PNaCl about other CPU features such as popcnt
or idiv/udiv on ARM, but is restricted to x86 SIMD for now since that's
what base/cpu.h supports.
R= dschuff@chromium.org, jvoung@chromium.org, nfullagar@chromium.org
TEST= ./out/Release/browser_tests --gtest_filter=NaClBrowserTestPnacl.*:PPAPINaClPNaClTest.*:NaClBrowserTestPnacl.*
BUG= https://code.google.com/p/nativeclient/issues/detail?id=2205
Review URL: https://codereview.chromium.org/265933008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268761 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/270183002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268754 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that we are using package_version.py to manage the revisions for
the toolchains, nothing should be parsing TOOL_REVISIONS for any
revision numbers. pnacl_component_crx_gen now calls package_version to
obtain the version number for the PNaCl toolchain.
R=dschuff@chromium.org, jvoung@chromium.org
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3839
Review URL: https://codereview.chromium.org/265283013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268695 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds IDL for PPB_VideoDecoder.
Adds C++ wrappers and generated files.
BUG=281689
R=binji@chromium.org, dmichael@chromium.org, igorc@chromium.org
Review URL: https://codereview.chromium.org/210373003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268618 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change moves some file reading and JSON parsing for pnacl resource info
outside the trusted plugin. This allows us to remove file_utils entirely from
the trusted plugin.
BUG=239656
R=bbudge@chromium.org
Review URL: https://codereview.chromium.org/261143002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268578 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
instead of using usage type while mapping the buffer.
BUG=
Review URL: https://codereview.chromium.org/255713008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268548 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The goal of the trusted plugin refactor is to move as much code as possible out of ppapi/native_client/src/trusted/plugin. This change moves all the manifest parsing and lookup logic out of the trusted plugin at once; it's hard to move piecemeal.
BUG=353592
R=bbudge@chromium.org, mallinath@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268250
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268280
Review URL: https://codereview.chromium.org/264943003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268535 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Adds a "_Dev" suffix to some types that would collide with
upcoming public VideoDecoder API.
BUG=281689
Review URL: https://codereview.chromium.org/263893005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268450 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
We don't use PPP_Messaging in-process anywhere, so let's kill it now.
This will make implementing the sync JS->Pepper API a little cleaner.
BUG=367896
Review URL: https://codereview.chromium.org/261883008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268367 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Implemented the pepper host for the output mode.
R=bbudge@chromium.org, dmichael@chromium.org, jschuh@chromium.org, yzshen@chromium.org
Review URL: https://codereview.chromium.org/145263008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268318 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make its current clients use base/macros.h and stdint.h instead.
No behavior change.
BUG=138542
NOTRY=true
Review URL: https://codereview.chromium.org/268063002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268315 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Caused build breakage because static initializer was added to ppb_nacl_private_impl.cc.
Candidate (line 96): + const int32_t kPNaClManifestId = std::numeric_limits<int32_t>::max();
> Pepper: Move manifest logic to components/nacl.
>
> The goal of the trusted plugin refactor is to move as much code as possible out of ppapi/native_client/src/trusted/plugin. This change moves all the manifest parsing and lookup logic out of the trusted plugin at once; it's hard to move piecemeal.
>
> BUG=353592
> R=bbudge@chromium.org, mallinath@chromium.org
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268250
>
> Review URL: https://codereview.chromium.org/264943003
TBR=teravest@chromium.org
Review URL: https://codereview.chromium.org/265393004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268295 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These names get expanded twice into the pathnames of some built files
which in some cases cause them to exceed Windows' MAX_PATH limit and
kill the build. This reduces those path lengths by ~20 chars.
e.g. ../../../../../out/Release_x64/obj/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim_aot.gen/pnacl_newlib_x86_32-nonsfi/pnacl_irt_shim_aot/irt_shim_ppapi.o.d
becomes
../../../../../out/Release_x64/obj/ppapi/native_client/src/untrusted/pnacl_irt_shim/shim_aot.gen/pnacl_newlib_x86_32-nonsfi/shim_aot/irt_shim_ppapi.o.d
R=binji@chromium.org, dyen@chromium.org, mseaborn@chromium.org, teravest@chromium.org
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3846
Review URL: https://codereview.chromium.org/263083012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268292 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The goal of the trusted plugin refactor is to move as much code as possible out of ppapi/native_client/src/trusted/plugin. This change moves all the manifest parsing and lookup logic out of the trusted plugin at once; it's hard to move piecemeal.
BUG=353592
R=bbudge@chromium.org, mallinath@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268250
Review URL: https://codereview.chromium.org/264943003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268280 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The change added a static initializer, breaking the build:
ppb_nacl_private_impl.cc nacl::(anonymous namespace)::kPNaClManifestId
> Pepper: Move manifest logic to components/nacl.
>
> The goal of the trusted plugin refactor is to move as much code as possible out of ppapi/native_client/src/trusted/plugin. This change moves all the manifest parsing and lookup logic out of the trusted plugin at once; it's hard to move piecemeal.
>
> BUG=353592
> R=bbudge@chromium.org, mallinath@chromium.org
>
> Review URL: https://codereview.chromium.org/264943003
R=teravest@chromium.org
TBR=teravest@chromium.org
Review URL: https://codereview.chromium.org/264143002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268267 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The goal of the trusted plugin refactor is to move as much code as possible out of ppapi/native_client/src/trusted/plugin. This change moves all the manifest parsing and lookup logic out of the trusted plugin at once; it's hard to move piecemeal.
BUG=353592
R=bbudge@chromium.org, mallinath@chromium.org
Review URL: https://codereview.chromium.org/264943003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268250 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL implements open_resource() in non-SFI mode.
1) Introduced a new sync message PpapiHostMsg_OpenResource
and its handlers.
2) Implement async version of OpenManifestEntry. As IPC's
handler is called on renderer's main thread, otherwise it
causes deadlock.
TEST=Run trybots.
BUG=358431
Review URL: https://codereview.chromium.org/249183004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267962 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Orignal goal of this CL is to make
InProcessCommandBuffer::CreateGpuMemoryBuffer and
DestroyGpuMemoryBuffer thread safe. Before this, Create runs
on the client thread and Destroy runs on the service thread
without any kind of synchronization. This change makes the
division closer to the cross-process implementation, moving
parts of the implementation from GpuControlService to
GpuControl/InProcessViewRenderer.
As a result, GpuControlService no longer needs to inherit
GpuControl. And GLES2Decoder has enough information to
decide on all gpu::Capabilities.
Need to implement the bare minimum client GpuControl for
gl_tests and gles2_conform_test. This currently involves
some boilerplate and duplication.
BUG=362346
Review URL: https://codereview.chromium.org/235563002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267753 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: svn://svn.chromium.org/chrome/trunk/src@267711 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change moves NMF downloading for non-data URLs outside the trusted plugin
(data URLs were moved in a previous change). This is another step to removing
all dependencies on FileDownloader in the trusted plugin.
It's difficult to reuse the URLLoaderHost code from components/nacl (since
URLLoaderHost is not in content/public), so this change uses WebURLLoader
directly.
TBR=dglazkov
BUG=239656
Review URL: https://codereview.chromium.org/251383005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267660 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This streamlines some of the error reporting in the Manifest support classes in
the trusted plugin. Without this change, it's a bit hard to tell when we report
errors and when we don't; this makes some logic more explicit for when errors
are reported.
This will hopefully make reviewing the change that moves the manifest support
out of the trusted plugin easier.
BUG=353592
Review URL: https://codereview.chromium.org/266723004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267624 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
url_util -> url
url_parse -> url
url_canon -> url
BUG=364747
TBR=atwilson,battre
Review URL: https://codereview.chromium.org/262593002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267579 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=366304,244653,312916,314899
TEST=None
Review URL: https://codereview.chromium.org/252923005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267348 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is part of a larger effort to get rid of the trusted plugin (code under
ppapi/native_client/src/trusted/plugin). This pulls more code into the renderer
while preserving the current behavior.
BUG=239656
R=dmichael@chromium.org
Review URL: https://codereview.chromium.org/259073002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267310 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://codereview.chromium.org/220243003 removed the last client-side caller.
Service-side implementation of GetState is identical to GetLastState. So replace
all instances of GetState by GetLastState and remove the former.
BUG=None
Review URL: https://codereview.chromium.org/253943002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267027 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes some unnecessary code in the trusted plugin. I broke this out to
its own change while fixing up other things.
BUG=239656
R=dmichael@chromium.org
Review URL: https://codereview.chromium.org/260053008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266945 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This function was removed from ReverseService inside "native_client/", as it's
no longer necessary. This change removes an implementation that's never called,
and simplifies the Manifest logic, making it easier to move that out of the
trusted plugin.
BUG=239656
R=dmichael@chromium.org
Review URL: https://codereview.chromium.org/258083004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266938 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
GetFontFileWithFallback() from the pdf interface impl.
Review URL: https://codereview.chromium.org/260153002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266824 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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: svn://svn.chromium.org/chrome/trunk/src@266326 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: svn://svn.chromium.org/chrome/trunk/src@266284 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We ignore GPU_FEATURE_TYPE_3D_CSS, so remove it.
Nothing sets --disable-accelerated-layers, and it doesn't correspond to
a production path, so remove it.
This lets us clean up some WebPreferences fields which are always set to
true.
Also remove WebPreferences::accelerated_compositing_for_plugins_enabled
which is always true.
BUG=362164,365847
R=bbudge@chromium.org, danakj@chromium.org, tsepez@chromium.org
Review URL: https://codereview.chromium.org/239973005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266226 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change cleans up some code in pnacl_coordinator and pnacl_resources to
remove code that can't be reached and simplify error reporting paths. This is
in preparation for moving all of this code out of the trusted plugin.
BUG=239656
Review URL: https://codereview.chromium.org/257463005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266106 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are no changes in implementation in this CL. This is in preparation
for making IPC::Channel support filters on the Channel's thread.
BUG=364241
TBR=cpu@chromium.org,nduca@chromium.org
cpu: OWNERS for win8
nduca: OWNERS for components/tracing
Review URL: https://codereview.chromium.org/245443005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266057 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This moves a MACOSX-specific IME workaround outside the trusted plugin as part
of the effort to refactor all that code to components/nacl.
BUG=239656
Review URL: https://codereview.chromium.org/250063003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266050 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves attribute parsing and storage out of the trusted plugin.
There's some additional cleanup in here as well:
* Unused fields in Plugin are removed.
* Stale/unhelpful comments are dropped in the move.
BUG=239656
R=dmichael@chromium.org
Review URL: https://codereview.chromium.org/249083006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265964 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It turned out that even for the non-SFI mode, we still need
to use PPB_AudioShared::SetThreadFunctions, although the
underlying function is pthread_create for both.
Otherwise the TLS in IRT for the created thread is not
initialized correctly.
BUG=359710
TEST=Run trybots.
Review URL: https://codereview.chromium.org/200283002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265663 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL introduces StartupInitializationComplete() message between a plugin
and the renderer, focusing on non-SFI mode.
Currently PluginReverseInterface::StartupInitializationComplete() is called
directly in ServiceRuntime::InitReverseService in non-SFI mode. However, it
is too early. Since it blocks the renderer's main thread by sync PPAPI IPC
message, when we support the open_resource() for non-SFI mode, it would cause
a deadlock issue.
This CL delays the invocation of StartupInitializationComplete until when
PPAPI IPC channel is ready in plugin side to follow NaCl's manner in SFI-mode.
TBR=jln@chromium.org
TEST=Ran browser_tests --gtest_filter=*NonSfi* locally, and ran trybots.
BUG=358431
Review URL: https://codereview.chromium.org/238353016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265611 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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: svn://svn.chromium.org/chrome/trunk/src@265559 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
In this particular case we could return NULL but also return
a valid ID. This can result in a crash if the caller looks at
the ID returned and assumes the buffer is also valid.
BUG=365373
Review URL: https://codereview.chromium.org/248193004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265499 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This moves some of the manifest processing logic outside the trusted plugin.
This reduces the number of things we need to expose in PPB_NaCl_Private.
BUG=239656
Review URL: https://codereview.chromium.org/243353002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265394 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: svn://svn.chromium.org/chrome/trunk/src@265303 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This change reduces the size of the FileDownloader interface as part of moving
FileDownloader logic out of the trusted plugin.
BUG=239656
Review URL: https://codereview.chromium.org/245483002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265102 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The semantics for downloading a NaCl manifest specified for a data URL are
pretty simple. This change adds an interface to parse a data URL to
PPB_NaCl_Private, and uses that instead of FileDownloader, simplifying that
class.
R=dmichael@chromium.org
TBR=eroman
BUG=239656
Review URL: https://codereview.chromium.org/242803004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264999 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To NaCl in either SFI or non-SFI mode, PPB_Audio_Shraed::StartThread requires
ppapi_register_thread_creator invoked in advance.
Currently no test about it. This CL adds the test.
Tests are guarded by #ifdef __native_client__, because it
won't work and is meaningless for trusted plugins.
TEST=Ran browser_tests --gtest_filter=*AudioThreadCreation locally, and ran trybots.
BUG=359710
Review URL: https://codereview.chromium.org/240523002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264974 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves plugin_base_url and manifest_base_url outside the trusted plugin,
pulling more state over to NexeLoadManager.
I had hoped to clean up SetIsInstalled() as part of this change, but we don't
have precise semantics for what is_installed means (yet), so I can't change how
that behaves.
BUG=239656
R=dmichael@chromium.org
Review URL: https://codereview.chromium.org/241173006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264807 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://codereview.chromium.org/238983010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264707 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL adds a new IPC Channel between NaCl plugin and the renderer process
with introducing ManifestService (in the plugin) and ManifestServiceChannel
(in the renderer) as its end points.
Currently, ManifestService is just an empty service. Its functions will be
added in following CLs. The service will be used only for non-SFI mode
as a first step. On other platforms, IPC Channel will not be created.
TEST=Ran trybots.
BUG=358431
Review URL: https://codereview.chromium.org/231793003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264477 0039d316-1c4b-4281-b951-d872f2087c98
|