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

4359 Коммитов

Автор SHA1 Сообщение Дата
pliard@chromium.org 749841ee04 Improve forwarder2 setup/tear down in telemetry.
This CL kills the host_forwarder daemon before running the tests and also makes
Forwarder.Close() unmap the previously mapped ports.

BUG=242846
R=bulach@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210268 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-05 07:04:59 +00:00
tfarina@chromium.org a315647809 device: Gyp organization part 3 - final.
Rename device.gyp to device_tests.gyp now that it only contain test targets.

BUG=None
R=bryeung@chromium.org, miket@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210256 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-05 03:56:47 +00:00
ilevy@chromium.org 56f6e3c191 Revert 210035 "Creates a new test running script test_runner.py"
Causes android buildbots to spew deprecation warnings.

> Creates a new test running script test_runner.py
> 
> This new script serves as a unified entry point for all tests. The
> existing scripts are now just wrappers around the new script. Old
> commands should thus still work, but you can now make use of the
> new script to run various types of tests.
> 
> There are a few TODOs left:
> * Add options to run Monkey tests.
> 
> Miscellaneous notes:
> * --python_test_root is now a required flag when Python host-driven
>   tests are being run.
> 
> BUG=248351
> 
> Review URL: https://chromiumcodereview.appspot.com/15942016

TBR=gkanwar@google.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210251 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-05 02:29:05 +00:00
derat@chromium.org cc34bb324c chromeos: Remove use_spring_wallpaper and use_oem_wallpaper.
Custom wallpapers are now specified via command-line flags.

BUG=248764

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210134 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-04 06:05:31 +00:00
frankf@chromium.org db842742f6 [Android] Partial revert of r209283.
Generating isolated files from test runners is not thread-safe.

BUG=257133
TBR=craigdh@chromium.org
NOTRY=True

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210079 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-04 00:12:44 +00:00
gkanwar@google.com 40f6a425e6 Creates a new test running script test_runner.py
This new script serves as a unified entry point for all tests. The
existing scripts are now just wrappers around the new script. Old
commands should thus still work, but you can now make use of the
new script to run various types of tests.

There are a few TODOs left:
* Add options to run Monkey tests.

Miscellaneous notes:
* --python_test_root is now a required flag when Python host-driven
  tests are being run.

BUG=248351

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210035 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 20:31:43 +00:00
benm@chromium.org 251cdcc175 [Android WebView] Fix downstream mac builds.
The downstream mac builders don't understand
--warn-shared-textrel so disable it for android_webview builds.

BUG=157326
TBR=torne@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210032 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 20:05:25 +00:00
pliard@chromium.org 39645d8cfc Revert "Add --serial-id option to host_forwarder."
This reverts revision 209945.

TBR=peter@chromium.org
BUG=242846

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209959 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 11:47:24 +00:00
pliard@chromium.org 9e9405df5f Add --serial-id option to host_forwarder.
This moves the forwarder's control channel set up logic (which can be
considered as an internal implementation detail) from the Python script to the
host_forwarder binary.

This also changes the command line interface for the host_forwarder and
device_forwarder binaries.

BUG=242846
R=bulach@chromium.org, digit@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209945 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 10:21:26 +00:00
mnaganov@chromium.org ad24d73585 Do not turn on --fatal-warnings for android_webview_build
This fixes Android WebView build after https://crrev.com/17820002/

BUG=157326
TBR=torne,shashi

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209934 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 08:58:36 +00:00
sivachandra@chromium.org 41aae7d2a7 [Android] Remove few redundent pieces added in CL 17114007
This CL removes certain redundant pieces which should have been removed in https://chromiumcodereview.appspot.com/17114007/ but were missed.

BUG=249997

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209932 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 08:49:47 +00:00
shashishekhar@chromium.org 195fba9143 Add compiler flags that prevent text relocations.
Text relocations are a minor security risk. Add compiler flags
that prevent them from reappearing in Android binary.
All existing occurences have been removed after
http://crrev.com/17714003.

TEST=Compile.
BUG=b/8061013

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209885 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 04:32:49 +00:00
chrisgao@chromium.org 2fea4d4068 [chromedriver] Remove dll build target.
Remove files once used to build chromedriver dll.
Remove CommandExecutor and CommandNames.

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209801 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 22:36:53 +00:00
zhaoqin@google.com 309391a649 add browser_tests in chromium_builder_dbg_drmemory_win target
BUG=NONE
R=timurrrr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209781 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 21:47:55 +00:00
jam@chromium.org 0be8eb7fc0 Revert 209420 "Factor out content shell and tests into a standal..."
> Factor out content shell and tests into a standalone gyp
> 
> This simplifies using components in Content Shell.  As components can
> depend on the content layer, trying to use a component from Content Shell
> results in a cross-reference of gyp files which isn't allowed on Mac.
> 
> TBR=joi,robertshield (trivial one-line renames in gyp files)
> 
> Review URL: https://chromiumcodereview.appspot.com/17366006

TBR=mnaganov@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209770 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 20:47:45 +00:00
tony@chromium.org fa0da706d6 Remove third_party/bsdiff from the tree.
It's no longer used.

BUG=

TBR=darin

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209767 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 20:29:23 +00:00
pliard@chromium.org d2e41f8965 Remove unnecessary host parameter in forwarder.
While it is nice to be able to specify the destination host when setting up a
redirection, this functionality is never used.
This cleanup is needed for some upcoming changes in forwarder2.

BUG=242846

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209756 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 19:50:26 +00:00
thakis@chromium.org 51ba15ad81 roll clang 182481:184830
New stuff:
- can parse gcc 4.7+ headers in gnu++11 mode
- -Wheader-guards
- -Wlogical-not-parentheses
- Fixes http://llvm.org/PR15998

This is also the first time these binaries were built on precise (and as a
consequence won't run on lucid).

BUG=255201
R=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209703 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 15:13:24 +00:00
sivachandra@chromium.org 5f0b7670bf [Android] Refactor the buildbot scripts to prepare for downstream usage.
BUG=249997

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209694 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 14:02:15 +00:00
bulach@chromium.org 3f285ee2a8 Android: adds an option to print all sharded steps.
This is necessary to decouple buildbots and the app repository.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209681 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 12:14:38 +00:00
glider@chromium.org f10e98618f Handle iOS gtest app bundles in copy_asan_runtime_dylib.sh
Unlike Chromium.app, gtest binaries contain the executable right on the first level
(e.g. base_unittests.app/base_unittests), so the ASan runtime can be put right into the bundle.

R=stuartmorgan@chromium.org, thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209647 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 08:17:25 +00:00
hashimoto@chromium.org a4f7f2082c Add missing executable bits for get_device_configuration.py
Resulted in buildbot failures:
http://build.chromium.org/p/chromium/builders/Linux/builds/40444

BUG=None
TEST=check_perms.py
TBR=cjhopman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209624 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 06:47:48 +00:00
cjhopman@chromium.org ea831049c4 [Android] Add an action to check/record attached devices
When doing a gyp_managed_install, we install APKs to the attached
device. Currently this can fail in many ways (no device attached,
multiple devices attached, device offline, device doesn't have root,
etc.). In addition, we need to detect changes to the attached device
(particularly when the device is switched, when an APK is
 uninstalled/updated).

The current approach is to check all this information in the action
interacting with the device. This means that when there is some
problem we print the same warning messages for every APK that is built,
and, in some cases, multiple times for each APK. Also, we have to run
every install/push action every build because we detect changes to the
attached device in that action.

This change creates a new build action, "get device configurations".
This action inspects the attached devices, filters out offline devices,
filters out devices without root, and then writes a configuration
file with the id+metadata for the first non-filtered device. This
configuration is then used by each of the build steps that interacts
with the device. This consolidates all the device checking to a single
place, and the build actions don't need to do any checking. In
addition, to detect changes in the attached device, we only need to run
this single action every build and the install/push actions will only
change when the device/metadata changes.

Also, with this change we can now gracefully handle the case where
multiple devices are attached (currently just write the configuration
for the first valid device and install to that one).

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209582 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 01:52:33 +00:00
aurimas@chromium.org a405188195 Remove the OWNERS that no longer work on the project.
Remove jcivelli@, and nileshagrawal@ who no longer work
on Chrome for Android.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209531 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-01 23:02:18 +00:00
bulach@chromium.org 8abee74061 Android: disables DiagnosticsModelTest.RunAll
This test is timing out on android
(it eventually runs very close to the 120s timeout and passes, so it looks like the
flakyness is more about the size than the test itself).

BUG=256259
TBR=cpu@chromium.org
NOTRY=TRUE

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209439 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-01 15:38:37 +00:00
blundell@chromium.org 7a4366c6dc Create top-level ios/public/ directory.
To better mirror the structure of other API layers (content/public and
third_party/WebKit/public), there will be a single ios/public/ directory that
contains all interfaces referenced by not-yet-upstreamed Chrome for iOS code,
rather than these interfaces being scattered in subdirectories further
underneath ios/.

This CL also changes gyp structure to better match other modules: ios_consumer.gyp is moved to directly under ios/, and an ios.gyp is created with a single top-level "ios" target to be used in build/all.gyp.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209434 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-01 14:58:10 +00:00
bulach@chromium.org ad0e02313f Android: disable content_browsertests SignalTest.
Started failing at crrev.com/209404

BUG=256238
TBR=hubbe@chromium.org
NOTRY=TRUE

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209433 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-01 14:47:05 +00:00
mnaganov@chromium.org 126f286e63 Factor out content shell and tests into a standalone gyp
This simplifies using components in Content Shell.  As components can
depend on the content layer, trying to use a component from Content Shell
results in a cross-reference of gyp files which isn't allowed on Mac.

TBR=joi,robertshield (trivial one-line renames in gyp files)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209420 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-01 13:38:41 +00:00
bulach@chromium.org 031e072db9 Android: disables IndexedDBBrowserTestWithCorruptLevelDB.DestroyTest.
Started failing after crrev.com/208579

BUG=256184
TBR=dgrogan@chromium.org
NOTRY=TRUE

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209414 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-01 11:32:18 +00:00
bulach@chromium.org 2c905384fa Android: fixes content_browsertests.
Following crrev.com/209345, a couple of files have been deleted / renamed.

TBR=fsamuel@chromium.org
BUG=
NOTRY=TRUE

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209410 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-01 11:15:24 +00:00
tfarina@chromium.org 3da67c9559 Reland "components/webdata: Break the dependency on chrome/test/base"
This was reverted because it broke android, because I forgot to remove
a line from build/android/pylib/gtest/test_runner.py

BUG=181277
TBR=joi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209348 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-29 21:15:48 +00:00
frankf@chromium.org a66bbda1c0 [Android] Enable using isolate files to get a list of data dependencies to push to the device.
Convert base_unittests to isolate.

BUG=249870

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209283 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-29 13:00:45 +00:00
wangxianzhu@chromium.org 0872b7c4ef Upstream adb_profile_chrome
This is for external developers to profile official chrome build.

The default package name is changed to "com.android.chrome".

NOTRY=true
BUG=255178

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209195 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-28 18:22:22 +00:00
benm@chromium.org 5768865d68 Only set sysroot for MIPS on linux.
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209193 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-28 18:20:44 +00:00
kinuko@chromium.org 4a8e0f2aec Revert 209071 "components/webdata: Break the dependency on chrom..."
2nd try.

> components/webdata: Break the dependency on chrome/test/base
> 
> BUG=181277
> TBR=joi@chromium.org
> 
> Review URL: https://codereview.chromium.org/17788002

TBR=tfarina@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209116 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-28 07:01:21 +00:00
kinuko@chromium.org 506a8c0595 Revert 209112 "Revert 209071 "components/webdata: Break the depe..."
Broke the tree.

> Revert 209071 "components/webdata: Break the dependency on chrom..."
> 
> speculative revert to see if it fixes the android bots.
> 
> > components/webdata: Break the dependency on chrome/test/base
> > 
> > BUG=181277
> > TBR=joi@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/17788002
> 
> TBR=tfarina@chromium.org
> 
> Review URL: https://codereview.chromium.org/18177003

TBR=sail@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209115 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-28 06:49:06 +00:00
sail@chromium.org 4da6525040 Revert 209071 "components/webdata: Break the dependency on chrom..."
speculative revert to see if it fixes the android bots.

> components/webdata: Break the dependency on chrome/test/base
> 
> BUG=181277
> TBR=joi@chromium.org
> 
> Review URL: https://codereview.chromium.org/17788002

TBR=tfarina@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209112 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-28 05:52:10 +00:00
tfarina@chromium.org c159595028 components/webdata: Break the dependency on chrome/test/base
BUG=181277
TBR=joi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209071 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-28 02:19:34 +00:00
grunell@chromium.org e4943135d1 Adding WebRTC log upload list under chrome://webrtc-logs
CL for writing to the file that lists the uploaded logs:
https://codereview.chromium.org/17589014/

BUG=254329

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208910 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-27 14:17:04 +00:00
benm@chromium.org 7a87488d52 Don't set MIPS specific target arch CFLAGS for android WebView
These flags are set by the android build system in the case of
an android webview build, so don't attempt to reset them.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208907 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-27 12:58:34 +00:00
sivachandra@chromium.org acae236b73 [Android] Add a flag to skip provisioning check during device status check.
This is required for a downstream bot which builds Android from source and flashes it with every build.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208902 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-27 12:47:18 +00:00
ilevy@chromium.org 176ec5ec93 Whitespace CL
Whitespace CL to kick bots (no code changes).

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208647 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-26 06:12:22 +00:00
ilevy@chromium.org 7b9ae3886c Whitespace CL
Whitespace CL to kick bots (no code changes).

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208646 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-26 06:06:20 +00:00
ilevy@chromium.org 538bb87dbc Whitespace CL
Whitespace CL to kick bots (no code changes).

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208603 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-26 03:09:57 +00:00
cjhopman@chromium.org ba517b8506 [Android] Support building standalone APK in component build
Many people's workflows assume that they can install the APK created in
out/Debug/apks. With the component build that APK is actually an
"incomplete" APK that cannot be manually installed (or rather causes
obscure errors when manually installed).

This change does two things. First, it moves the "incomplete" APK
output to out/Debug/<package_name>/<ApkName>.apk. This should prevent
accidental installs of the "incomplete" APK. Second, it introduces an
option (create_standalone_apk) that when doing a component build, if
set, will merge the shared libraries into the "incomplete" APK to
create a standalone APK. This standalone APK will be created in
out/Debug/apks/.

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207345

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207516

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208529 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-25 18:42:07 +00:00
sievers@chromium.org f95796af59 Disable PageStateSerializationTest.BackwardsCompat_v11
BUG=254034

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208528 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-25 18:41:26 +00:00
wjia@chromium.org 750459f031 Move create_standalone_apk.py into build/android/gyp/.
The create_standalone_apk.py should be in build/android/gyp/.

TBR=cjhopman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-25 03:27:48 +00:00
darin@chromium.org f23ed67f05 Re-implement PageState serialization without a Blink API dependency.
WebHistoryItem serialization is now split into two parts.  PageState (i.e., encoded string)to ExplodedPageState, and ExplodedPageState to WebHistoryItem.  This way we can generate ExplodedPageState in the browser process without a dependency on Blink API.

This CL drops support for version 1-10 of the format.  I confirmed with laforge@ that the usage of such old versions of Chrome is minimal enough.

I've included code to extract file paths from the "document state" vector of strings.  This code just has to be consistent with the way document state was generated in versions 11 through 13 of the format.  Version 14 has the file path vector included directly in the serialized data.

Gone is the serializers ability to write out different versions of the format.  That code existed to support testing as we would write out old versions and test our ability to read them.  Instead, I've captured some serialized snapshots at different versions, and I just test that we can read them.  I've included code for generating a snapshot as a test case that by default returns early.  (This way the code doesn't bit-rot.)

R=jamesr@chromium.org,tsepez@chromium.org
BUG=237243

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208367 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-25 03:10:24 +00:00
wjia@chromium.org 22e10e1e19 Fix check_perms for r208246
Reland https://codereview.chromium.org/17569006/ with check_perms fix.

Support using loadable module for libpeerconnection on Android.

Borrowed create_standalone_apk_action.gypi, create_standalone_apk.py and finalize_apk_action.gypi from https://codereview.chromium.org/14843017/ with some minor fix in create_standalone_apk_action.gypi.

For some cases where libpeerconnection needs to be a loadable module, we need to add libpeerconnection.so into Chrome_apk.
This patch takes 2 steps:
1. build chrome with libpeer_target_type=loadable_module.
2. add libpeerconnection.so into the apk file.

TEST=run gyp: GYP_DEFINES="$GYP_DEFINES libpeer_target_type=loadable_module" build/gyp_chromium
build chrome
re-run gyp: GYP_DEFINES="$GYP_DEFINES libpeer_target_type=loadable_module" CHROMIUM_GYP_FILE="build/android/chrome_with_libs.gyp" build/gyp_chromium
build chrome_with_libs
install Chrome-with-libs.apk and it works for https://apprtc.appspot.com

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208304 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-24 23:44:40 +00:00
abodenha@chromium.org 3ee66a772b Revert 208246 "Support using loadable module for libpeerconnecti..."
Caused check_perms failure on Linux ChromiumOS.
See http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Full/builds/21371

> Support using loadable module for libpeerconnection on Android.
> 
> Borrowed create_standalone_apk_action.gypi, create_standalone_apk.py and finalize_apk_action.gypi from https://codereview.chromium.org/14843017/ with some minor fix in create_standalone_apk_action.gypi.
> 
> For some cases where libpeerconnection needs to be a loadable module, we need to add libpeerconnection.so into Chrome_apk.
> This patch takes 2 steps:
> 1. build chrome with libpeer_target_type=loadable_module.
> 2. add libpeerconnection.so into the apk file.
> 
> TEST=run gyp: GYP_DEFINES="$GYP_DEFINES libpeer_target_type=loadable_module" build/gyp_chromium
>      build chrome
>      re-run gyp: GYP_DEFINES="$GYP_DEFINES libpeer_target_type=loadable_module" CHROMIUM_GYP_FILE="build/android/chrome_with_libs.gyp" build/gyp_chromium
>      build chrome_with_libs
>      install Chrome-with-libs.apk and it works for https://apprtc.appspot.com
> 
> R=cjhopman@chromium.org, mallinath@chromium.org, tommi@chromium.org
> 
> Review URL: https://codereview.chromium.org/17569006

TBR=wjia@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208285 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-24 22:58:03 +00:00