[Android] Safe Browsing and extention enable

63 views
Skip to first unread message

Duy pipi

unread,
May 25, 2016, 10:39:10 PM5/25/16
to Chromium-dev
Hi,
I am build chromium android. I want enable safe_browsing. I set GYP_DEFINES: safe_browsing=1 safe_browsing_mode=1 companent=shared_library.

In build/common.gypi i change
  ['OS=="android"',{
         'enable_extensions%':1,
  }]

But when i build have a error: extension.h" error: #error "Extensions must be enabled"

How to enable extention?
                     

Lei Zhang

unread,
May 25, 2016, 10:42:19 PM5/25/16
to du...@mog.net, Chromium-dev
- GYP + Android is deprecated
- enable_extensions will likely not work on Android.
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev

Duy pipi

unread,
May 25, 2016, 10:50:14 PM5/25/16
to Chromium-dev, du...@mog.net
Hi Zhang,
how can i enable safe_browsing without enable extensions?

Thanks!


Vào 09:42:19 UTC+7 Thứ Năm, ngày 26 tháng 5 năm 2016, Lei Zhang đã viết:

Lei Zhang

unread,
May 25, 2016, 10:55:46 PM5/25/16
to du...@mog.net, Chromium-dev
Why do you think safe_browsing requires enable_extensions?

Also keep in mind safe_browsing mode 1 is not meant for Android and
probably won't work. Android uses mode 2.

Duy pipi

unread,
May 25, 2016, 11:20:52 PM5/25/16
to Chromium-dev, du...@mog.net
Dear Zhang,

I see some request, chrome warning is malware or publishing. I think it is safe_browsing mode of chromium.
But when  I set GYP_DEFINES: safe_browsing=1 safe_browsing_mode=1 companent=shared_library. 

I runhooks and build, i have an error: extension.h" error: #error "Extensions must be enabled"

Now, i want to known about enabling safe_browsing in chromium? I do not need enable extension in chromium.

Zhang, what is mode 2 in chromium?

Thanks and best regards,






Vào 09:55:46 UTC+7 Thứ Năm, ngày 26 tháng 5 năm 2016, Lei Zhang đã viết:
Reply all
Reply to author
Forward
0 new messages