'sources/': [
['exclude', 'browser/device_sensors/data_fetcher_shared_memory_default.cc$'],
],
- }, {
+ }, { # building_for_tizen != 1
'sources/': [
['exclude', 'browser/device_sensors/data_fetcher_impl_tizen\\.(cc|h)$'],
['exclude', 'browser/device_sensors/data_fetcher_shared_memory_tizen\\.cc$'],
['exclude', 'browser/motion/wkext_motion\\.(h|cc)$'],
# ['exclude', 'browser/media/tizen/webaudio_decoder_browser_tizen\\.(h|cc)$'],
# ['exclude', 'renderer/media/tizen/audio_decoder_tizen\\.(h|cc)$'],
+ ['exclude', 'third_party/webrtc/system_wrappers/source/cpu_features_tizen.c'],
],
}],
- ['building_for_tizen==1 and building_for_tizen_mobile==1', {
+ ['building_for_tizen_mobile==1', {
'defines': [
'OS_TIZEN_MOBILE=1',
'TIZEN_CONTENTS_DETECTION=1',
# Remove this line after a more proper solution is found.
],
}],
- ['building_for_tizen==1 and building_for_tizen_tv==1', {
+ ['building_for_tizen_tv==1', {
'defines': [
'OS_TIZEN_TV=1'
],
--- /dev/null
+/*
+ * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
+ *
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
+#include <inttypes.h>
+
+// defined in third_party/webrtc/system_wrappers/interface/cpu_features_wrapper.h
+enum {
+ kCPUFeatureARMv7 = (1 << 0),
+ kCPUFeatureVFPv3 = (1 << 1),
+ kCPUFeatureNEON = (1 << 2),
+ kCPUFeatureLDREXSTREX = (1 << 3)
+};
+
+// TODO: Need proper implementation.
+uint64_t WebRtc_GetCPUFeaturesARM(void) {
+ return kCPUFeatureARMv7 | kCPUFeatureNEON;
+}