summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-22Remove misc unneeded modifications in libchrome.android-p-preview-1android-o-mr1-iot-preview-7o-mr1-iot-preview-7Hidehiko Abe
Bug: 73270448 Test: Built locally. Treehugger. Change-Id: I2c3f193e1677e4a673ab0b3b60c0c3b40a57987b
2018-02-22Remove modification related DEATH_TEST.Hidehiko Abe
Defer DEATH_TEST handling to the Chrome implementation. Bug: 73270448 Test: Built locally and ran libchrome_test. Treehugger. Change-Id: I2fd07559e22317898ee2ff65a2bc7e0436c8955d
2018-02-22Remove unused files.Hidehiko Abe
libchrome contained unused files. This CL removes them. - BUILD.gn Currently gn is not used. We're working on it (in ChromeOS build), but not a few files are dropped, so we need to revisit here later. - ios, win specific files. - base/i18n/. It only contains base_i18n_export.h, which is not used. - base/trace_event/etw_manifest/. It is for win. Bug: 73270448 Test: Built locally. Treehugger. Change-Id: I5c59af648573f3b670f380e3263c456eec296af7
2018-02-22Remove modification for missing-field-initializers from sources.Hidehiko Abe
Since C++11, we have concrete semantics. Thus, we rely on it. Note that, we still need to keep LAZY_INSTANCE_INITIALIZER because it is a macro used in other project, which may have missing-field-initializers warning enabled. Bug: 73270448 Test: Built locally. Treehugger. Change-Id: Ieb59b25c2936d27c3501d21098b248fac2778f0a
2018-02-22Use header files to proxy system headers.Hidehiko Abe
Instead of directly modifying include directives, use header files to proxy system headers. This reduces line-by-line modification from Chrome repository. Bug: 73270448 Test: Built locally. Treehugger. Change-Id: I8f7315fc21634d3c2fb46bb9a72a43974140b9dc
2018-02-21Re-uprev to r462023.Hidehiko Abe
Previous uprevs didn't include several CLs. This re-uprev's to the r462023. cf) Missing CLs I found. https://codereview.chromium.org/2556563002 https://codereview.chromium.org/2754483002 https://codereview.chromium.org/2171833002 https://codereview.chromium.org/2778183003 https://codereview.chromium.org/2500473002 https://codereview.chromium.org/2173523002 https://codereview.chromium.org/2666423002 https://codereview.chromium.org/2723423002 https://codereview.chromium.org/2789463002 https://codereview.chromium.org/2723083004 https://codereview.chromium.org/2637843002 https://codereview.chromium.org/2785943004 https://codereview.chromium.org/2657603004 https://codereview.chromium.org/2774363003 https://codereview.chromium.org/2776853002 https://codereview.chromium.org/2736053003 https://codereview.chromium.org/2779413002 https://codereview.chromium.org/2782503002 https://codereview.chromium.org/2782083003 https://codereview.chromium.org/2399213005 https://codereview.chromium.org/2787383002 https://codereview.chromium.org/2790523004 https://codereview.chromium.org/2787533002 https://codereview.chromium.org/2780983003 https://codereview.chromium.org/2790403003 https://codereview.chromium.org/2747673002 https://codereview.chromium.org/2778173003 https://codereview.chromium.org/2788613004 https://codereview.chromium.org/2781983003 https://codereview.chromium.org/2774223003 Bug: 73270448 Test: Built and ran libchrome_test locally. Run treehugger. Change-Id: I5e76096d4fcf660571275cce5f4a980a8bb574fe
2018-02-20Remove modification to deal with unused-parameter warning.Hidehiko Abe
libchrome used to hit unused-parameter warning. Now, libchrome is built with -Wno-unused-parameter flag, and its client libraries/executables are built with the header files containing pragma to suppress the warning from libchrome. Thus, the modification can be removed to reduce the diff from Chrome upstream. Bug: 73270448 Test: Built locally. Treehugger. Change-Id: I51b6349bfdb28ed15df1d12b836adccffabe53bb
2018-02-19Remove ALLOW_UNUSED_PARAM macro.Hidehiko Abe
Now libchrome is built with -Wunused-parameter, so we no longer need the macro. Bug: 73270448 Test: Built locally. Treehugger. Change-Id: Ie02279df60b26f78019e28d383c50084695fb07a
2018-02-19Deal with -Wunused-parameter in libchrome build rule.Hidehiko Abe
So, now we do not need modification in libchrome to workaround the error. Bug: 73270448 Test: Build locally. Treehugger. Change-Id: I38fe79c1e01fd39a4bdd7121bb58b9b6d9a3da89
2018-02-08Clean up Mac related files.Hidehiko Abe
We droped to support libchrome on Mac host. This CL cleans up Android.bp related to Mac, and removes the files which are no longer used. Bug: 72618679 Test: Build locally, ran Treehugger. Change-Id: I50d0aec5707212be2163286d5c91904196a0be84
2018-02-08Remove sandbox/.Hidehiko Abe
The sandbox/ used be used only in ChromeOS. Nowadays, it is no longer used, so remove it from the repository. cf) https://chromium-review.googlesource.com/c/aosp/platform/external/libchrome/+/903207 Bug: None Test: Build via Treehugger. Change-Id: I52b79bc2caa8d807cb7a5c37498e3a8b340a625f
2018-02-07Revert "Revert "Disable mac-host build.""Hidehiko Abe
This reverts commit f7ab4b45881660bfeca478ec05f760a25daa51a9. Reason for revert: The fix was landed, https://android-review.googlesource.com/c/platform/external/libbrillo/+/609666, actually before this revert. One build on master has the fix but doesn't this revert, which successfully passed. So, now we can safely reland this. Change-Id: I06654f16397dcd6a65d349bafc3c8e9180f88a9d
2018-02-06Revert "Disable mac-host build."Ian Pedowitz
This reverts commit a5fc101633a53a0f64c0899b97bbbebdc4020aa7. Reason for revert: b/72988664 Bug: 72988664 Bug: 72618679 Change-Id: I11c431c0bf962d9224403f91df1292b8a3012af4
2018-02-05Disable mac-host build.Hidehiko Abe
Now, nobody uses libchrome on Mac as host. This CLs drops the support. Bug: 72618679 Test: Built on Mac locally. Change-Id: I489a20d5820640bf68c3f061c135730f8c9977da
2018-01-19libchrome: Add since_origin API to TimeBaseandroid-wear-8.0.0_r1Abhishek Bhardwaj
This change adds the since_origin API to the TimeBase class. Taken from Chrome at r488841. Bug: None Test: Compiled the tree. Change-Id: Ie2196eac8c4a39a48000349f049cbea9decd3023
2018-01-10readdir_r is deprecated.Elliott Hughes
This is fixed upstream (https://chromium-review.googlesource.com/c/chromium/src/+/599120) but we haven't made any progress in actually getting that change into Android, so just ignore the warning for now... Bug: http://b/32678321 Test: boots, builds Change-Id: Ic1fd7ebfe63232da67d02fba0f8ae8086e91d6ca
2018-01-06Ignore -Wunused-variable warningYi Kong
Clang 6.0.1 update introduced a number of new warnings, failing werror build. Ignore the -Wunused-variable warning for external/libchrome. Test: m checkbuild Change-Id: Iff40b92cc371c8fa2b66acdd73ee5368b975e15b
2017-12-22Uprev the library to r462023 from Chromium, 3rd attemptJakub Pawlowski
This merge was done against r462023 which corresponds to git commit 32eb7c31af9cab6231f0d3d05206072079177605 from Apr 05, 2017 First attempt, in commit bf8c17f71511c1e90cd8cccfe71f0852c566bd3b was badly squashed, causing automated test failure in system/bt. Next one broke mac build. Test: manually ran all test from system/bt that failed on previous attempt, plus libchrome_unittest Change-Id: I60003263418de3078c7be2da9fb1eeaeb786f3d0
2017-12-21Revert "Uprev the library to r462023 from Chromium"Mathieu Chartier
This reverts commit fe2f52931e8e50253d06329d7bf0a4164c7ba580. Reason for revert: Mac build broken Change-Id: I3abd2ba6874ec5bd283ba17c36ad0b35bcc3d374
2017-12-21Revert "Mac build fix"Mathieu Chartier
This reverts commit 1c01c739718e65746f393b405a2bf97ce4cf8523. Reason for revert: Mac build broken (required for merge conflicts). Change-Id: Ibc4d6e69095ddd320e9e9814daa1a3a0cb11609f
2017-12-21Mac build fixJakub Pawlowski
Change-Id: Ice279534e47d6edccc8baf2ab62744f3e74f04e8
2017-12-21Uprev the library to r462023 from ChromiumJakub Pawlowski
This merge was done against r462023 which corresponds to git commit 32eb7c31af9cab6231f0d3d05206072079177605 from Apr 05, 2017 Previous attempt, in commit bf8c17f71511c1e90cd8cccfe71f0852c566bd3b was badly squashed, causing automated test failure in system/bt. Test: manually ran all test from system/bt that failed on previous attempt, plus libchrome_unittest Change-Id: I539a868af1d06baad3e80a89b8c16fb3d86ab77a
2017-12-20Revert "Uprev the library to r462023 from Chromium"Jakub Pawlowski
This reverts commit bf8c17f71511c1e90cd8cccfe71f0852c566bd3b. Reason for revert: https://buganizer.corp.google.com/issues/70858501 Change-Id: Iedb1193d46ea2211f8b6fdace41902ad8df6d754
2017-12-19Uprev the library to r462023 from ChromiumJakub Pawlowski
This merge was done against r462023 which corresponds to git commit 32eb7c31af9cab6231f0d3d05206072079177605 from Apr 05, 2017 Change-Id: I70bf77fcb3215da3e17f997752bfdad7d4e6e1c9
2017-12-19libchrome: Add a couple more headersLuis Hector Chavez
This enables libmojo to use files from ui/gfx/ Exempt-From-Owner-Approval: Fix build Bug: 38318511 Test: m Change-Id: Ie7224ba71deef5965c7a33dfb1fff06ba4d054e3
2017-12-13libchrome: Uprev the library to r456626 from ChromiumHidehiko Abe
Pulled the latest and greatest version of libchrome from Chromium. The merge was done against r456626 which corresponds to git commit 08266b3fca707804065a2cfd60331722ade41969 of Mar 14, 2017 Notable changes are: - FOR_EACH_OBSERVER macro removed (replaced by use of C++ 11 range-base for loop) - base::Values no more FundamentalValue - stl_util moved to base namespace - some scoped pointers removed in crypto/ in favor of BoringSSL UniquePtr. - path() accessor renamed to GetPath() in ScopedTempDir (and other classes) - introduction of base::CallbackOnce Test: All unit-tests should still pass. Change-Id: I1e65efb167fa708e35ed7c6492f1cb66a6a46104 Merged-In: I180f9defc7607f462389fae17701fff553c4a2d0
2017-10-17Use target.linux for all linux kernel based targets am: b60f75f6bb am: ↵Dan Willemsen
17dead5d3a am: b5fcddee13 Change-Id: If4298e58105af7baacb50f91d817c5b5ab6de504
2017-10-16Use target.linux for all linux kernel based targets am: b60f75f6bbDan Willemsen
am: 17dead5d3a Change-Id: I0e4154138d4224001c0ef0a734d821fceed551d4
2017-10-16Use target.linux for all linux kernel based targetsandroid-o-mr1-iot-preview-6o-mr1-iot-preview-6Dan Willemsen
am: b60f75f6bb Change-Id: Idb8613c20fe5915398a741044b00af81846c8222
2017-10-16Use target.linux for all linux kernel based targetsDan Willemsen
Now in Android.bp files, target.linux applies to all targets running a linux kernel (android, linux_glibc, linux_bionic). So common flags/sources/etc can be combined instead of copying them to each target. Test: m Change-Id: Ifc6731c84c6db6c2386abc6aa3be080e4dbf2f99
2017-10-03Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]] am: ↵Dan Willemsen
46f0186dae am: 26e6fcae50 am: 630e805fea Change-Id: I08f7f543e568c720c3a477e5e59048a9d5bcf6d4
2017-10-03Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]] am: 46f0186daeDan Willemsen
am: 26e6fcae50 Change-Id: I48e57f7c4f6f283a1558f8bde035ea0bd684cd48
2017-10-03Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]]Dan Willemsen
am: 46f0186dae Change-Id: I28750cfc47954c7322da643bc238c44493073e0c
2017-10-02Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]]Dan Willemsen
In the future, target.linux will apply to all targets running a linux kernel (android, linux_glibc, linux_bionic). So move all current users to the specific linux_glibc. There will be another cleanup pass later that will move some instances back to target.linux if the properties should be shared with target.android and target.linux_bionic, but target.linux needs to be removed first. Test: out/soong/build.ninja identical before/after Change-Id: I8ee24e1fc1cdb379b18e5f2d5aaa33ad138e0abd Exempt-From-Owner-Approval: build system cleanup
2017-09-29Remove default libraries am: f74da7b95b am: b95f0ce317Dan Willemsen
am: dffdfa04fa Change-Id: I969a83a49e58a94906e419f2a91a9a501e3c1ab7
2017-09-29Remove default libraries am: f74da7b95bDan Willemsen
am: b95f0ce317 Change-Id: Ifb985b82795a1fae9f652ca8be3fccced533e376
2017-09-29Remove default librariesDan Willemsen
am: f74da7b95b Change-Id: I3d795b7b5aa8f494f67463d6c35f6c5200068b90
2017-09-28Remove default librariesDan Willemsen
libdl is part of system_shared_libs now. -ldl -lpthread -lm are now defaults for host_ldlibs on Linux and Darwin. -lrt is a default for host_ldlibs on Linux. Test: m host Change-Id: I10fcb88200e004ad09967532db9a7abc0450054d Exempt-From-Owner-Approval: build system cleanup
2017-07-26Revert "libchrome: Uprev the library to r456626 from Chromium" am: ↵Luis Hector Chavez
e5b2c6fa6f am: 54cfa4a2ba am: 38bc769bac am: a1771a4106 Change-Id: I2e71d66e59b2d0c66a407c9f435ad7f006549263
2017-07-26Revert "libchrome: Uprev the library to r456626 from Chromium" am: ↵Luis Hector Chavez
e5b2c6fa6f am: 54cfa4a2ba am: 38bc769bac Change-Id: I06b869627459f86aef391d6b0207e13a47b90499
2017-07-26Revert "libchrome: Uprev the library to r456626 from Chromium" am: e5b2c6fa6fLuis Hector Chavez
am: 54cfa4a2ba Change-Id: I651f5f9421f53c4c10798749155641b3e8bde687
2017-07-26Revert "libchrome: Uprev the library to r456626 from Chromium"android-o-mr1-preview-2android-o-mr1-preview-1Luis Hector Chavez
am: e5b2c6fa6f Change-Id: I819960740d65600c933289f480ab6a9e53a88c62
2017-07-26Revert "libchrome: Uprev the library to r456626 from Chromium"android-o-iot-preview-5o-iot-preview-5Luis Hector Chavez
This reverts commit 0601274935e7f632eb0d6ce0fd223b744349d20b. Reason for revert: Broke the mac_sdk Exempt-From-Owner-Approval: Fixing mac_sdk Change-Id: I2cab1818261f3b75dcf7dfc3edf6d6b7bab541a8
2017-07-26libchrome: Uprev the library to r456626 from Chromium am: 0601274935 am: ↵Jay Civelli
0457669b85 am: a29e699424 am: ca61a35797 Change-Id: I0b320931bf59945ac67e8f5df3ad4d9949ea1205
2017-07-26libchrome: Uprev the library to r456626 from Chromium am: 0601274935 am: ↵Jay Civelli
0457669b85 am: a29e699424 Change-Id: Ida7cdb6a099062c27bb5e0e57767e5f1f5274432
2017-07-26libchrome: Uprev the library to r456626 from Chromium am: 0601274935Jay Civelli
am: 0457669b85 Change-Id: I14fee6d53fd60f779d55001a272e88efbca37c48
2017-07-26libchrome: Uprev the library to r456626 from ChromiumJay Civelli
am: 0601274935 Change-Id: I04c76587e9fb0cdc8f189efe7a12161aee303ec0
2017-07-26libchrome: Uprev the library to r456626 from ChromiumJay Civelli
Pulled the latest and greatest version of libchrome from Chromium. The merge was done against r456626 which corresponds to git commit 08266b3fca707804065a2cfd60331722ade41969 of Mar 14, 2017 Notable changes are: - FOR_EACH_OBSERVER macro removed (replaced by use of C++ 11 range-base for loop) - base::Values no more FundamentalValue - stl_util moved to base namespace - some scoped pointers removed in crypto/ in favor of BoringSSL UniquePtr. - path() accessor renamed to GetPath() in ScopedTempDir (and other classes) - introduction of base::CallbackOnce Test: All unit-tests should still pass. Change-Id: I5c2cb41ea4c037fe69fbb425e711b1399d55d591
2017-06-06Temporarily suppress unused-lambda-capture warning warning am: f320c0cf71 ↵oreo-mr1-devoreo-dr1-devYi Kong
am: 559de4f511 am: 36b5f97520 am: 11449a22cb Change-Id: I3e09c9c2106e1b87a12517a8fe707d377549b5de
2017-06-06Temporarily suppress unused-lambda-capture warning warning am: f320c0cf71 ↵Yi Kong
am: 559de4f511 am: 36b5f97520 Change-Id: I3151fe559d2ccbf74d0ddadb14bb3a0263829613