File tree Expand file tree Collapse file tree 6 files changed +1
-32
lines changed Expand file tree Collapse file tree 6 files changed +1
-32
lines changed Original file line number Diff line number Diff line change 2626#define FIREBASE_NAMESPACE firebase
2727#endif
2828
29- #ifdef USE_PLAYBILLING_FUTURE
30- #include " playbillingclient/future.h"
31- #else
3229#include " app/src/include/firebase/future.h"
33- #endif
3430
3531namespace FIREBASE_NAMESPACE {
3632
Original file line number Diff line number Diff line change 2121
2222// You shouldn't include future_impl.h directly, since its just the inline
2323// implementation of the functions in future.h. Include future.h instead.
24- // This is here to ensure that presubmit tests pass.
25- #ifdef USE_PLAYBILLING_FUTURE
26- #include " playbillingclient/future.h"
27- #else
2824#include " firebase/future.h"
29- #endif
3025
3126#if defined(FIREBASE_USE_MOVE_OPERATORS)
3227#include < utility>
Original file line number Diff line number Diff line change 2323#define FIREBASE_NAMESPACE firebase
2424#endif
2525
26- #ifdef USE_PLAYBILLING_FUTURE
27- #include " playbillingclient/future.h"
28- #else
2926#include " firebase/future.h"
30- #endif
3127
3228namespace FIREBASE_NAMESPACE {
3329
Original file line number Diff line number Diff line change 2929#define FIREBASE_NAMESPACE firebase
3030#endif
3131
32- #ifdef USE_PLAYBILLING_FUTURE
33- #include " playbillingclient/future.h"
34- #else
3532#include " app/src/include/firebase/future.h"
36- #endif
3733
3834namespace FIREBASE_NAMESPACE {
3935
Original file line number Diff line number Diff line change @@ -394,14 +394,6 @@ firebase_cpp_cc_test(firebase_app_base64_test
394394 ${OPENSSL_CRYPTO_LIBRARY}
395395)
396396
397- # google3 - thread/fiber/fiber.h (thread::Fiber)
398- firebase_cpp_cc_test(firebase_app_future_playbillingclient_test
399- SOURCES
400- future_playbillingclient_test.cc
401- DEPENDS
402- firebase_app
403- )
404-
405397# google3 - thread/fiber/fiber.h (thread::Fiber)
406398firebase_cpp_cc_test(firebase_app_future_test
407399 SOURCES
Original file line number Diff line number Diff line change @@ -68,17 +68,11 @@ function(define_future_lib CPP_NAMESPACE)
6868 PRIVATE
6969 -DFIREBASE_NAMESPACE=${CPP_NAMESPACE}
7070 )
71- if ("${CPP_NAMESPACE} " STREQUAL "playbillingclient" )
72- target_compile_definitions ("${library_name} "
73- PRIVATE
74- -DUSE_PLAYBILLING_FUTURE=1
75- )
76- endif ()
7771 target_include_directories ("${library_name} "
7872 PUBLIC
7973 ${PROJECT_BINARY_DIR} /future_include
8074 PRIVATE
8175 ${FUTURE_LIB_SRC_DIR} /..
8276 ${FUTURE_LIB_SRC_DIR} /../app/src/include
8377 )
84- endfunction ()
78+ endfunction ()
You can’t perform that action at this time.
0 commit comments